US9571836B2ActiveUtilityA1

Method and apparatus for encoding and decoding with multiple transform coefficients sub-blocks

Assignee: HUAWEI TECH CO LTDPriority: Mar 10, 2011Filed: Sep 9, 2013Granted: Feb 14, 2017
Est. expiryMar 10, 2031(~4.6 yrs left)· nominal 20-yr term from priority
H04N 19/91H04N 19/129H04N 19/117H04N 19/60H04N 19/132H04N 19/61H04N 19/86H04N 19/645H04N 19/00775
55
PatentIndex Score
0
Cited by
34
References
3
Claims

Abstract

An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method for encoding transform coefficients, wherein a transform coefficient block comprises a plurality of sub-blocks, and each sub-block is in a fixed size with a set number of transform coefficients, the method comprising:
 encoding the transform coefficients in each sub-block according to a same predetermined order until the last sub-block of the transform coefficient block is encoded; 
 for each sub-block, storing a map of non-zero transform coefficients, absolute values of the transform coefficients, and positive or negative signs of the non-zero transform coefficients obtained through the encoding, wherein the map of non-zero transform coefficients, the absolute values of the transform coefficients, and the positive or negative signs of the non-zero transform coefficients are all obtained according to the same predetermined order; and 
 when the last sub-block is being encoded, after obtaining a map of non-zero transform coefficients of the last sub-block, encoding the stored maps of non-zero transform coefficients of previously encoded sub-blocks and the map of non-zero transform coefficients of the last sub-block into a bit stream; and 
 after obtaining the absolute values of the transform coefficients and the positive or negative signs of the non-zero transform coefficients of the last sub-block, encoding the stored absolute values of transform coefficients and positive or negative signs of the non-zero transform coefficients of the previously encoded sub-blocks and the absolute values of the transform coefficients and positive or negative signs of the non-zero transform coefficients of the last sub-block into the bit stream; 
 wherein the predetermined order is a scan order in a narrow-range scan mode, and wherein the size of the sub-blocks is 4×4 with the set number of 16 transform coefficients. 
 
     
     
       2. The method according to  claim 1 , wherein encoding the transform coefficients in each sub-block comprises:
 encoding a map of non-zero transform coefficients of the set number of transform coefficients, encoding a map of transform coefficients that are greater than 1of the set number of transform coefficients, encoding absolute values of transform coefficients that are greater than 1 of the set number of transform coefficients, and encoding positive or negative signs of non-zero transform coefficients of the set number of transform coefficients. 
 
     
     
       3. A method for decoding transform coefficients comprising:
 parsing a bit stream of transform coefficients according to a predetermined order to obtain a map of non-zero transform coefficients; and 
 parsing, according to the predetermined order, a map of transform coefficients that are greater than 1, absolute values of transform coefficients that are greater than 1, and positive or negative signs of non-zero transform coefficients, and parsing a set number of transform coefficients of the bit stream each time according to the same predetermined order until all transform coefficients of a transform coefficient block in the bit stream are parsed; 
 wherein the predetermined order is a scan order in a narrow-range scan mode, 
 wherein the transform coefficient block comprises a plurality of sub-blocks, and each sub-block comprises the set number of transform coefficients, and 
 wherein the set number is 16.

Join the waitlist — get patent alerts

Track US9571836B2 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.