WO1998000977A1 - Method and apparatus for bound-based adaptive entropy encoding/decoding - Google Patents

Method and apparatus for bound-based adaptive entropy encoding/decoding Download PDF

Info

Publication number
WO1998000977A1
WO1998000977A1 PCT/US1997/011343 US9711343W WO9800977A1 WO 1998000977 A1 WO1998000977 A1 WO 1998000977A1 US 9711343 W US9711343 W US 9711343W WO 9800977 A1 WO9800977 A1 WO 9800977A1
Authority
WO
WIPO (PCT)
Prior art keywords
entropy
parameter
transform coefficients
decoded
quantized transform
Prior art date
Application number
PCT/US1997/011343
Other languages
French (fr)
Inventor
Cheung Auyeung
Original Assignee
Motorola Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Motorola Inc. filed Critical Motorola Inc.
Priority to EP97931485A priority Critical patent/EP0847650A4/en
Publication of WO1998000977A1 publication Critical patent/WO1998000977A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/18Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Definitions

  • the present invention relates to video/image compression and, more particularly, to coding of transform coefficients.
  • Video systems are known to include a plurality of communication devices and communication channels, which provide the communication medium for the communication devices.
  • the communication channel may be wire line connections or radio frequency, RF, carriers.
  • video that needs to be communicated over the communication medium is digitally compressed.
  • Digital compression reduces the number of bits needed to represent the video while maintaining perceptual quality of the video. The reduction in bits allows more efficient use of channel bandwidth and reduces storage requirements.
  • each communication device may include an encoder and a decoder.
  • the encoder allows a communication device to compress video before transmission over a communication channel.
  • the decoder enables the communication device to receive compressed video from a communication channel and render it visible.
  • Communication devices that may use digital video compression include television transmitters and receivers, cable television transmitters and receivers, video telephones, computers and portable radios.
  • FIG. 1 is a flow chart of one embodiment of steps of a method for encoding in accordance with the present invention.
  • FIG. 2 is a flow chart of one embodiment of steps of a method for encoding in accordance with the present invention.
  • FIG. 3 is a block diagram of one embodiment of a apparatus in accordance with the present invention.
  • FIG. 4 is a graphical representation of a non-increasing least upper bound of scanned coefficients in accordance with the present invention.
  • FIG. 5 is a state transition diagram of the scanned coefficients in accordance with the present invention.
  • FIG. 6 is a graphical representation of the average power of the scanned coefficients in accordance with the present invention.
  • the present invention is a method and an apparatus for entropy encoding/decoding scanned transform coefficients in a video/image compression system.
  • the present invention is a method and an apparatus for adaptive entropy encoding/decoding of a plurality of quantized transform coefficients.
  • For encoding first, a predetermined number of quantized transform coefficients are received in a predetermined order giving a generally decreasing average power. Second, the coefficients are then parsed in the reverse order of the predetermined order to obtain the non-increasing least upper bound of the coefficients. Third, the quantized transform coefficients are parsed into a plurality of coefficient groups.
  • a last coefficient group comprises all zero quantized coefficients
  • the last coefficient group is discarded.
  • a current coefficient group and the bound of the next coefficient group are then converted into a current parameter set containing a current state parameter.
  • a current entropy encoder is adaptively selected based on the previous state parameter of a previous parameter set to encode the current parameter set to provide entropy encoded information bits.
  • This invention may be used with a compression algorithm that processes a picture into two-dimensional blocks of quantized transform coefficients with predetermined transform sizes. Each block is then scanned into at least one one-dimensional array in a predetermined order giving generally decreasing average power.
  • Each one-dimensional array of quantized transform coefficients are parsed into a sequence of coefficient groups as shown by the following example. For example, consider an array having 28 coefficients, only seven of which are non-zero:
  • the coefficient groups are ⁇ 8 ⁇ , ⁇ 6 ⁇ , ⁇ 0, 4 ⁇ , ⁇ 0, 0, 1 ⁇ , ⁇ 2 ⁇ , ⁇ 1 ⁇ , ⁇ 0, 1 ⁇ (2)
  • the number of coefficient groups is the same as the number of non-zero coefficients since the last group, ⁇ 0, 0, ... ⁇ , which consists of all zero coefficients, is discarded.
  • Each coefficient group has the form ⁇ 0, ..., 0, I ⁇ (3)
  • the coefficient groups are also ordered in the same manner as the coefficients.
  • the coefficient groups are then parsed in the reverse order of the predetermined order to obtain the monotonic least upper bound.
  • the montonic least upper bound of the coefficient groups in (2) is 8, 6, 4,2, 2, 1 , 1 (4)
  • the montonic least upper bound is generated as follows. Let G-i , G2, .... G n be the coefficient groups after parsing, where
  • the monotonic least upper bound bk of the group is the maximum absolute value of
  • Each coefficient group ⁇ 0, .... 0, ik ⁇ and its bound bk are converted into a parameter set (rk, Ik, Sk ⁇ where rk is the run, which may be equal to zero, defined as the number of zero coefficients in the coefficient group, k is the level, and Sk is the state.
  • the state is defined as Sk - 0, which indicates that it is the last parameter set.
  • the coefficient groups in (2) becomes the parameter set ⁇ 0, 8, 3 ⁇ , ⁇ 0, 6, 3 ⁇ , ⁇ 0, 4, 2 ⁇ , ⁇ 2, 1 , 2 ⁇ , ⁇ 0, 2, 1 ⁇ , ⁇ 0, 1 , 1 ⁇ , ⁇ 1 , 1 ,
  • FIG 1 is a flow chart of one embodiment of steps of a method for encoding in accordance with the present invention.
  • the first step in the encoding method is parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a scanning order of generally decreasing power and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in a memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded (102).
  • the second step in the encoding method is sending, by the memory unit in accordance with a signal from the encoder controller, a current parameter set of the plurality of parameter sets in the predetermined scanning order (104).
  • the third step in the encoding method is selecting a current entropy encoder of a plurality of entropy encoders based on a state parameter of a last parameter set (106).
  • the fourth and final step in the encoding method is encoding, by the current entropy encoder, a current parameter set to provide entropy-encoded information bits (108).
  • FIG. 2, numeral 200 is a flow chart of one embodiment of steps of a method for decoding in accordance with the present invention.
  • the first step in the decoding method is decoding, by a first entropy decoder, the entropy-encoded information bits to provide a decoded current parameter set (202).
  • the second step in the decoding process is adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set (204).
  • the third step in the decoding process is converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients (206).
  • FIG. 3, numeral 300 is a block diagram of one embodiment of a encoder/decoder apparatus in accordance with the present invention.
  • the encoder apparatus comprises a memory unit (302), a bound determiner (308), a memory unit (302), a bound determiner (304), a encoder controller (312), a plurality of entropy encoders (322)(324).
  • the apparatus further comprises a plurality of entropy decoders (328) (330), a decoder controller (334) and a parameter set converter (336).
  • the memory unit (302) coupled to a bound parameter determiner (308), a parameter set determiner (320) and an encoder controller (312) receives at least one non-zero quantized transform coefficient (304), and stores the quantized transform coefficients, bound parameters (310) and parameter sets (322).
  • the bound parameter determiner (308) coupled to the memory unit (302), generates the bound parameters (310).
  • the decoder controller (334) selectively coupled to all of the entropy decoders (328,330), for adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set (332).
  • the bound-based parameter set converted 336) coupled to the decoder controller (334), converts the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
  • FIG. 4 is a graphical representation of a non-increasing least upper bound b_k (408) of the amplitude (404) of the scanned coefficients as a function of its index k
  • the bounds are also classified into ranges (420) corresponding to the state parameter of the previous parameter set.
  • FIG. 5, numeral 500 is an exemplary state transition diagram of the scanned coefficients corresponding to the state parameter of the previous parameter set in accordance with the present invention.
  • the state transition diagram has four states corresponding to the first coefficient (502) and various ranges (504, 506, 508) of the bound of the coefficients.
  • FIG. 6, numeral 600 is a graphical representation of the average power (640) as a generally decreasing function of the index (602) of the scanned coefficients in accordance with the present invention.
  • the present invention codes the quantized transform coefficients with less number of bits than the coding method used in H.261 , H.263, MPEG-1 , and MPEG-2.
  • the present invention adapts to each block of quantized transform coefficients while the coding method in H.261 , H.263, MPEG-1 , and MPEG-2 does not.

Abstract

The present invention provides an apparatus and method for adaptive encoding/decoding in a multimedia compression system. For encoding, the steps include: A) step (102) for parsing a predetermined number of quantized transform coefficients into a plurality of coefficients groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficent group is discarded; B) step (104) for sending, in accordance with a signal from the encoder controller, a current parameter set of the plurality of parameter sets in the predetermined scanning order; C) step (106) for adaptively selecting a current entropy encoder based on a state parameter of a last parameter set; and D) step (108) for enconding a current parameter set to provide entropy-encoded information bits. Decoding is accomplished in a fashion that mirrors the encoding method.

Description

METHOD AND APPARATUS FOR BOUND-BASED ADAPTIVE ENTROPY ENCODING/DECODING
Field of the Invention
The present invention relates to video/image compression and, more particularly, to coding of transform coefficients.
Background of the Invention
Video systems are known to include a plurality of communication devices and communication channels, which provide the communication medium for the communication devices. For example, the communication channel may be wire line connections or radio frequency, RF, carriers. To increase the efficiency of the video system, video that needs to be communicated over the communication medium is digitally compressed. Digital compression reduces the number of bits needed to represent the video while maintaining perceptual quality of the video. The reduction in bits allows more efficient use of channel bandwidth and reduces storage requirements. To achieve digital video compression, each communication device may include an encoder and a decoder. The encoder allows a communication device to compress video before transmission over a communication channel. The decoder enables the communication device to receive compressed video from a communication channel and render it visible. Communication devices that may use digital video compression include television transmitters and receivers, cable television transmitters and receivers, video telephones, computers and portable radios.
Several emerging standards for digital video compression are being developed, including International Telecommunications Union (ITU), ITU-T Recommendation H.263+ and H.263/L, the International Standards Organization/International Electrotechnical Committee (ISO/IEC), and International Standard MPEG-4. These standards are likely to use transform coding as part of the building blocks for good coding efficiency. Currently, the Expert's Group on Very Low Bitrate Visual Telephony, LBC, is considering using the discrete cosine transform for coding efficiency. The Moving Pictures Expert's Group, MPEG, is also likely to use the discrete cosine transform or other type of transform. To achieve compression, the transform coefficients are quantized, scanned, and entropy coded. Therefore, to maximize the compression capability, a need exists for a method and apparatus for encoding/decoding the scanned quantized transform coefficients so that they can be more efficiently compressed than the emerged standard H.261 , H.263, MPEG-1 , and MPEG-2. Brief Description of the Drawings
FIG. 1 is a flow chart of one embodiment of steps of a method for encoding in accordance with the present invention.
FIG. 2 is a flow chart of one embodiment of steps of a method for encoding in accordance with the present invention.
FIG. 3 is a block diagram of one embodiment of a apparatus in accordance with the present invention.
FIG. 4 is a graphical representation of a non-increasing least upper bound of scanned coefficients in accordance with the present invention.
FIG. 5 is a state transition diagram of the scanned coefficients in accordance with the present invention.
FIG. 6 is a graphical representation of the average power of the scanned coefficients in accordance with the present invention.
Detailed Description of a Preferred Embodiment The present invention is a method and an apparatus for entropy encoding/decoding scanned transform coefficients in a video/image compression system. For entropy encoding, The present invention is a method and an apparatus for adaptive entropy encoding/decoding of a plurality of quantized transform coefficients. For encoding, first, a predetermined number of quantized transform coefficients are received in a predetermined order giving a generally decreasing average power. Second, the coefficients are then parsed in the reverse order of the predetermined order to obtain the non-increasing least upper bound of the coefficients. Third, the quantized transform coefficients are parsed into a plurality of coefficient groups. When a last coefficient group comprises all zero quantized coefficients, the last coefficient group is discarded. A current coefficient group and the bound of the next coefficient group are then converted into a current parameter set containing a current state parameter. Then a current entropy encoder is adaptively selected based on the previous state parameter of a previous parameter set to encode the current parameter set to provide entropy encoded information bits.
This invention may be used with a compression algorithm that processes a picture into two-dimensional blocks of quantized transform coefficients with predetermined transform sizes. Each block is then scanned into at least one one-dimensional array in a predetermined order giving generally decreasing average power.
Each one-dimensional array of quantized transform coefficients are parsed into a sequence of coefficient groups as shown by the following example. For example, consider an array having 28 coefficients, only seven of which are non-zero:
{8, 6, 0, 4, 0, 0, 1 , 2, 1 , 0, 1 , 0, 0, ... } (1 )
After parsing, the coefficient groups are {8}, {6}, {0, 4}, {0, 0, 1}, {2}, {1}, {0, 1} (2)
In general, the number of coefficient groups is the same as the number of non-zero coefficients since the last group, {0, 0, ... } , which consists of all zero coefficients, is discarded. Each coefficient group has the form {0, ..., 0, I } (3)
which consists of a sequence of zero coefficients followed by a non-zero coefficient, I . The coefficient groups are also ordered in the same manner as the coefficients.
The coefficient groups are then parsed in the reverse order of the predetermined order to obtain the monotonic least upper bound. For example, the montonic least upper bound of the coefficient groups in (2) is 8, 6, 4,2, 2, 1 , 1 (4) In general, the montonic least upper bound is generated as follows. Let G-i , G2, .... Gn be the coefficient groups after parsing, where
Gk = {0 0, ik} (5)
The monotonic least upper bound bk of the group is the maximum absolute value of
Figure imgf000008_0001
To reduce computation, bk can also be determined recursively as the maximum absolute value of ik and bk+1 starting from k = n.
Each coefficient group {0, .... 0, ik} and its bound bk are converted into a parameter set (rk, Ik, Sk} where rk is the run, which may be equal to zero, defined as the number of zero coefficients in the coefficient group, k is the level, and Sk is the state. The state is a monotonic function of bk+ 1. For example, for 1 < k < n, the state is defined as sk = 3, if 4 < bk+ ι ; sk = 2, if 2 < bk+ι < 4;
Sk - 1 , ' k+1 < 2;
For k« n, the state is defined as Sk - 0, which indicates that it is the last parameter set. In particular, the coefficient groups in (2), becomes the parameter set {0, 8, 3}, {0, 6, 3}, {0, 4, 2}, {2, 1 , 2}, {0, 2, 1 }, {0, 1 , 1}, {1 , 1 ,
0}.
The present invention can be more fully described with reference to FIGs. 1 -6. FIG 1 , numeral 100, is a flow chart of one embodiment of steps of a method for encoding in accordance with the present invention. The first step in the encoding method is parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a scanning order of generally decreasing power and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in a memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded (102). The second step in the encoding method is sending, by the memory unit in accordance with a signal from the encoder controller, a current parameter set of the plurality of parameter sets in the predetermined scanning order (104). The third step in the encoding method is selecting a current entropy encoder of a plurality of entropy encoders based on a state parameter of a last parameter set (106). The fourth and final step in the encoding method is encoding, by the current entropy encoder, a current parameter set to provide entropy-encoded information bits (108).
FIG. 2, numeral 200, is a flow chart of one embodiment of steps of a method for decoding in accordance with the present invention. The first step in the decoding method is decoding, by a first entropy decoder, the entropy-encoded information bits to provide a decoded current parameter set (202). The second step in the decoding process is adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set (204). The third step in the decoding process is converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients (206).
FIG. 3, numeral 300, is a block diagram of one embodiment of a encoder/decoder apparatus in accordance with the present invention. The encoder apparatus comprises a memory unit (302), a bound determiner (308), a memory unit (302), a bound determiner (304), a encoder controller (312), a plurality of entropy encoders (322)(324). When decoding is performed, the apparatus further comprises a plurality of entropy decoders (328) (330), a decoder controller (334) and a parameter set converter (336).
For encoding, the memory unit (302), coupled to a bound parameter determiner (308), a parameter set determiner (320) and an encoder controller (312) receives at least one non-zero quantized transform coefficient (304), and stores the quantized transform coefficients, bound parameters (310) and parameter sets (322). The bound parameter determiner (308), coupled to the memory unit (302), generates the bound parameters (310). The bound-based parameter set determiner (320), coupled to the memory unit (302), parses a predetermined number of quantized transform coefficients (304) into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets (322) according to a predetermined scheme and storing the parameter sets in the memory unit( 302), wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded. The encoder controller (312), coupled to the memory unit (302), for selecting a entropy encoder of a plurality of entropy encoders (322, 324) and adaptively selecting entropy encoder/encoders in accordance with the state of the last parameter set. The first entropy encoder (322), coupled to the encoder controller (312) and the memory unit (302), for encoding a first parameter set to provide entropy encoded information bits. A plurality of additional entropy encoders
(324), coupled to the encoder controller (32) and the memory unit (302), for adaptively providing entropy encoded information bits in accordance with a bound-based state parameter.
For decoding, the first entropy decoder (328), coupled to the decoder controller (334) and to receive entropy encoded information bits (326), for decoding the entropy-encoded information bits to provide a first decoded parameter set. The plurality of additional entropy decoders (330), coupled to the decoder controller, receives the entropy encoded information bits, and decodes the entropy-encoded information bits to provide a current decoded parameter set. The decoder controller (334), selectively coupled to all of the entropy decoders (328,330), for adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set (332). The bound-based parameter set converted 336), coupled to the decoder controller (334), converts the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
FIG. 4, numeral 400, is a graphical representation of a non-increasing least upper bound b_k (408) of the amplitude (404) of the scanned coefficients as a function of its index k
(402) in accordance with the present invention. The bounds are also classified into ranges (420) corresponding to the state parameter of the previous parameter set.
FIG. 5, numeral 500, is an exemplary state transition diagram of the scanned coefficients corresponding to the state parameter of the previous parameter set in accordance with the present invention. The state transition diagram has four states corresponding to the first coefficient (502) and various ranges (504, 506, 508) of the bound of the coefficients. FIG. 6, numeral 600, is a graphical representation of the average power (640) as a generally decreasing function of the index (602) of the scanned coefficients in accordance with the present invention.
The present invention codes the quantized transform coefficients with less number of bits than the coding method used in H.261 , H.263, MPEG-1 , and MPEG-2. The present invention adapts to each block of quantized transform coefficients while the coding method in H.261 , H.263, MPEG-1 , and MPEG-2 does not.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
claim:

Claims

CLAIMS 1 3
1 . A method for adaptive entropy encoding/decoding in a multimedia compression system, comprising the steps of: for encoding:
A) parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in a memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded;
B) sending, by the memory unit in accordance with a signal from the encoder controller, a current parameter set of the plurality of parameter sets in the predetermined scanning order; C) adaptively selecting a current entropy encoder of a plurality of entropy encoders based on a state parameter of a last parameter set;
D) encoding, by the current entropy encoder, a current parameter set to provide entropy-encoded information bits; and for decoding: E) decoding, by a first entropy decoder, the entropy- encoded information bits to provide a decoded current parameter set;
F) adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set;
G) converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
2. Digital storage media having a method stored in said digital storage media for adaptive entropy encoding/decoding in a multimedia compression system, comprising the steps of: for encoding:
A) parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in a memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded;
B) sending, by the memory unit in accordance with a signal from the encoder controller, the parameter sets of the plurality of parameter sets in the predetermined scanning order;
C) adaptively selecting a current entropy encoder of a plurality of entropy encoders based on a state of a last parameter set;
D) encoding, by the current entropy encoder, a current parameter set to provide entropy-encoded information bits; and for decoding:
E) decoding, by a first entropy decoder, the entropy- encoded information bits to provide a decoded current parameter set;
F) adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set;
G) converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
3. An apparatus for adaptive entropy encoding/decoding in a multimedia compression system, comprising: for an encoder: A) a memory unit, coupled to a bound parameter determiner, a parameter set determiner and an encoder controller and to receive at least one non-zero quantized transform coefficient, for storing quantized transform coefficients, bound parameters and parameter sets; B) the bound parameter determiner, coupled to the memory unit, for generating the bound parameters;
C) the bound-based parameter set determiner, coupled to the memory unit, for parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in the first memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded;
D) the encoder controller, coupled to the memory unit, for selecting a predetermined entropy encoder of a plurality of entropy encoders and adaptively selecting entropy encoder/encoders in accordance with a predetermined scheme;
E) a first entropy encoder, coupled to the encoder controller and the memory unit, for encoding a first parameter set to provide entropy encoded information bits;
F) a plurality of additional entropy encoders, coupled to the encoder controller and the memory unit, for adaptively providing entropy encoded information bits in accordance with a bound-based state parameter; for decoding:
E) a first entropy decoder, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a first decoded parameter set; F) a plurality of additional entropy decoders, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a current decoded parameter set;
G) the decoder controller, selectively coupled to all of the entropy decoders, for adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set; H) a bound-based parameter set converter, coupled to the decoder controller, for converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
4. An integrated circuit having an apparatus for adaptive entropy encoding/decoding in a multimedia compression system, comprising: for an encoder:
A) a memory unit, coupled to a bound parameter determiner, a parameter set determiner and an encoder controller and to receive at least one non-zero quantized transform coefficient, for storing quantized transform coefficients, bound parameters and parameter sets;
B) the bound parameter determiner, coupled to the memory unit, for generating the bound parameters;
C) the bound-based parameter set determiner, coupled to the memory unit, for parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in the first memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded; D) the encoder controller, coupled to the memory unit, for selecting a predetermined entropy encoder of a plurality of entropy encoders and adaptively selecting entropy encoder/encoders in accordance with a predetermined scheme;
E) a first entropy encoder, coupled to the encoder controller and the memory unit, for encoding a first parameter set to provide entropy encoded information bits;
F) a plurality of additional entropy encoders, coupled to the encoder controller and the memory unit, for adaptively providing entropy encoded information bits in accordance with a bound-based state parameter; for decoding:
E) a first entropy decoder, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a first decoded parameter set; F) a plurality of additional entropy decoders, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a current decoded parameter set; G) the decoder controller, selectively coupled to all of the entropy decoders, for adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set;
H) a bound-based parameter set converter, coupled to the decoder controller, for converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
5. A computer having an apparatus for adaptive entropy encoding/decoding in a multimedia compression system, comprising: for an encoder:
A) a memory unit, coupled to a bound parameter determiner, a parameter set determiner and an encoder controller and to receive at least one non-zero quantized transform coefficient, for storing quantized transform coefficients, bound parameters and parameter sets;
B) the bound parameter determiner, coupled to the memory unit, for generating the bound parameters; C) the bound-based parameter set determiner, coupled to the memory unit, for parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in the first memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded;
D) the encoder controller, coupled to the memory unit, for selecting a predetermined entropy encoder of a plurality of entropy encoders and adaptively selecting entropy encoder/encoders in accordance with a predetermined scheme;
E) a first entropy encoder, coupled to the encoder controller and the memory unit, for encoding a first parameter set to provide entropy encoded information bits; F) a plurality of additional entropy encoders, coupled to the encoder controller and the memory unit, for adaptively providing entropy encoded information bits in accordance with a bound-based state parameter; for decoding:
E) a first entropy decoder, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a first decoded parameter set;
F) a plurality of additional entropy decoders, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a current decoded parameter set;
G) the decoder controller, selectively coupled to all of the entropy decoders, for adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set;
H) a bound-based parameter set converter, coupled to the decoder controller, for converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
6. A television set having an apparatus for adaptive entropy encoding/decoding in a multimedia compression system, comprising: for an encoder: A) a memory unit, coupled to a bound parameter determiner, a parameter set determiner and an encoder controller and to receive at least one non-zero quantized transform coefficient, for storing quantized transform coefficients, bound parameters and parameter sets; B) the bound parameter determiner, coupled to the memory unit, for generating the bound parameters;
C) the bound-based parameter set determiner, coupled to the memory unit, for parsing a predetermined number of quantized transform coefficients into a plurality of coefficient groups in a predetermined scanning order and converting the coefficient groups into a plurality of parameter sets according to a predetermined scheme and storing the parameter sets in the first memory unit, wherein each current parameter set includes a level parameter which is a value of a non-zero quantized transform coefficient and a state parameter which is based on a bound parameter corresponding to a next coefficient group, wherein, where a last coefficient group comprises all zero quantized transform coefficients, the last coefficient group is discarded; D) the encoder controller, coupled to the memory unit, for selecting a predetermined entropy encoder of a plurality of entropy encoders and adaptively selecting entropy encoder/encoders in accordance with a predetermined scheme;
E) a first entropy encoder, coupled to the encoder controller and the memory unit, for encoding a first parameter set to provide entropy encoded information bits;
F) a plurality of additional entropy encoders, coupled to the encoder controller and the memory unit, for adaptively providing entropy encoded information bits in accordance with a bound-based state parameter; for decoding:
E) a first entropy decoder, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a first decoded parameter set; F) a plurality of additional entropy decoders, coupled to the decoder controller and to receive entropy encoded information bits, for decoding the entropy-encoded information bits to provide a current decoded parameter set;
G) the decoder controller, selectively coupled to all of the entropy decoders, for adaptively selecting a next entropy decoder of a plurality of entropy decoders based on a decoded current state parameter of the decoded current parameter set; H) a bound-based parameter set converter, coupled to the decoder controller, for converting the decoded parameter sets into a predetermined number of decoded quantized transform coefficients according to a predetermined scheme in the predetermined scanning order, wherein, where the number of decoded quantized transform coefficients is less than the predetermined number of transform coefficients, zero-valued decoded quantized transform coefficients are appended to generate the predetermined number of transform coefficients.
PCT/US1997/011343 1996-07-03 1997-06-27 Method and apparatus for bound-based adaptive entropy encoding/decoding WO1998000977A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP97931485A EP0847650A4 (en) 1996-07-03 1997-06-27 Method and apparatus for bound-based adaptive entropy encoding/decoding

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US67760396A 1996-07-03 1996-07-03
US08/677,603 1996-07-03

Publications (1)

Publication Number Publication Date
WO1998000977A1 true WO1998000977A1 (en) 1998-01-08

Family

ID=24719405

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1997/011343 WO1998000977A1 (en) 1996-07-03 1997-06-27 Method and apparatus for bound-based adaptive entropy encoding/decoding

Country Status (3)

Country Link
EP (1) EP0847650A4 (en)
CN (1) CN1097957C (en)
WO (1) WO1998000977A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000035198A1 (en) * 1998-12-08 2000-06-15 Irdeto Access B.V. System for processing an information signal
WO2000065539A1 (en) * 1999-04-23 2000-11-02 Siemens Aktiengesellschaft Method and arrangement for the computer-assisted reading out or storage of transformation coefficients and computer programme products and computer-readable storage media
WO2003026309A2 (en) * 2001-09-14 2003-03-27 Siemens Aktiengesellschaft Method and device for improved video coding
WO2003026308A2 (en) * 2001-09-14 2003-03-27 Siemens Aktiengesellschaft Method and device for enhancing coding/decoding of video signals
US6788740B1 (en) 1999-10-01 2004-09-07 Koninklijke Philips Electronics N.V. System and method for encoding and decoding enhancement layer data using base layer quantization data
US9172965B2 (en) 2008-05-02 2015-10-27 Microsoft Technology Licensing, Llc Multi-level representation of reordered transform coefficients
US9390720B2 (en) 2002-09-04 2016-07-12 Microsoft Technology Licensing, Llc Entropy encoding and decoding using direct level and run-length/level context-adaptive arithmetic coding/decoding modes

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4002878B2 (en) * 2003-01-17 2007-11-07 松下電器産業株式会社 Image coding method
JP5282692B2 (en) * 2009-07-27 2013-09-04 ソニー株式会社 Image coding apparatus and image coding method
US9264706B2 (en) * 2012-04-11 2016-02-16 Qualcomm Incorporated Bypass bins for reference index coding in video coding

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5282031A (en) * 1992-02-28 1994-01-25 Samsung Electronics Co., Ltd. Fixed bit rate compression encoding method
US5371549A (en) * 1992-10-07 1994-12-06 Daewoo Electronics Co., Ltd. Decoding method and system for providing digital television receivers with multipicture display by way of zero masking transform coefficients
US5396291A (en) * 1992-12-16 1995-03-07 Nec Corporation Picture signal processing system having improved quantizer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659362A (en) * 1994-09-07 1997-08-19 University Of South Florida VLSI circuit structure for implementing JPEG image compression standard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5282031A (en) * 1992-02-28 1994-01-25 Samsung Electronics Co., Ltd. Fixed bit rate compression encoding method
US5371549A (en) * 1992-10-07 1994-12-06 Daewoo Electronics Co., Ltd. Decoding method and system for providing digital television receivers with multipicture display by way of zero masking transform coefficients
US5396291A (en) * 1992-12-16 1995-03-07 Nec Corporation Picture signal processing system having improved quantizer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP0847650A4 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000035198A1 (en) * 1998-12-08 2000-06-15 Irdeto Access B.V. System for processing an information signal
EP1011269A1 (en) * 1998-12-08 2000-06-21 Mindport B.V. System for processing an information signal
AU758116B2 (en) * 1998-12-08 2003-03-13 Irdeto Access B.V. System for processing an information signal
US7050588B1 (en) 1998-12-08 2006-05-23 Irdeto Access B.V. System for processing an information signal
WO2000065539A1 (en) * 1999-04-23 2000-11-02 Siemens Aktiengesellschaft Method and arrangement for the computer-assisted reading out or storage of transformation coefficients and computer programme products and computer-readable storage media
US6788740B1 (en) 1999-10-01 2004-09-07 Koninklijke Philips Electronics N.V. System and method for encoding and decoding enhancement layer data using base layer quantization data
WO2003026309A2 (en) * 2001-09-14 2003-03-27 Siemens Aktiengesellschaft Method and device for improved video coding
WO2003026308A2 (en) * 2001-09-14 2003-03-27 Siemens Aktiengesellschaft Method and device for enhancing coding/decoding of video signals
WO2003026309A3 (en) * 2001-09-14 2003-10-30 Siemens Ag Method and device for improved video coding
WO2003026308A3 (en) * 2001-09-14 2003-12-04 Siemens Ag Method and device for enhancing coding/decoding of video signals
US9390720B2 (en) 2002-09-04 2016-07-12 Microsoft Technology Licensing, Llc Entropy encoding and decoding using direct level and run-length/level context-adaptive arithmetic coding/decoding modes
US9172965B2 (en) 2008-05-02 2015-10-27 Microsoft Technology Licensing, Llc Multi-level representation of reordered transform coefficients

Also Published As

Publication number Publication date
EP0847650A4 (en) 2000-01-05
CN1197578A (en) 1998-10-28
CN1097957C (en) 2003-01-01
EP0847650A1 (en) 1998-06-17

Similar Documents

Publication Publication Date Title
US5473376A (en) Method and apparatus for adaptive entropy encoding/decoding of quantized transform coefficients in a video compression system
US11463698B2 (en) Selection of the maximum dynamic range of transformed data and the data precision of transform matrices according to the bit depth of input data
US5790706A (en) Method and apparatus for scanning of transform coefficients
EP1113672B1 (en) Quantization matrix for still and moving picture coding
KR0129558B1 (en) Adaptive variable length coding method and apparatus
US7800520B2 (en) Method and system for entropy coding
JP2016026426A (en) Adaptive variable length coding
US20050015248A1 (en) Variable length coding method and variable length decoding method
US5748244A (en) Adaptive runlength coding based on zero and non-zero subblocks
US20070071088A1 (en) Method and apparatus for entropy encoding and entropy decoding fine-granularity scalability layer video data
JP3244399B2 (en) Circuit and method for converting information amount of compressed moving image code signal
CN1726644B (en) Apparatus and method for multiple description encoding
US5793314A (en) Method and apparatus for bound-based adaptive entropy encoding/decoding
WO1998000977A1 (en) Method and apparatus for bound-based adaptive entropy encoding/decoding
In et al. On RD optimized progressive image coding using JPEG
EP1333679B1 (en) Data compression
US5737446A (en) Method for estimating high frequency components in digitally compressed images and encoder and decoder for carrying out same
KR0171749B1 (en) A compatible encoder
Müller et al. ICSY
Müller 5. Compression
JPH0686077A (en) Hierzrchical image compressing system
KR20050002296A (en) Apparatus and method of transcoding for down-scaling video transcoding by adaptive motion vector resampling algorithm
JPH09326935A (en) Image transmission system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 97190840.0

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): CN

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 1997931485

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 1997931485

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1997931485

Country of ref document: EP