WO2013155663A1 - Methods and apparatuses of context reduction for significance flag coding - Google Patents

Methods and apparatuses of context reduction for significance flag coding Download PDF

Info

Publication number
WO2013155663A1
WO2013155663A1 PCT/CN2012/074123 CN2012074123W WO2013155663A1 WO 2013155663 A1 WO2013155663 A1 WO 2013155663A1 CN 2012074123 W CN2012074123 W CN 2012074123W WO 2013155663 A1 WO2013155663 A1 WO 2013155663A1
Authority
WO
WIPO (PCT)
Prior art keywords
context
chroma
luma
blocks
look
Prior art date
Application number
PCT/CN2012/074123
Other languages
French (fr)
Inventor
Juliana HSU
Mei Guo
Xun Guo
Original Assignee
Mediatek Singapore Pte. Ltd.
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 Mediatek Singapore Pte. Ltd. filed Critical Mediatek Singapore Pte. Ltd.
Priority to PCT/CN2012/074123 priority Critical patent/WO2013155663A1/en
Publication of WO2013155663A1 publication Critical patent/WO2013155663A1/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/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
    • 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/96Tree coding, e.g. quad-tree coding
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/174Methods 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 an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/176Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock
    • 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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Definitions

  • the invention relates generally to video processing.
  • the present invention relates to methods and apparatuses for CABAC context selection for significance flag coding in High Efficiency Video Coding (HEVC).
  • HEVC High Efficiency Video Coding
  • HEVC High Efficiency Video Coding
  • JCT-VC Joint Collaborative Team on Video Coding
  • CABAC context adaptive binary arithmetic coder
  • TUs small transform units
  • sigCtx ctxIdxMap4x4[ ((cldx > 0) ? 15 : 0) + (yC « 2) + xC ]
  • the number of context models is 37 in total for 4x4 and 8x8 TUs. This number can be reduced by rearranging the context models and using the same context models for 4x4 and 8x8 TUs.
  • 16 entries are added to one look-up table for context selection and the number of contexts is reduced to 15.
  • the number of contexts is reduced to 12 and two look-up tables for context selection are utilized. One has 15 entries and the other one has 63 entries.
  • a context arrangement different from [0012] is used for 4x4 and 8x8 TUs.
  • the number of contexts is reduced to 12 and two look-up tables for context selection are utilized. One has 15 entries and the other one has 63 entries.
  • the number of contexts is reduced to 13 and four look-up tables for context selection are utilized. Two of them have 15 entries for each and the other two have 20 entries for each.
  • the number of contexts is reduced to 12 and two look-up tables for context selection are utilized.
  • One table has 15 entries and the other one has 20 entries.
  • the number of contexts is reduced to 14 and two look-up tables for context selection are utilized.
  • One table has 15 entries and the other one has 20 entries.
  • Fig. 1 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 9 contexts;
  • Fig. 2 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 8 contexts
  • Fig. 3 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 7 contexts
  • Fig. 4 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 6 contexts
  • Fig. 5 is a diagram illustrating a modified context arrangement for 4x4 and 8x8 blocks with 6 contexts
  • Fig. 6 is a diagram illustrating a diagonal position-based context arrangement for 4x4 and 8x8 blocks with 6 contexts;
  • Fig. 7 is a diagram illustrating a diagonal position-based context arrangement for 4x4 and 8x8 blocks with 7 contexts.
  • 4x4 and 8x8 blocks share the same contexts with one additional context for the high frequency area of 8x8 blocks.
  • the context arrangement is illustrated in Fig. 1 for luma and in Fig. 3 for chroma.
  • the number of contexts is reduced from 37 to 16 (9 for luma and 7 for chroma). 16 entries are added to one look-up table.
  • the modified look-up tables are shown in Table 3 and Table 4.
  • Table 3 Specification of ctx!dxMap4x4[i] with 16 context models.
  • Table 4 Specification of ctx!dxMap8x8[i] with 16 context models.
  • the context arrangement is as illustrated in Fig. 2 for luma.
  • the arrangement of the chroma contexts is the same as in the first embodiment.
  • the number of context is reduced to 15.
  • the modified look-up tables are shown in Table 5 and Table 6.
  • Table 5 Specification of ctx!dxMap4x4[i] with 15 context models.
  • Table 6 Specification of ctx!dxMap8x8[i] with 15 context models.
  • Table 8 Specification of ctx!dxMap8x8[i] with 18 context models.
  • Table 9 Specification of ctx!dxMap4x4[i] with 16 context models and unified luma and chroma.
  • Table 10 Specification of ctx!dxMap8x8[i] with 16 context models and unified luma and chroma.
  • Table 11 Specification of ctx!dxMap4x4[i] with 14 context models and unified luma and chroma.
  • Table 12 Specification of ctx!dxMap8x8[i] with 14 context models and unified luma and chroma.
  • the same context arrangement is used for luma and chroma and is illustrated in Fig. 4.
  • Two look-up tables with 15 and 63 entries are needed and the number of contexts is reduced to 12.
  • the same context arrangement is used for luma and chroma and is illustrated in Fig. 5.
  • Two look-up tables with 15 and 63 entries are needed and the number of contexts is reduced to 12.
  • the context arrangement is illustrated in Fig. 6 for luma and in Fig. 7 for chroma.
  • Fig. 6 For the 4x4 blocks, two look-up tables with 15 entries are needed for luma and chroma.
  • the context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
  • Table 13 Reduced look-up tables for 8x8 blocks.
  • the same context arrangement is used for luma and chroma and is illustrated in Fig. 6.
  • Two look-up tables with 15 entries and 20 entries are needed for 4x4 and 8x8 blocks.
  • the number of context is reduced to 12.
  • the context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
  • sigCtx ctxIdxMap8x8[diagSubset*7 + diagPosWithinSubset];
  • Table 14 Reduced look-up tables for 8x8 blocks.
  • the same context arrangement is used for luma and chroma and is illustrated in Fig. 7.
  • Two look-up tables with 15 entries and 20 entries are needed for 4x4 and 8x8 blocks.
  • the number of context is reduced to 14.
  • the context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
  • sigCtx ctxIdxMap8x8[diagSubset*7 + diagPosWithinSubset];
  • Table 15 Reduced look-up tables for 8x8 blocks.
  • an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein.
  • An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein.
  • DSP Digital Signal Processor
  • the invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA).
  • processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention.
  • the software code or firmware codes may be developed in different programming languages and different format or style.
  • the software code may also be compiled for different target platform.
  • different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Methods for reducing the number of context models for coding significance flags using CABAC are disclosed, the methods comprise applying a common context model among 4x4 and 8x8 Transform Units (TUs). The complexity and the memory requirement are reduced accordingly.

Description

METHODS AND APPARATUSES OF CONTEXT REDUCTION FOR
SIGNIFICANCE FLAG CODING
FIELD OF INVENTION
The invention relates generally to video processing. In particular, the present invention relates to methods and apparatuses for CABAC context selection for significance flag coding in High Efficiency Video Coding (HEVC).
BACKGROUND OF THE INVENTION
HEVC (High Efficiency Video Coding) is an advanced video coding system being developed under the Joint Collaborative Team on Video Coding (JCT-VC) group of video coding experts from ITU-T Study Group. In HEVC, a context adaptive binary arithmetic coder (CABAC) is applied to encode coefficients of the transformed residue signal. In doing so, the selection of context model for each bin has a great impact on coding efficiency.
In HEVC test model version 6.0 (HM6.0), context selection for encoding the significance flag of coefficients in small transform units (TUs) of sizes 4x4 and 8x8 are position based and as follows:
luma
4x4 0 1 4 5 8x8 19 9 10 10 11 11 12 12
2 3 4 5 9 9 10 10 11 11 12 12
6 6 8 8 13 13 14 14 15 15 12 12
7 7 8 13 13 14 14 15 15 12 12
17 17 15 15 15 15 16 16
17 17 15 15 15 15 16 16
18 18 18 18 16 16 16 16
18 18 18 18 16 16 16 chroma
4x4 0 1 2 4 8x8 16 6 7 7 8 8 9 9
1 1 2 4 6 6 7 7 8 8 9 9
3 3 5 5 10 10 11 11 12 12 9 9
4 4 5 10 10 11 11 12 12 9 9
14 14 12 12 12 12 13 13 14 14 12 12 12 12 13 13
15 15 15 15 13 13 13 13
15 15 15 15 13 13 13
For this selection process, two look-up tables with 46 entries in total are required and are shown in Table 1 for 4x4 blocks and Table 2 for 8x8 blocks.
Table 1: Specification of ctxIdxMap4x4[i].
Figure imgf000003_0001
Table 2: Specification of ctx!dxMap8x8[i].
Figure imgf000003_0002
The derivation of the context sigCtx for 4x4 blocks is as follows:
sigCtx = ctxIdxMap4x4[ ((cldx > 0) ? 15 : 0) + (yC « 2) + xC ]
where cldx denotes the color component index (luma: cldx=0, chroma: cldx>0), xC and yC the position of the significance flag to be coded within a transform unit. The derivation of the context for 8x8 blocks is as follows:
sigCtx = ((xC + yC) = = 0) ? 10 : ctxIdxMap8x8[ ((yC » 1 ) « 2) + (xC » 1) ] sigCtx += ( cldx > 0) ? 6: 9
The number of context models is 37 in total for 4x4 and 8x8 TUs. This number can be reduced by rearranging the context models and using the same context models for 4x4 and 8x8 TUs.
SUMMARY OF THE INVENTION
In light of the previously described problems, there exists a need for an apparatus and method, in which significance flag coding with CABAC is performed using fewer context models in order to reduce the complexity and the memory requirement. In one embodiment, for 4x4 and 8x8 TUs, 16 entries are added to one look-up table for context selection and the number of contexts is reduced to 16.
In one embodiment, for 4x4 and 8x8 TUs, 16 entries are added to one look-up table for context selection and the number of contexts is reduced to 15.
In another embodiment, for 4x4 and 8x8 TUs, 15 entries of one look-up table for context selection are removed and the number of contexts is reduced to 18.
In another embodiment, for 4x4 and 8x8 TUs, 15 entries of one look-up table for context selection are removed and the number of contexts is reduced to 16.
In another embodiment, for 4x4 and 8x8 TUs, 15 entries of one look-up table for context selection are removed and the number of contexts is reduced to 14.
In another embodiment, for 4x4 and 8x8 TUs, the number of contexts is reduced to 12 and two look-up tables for context selection are utilized. One has 15 entries and the other one has 63 entries.
In another embodiment, a context arrangement different from [0012] is used for 4x4 and 8x8 TUs. The number of contexts is reduced to 12 and two look-up tables for context selection are utilized. One has 15 entries and the other one has 63 entries.
In another embodiment, for 4x4 and 8x8 TUs, the number of contexts is reduced to 13 and four look-up tables for context selection are utilized. Two of them have 15 entries for each and the other two have 20 entries for each.
In another embodiment, for 4x4 and 8x8 TUs, the number of contexts is reduced to 12 and two look-up tables for context selection are utilized. One table has 15 entries and the other one has 20 entries.
In another embodiment, for 4x4 and 8x8 TUs, the number of contexts is reduced to 14 and two look-up tables for context selection are utilized. One table has 15 entries and the other one has 20 entries.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Fig. 1 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 9 contexts;
Fig. 2 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 8 contexts;
Fig. 3 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 7 contexts;
Fig. 4 is a diagram illustrating a context arrangement for 4x4 and 8x8 blocks with 6 contexts;
Fig. 5 is a diagram illustrating a modified context arrangement for 4x4 and 8x8 blocks with 6 contexts;
Fig. 6 is a diagram illustrating a diagonal position-based context arrangement for 4x4 and 8x8 blocks with 6 contexts;
Fig. 7 is a diagram illustrating a diagonal position-based context arrangement for 4x4 and 8x8 blocks with 7 contexts.
DETAILED DESCRIPTION
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In the first embodiment, 4x4 and 8x8 blocks share the same contexts with one additional context for the high frequency area of 8x8 blocks. The context arrangement is illustrated in Fig. 1 for luma and in Fig. 3 for chroma. The number of contexts is reduced from 37 to 16 (9 for luma and 7 for chroma). 16 entries are added to one look-up table. The modified look-up tables are shown in Table 3 and Table 4.
Table 3: Specification of ctx!dxMap4x4[i] with 16 context models.
Figure imgf000005_0001
Table 4: Specification of ctx!dxMap8x8[i] with 16 context models.
Figure imgf000005_0002
The derivation process of the context for 4x4 blocks is the same as that in HM6.0. For derivation of the context for 8x8 blocks, the following step applies:
sigCtx = ((xC + yC) = = 0) ? 0 : ((xC==l && yC==l && cldx==0) ? 2 : ctxIdxMap8x8[((ddx > 0) ? 16 : 0) + ((yC » 1 ) « 2) + (xC » 1) ])
No offset has to be added.
In another embodiment, the context arrangement is as illustrated in Fig. 2 for luma. The arrangement of the chroma contexts is the same as in the first embodiment. The number of context is reduced to 15. The modified look-up tables are shown in Table 5 and Table 6.
Table 5: Specification of ctx!dxMap4x4[i] with 15 context models.
Figure imgf000006_0001
Table 6: Specification of ctx!dxMap8x8[i] with 15 context models.
Figure imgf000006_0002
The derivation of the context is derived as follows:
sigCtx = ((xC + yC) = = 0) ? 0 : ctxIdxMap8x8[((ddx > 0) ? 16 : 0) + ((yC » 1 ) « 2) + (xC » 1) ]
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 1. This way, only two look-up tables with 15 and 16 entries are needed and the number of contexts is 18. The modified look-up tables are shown in Table 7 and Table 8. The derivation of the context for 4x4 blocks is simplified as follows:
sigCtx = ctxIdxMap4x4[ (yC « 2) + xC ]
For derivation of the context for 8x8 blocks, the following step applies:
sigCtx = ((xC + yC) = = 0) ? 0 : ((xC==l && yC==l) ? 2 : ctxIdxMap8x8[ (yC » 1 ) « 2) + (xC » 1) ]) Table 7: Specification of ctx!dxMap4x4[i] with 18 context models.
Figure imgf000007_0001
Table 8: Specification of ctx!dxMap8x8[i] with 18 context models.
Figure imgf000007_0002
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 2. This way, only two look-up tables with 15 and 16 entries are needed and the number of contexts is 16. The modified look-up tables are shown in Table 9 and Table 10. The derivation of the context for 4x4 blocks is simplified as follows:
sigCtx = ctxIdxMap4x4[ (yC « 2) + xC ]
and for 8x8 blocks:
sigCtx = ((xC + yC) = = 0) ? 0 : ctxIdxMap8x8[ ((yC » 1 ) « 2) + (xC » 1) ]
Table 9: Specification of ctx!dxMap4x4[i] with 16 context models and unified luma and chroma.
Figure imgf000007_0003
Table 10: Specification of ctx!dxMap8x8[i] with 16 context models and unified luma and chroma.
Figure imgf000007_0004
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 3. The number of contexts is reduced to 14. The modified look-up tables are shown in Table 11 and Table 12. The derivation of the context for 4x4 blocks is as follows: sigCtx = ctxIdxMap4x4[ (yC « 2) + xC ]
and for 8x8 blocks:
sigCtx = ((xC + yC) = = 0) ? 0 : ctx!dxMap8x8[ ((yC » 1 ) « 2) + (xC » 1) ]
Table 11: Specification of ctx!dxMap4x4[i] with 14 context models and unified luma and chroma.
Figure imgf000008_0001
Table 12: Specification of ctx!dxMap8x8[i] with 14 context models and unified luma and chroma.
Figure imgf000008_0002
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 4. Two look-up tables with 15 and 63 entries are needed and the number of contexts is reduced to 12.
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 5. Two look-up tables with 15 and 63 entries are needed and the number of contexts is reduced to 12.
In another embodiment, the context arrangement is illustrated in Fig. 6 for luma and in Fig. 7 for chroma. For the 4x4 blocks, two look-up tables with 15 entries are needed for luma and chroma. The context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
diagSubset = (posX»2) + (posY»2);
diagPosWithinSubset = (posX 4) + (posY 4);
context = tableX[diagSubset*7 + diagPosWithinSubset];
with X = {Luma, Chroma} and tableX specified in Table 13.
Table 13: Reduced look-up tables for 8x8 blocks.
i 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 tableLuma[i] 0 1 2 3 3 4 4 3 4 4 4 5 5 5 4 4 5 5 5 5 tableChroma[i] 0 2 3 3 5 4 6 3 5 5 4 6 6 6 5 4 4 6 6 6
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 6. Two look-up tables with 15 entries and 20 entries are needed for 4x4 and 8x8 blocks. The number of context is reduced to 12. The context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
diagSubset = (posX»2) + (posY»2);
diagPosWithinSubset = (posX 4) + (posY 4);
sigCtx= ctxIdxMap8x8[diagSubset*7 + diagPosWithinSubset];
The look-up table for 8x8 blocks is given in Table 14.
Table 14: Reduced look-up tables for 8x8 blocks.
Figure imgf000009_0001
In another embodiment, the same context arrangement is used for luma and chroma and is illustrated in Fig. 7. Two look-up tables with 15 entries and 20 entries are needed for 4x4 and 8x8 blocks. The number of context is reduced to 14. The context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
diagSubset = (posX»2) + (posY»2);
diagPosWithinSubset = (posX 4) + (posY 4);
sigCtx= ctxIdxMap8x8[diagSubset*7 + diagPosWithinSubset];
The look-up table for 8x8 blocks is given in Table 15.
Table 15: Reduced look-up tables for 8x8 blocks.
Figure imgf000009_0002
The methods described above can be used in a video encoder as well as in a video decoder. Embodiments of the methods according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA). These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware codes may be developed in different programming languages and different format or style. The software code may also be compiled for different target platform. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.

Claims

1. A method of reducing the number of context models for significance flag coding using CABAC, comprising:
applying a common context model among 4x4 and 8x8 Transform Units (TUs).
2. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement as illustrated in Fig. 1 for luma and the context arrangement in Fig. 3 for chroma, and there are 16 contexts in total.
3. The method as claimed in claim 2, wherein the context is derived with two look-up tables in Table 3 and Table 4, which have 30 and 32 entries respectively, and the derivation of the context for 8x8 blocks follows
sigCtx = ((xC + yC) = = 0) ? 0 : ((xC==l && yC==l && cldx==0) ? 2 : ctxIdxMap8x8[((ddx > 0) ? 16 : 0) + ((yC » 1 ) « 2) + (xC » 1) ]),
where xC and yC denote the position of the significance flag to be coded within a transform unit, and cldx denotes the color component index (luma: cldx=0, chroma: cldx>0).
4. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement as illustrated in Fig. 2 for luma and the context arrangement in Fig. 3 for chroma, and there are 15 contexts in total.
5. The method as claimed in claim 4, wherein the context is derived with two look-up tables in Table 5 and Table 6, which have 30 and 32 entries respectively, and the derivation of the context for 8x8 blocks follows
sigCtx = ((xC + yC) = = 0) ? 0 : ctxIdxMap8x8[((ddx > 0) ? 16 : 0) + ((yC » 1 ) « 2) + (xC » 1) ],
where xC and yC denote the position of the significance flag to be coded within a transform unit.
6. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 1 for luma and chroma, and using 18 contexts in total.
7. The method as claimed in claim 6, wherein the context is derived with two look-up tables in Table 7 and Table 8, which have 15 and 16 entries respectively, and the derivation of the context for 4x4 blocks is simplified as follows:
sigCtx = ctxIdxMap4x4[ (yC « 2) + xC ]
For derivation of the context for 8x8 blocks, the following step applies:
sigCtx = ((xC + yC) = = 0) ? 0 : ((xC==l && yC==l) ? 2 : ctxIdxMap8x8[ (yC » 1 ) « 2) + (xC » 1) ]).
8. The method as claimed in claim 1, wherein wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 2 for both luma and chroma using 16 contexts in total.
9. The method as claimed in claim 8, wherein the context is derived with two look-up tables in Table 9 and Table 10 with 15 and 16 entries respectively, and the derivation of the context for 4x4 blocks is simplified as follows:
sigCtx = ctxIdxMap4x4[ (yC « 2) + xC ]
and for 8x8 blocks:
sigCtx = ((xC + yC) = = 0) ? 0 : ctxIdxMap8x8[ ((yC » 1 ) « 2) + (xC » 1) ].
10. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 3 for both luma and chroma using 14 contexts in total.
11. The method as claimed in claim 10, wherein the context is derived with two look-up tables in Table 11 and Table 12 with 15 and 16 entries respectively, and the derivation of the context for 4x4 blocks is as follows:
sigCtx = ctxIdxMap4x4[ (yC « 2) + xC ]
and for 8x8 blocks:
sigCtx = ((xC + yC) = = 0) ? 0 : ctxIdxMap8x8[ ((yC » 1 ) « 2) + (xC » 1) ].
12. The method as claimed in chaim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 4 for both luma and chroma using 12 contexts in total.
13. The method as claimed in claim 12, wherein the context is derived with two look-up tables with 15 and 63 entries for each.
14. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 5 for both luma and chroma using 12 contexts in total.
15. The method as claimed in claim 14, wherein the context is derived with two look-up tables with 15 and 63 entries for each.
16. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 6 for luma and the context arrangement in Fig. 7 for chroma, and there are 13 contexts in total.
17. The method as claimed in claim 16, wherein the context of 4x4 TU is derived with two look-up tables with 15 entries each for luma and chroma, and the context selection for 8x8 TU depends on the diagonal position of the 4x4 subset (denoted as diagSubset) and the diagonal position within the subset (denoted as diagPosWithinSubset) and can be calculated as follows: diagSubset = (posX»2) + (posY»2);
diagPosWithinSubset = (posX 4) + (posY 4);
context = tableX[diagSubset*7 + diagPosWithinSubset]; with X = {Luma, Chroma} and tableX is given in Table 13.
18. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 6 for both luma and chroma using 12 contexts in total.
19. The method as claimed in claim 18, wherein the context is derived with two look-up tables with 15 and 20 entries respectively, and the context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
diagSubset = (posX»2) + (posY»2);
diagPosWithinSubset = (posX 4) + (posY 4);
sigCtx= ctxIdxMap8x8[diagSubset*7 + diagPosWithinSubset],
where the table ctxIdxMap8x8 is given in Table 14.
20. The method as claimed in claim 1, wherein 4x4 and 8x8 TUs use the context arrangement in Fig. 7 for both luma and chroma using 14 contexts in total.
21. The method as claimed in claim 20, wherein the context is derived with two look-up tables with 15 and 20 entries respectively, and the context selection for 8x8 blocks depends on the diagonal position of the 4x4 subset and the diagonal position within the subset and can be calculated as follows:
diagSubset = (posX»2) + (posY»2);
diagPosWithinSubset = (posX 4) + (posY 4);
sigCtx= ctxIdxMap8x8[diagSubset*7 + diagPosWithinSubset] ;
where the table ctxldxmap8x8 is given in Table 15.
PCT/CN2012/074123 2012-04-16 2012-04-16 Methods and apparatuses of context reduction for significance flag coding WO2013155663A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/074123 WO2013155663A1 (en) 2012-04-16 2012-04-16 Methods and apparatuses of context reduction for significance flag coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/074123 WO2013155663A1 (en) 2012-04-16 2012-04-16 Methods and apparatuses of context reduction for significance flag coding

Publications (1)

Publication Number Publication Date
WO2013155663A1 true WO2013155663A1 (en) 2013-10-24

Family

ID=49382786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074123 WO2013155663A1 (en) 2012-04-16 2012-04-16 Methods and apparatuses of context reduction for significance flag coding

Country Status (1)

Country Link
WO (1) WO2013155663A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007114588A1 (en) * 2006-04-06 2007-10-11 Samsung Electronics Co., Ltd. Video coding method and apparatus supporting independent parsing
US20080080620A1 (en) * 2006-07-20 2008-04-03 Samsung Electronics Co., Ltd. Method and apparatus for entropy encoding/decoding
WO2011142817A1 (en) * 2010-05-12 2011-11-17 Thomson Licensing Methods and apparatus for unified significance map coding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007114588A1 (en) * 2006-04-06 2007-10-11 Samsung Electronics Co., Ltd. Video coding method and apparatus supporting independent parsing
US20080080620A1 (en) * 2006-07-20 2008-04-03 Samsung Electronics Co., Ltd. Method and apparatus for entropy encoding/decoding
WO2011142817A1 (en) * 2010-05-12 2011-11-17 Thomson Licensing Methods and apparatus for unified significance map coding

Similar Documents

Publication Publication Date Title
JP7224257B2 (en) Palette Mode Context Coding and Binarization Methods in Video Coding
US11956435B2 (en) Reducing context coded and bypass coded bins to improve context adaptive binary arithmetic coding (CABAC) throughput
CN110691244B (en) Method and apparatus for binarization and context adaptive coding of syntax in video coding
US10506234B2 (en) Method of run-length coding for palette predictor
US10531122B2 (en) Method and apparatus for coded block flag coding in high efficiency video coding
WO2013106986A1 (en) Methods and apparatuses of intra mode coding
US20180288416A1 (en) Method and apparatus of context modelling for syntax elements in image and video coding
JP2013544061A (en) Apparatus and method for constrained partition size for high efficiency video coding
CN107172437B (en) Decoupled enhancement of sample adaptive offset for high efficiency video encoders
US20130114692A1 (en) Simplified Coefficient Scans for Non-Square Transforms (NSQT) in Video Coding
WO2013067687A1 (en) Residue quad tree depth for chroma components
US20190320168A1 (en) Method and system for reducing slice header parsing overhead in video coding
WO2016205999A1 (en) Adaptive coding group for image/video coding
WO2013155663A1 (en) Methods and apparatuses of context reduction for significance flag coding
WO2013106988A1 (en) Methods and apparatuses of residue transform depth representation
WO2013155666A1 (en) Methods and apparatuses of intra mode coding for hevc
WO2017000222A1 (en) Grouping bypass bins and improved sign data hiding for residual coding
WO2013063800A1 (en) Methods and apparatuses of solving mdcs parsing issue

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12874442

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12874442

Country of ref document: EP

Kind code of ref document: A1