Title of Invention

APPARATUS AND METHOD FOR SELECTING AN APPROPRIATE PARAMETER AT DECOMPRESSION

Abstract The present invention relates to an apparatus and method for selecting an appropriate parameter at decompression are disclosed. In particular, when adaptive block size discrete cosine transform compression is used to compress data, different combinations of sub-blocks can be generated. To decompress the different combinations of sub-blocks, the appropriate parameter is selected based on block size assignment information and the address of data in the data block.
Full Text PARAMETER SELECTION IN DATA COMPRESSION AND DECOMPRESSION
BACKGROUND OF THE INVENTION Field of Invention

[1] The invention generally relates to data compression, and more particularly to decompression of data compressed using adaptive discrete cosine transform process.

[2] Description of the Related Art

[3] Compression is a key factor of multimedia. An effective digital compression can reduce the cost as well as increase the quality of video displayed over any digital communication channel. One application for compression techniques is the motion picture industry.

[4] For several decades, the motion picture industry has depended on the duplication, distribution, and projection of celluloid film for delivering programming material to geographically diverse theaters around the country and the world. To a large extent, the methods and mechanisms for the distribution of film material have remained relatively unchanged for decades. Generally, the current film duplication and distribution process involves generating a master film copy from an exceptional quality camera negative, producing a distribution negative from the master film copy, and producing distribution prints from the distribution negative. Depending on the size of the release or number of copies desired for distributing the film, there may be more intermediate steps or multiple copies produced at each stage. The distribution prints (known as"positives") are then distributed by physical means to various theaters and displayed using a film projector.

[5] Although the distribution process above works, there are inherent limitations. Due to the use of celluloid material for the film and the bandwidth limitations of the film media, there are restrictions on the ability to provide high fidelity multi-channel audio programming. Then, there is the high expense of making a large number of film duplicates, which can cost several hundreds of dollars for each copy of each feature length film. There is also the expense, complexity, and delay associated with physically distributing large canisters of celluloid film to a large and growing number of theater locations.

[6] Accordingly, new and emerging technologies are being developed to provide alternative approaches to the ongoing film distribution problems. One such method is the use of satellite transmission. However, in order to transmit a high quality audio/video (AV) signal in"real- time, "the data rate requirement (in bits per second) is on the order of 1.5 billion bits per second. This high data rate requires the capacity equivalent of an entire satellite to transmit even a single program, which is prohibitively expensive. Therefore, satellite transmissions are not yet commercially viable for the distribution of high quality AV material.

[7] Advances in digital technology have also led to a distribution concept whereby programming material is electronically stored in a digitized format. The digitized images may be distributed on various magnetic media or compact optical discs, or transmitted over wired, fiber optic, wireless, or satellite communication systems. These storage mediums typically have storage capacities ranging from about 4.5 gigabytes (GB) to about 18 GB. However, an average two hour movie having an average image compressed bit rate of about 40 Mbps for the image track and about eight Mbps for audio and control information, requires approximately 45 GB of storage space. Thus, even if a high storage capacity DVD-ROM disk is implemented, a two-hour movie requires use of multiple DVD-ROM disks for adequate capacity.

[8] To reduce the data rate requirement for the storage of high quality electronic images, compression algorithms are being developed. One digital dynamic image compression technique capable of offering significant compression while preserving the quality of image signals utilizes adaptively sized blocks and sub-blocks of encoded discrete cosine transform (DCT) coefficient data. This technique will hereinafter be referred to as the adaptive block size discrete cosine transform (ABSDCT) method. The adaptive block sizes are chosen to exploit redundancy that exists for information within a frame of image data. The technique is disclosed in U. S. Pat. No. 5,021, 891, entitled "Adaptive Block Size Image Compression Method And System, "assigned to the assignee of the present invention and incorporated herein by reference. DCT techniques are also disclosed in U. S. Pat. No. 5,107, 345, entitled "Adaptive Block Size Image Compression Method And System, "assigned to the assignee of the present invention and incorporated herein by reference. Further, the use of the ABSDCT technique in combination with a Discrete Quadtree Transform technique is discussed in U. S. Pat No. 5,452, 104, entitled "Adaptive Block Size Image Compression Method And System," also assigned to the assignee of the present invention and incorporated by reference herein. The systems disclosed in these patents utilize intraframe encoding, wherein each frame of an image sequence is encoded without regard to the content of any other frame.
Generally, compression of data streams comprises quantization after discrete cosine transform. Moreover, different quantization parameters are often used for different data block sizes. Similarly, decompression of compressed data streams comprises inverse quantization and different quantization parameters are used for different data block sizes.

[10] In a typical discrete cosine transform, the size of each data block is fixed and the same quantization parameter may be used for quantization and inverse quantization of each data block. However, if ABSDCT is implemented, data blocks may be divided into different combinations of sub-blocks for the discrete cosine transform. Accordingly, depending on how a data block is divided, different quantization parameters are used for quantization of each data block. Similarly, depending on how a data block is divided, different quantization parameters are used for inverse quantization of each data block. Therefore, in order to perform inverse quantization during decompression, the appropriate quantization parameters need to be known for each data block being processed.

SUMMARY OF THE INVENTION

[11] Embodiments disclosed herein address the above stated needs by providing a method for security in a data processing system. More particularly, embodiments allow selection of the appropriate quantization parameter during decompression of data compressed using the adaptive block size discrete cosine transform technique. The selection is based on the pixel position of data and the block size assignment.

[12] In one embodiment, an apparatus and method comprise means for variable length decoding compressed information to generate a variable length decoded data block (s). The apparatus and method also comprise means for inverse quantizing the variable length decoded data block using a quantization parameter selected based on block size assignment information and address of data within the data block. The apparatus and method may further comprise means for inverse adaptive block size discrete cosine transforming the inverse quantized data block to recover original data. Here, the quantization parameter may be selected by the means for inverse quantizing the variable length decoded data block. Alternatively, the apparatus and method may further comprise means for selecting the quantization parameter. Moreover, the apparatus and method may further comprise a means for decoding the address of data into Y and X indices based on a Y and X index system.

[13] In another embodiment, instructions are loaded on a machine readable medium, wherein a first set of instructions is variable length decode compressed information to generate a variable length decoded data block (s). A second set of instructions is to select a quantization parameter based on block size assignment information and address of data within the data block. A third set of instructions is to inverse quantize the variable length decoded data block using the selected quantization parameter.

[14] In still another embodiment, an apparatus comprises means for displaying decompressed image information, and means for playing decompressed audio information. The apparatus also comprises a means for decoding compressed information, wherein the means for decoding comprises image decompressing means and an audio decompressing means. The image decompressing means is configured to decompress compressed image information into the decompressed image information based on block size assignment information and address of data within a data block. The audio decompressing means is configured to decompress compressed audio information into the decompressed audio information.

[15] In a further embodiment, an apparatus and method comprise means for decoding an address of a data block into Y and X indices based on a Y and X index system. The apparatus and method also comprise means for receiving block size assignment information. The apparatus and method further comprises means for selecting an appropriate quantization parameter based on the block size assignment information and the Y and X indices. Here, the data block may be a 16x16 data block, wherein the block size assignment information comprises a first bit indicating whether the 16x16 data block is divided into 8x8 sub-blocks; second bits if the first bit indicates that the 16x16 is divided into8x8 sub-blocks, each second bit indicating whether a corresponding 8x8 sub-block is divided into 4x4 sub-blocks; and third bits if at least one second bit indicates that the corresponding 8x8 sub-block is divided into 4x4 sub-blocks, each third bit indicating whether a corresponding 4x4 sub-block is divided into 2x2 sub-blocks.

BRIEF DESCRIPTION OF THE DRAWINGS

[16] The invention will be described in detail with reference to the following drawings in which like reference numerals refer to like elements, wherein:

[17] Figure 1 shows one embodiment of a digital cinema system;

[18] Figure 2 shows one embodiment of an encoder;
Figures 3A to 3D illustrate one embodiment of block and sub-block divisions for a 16x16 block image;
[20] Figures 4A and 4B illustrate one embodiment of block size assignment data;

[21] Figures SA to 5D show examples of the block size assignment data;

[22] Figures 6A to 6C illustrate one embodiment of the Y-X index system to represent positions of image pixels;

[23] Figure 7 shows one embodiment of an image compressor;

[24] Figure 8 shows one embodiment of a decoder;

[25] Figure 9 shows one embodiment of an image decompressor;
[26] Figures 10A and 10B illustrate one embodiment of the block size assignment data ordering;

[27] Figures 11A and 11B illustrate one embodiment of block selection based on Y and X indices;

[28] Figures 12 and 13 show different embodiments of a parameter selection module; and
Figures 14 to 16 show different embodiments of a method for selecting the appropriate parameter.

DESCRIPTION OF THE INVENTION

[30] Generally, the apparatus and method allows selection of the appropriate quantization parameters during decompression based on pixel positions in a data block. In particular, when the adaptive block size discrete cosine transform (ABSDCT) compression is implemented, the appropriate Qstep value is selected for inverse quantization of the different combinations of sub-blocks. Also, if frequency weighting is used, the appropriate FWM table is also selected for inverse quantization.

[31] Technologies such as the ABSDCT compression technique offer the possibility of a "digital cinema" system. Generally defined, digital cinema refers to the electronic distribution and display of high quality film programming which has been converted to a digital electronic representation for storage, transmission, and display purposes. A digital cinema system would overcome many of the limitations of the current film distribution process. A digital system would not be subject to the quality degradation over time experienced by celluloid film. Further, a digital system may eliminate the theft and illegal duplication of films by allowing implementation of security measures within the digital system itself. Moreover, distribution of film information using a digital electronic format actually increases the potential for rapid, low- cost duplication without quality degradation.

[32] Digital cinema may include the electronic generation, compression, encryption, and storage of audio/visual programming, such as motion pictures in theater systems, theaters, theater complexes, and/or presentation systems. Accordingly, the invention is applicable to the presentation of image and audio information in a variety of locations such as a theatre or theatre complex, outdoor amphitheaters, drive-in complexes, civic auditoriums, schools and specialty restaurants. For purposes of the explanation, the invention will be described with reference to a theatre or theatre complex. However, those skilled in the art will readily understand that the invention may be applied to other types of locations, systems and fields.

[33] Also, as disclosed herein, the term"program"refers to one or more films for display in cinemas, televisions, and/or other presentation systems and/or locations. The term"film" refers to various moving picture including, but not limited to, a full or portion of motion picture, a video clip, a commercial, a drama or a combination thereof. Image portion of films may consist of single frames (i. e. , still images), a sequence of single frame still images, or motion image sequences of short or long duration. The term"storagemedium"represents one or more devices for storing data, including buffers, read only memory (ROM), random access memory (RAM), magnetic disk storage mediums, optical storage mediums, flash memory devices, digital versatile disk (DVD), removable hard drive (RHD) and/or other machine readable mediums for storing information. The term"machine readable medium"includes, but is not limited to portable or fixed storage devices, optical storage devices, wireless channels and various other devices capable of storing, containing or carrying codesand/or data. Theterm"encryption"refers to various means of processing digital data streams of various sources using any of a number of cryptographic techniques to scramble, cover, or directly encrypt digital streams using sequences generated using secret digital values ("keys") in such a way that it is very difficult to recover the original data sequence without knowledge of the secret key values.

[34] One embodiment of a digital cinema system 100 is illustrated in Figure 1. The digital cinema system 100 comprises two main systems: at least one central facility or hub 102 and at least one presentation or theater subsystem 104. The hub 102 and the theater subsystem 104 may be implemented by a design similar to that of pending US Patent Application Serial Nos. 09/564, 174 and09/563, 880, both filed on May 3,2000 and assigned to the same assignee as the present invention, both incorporated herein by reference.

[35] Generally, the hub 102 includes a source generator 110 to receive and convert program material into a digital version of the program. The digital information is compressed using a preselected format or process by an encoder 120, and stored on a storage medium by a hub storage module 130. Here, the program material includes one or both image information and audio information. Accordingly, the digital information may include one or both digital image information and audio information. A network manager 140 monitors and sends control information to the source generator 110, the encoder 120, and the hub storage module 130. The digital information may also be encrypted by the encoder 120. In such case, the hub 102 may optionally include a conditional access manager 150 to provide specific electronic keying information such that only specific locations, for example theatres, are authorized to show specific programs and/or at specific times.

[36] It is to be noted that, although the source generator 110 and the encoder 120 are parts of the hub 102 as shown in Figure 1, either or both the source generator 110 and the encoder 120 can be located in separate facilities such as a film or television production studio. Also, some data may not require conversion by the source generator 110. For example, digital information may be provided to the encoder 120 through a digital camera or other digital information generation device.

[37] The theatre subsystem 104 may include a theatre manager 160 that controls one or more auditorium modules 170. Each auditorium module 170 comprises a decoder 175, a projector 177 and a sound system 179. Under the control of the theatre manager 160, compressed digital information is received from the hub 102, decoded by the decoder 175, decrypted (if necessary) and played by the auditorium modules 170 through the projector 177 and sound system 179. The compressed information may be received through a storage medium or may be transmitted in real-time, as desired. Also, the compressed information may be prepared as a selected sequence, size and data rate prior to being decoded.

[38] Typically, the data stream input to the encoder 120 is composed of image frames. An image frame can generally be divided into slices, a slice can be divided into data blocks, and a data block can be divided into pixels which are the smallest units of an image. Each image frame includes an integer number of slices and each image slice typically represents the image information for a set of 16 consecutive scan lines. In such case, each data block corresponds to a block of 16x16 pixels across the image of the frame. Also, a frame may be separated into even and odd slices, thereby forming an even half frame and an odd an half frame. In one embodiment, half frames are the fundamental packets of compressed data information that are processed by a decoder. Moreover, an image pixel can be commonly represented in the Red, Green and Blue (RGB) color component system. However, because the human eye is more sensitive to changes in luminance and less sensitive to changes in chrominance, the YCbCr color space is typically used in video compression to represent image pixels. The YCbCr color space is a linear transformation of the RGB components, where Y is the chrominance component, and Cb and Cr are the color components. If a frame is separated into even/odd frames, an image frame would be made up of three even half frames and three odd half frames corresponding to the components Y, Cb andCr.
In, the description above, a slice can represent a set of consecutive scan lines other than 16 consecutive scan lines. Also, a different color space with the same or different number of color components may be used to represent an image pixel. However, a block size ofl6xl6 pixels and the YCbCr color space are used for purposes of explanation.

[40] Figure 2 shows one embodiment of an encoder 200 comprising an image compressor 210, an audio compressor 230 and a back-end processor 250. When the encoder 200 receives digital information, the digital image and audio information may be stored in frame buffers (not shown) before further processing. The image compressor 210 compresses the digital image information using any number of compression techniques. In one embodiment, the image compressor 210 compresses the digital image information using the ABSDCT technique described inU. S. Patent Nos. 5,021, 891, 5,107, 345, and 5,452, 104.

[41] Generally, each of the luminance and chrominance components is passed to a block interleaver (not shown). In one embodiment, as shown in Figures 3A to 3D, a 16x16 block is presented to the block interleaver, which orders the image samples within the 16x16 blocks to produce blocks and composite sub-blocks of data for DCT analysis. One 16x16 DCT is applied to a first ordering, four 8x8 DCTs are applied to a second ordering, 16 4x4 DCTs are applied to a third ordering, and 64 2x2 DCTs are applied to a fourth ordering. The DCT operation reduces the spatial redundancy inherent in the image source. After the DCT is performed, most of the image signal energy tends to be concentrated in a few DCT coefficients.

[42] For the 16x16 block and each sub-block, the transformed coefficients are analyzed to determine the number of bits required to encode the block or sub-block. Then, the block or the combination of sub-blocks that requires the least number of bits to encode is chosen to represent the image segment. For example, two 8x8 sub-blocks, six 4x4 sub-blocks, and eight 2x2 sub-blocks may be chosen to represent the image segment. The chosen block or combination of sub-blocks is then properly arranged in order.

[43] In one embodiment, the image compressor 210 comprises an ABSDCT module 212 that analyzes the transformed coefficients and selects the block or the combination of sub- blocks to represent the image segment. The ABSDCT module 212 also generates block size assignment information that represents the block size assignment within an n x n block. For the 16x16 data block, the ABSDCT module 212 generates data known as PQR information that represents the block size assignment within the 16x16 block. The PQR information is a variable bit width data that describes to what extent a 16x16 block is subdivided. The R-bit of the PQR field represents whether the 16x16 block is subdivided into four 8x8 blocks. As shown in Figure 4 A, if the R bitis'0', the block remains whole. In this case no further PQR information is needed and the PQR field is only 1 bit long. If the R bitis'l', then the 16x16 block is subdivided into four 8x8 blocks as shown in Figure 4B, and at least four additional bits will exist in the PQR field.

[44] The additional four bits are referred to as 'Q' information. Each bit of Q denotes a subdivision of an 8x8 block into four 4x4 blocks. For each bit of Q that is set, four more bits of 'P' are present to indicate if any of the 4x4 blocks are subdivided into 2x2. Accordingly, the length of PQR data can be 1 to 21 bits long, depending on the block size assignment within the 16x16 block. If every 8x8 block is subdivided into 2x2 blocks, then the PQR information will be 21 bits in length. Figure 5A-D shows some examples of the 16x16 blocks with corresponding PQR data. In Figure 5A, PQR = 0 indicates that the 16x16 block is not subdivided. In Figure5B, PQR = 0000 0100 1 indicates that the 16x16 block is subdivided into four 8x8 blocks and one of the 8x8 block is subdivided into four 4x4 blocks. In Figure5C, PQR = 0110 0000 0101 1 indicates that thel6xl6 block is subdivided into four 8x8 blocks, one of which is subdivided into four 4x4 blocks and two of 4x4 blocks are divided into four 2x2 blocks. In Figure 5D, PQR = 0000 1 indicates that the 16x16 block is subdivided into four 8x8 blocks.

[45] The image compressor 210 may further comprise an index module 214 that determines an index system to represent the positions of image pixels in an n x n block. Some embodiments may provide a plurality of index systems, one of which is selected by the index module 214 depending upon the compression technique. In such case, the encoder 120 and decoder 175 stores the plurality of index systems and the index module 214 would transmit a signal to indicate the selected index system. In other embodiments, one fixed index system may be used to represent the image pixel locations.

[46] Figure 6A shows one embodiment of a Y-X index system that represents positions of image pixels in a 16x16 block with four orderings as described above. As shown in Figure 6B, each Y, X set of the four bit Y and X indices determines a quadrant of a corresponding block or sub-block within the 16x16 block. For example, Figure 6C shows an image pixel position with the corresponding Y, X indices. Here, the Y3 and X3 bits determine the 8x8 block quadrant, the Y2 and X2 bits determine the 4x4 block quadrant, the Y1 and Xi bits determine the 2x2 quadrant, and the Yo and Xo bits determine the image pixel location within the 2x2 sub-block.

[47] Figure 7 shows one embodiment of an image compressor 300 comprising an ABSDCT module 710, a quantization module 720 and a variable length coding (VLC) module 730. The ABSDCT module 710 converts the digital image information from spatial to frequency domain using the ABSDCT technique and generates DCT coefficients with corresponding block size assignment information, such as the PQR information for the 16x16 data block. The quantization module 720 quantizes the DCT coefficients and the VLC 730 compresses the quantized DCT coefficients using a variable length coding technique. The image compressor 300 may further comprise an index module 740 that generates signals that indicate the index system used during the compression.

[48] The quantization module 720 quantizes the DCT coefficients using quantization steps (Q step) based on the block size assignment and position as determined by the index system. The Q-step may be used as a programmable quantization level and may be maintained by software stored in a storage medium (not shown). In one embodiment, there are differentQ-step values for each color component (Y, Cb, Cr) and a different set ofQstep values for each block or sub-block size(16xl6, 8x8,4x4, and 2x2). Furthermore, in one embodiment, the DCT coefficients can be quantized using weighting functions such as frequency weight masks (FWMs) optimized for the human eye. If used in combination with ABSDCT, there would be a different FWM table for each block or sub-block size(16xl6, 8x8,4x4, and 2x2). There would also be at least three different sets of FWM tables, one for each component Y, Cb and Cr.
In one embodiment, the quantization is implemented by two multipliers. The DCT coefficient may be multiplied by the Qstep based on the block or sub-block size and position. The result is then multiplied by a frequency weight at a con-esponding pixel position from a FWM table based on the block size assignment.

[50] In variable length coding the quantized DCT coefficients, the VLC 730 may include a Huffman engine for Huffman coding the non-zero AC coefficient values along with the run length of zeros. Namely, a Huffman code represents the number of zeros preceding a non-zero AC coefficient and the size (minimum number bits required for representation) of that non-zero AC coefficient. Accordingly, the DCT coefficients are run-length coded to generate the different pairs of run lengths of zeros and corresponding size of the subsequent non-zero AC coefficient. Here, zigzag scanning or other scanning patterns can be used to increase the runs of zeros. Tables are then used to assign codes to the different run-length coded pairs based on the probabilities with which the codes occur. Short codes are assigned to pairs that appear more frequently and longer codes are assigned to pairs that appear less frequently. The Huffman code is appended with the actual value of the AC coefficient and transmitted.

[51] Therefore, in one embodiment, each image packet that is transmitted may comprise the fixed length DC value field, the variable-length PQR field, and a variable number of AC value fields. The DC value field contains the unsigned DC offset for the pixel block. The PQR field contains PQR information describing if and how the 16x16 pixel block has been subdivided into smaller blocks. This field can be 1, 5,9, 13,17 or 21 bits in length. After the PQR, the AC value field contains Huffman coded zero-run-length and size of the AC coefficient values.

[52] Referring back to Figure 2, the audio portion of the digital information is generally passed to the audio compressor 230 for compression. The audio compressor 230 may also compress the digital audio image information using any number of compression techniques. The compressed digital information is then received and processed by the back-end processor 250. For example, the compressed image and audio information may be encrypted using any
one of a number of known encryption techniques. The compressed information may be multiplexed along with synchronization information and packetized. Here, the synchronization information allows the image and audio streamed information to be played back in a time aligned manner at the theater subsystem 104. In another embodiment, the image and audio information may also be treated separately, rather than multiplexed, and separately packetized. The processed image and audio information may be sent to the hub storage medium 130 for storage on a storage medium.

[53] When a program is to be viewed, the program information may be retrieved and transferred to the auditorium module 170 through the theater manager 160. Each auditorium module 170 may process and display a different program from other auditorium modules 170 in the same theater subsystem 104, or one or more auditorium modules 170 may simultaneously process and display the same program.

[54] At the auditorium 170, the compressed information is decrypted, if necessary and decompressed by the decoder 175 using a decompression algorithm that is inverse to the compression algorithm used at the encoder 120. For example, the decompression process may include variable length decoding, inverse quantization, inverse ABSDCT, and deinterleaving to combine the DCT blocks. The decompressed image information is thereafter converted to a standard video format for display (which may be either an analog or digital format) and may be displayed. The audio information is also decompressed and provided for playback with the image information.

[55] Figure 8 shows one embodiment of a decoder 800. Generally, the decoder 800 processes the compressed/encrypted information to be visually projected by the projector 177 onto a screen or surface and audibly presented using the sound system 179. The decoder 800 may comprise a front-end(FE) processor 810, an image decompressor 810 and an audio decompressor 820. The decoder 800 may be implemented on one or more circuit card assemblies and the circuit card assemblies may be installed in a self-contained enclosure that mounts on, within or adjacent to the projector 177.

[56] In operation, the FE processor 810 identifies and separates the individual control, image, and audio packets that arrive from the theater manager 160. Control packets may be sent to the theater manager 160 while the image and audio packets are sent to the image and audio decompressors 820 and 830, respectively. Here, if a plurality of index systems is implemented for compression of the image data, the control packets may include information indicating the selected index system. Read and write operations tend to occur in bursts. Therefore, large buffers may be used to stream data smoothly from the decoder 175 directly to the projector 179. In some embodiments, a cryptographic smart card may be implemented for transfer and storage of unit-specific cryptographic keying information.

[57] The image decompressor 820 performs decryption if necessary, decompresses the compressed image packets and reassembles the original image for presentation on the screen. The output of this operation generally provides standard analog RGB signals to the digital cinema projector 177. The decryption and decompression can be performed in real-time, allowing for real-time playback of the programming material.

[58] The processing elements used for decompression may be implemented in dedicated specialized hardware configured for this function such as an ASIC and/or one or more circuit card assemblies. Alternatively, the decompression processing elements may be implemented as standard elements and/or generalized hardware including a variety of digital signal processors, programmable electronic devices and/or computers that operate under the control of special function software and/or firmware programming. Multiple ASICs may be implemented to process the image information in parallel to support high image data rates.
At the image decompressor 820, the compressed image data streams undergo an image decompression symmetric to the image compression used in the encoder 120. For example, Figure 9 shows one embodiment of an image decompression 900 that is symmetric to the image compression 700 shown in Figure 7. The image decompressor 900 may include a variable length decoding (VLD) module 910 to decompress the compressed image information, an inverse quantization module 920 to inverse quantize the decompressed image information and an inverse ABSDCT module 930 to convert the inverse quantized image information from frequency to spatial domain to enable display of the image. The image decompressor 900 may further comprise an address decoder 940 to decode the pixel locations based on the index system and a parameter selecting module 950 to select the appropriate quantization parameters.

[60] The VLD module 910 variable length decodes the compressed image information to generate variable length decoded data blocks. The inverse quantization module 920 performs inverse quantization. Since the quantization at the image compressor 700 is based on block size assignment information, the inverse quantization at the image decompressor 900 is also based on block size assignment. In particular, the block size assignment and address of the data within the n x n block is used to determine the appropriate Q-step. Moreover, if the quantization at the image compressor 700 was performed using weighting functions, the block size assignment information and data address is used to determine the appropriate FWM table.

[61] Although Figure 9 shows the address module 940 and parameter selection module 950 as implemented separately from the quantization module 930, either one or both the address module 940 and the parameter selection module 950 may be implemented as a part of the quantization module 930. Alternatively, the address module 940 and the parameter selecting module 950 may be combined and implemented separately from the quantization module 930.
Also, either one or both the address module 940 and the parameter selection module 950 may be implemented by software, firmware or a combination of software, firmware and hardware.

[62] Furthermore, the inverse quantization may be implemented by two multipliers. The data position and block size assignment information are first used to select the inverse Qstep value. A first multiplier multiplies the data by the Q~step value. At the same time, the data position and the block size assignment information are also used to select the appropriate FWM table and lookup of the second inverse quantization multiplier. A second multiplier then multiplies the result of the first multiplication by the FWM value.

[63] In one embodiment, the address decoder 940 decodes the address of the data based on the Y-X index system as described with reference to Figures 6A to 6C. Accordingly, the selection of the quantization parameter (s) is (are) based on the Y-X index system and block size assignment information. For example, for the 16x16 block data, the Y and X indices are used to determine a variable PQR value based on the data location and the variable PQR value is used to select the appropriate Q-step and FWM table. Figures 10A and 10B show one embodiment of the ordering of PQR bits QO to Q3 and PO to P3 based on the data location decoded by the address decoder 940, and Figures 11A and 1 IB show one embodiment of the 8x8 and 4x4 block selection based on the Y and X indices.

[64] As shown, QO corresponds to(Y3, X3)=(0,0), Q1 corresponds to(Y3, X3)=(0, 1), Q2 corresponds to (Y3, X3)=(l,0) and Q3 corresponds to(Y3, X3)=(l, 1).PO-0, PO-l,PO-2 andPO- 3 correspond to (Y2,X2)= (0,0), (0,1), (1,0) and (1, 1) respectively for (Y3, X3)=(0,0). Similarly,P 1 -0,P 1 -1 ,P 1 -2 andPl-3 correspond to (Y2,X2)= (0,0), (0,1), (1,0) and(l,l) respectively for(Y3X3)=(0, 1); P2-0, P2-1, P2-2 and P2-3 correspond to(Y2,X2)= (0,0), (0, 1), (1,0) and (1,1) respectively for(Y3, X3)= (1,0); and P3-0, P3-1, P3-2 and P3-3 correspond to (Y2, X2)= (0,0), (0,1),(1, 0) and (1, 1) respectively for(Y3, X3)= (1, 1).

[65] Based on the Y-X index system, the address decoder 940 determines the Y-X indices for each of the pixel position of the 16x16 block data. The parameter selecting module 950 receives the Y-X indices from the address decoder and also receives the PQR information for the 16x16 block. Using the Y-X indices and the PQR information, the parameter selecting module 950 determines the PQR value and selects the appropriate Q-step and FWM table. The quantization module 930 can then quantize the decompressed image data using the selected Q- step and frequency weight values.

[66] Figure 12 shows one embodiment of a parameter selection module 1200 comprising multiplexers(MUXs)1210-1260 and an array 1270. Figure 13 shows another embodiment of a parameter selection module 1300 comprising multiplexers(MUXs) 1310-1330 and an array 1370. In the parameter selection module 1200 and 1300, the array 1270 and array 1370, each comprises fields that represent QO to Q3 bits and PO to P3 bits for each QO to Q3 bits. In one embodiment, the values of the arrays 1270 and 1370 are initially set to a default value, for example zero. Once the PQR information is received, the parameter selection modules 1200 and 1300 store the PQR information in the corresponding fields. Also, the first value or R value of the variable PQR value is the R bit from the PQR information. Moreover, the MUX 1210 and MUX 1310, respectively, select a second value or Q value of the variable PQR value based on the Y3 and X3 indices.

[67] In parameter selection module 1200, the MUXs 1220 to 1250 each select a P bit based on the Y2 and X2 indices. The third value or P value of the variable PQR value is then selected by MUX 1260 based on the Y3 and X3 indices. Alternatively, in parameter selection module 1300, a set of P bits corresponding to one of PO, PI, P2 or P3 are selected by MUX 1320 based on Y3 and X3 indices. The third value or P value is then selected by MUX 1330 based on the Y2 and X2 indices.

[68] Figure 14 shows one embodiment of a method 1400 for selecting the appropriate quantization parameter for a data bit of a 16x16 block of data. Method 1400 comprises determining a variable PQR value based on the Y-X indices (1410) and selecting the quantization parameter based on the variable PQR value (1450). The R value is selected directly from the first bit or R bit of the PQR information (1412). The Q value is selected by MUX 1210 based on Y3 and X3 indices (1414). For example, if (Y3, X3) = (0,1), the value from the Q1 field is selected. The P value is then selected based on both Y3, X3 and Y2, X2 indices (1416).
In one embodiment, MUXs 1220 to 1250 each selects a value from a P field based on Y2 and X2 indices. For example, if (Y2, X2) = (1,1), MUXs 1220 to 1250 would each select the value from PO-3, Pl-3, P2-3 and P3-3 fields, respectively. The P value is then selected by MUX 1260 from one of the MUXx 1220 to 1250 based on the Y3 and X3 indices. For example, for (Y3, X3) = (0, 1), Pl-3 from MUX 1230 is selected. In a second embodiment, a set of P values are selected by the MUX 1320 based on Y3 and X3 indices. For example, if (Y3, X3)= (0,1), P values corresponding to PI are selected and the values fromPl-0,Pl-l,Pl-2 andPl-3 fields would be output. The P value is then selected by MUX 1330 from one of the P fields based on the Y2 and X2 indices. For example, for(Y2, X2)= (1,1), the value fromPl-3 field is selected.

[70] Thereafter, the selection of the appropriate FWM table and Q-step can be implemented as follows. If PQR = 000, a 16x16 parameter is selected (1452 and 1454). If PQR = 001, an 8x8 parameter is selected (1456 and 1458). If PQR = 011, a 4x4 parameter is selected (1460 and 1462). Otherwise, a 2x2 parameter is selected (1464).
[71] Figure 15 shows another embodiment of a method 1500 for selecting the appropriate quantization parameter for a 16x16 block of data. Here the quantization parameter may be the Qstep or both the Qstep and the FWM table as described above. For each pixel data of the 16x16 block, a determination is made whether or not the R = 0 (1510). If the value of R = 0, then 16x16 FWM table and Qstep are selected (1520). If the value of R 0, the Q bit corresponding to Y3 and X3 is obtained (block 1530) and a determination is made whether the obtained value of Q = 0 (1540). If the value of Q = 0, then 8x8 FWM table and Qstep are selected (1550). If the value of Q 0, the P bit corresponding to Y2 andXa for the quadrant corresponding to Y3 andX3 is obtained (1560) and a determination is made whether the obtained value of P =0 (1570). If the value of P = 0, then 4x4 FWM table and Qstep are selected (1580). Otherwise, the 2x2 FWM table and Qstep are selected (1590).

[00072] Alternatively, Figure 16 shows another embodiment of a method 1600 for selecting the appropriate quantization parameter for a 16x16 block data. As in method 1500, the quantization parameter may be the Qstep or both the Qstep and the FWM table. Also, in this embodiment, a storage medium is used to store the FWM table and/or Q~step values as determined for quadrants or sub-blocks. First, a determination is made whether the data is the first pixel data of the image block (block 1610). If the data is the first pixel data, a determination is made whether R = 0 (block 1615). If R = 0, then 16x16 FWM table and Qstep are selected and stored in the storage medium for use in the remaining data of the 16x16 block (block 1620). If the data is not the first pixel data or if R+ 0, a determination is made whether the parameter is known for the pixel position of the data (block 1625). If known, the known parameter is selected (block 1630). Here, the storage medium is checked to determine if a parameter selection has been stored for the corresponding pixel position. In one embodiment, the storage medium may be a lookup table.

[73] If the parameter is not known, the 8x8 quadrant or sub-block in which the pixel position of the data is located is determined using the Y3 and X3 indices (block 1635). If the corresponding Q = 0,8x8 FWM table and Qstep are selected, and stored for the remaining data in the corresponding 8x8 quadrant (blocks 1640 and 1645). If Q : A 0, the 4x4 quadrant or sub- block in which the pixel position of the data is located is determined using the Y2, X2 and Y3, X3 indices (block 1650). If the corresponding P = 0,4x4 FWM table and Qstep are selected and stored for the remaining data in the corresponding 4x4 quadrant (blocks 1655 and 1660). If P + 0,2x2 FWM table and Qstep are selected and stored for the data in the corresponding 2x2 quadrants or sub-blocks of the 4x4 quadrant (block 1665).

[74] Therefore, the appropriate quantization parameters can be selected based on pixel positions of data and block size assignment. Accordingly, the image decompressor 900 variable length decodes and inverse quantizes the compressed data using the appropriate quantization parameters. After inverse quantization, an inverse ABSDCT is performed to recover the original image information.

[75] The decompressed image data goes through digital to analog conversion, and the analog signals are output to projector 177. Alternatively, a digital interface may be used to convey the decompressed digital image data to the projector 177 obviating the need for the digital-to- analog process. The audio decompressor 830 performs decryption, if necessary, and reassembles the original audio for presentation on a theater's speakers or audio sound module 179. The output of this operation can provide standard line level audio signals to the sound module 179. Similar to the image decompressor 820, audio decompression is performed with an algorithm symmetric to that used at the central hub 102 for audio compression. As discussed earlier, audio and data tracks may be time synchronized to the image programs or may be presented asynchronously without direct time synchronization.

[76] It should be noted that the foregoing embodiments are merely exemplary and are not to be construed as limiting the invention. For example, the invention may be implemented by hardware, software, firmware, or any combination thereof. When implemented in software or firmware, the elements of the invention are the program code or code segments to perform the necessary tasks. A code segment may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.

[77] The program code or code segments may be stored in a machine readable medium, such as a processor readable medium or a computer program product, or transmitted by a computer data signal embodied in a carrier wave or a signal modulated by a carrier over a transmission medium or communication link. The machine readable medium or processor readable medium may include any medium that can store or transfer information in a form readable and executable by a machine (e. g. a processor, a computer, etc. ). Examples of the machine/processor-readable medium include an electronic circuit, a semiconductor memory device, a read only memory (ROM), a flash memory, an erasable programmable ROM (EPROM), a floppy diskette, a compact disk CD-ROM, and optical disk, a hard disk, a fiber optic medium, a radio frequency (RF) link. The computer data signal may include various signal that can propagate over a transmission medium such as electronic network channels, optical fibers, air, electromagnetic, RF links, etc. The code segments may be downloaded via networks such as the Internet, an Intranet, etc.

[78] In addition, the playback module 173 and the decoder 175 may be integrated into a single playback-decoder module. The encoding may include other processes such as differential quad-tree transformation. In such case, the decoding would include inverse differential quad tree transformation. Also, a bit value of 1 rather than 0 may be used to indicate that a block is subdivided in the PQR information. Similarly, the bit values of X and Y indices may be inversed. Furthermore, although the invention has been described with reference to an n x n data block, the invention is applicable to an n x m block where n + m. Moreover, the invention is applicable for the selection of parameters other than quantization parameters if the parameter depends on data block size where there are different data block sizes.

[79] Therefore, the description of the invention is intended to be illustrative, and not to limit the scope of the claims. As such, the present teachings can be readily applied to other types of apparatus and many alternatives, modifications, and variations will be apparent to those skilled in the art.






WE CLAIM :

1. A method comprising:
variable length decoding compressed information to generate a variable length decoded data block;
selecting a quantization parameter based on block size assignment information and address of data within the data block; and
inverse quantizing the variable length decoded data block using the selected quantization parameter; and
decoding the address of the data within the data block and selecting the quantization parameter based on the block size assignment information and the decoded address of the data,
wherein decoding the address of the data comprises decoding the address of the data into Y and X indices based on a Y and X index system.

2. An apparatus comprising:
means (910) for variable length decoding compressed information to generate a variable length decoded data block;
means for selecting a quantization parameter based on block size assignment information and address of data within the data block;
means (920) for inverse quantizingthe variable length decoded data block using the selected quantization parameter; and
means(940) for decoding the address of the data within the data block, and wherein the means (950)for selecting the quantization parameter selects the quantization parameter based on the block size assignment information and the decoded address of the data, wherein the means for decoding decodes the data into Y and X indices based on a Y and X index system.

3. A computer-readable medium embodying instructions, comprising:
first set of instructions to variable length decode compressed information to generate a variable length decoded data block;
second set of instructions to select a quantization parameter based on block size assignment information and address of data within the data block;
third set of instructions to inverse quantize the variable length decoded data block using the selected quantization parameter; and
fourth set of instructions to decode the address of the data within the data block, wherein the fourth set of instructions comprises instructions to decode the address into Y and X indices based on a Y and X index system.

4. A method comprising:
decoding an address of a data block into Y and X indices based on a Y and X index system;
receiving block size assignment information; and selecting an appropriate quantization parameter based on the block size assignment information and the Y and X indices.

5. The method as claimed in claim 4, wherein the data block is a 16x16 data block and wherein the block size assignment information comprises: a first bit indicating whether the 16x16 data block is divided into 8x8 sub-blocks; second bits if the first bit indicates that the 16x16 is divided into 8x8 sub-blocks, each second bit indicating whether a corresponding 8x8 sub-block is divided into 4x4 sub-blocks; and third bits if at least one second bit indicates that the corresponding 8x8 sub-block is divided into 4x4 sub-blocks; each third bit indicating whether a corresponding 4x4 sub-block is divided into 2x2 sub-blocks.

6. The method as claimed in claim 5, wherein selecting the appropriate quantization parameter comprises: determining a variable value based on the block size assignment information and Y and X indices; and selecting the quantization parameter based on the determined variable value.

7. The method as claimed in claim 6, wherein determining the variable value comprises: determining a first value of the variable value as the first bit of the block size assignment information; selecting one of the second bits of the block size assignment information as a second value of the variable value based on the Y and X indices, if the block size assignment information comprises second bits, and otherwise selecting a default value as the second value of the variable value; and selecting one of the third bits of the block size assignment information as a third value of the variable value based on the Y and X indices, if the block size assignment information comprises third bits, and otherwise selecting a default value as a third value of the variable value.

8. The method as claimed in claim 5, wherein selecting the appropriate quantization parameter comprises:
determining whether the first bit is a certain it value; selecting a 16x16 parameter if the first bit is a certain bit value, and otherwise determining the 8 X 8 sub-block in which the data is located based on the Y and X indices;
determining whether the second bit corresponding to the 8 X 8 sub-block is a certain bit value; selecting an 8x8 parameter if the second bit is a certain bit value, and otherwise determining the 4x4 sub-block in which the data is located based on the Y and X indices; determining whether the third bit corresponding to the 4x4 sub-block is a certain bit value; and selecting a 4x4 parameter if the third block is a certain bit value, and otherwise selecting a 2X2 parameter for the 2x2 sub-blocks of the 4x4 sub-block.

9. The method as claimed in claim 5, wherein selecting the appropriate quantization parameter comprises: determining whether the first bit is a certain bit value; selecting and
storing a 16x16 parameter for the 16x16 block if the first bit is a certain bit value, and otherwise determining whether the quantization parameter is known for the data location within the data block; determining the 8x8 sub-block in which the data is located based on the Y and X indices, if the quantization parameter is not known for the data location; determining whether the second bit corresponding to the 8x8 sub-block is a certain bit value; selecting and storing an 8x8 parameter for the 8x[sub-block if the second bit is a certain bit value, and otherwise determining the 4x4 sub-block in which the data is located based on the Y and X indices; determining whether the third bit corresponding to the 4x4 sub-block is a certain bit value; and selecting and storing a 4x4 parameter for the 4x4 sub-block if the third block is a certain bit value, and otherwise selecting and storing a 2x2 parameter for the 2x2 sub-blocks of the 4x4 sub-block.

10. An apparatus comprising:
means (940) for decoding address of data block into Y and X indices based on a Y and X index system;
means (950) for receiving block size assignment information; and
means (950) for selecting an appropriate quantization parameter based on the block size assignment information and the Y and X indices.

11. The apparatus as claimed in claim 10, wherein the (data block is a 16x16 data block and wherein the block size assignment information comprises: a first bit indicating whether the 16x16 data block is divided into 8x8 sub-blocks; second bits if the first bit indicates that the 16x16 is divided into 8x8 sub-blocks, each second bit indicating whether a corresponding 8x8 sub-block is divided into 4x4 sub-blocks; and third bits if at least one second bit indicates that the corresponding 8x8 sub-block is divided into 4x4 sub-blocks; each third bit indicating whether a corresponding 4x4 sub-block is divided into 2x2 sub-blocks.

12. The apparatus as claimed in claim 11, wherein the means for selecting the appropriate quantization parameter comprises: means for determining a variable value based on the block size assignment information and the Y and X indices; and means for selecting the quantization parameter based on the determined variable value.

13. The apparatus as claimed in claim 12, wherein the means for determining the variable value comprises: determining a first value of the variable value as the first bit of the block size assignment information; means for selecting one of the second bits of the block size assignment information as a second value of the variable value based on the Y and X indices, if the block size assignment information comprises second bits, and otherwise selecting a default value as the second value of the variable value; and means for selecting one of the third bits of the block size assignment information as a third value of the variable value based on the Y and X indices, if the block size assignment information comprises third bits, and otherwise selecting a default value as the third value of the variable value.

14. The apparatus as claimed in claim 11, wherein the means for selecting the appropriate quantization parameter comprises: means for determining whether the first bit is a certain bit value; means for selecting a 16x16 parameter if the first bit is a certain bit value, and otherwise determining the 8x8 sub-block in which the data is located based on the Y and X indices; means for determining whether the second bit corresponding to the 8x8 sub-block is a certain bit value; means for selecting an 8x8 parameter if the second bit is a certain bit value, and otherwise determining the 4x4 sub-block in which the data is located based on the Y and X indices; means for determining whether the third bit corresponding to the 4.times sub-block is a certain bit value; and means for selecting a 4x4 parameter if the third block is a certain bit value, and otherwise selecting a 2x2 parameter for the 2x2 sub-blocks of the 4x4 sub-block.

15. The apparatus as claimed in claim 11, wherein selecting the appropriate quantization parameter comprises: means for determining whether the first bit is a certain bit value; means for selecting and storing a 16x16 parameter for the 16x 16 block if the first bit is a certain bit value, and otherwise determining whether the quantization parameter is known for the data location within the data block; means for determining the 8x8 sub-block in which the data is located based on the Y and X indices, if the quantization parameter is not known for the data location; means for determining whether the second bit corresponding to the 8x8 sub-block is a certain bit value; means for selecting and storing an 8x8 parameter for the 8x8 sub-block if the second bit is a certain bit value, and otherwise determining the 4x4 sub-block in which the data is located based on the Y and X indices; means for determining whether the third bit corresponding to the 4x4 sub-block is a certain bit value; and means for selecting and storing an 4x4 parameter for the 4x4 sub-block if the third block is a certain bit value, and otherwise selecting and storing a 2x2 parameter for the 2x2 sub-blocks of the 4x4 sub-block.

Documents:

90-chenp-2005 abstract.pdf

90-chenp-2005 claims.pdf

90-chenp-2005 correspondence others.pdf

90-chenp-2005 correspondence po.pdf

90-chenp-2005 description (complete).pdf

90-chenp-2005 drawings.pdf

90-chenp-2005 form-1.pdf

90-chenp-2005 form-18.pdf

90-chenp-2005 form-3.pdf

90-chenp-2005 form-5.pdf

90-chenp-2005 pct.pdf

90-chenp-2005 petition.pdf

90-chenp-2005 power of attorney.pdf


Patent Number 249150
Indian Patent Application Number 90/CHENP/2005
PG Journal Number 40/2011
Publication Date 07-Oct-2011
Grant Date 04-Oct-2011
Date of Filing 28-Jan-2005
Name of Patentee QUALCOMM INCORPORATED
Applicant Address 5775 MOREHOUSE DRIVE, SAN DIEGO, CALIFORNIA 92121
Inventors:
# Inventor's Name Inventor's Address
1 GOVINDASWAMY, SENTHIL 9931 PASEO MONTRIL, SAN DIEGO, CALIFORNIA 92129
2 LAROCCA, Judith 4603 Telescope Avenue, Carlsbad, CA 92008
3 LEVIN, Jeffrey, A. 13063, Harwick Lane, San Diego, California 92130
PCT International Classification Number G06T9/00
PCT International Application Number PCT/US03/24152
PCT International Filing date 2003-07-30
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 60/399,838 2002-07-30 U.S.A.
2 10/630,511 2003-07-29 U.S.A.