CN104137545B - The coding of encoding block flag and the coding/decoding method of video bit stream and device - Google Patents

The coding of encoding block flag and the coding/decoding method of video bit stream and device Download PDF

Info

Publication number
CN104137545B
CN104137545B CN201380006152.6A CN201380006152A CN104137545B CN 104137545 B CN104137545 B CN 104137545B CN 201380006152 A CN201380006152 A CN 201380006152A CN 104137545 B CN104137545 B CN 104137545B
Authority
CN
China
Prior art keywords
encoding block
block flag
color component
coding
bit stream
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201380006152.6A
Other languages
Chinese (zh)
Other versions
CN104137545A (en
Inventor
赵亮
安基程
赵欣
郭峋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HFI Innovation Inc
Original Assignee
HFI Innovation 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
Priority claimed from PCT/CN2012/070612 external-priority patent/WO2013107027A1/en
Application filed by HFI Innovation Inc filed Critical HFI Innovation Inc
Priority to CN201810299233.4A priority Critical patent/CN108449602A/en
Priority to CN201380006152.6A priority patent/CN104137545B/en
Publication of CN104137545A publication Critical patent/CN104137545A/en
Application granted granted Critical
Publication of CN104137545B publication Critical patent/CN104137545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Color Television Systems (AREA)

Abstract

The invention discloses a kind of method and apparatus of decoding video bit stream.In one embodiment, the above method includes:The first encoding block flag of color component is decoded, above-mentioned first encoding block flag indicates whether the current coded unit of this color component has an at least non-zero transform coefficient (830).The above method further includes:According to the first encoding block flag of color component, four the second encoding block flags are decoded, whether one of four sub-blocks have an at least non-zero transform coefficient (850) in the current coded unit of every one second encoding block flag instruction color component.The decision of the residual error quaternary tree of the current coded unit of color component is the first encoding block flag (870) based on color component if the first encoding block flag in the presence of four the second encoding block flags based on color component and four the second encoding block flags (860).In another embodiment, the above method includes:Decoding and the relevant encoding block flag of converter unit, and the residual error quaternary tree of converter unit is determined based on encoding block flag, the decision of the residual error quaternary tree of converter unit wherein based on encoding block flag is identical for luminance component and chromatic component, and encoding block flag is reduced from video bit stream.

Description

The coding of encoding block flag and the coding/decoding method of video bit stream and device
Cross reference to related applications
This application claims the priority applied as follows:On January 19th, 2012 is submitting, Application No. PCT/CN2012/ The PCT Patent Application of the 070612nd, entitled " Methods and Apparatuses of CBF Coding in HEVC ". This merges the full content with reference to above-mentioned application case.
Technical field
The present invention is related to Video coding, and particularly, the present invention is related to efficient video coding (High- Efficiency Video coding, HEVC) in coding unit (coding unit, CU) and converter unit (transform Unit, TU) relevant encoding block flag (coded block flag, cbf) grammer (syntax) coding method and device with And the coding/decoding method and device of video bit stream.
Background technology
HEVC be by the Video Coding Experts Group from ITU-T seminar into Video coding joint group (Joint Collaborative Team on Video Coding, hereinafter referred to as JCT-VC) exploitation a kind of advanced Video coding system System.In HEVC beta versions 5.0 (HM-5.0), interframe encode (inter-coded) and intraframe coding (intra-coded) Residual error is encoded using block-based transition coding mode.Above-mentioned piece (being known as converter unit) is to utilize quad-tree structure from root Block (root converter unit) is split.Above-mentioned Quadtree Partition can be applied recursively until generate leaf block (leaf block) or Person's smallest blocks.Afterwards, two-dimensional transform is applied to each converter unit.Each converter unit (TU) may be logically divided into four sub- TU, That is leaf TU., it is necessary to transmit a syntactic element for being called cbf (encoding block flag) whether to indicate this TU for every TU With non-zero transform coefficient, wherein " 1 " represents that, there are at least one non-zero transform coefficient, " 0 " then represents that there is no non-zero transforms Coefficient.
In HM-5.0, for luminance component, the leaf TU that cbf can only be directed to residual error quaternary tree is transmitted (signaled).And for chromatic component, cbf then can be transmitted for root TU and leaf TU, however, cbf is also only in size It is transmitted in TU less than or equal to maximum chrominance TU sizes.Fig. 1 to Fig. 3 shows that cbf transmits the example of (signalling). In Fig. 1, block 110 shows the residual error Quadtree Partition of TU, wherein using Quadtree Partition, root TU is divided into sub- TU (TU0 ~TU6).Block 120 shows corresponding cbf bits, and wherein TU1, TU3, TU5 and TU6 has a non-zero transform coefficient, and TU0, TU2 Do not have non-zero transform coefficient then with TU4.If this TU transmits for brightness TU, cbf bit just for leaf TU.Fig. 2A is for bright The cbf of degree TU transmits the example of (cbf codings), wherein four groups of bits " 0 ", " 1 ", " 0101 " and " 1 " correspond respectively to root The cbf bits of four leaf TU of TU210.Above-mentioned cbf bits are sequentially transmitted according to P-SCAN (raster-scan), i.e., According to upper left TU, upper right TU, lower-left TU, bottom right TU order.For the leaf TU of lower-left, 4 leaves are further divided into TU.In P-SCAN order, the cbf bits of this leaf TU are " 0101 ".Correspondingly, Fig. 2A shows four of cbf bits 220 Grouping.Fig. 2 B show transmits example for the cbf of colourity TU, and wherein cbf bits can be directed to root TU and leaf TU and transmit.Root TU230 is divided into four leaf TU, and lower-left leaf TU is further divided into four leaf TU.Therefore, corresponding to three layers of TU Grade can there are three the cbf bits of level.For root TU (that is, depth=0), cbf bits " 1 " (are represented) quilt by number 240 It transmits.For four leaf TU of root TU, according to P-SCAN order, cbf bits be respectively " 0 ", " 1 ", " 1 " and " 1 " (by Number 250 represents).For the leaf TU of lower-left, four leaf TU are further divided into, it is above-mentioned according to P-SCAN order Four leaf TU correspond respectively to cbf bits " 0 ", " 1 ", " 0 " and " 1 " (being represented by number 260).As shown in Figure 2 A and 2 B, though Right brightness TU and colourity TU is using identical RQT (residual error quaternary tree), but transmitting for cbf is different.Fig. 2 B institutes demonstration example is fitted It is less than or equal to the situation of maximum chrominance TU sizes for root block size.For example, it is assumed that maximum chrominance TU sizes for 16 × 16 and minimal color TU sizes are 4 × 4, then the size of root TU230 is 16 × 16, the size of each leaf TU in each lower-left leaf TU For 4 × 4.When the size of colourity leaf TU is more than maximum chrominance TU sizes, for example 32 × 32, then the level 32 × 32 will not be into Row cbf is transmitted.
In order to reduce the quantity of cbf bits, a kind of estimating method can be applied and brightness and colourity TU, in the method, root The cbf of the 4th leaf TU of TU can be inferred to using the cbf of other TU.So as to be transmitted without the cbf to the 4th leaf TU.
For brightness TU, the cbf of the 4th leaf TU can be by the cbf's and relevant TU of three previous leaf TU Cbf is inferred to.Block 310 in Fig. 3 shows the example that the cbf of the 4th leaf TU can be pushed off out.It is represented by bold box 312 Lower-left TU be divided into four leaf TU, wherein the cbf of the 4th leaf TU be 1.Since TU312 is divided into four leaf TU, There are at least one non-zero transform coefficients in four leaf TU.When the cbf of three first frontal lobe TU is 0 (according to P-SCAN Sequentially), the cbf of the last one leaf TU (that is, the 4th leaf TU) necessarily 1.Therefore, in this situation, the cbf of the 4th leaf TU can quilt It is inferred to.For simplicity, the cbf of leaf TU is also referred to as leaf cbf.
It is for colourity TU, then different for the progress cbf transmission of all residual error quaternary tree levels due to needing.It is right In with for the relevant four leaf TU of each TU, the cbf of root TU can be transmitted.If the cbf of TU (block 312 in Fig. 3) is 1, Then necessarily there is at least one non-zero leaf TU in four leaf TU.Therefore, if the cbf of first three leaf TU is 0, the last one leaf TU The cbf of (shown in circle) necessarily 1.In this situation, the last one cbf can be pushed off out without being transmitted.Further For, in the frame of chromatic component and interframe encode TU can all apply above-mentioned deduction mechanism.
In HEVC, there are the root residual error flags (root residual flag) that one is used for interframe encode CU.When residual When poor flag is false (false), then whole cbf of Y, U, V component need not be transmitted.As the TU that residual error flag is true and current CU Depth be 0 when, if colourity cbf all be 0 when if deducibility brightness cbf be 1.Therefore, if the cbf of U (block 320) and V (block 330) all It is 0, then cbfs of the brightness TU when depth is 0 can be inferred to be 1, as shown in Figure 3.
In HM-5.0, the maximum TU sizes of chromatic component and luminance component are respectively 16 × 16 and 32 × 32.However, color The maximum CU sizes for spending component are 32 × 32.Therefore, maximum CU sizes and maximum TU are differed.Furthermore, it is understood that in HM- In 5.0, the TU that colourity cbf is less than or equal to maximum TU sizes only for size is transmitted.For example, when CU sizes for 64 × 64, i.e. chrominance C U sizes are 32 × 32, and maximum TU sizes then correspond to 16 × 16.Therefore, four root cbf will be directed to 32 × Four 16 × 16 colourity TU in 32CU and transmit.In this situation, it can also be transmitted even if four cbf are 0, cbf, such as schemed Shown in 4, wherein the size of chrominance C U410 is 32 × 32.
As described above, the cbf method of signalling for brightness TU and colourity TU is different.Therefore, it is necessary to a kind of unifications Cbf method of signalling is to simplify the above process.In addition, there are some redundancies in existing cbf method of signalling, therefore be also required to further Promote the efficiency of existing cbf method of signalling.
The content of the invention
In view of this, following technical scheme is provided:
The embodiment of the present invention provides a kind of coding/decoding method of video bit stream, comprising:It is received from media or processor The video bit stream;The first encoding block flag of color component is decoded, wherein the first encoding block flag indicates the color component Current coded unit whether there is an at least non-zero transform coefficient, and the first encoding block flag is from the video bit stream Reduction;If the current coded unit has an at least non-zero transform coefficient, four the second encoding blocks of the color component are decoded Flag, wherein each second encoding block flag indicates that one of four sub-blocks in the current coded unit of the color component are It is no that there is an at least non-zero transform coefficient, and this four the second encoding block flags are reduced from the video bit stream;And Based on the first encoding block flag and this four the second encoding block flags, determine the color component the current coded unit it is residual Poor quad-tree structure;Wherein, the size of the current coded unit of the color component is more than the maximum conversion list of the color component Elemental size.
The embodiment of the present invention separately provides a kind of coding/decoding method of video bit stream, comprising:It is connect from media or processor Receive the video bit stream;Decoding and the relevant encoding block flag of converter unit, the wherein encoding block flag is from the video bits It is reduced in stream;And the residual error quaternary tree of the converter unit is determined based on the encoding block flag, wherein for luminance component and Transmitting for the encoding block flag of chromatic component is identical.
The embodiment of the present invention separately provides a kind of coding method of encoding block flag, comprising:Determine the current of color component The residual error of coding unit;Determine the first encoding block flag of the color component, wherein the first encoding block flag indicates the color Whether the current coded unit of component has an at least non-zero transform coefficient;If the current coded unit has an at least non-zero Transformation coefficient determines four the second encoding block flags of the color component, wherein each second encoding block flag indicates the color Whether one of four sub-blocks in the current coded unit of color component have an at least non-zero transform coefficient;And by the color The first encoding block flag of component and this four the second encoding block flags are integrated into the video bit stream, wherein, the color The size of the current coded unit of component is more than the maximum converter unit size of the color component.
The embodiment of the present invention separately provides a kind of coding method of encoding block flag, comprising:It is connect from media or processor Receive converter unit;It determines and the relevant residual error quaternary tree of the converter unit;And determine the residual error for corresponding to the converter unit One or more encoding block flags of quaternary tree, wherein being phase for transmitting for this of luminance component and chromatic component encoding block flag With.
The embodiment of the present invention separately provides a kind of decoding apparatus of video bit stream, comprising:It is received from media or processor The module of the video bit stream;The module of the first encoding block flag of color component is decoded, wherein the first encoding block flag refers to Whether show the current coded unit of the color component has an at least non-zero transform coefficient, and first coding of the color component Block flag is reduced from the video bit stream;If the current coded unit has an at least non-zero transform coefficient, decoding should The module of four the second encoding block flags of color component, wherein each second encoding block flag indicates being somebody's turn to do for the color component Whether one of four sub-blocks in current coded unit have an at least non-zero transform coefficient, and this of the color component is the Two encoding block flags are reduced from the video bit stream;And the first encoding block flag based on the color component and should Four the second encoding block flags determine the module of the residual error quad-tree structure of the current coded unit of the color component;Wherein, The size of the current coded unit of the color component is more than the maximum converter unit size of the color component.
The embodiment of the present invention separately provides a kind of code device of encoding block flag, comprising:Determine the current of color component The module of the residual error of coding unit;Determine the module of the first encoding block flag of the color component, wherein the first encoding block flag Mark indicates whether the current coded unit has an at least non-zero transform coefficient;If the current coded unit tool of the color component Have an at least non-zero transform coefficient, determine the module of four the second encoding block flags of the color component, wherein it is each this second Encoding block flag indicates whether one of four sub-blocks in the current coded unit of the color component become with an at least non-zero Change coefficient;And the first encoding block flag of the color component and this four the second encoding block flags are integrated into the video ratio Module in spy's stream, wherein, the size of the current coded unit of the color component is single more than the maximum conversion of the color component Elemental size.
The process described above and device can simplify the method for signalling and raising efficiency of encoding block flag.
Description of the drawings
Fig. 1 is the residual error quad-tree structure of leaf transformation unit and the schematic diagram of encoding block flag example.
Fig. 2A according to HM-5.0, for luminance transformation unit encoding block flag method of signalling example schematic diagram.
Fig. 2 B according to HM-5.0, for chromaticity transformation unit encoding block flag method of signalling example schematic diagram.
Fig. 3 is that the encoding block flag of luminance transformation unit and chromaticity transformation unit based on deduction transmits the signal of example Figure.
Fig. 4 is to transmit showing for example for the encoding block flag of the encoding block flag of four 16 × 16 colourity root converter units It is intended to.
Fig. 5 infers showing for mechanism example according to the embodiment of the present invention, for the encoding block flag of interframe encode unit It is intended to.
Fig. 6 A and 6B is transmitted according to the embodiment of the present invention, the encoding block flag of chromatic component in coding unit level The schematic diagram of example.
Fig. 7 is the schematic diagram of the exemplary flow for the encoder for integrating the embodiment of the present invention.
Fig. 8 is the schematic diagram of the exemplary flow for the decoder for integrating the embodiment of the present invention.
Fig. 9 is the schematic diagram of the exemplary flow for the encoder for integrating another embodiment of the present invention.
Figure 10 is the schematic diagram of the exemplary flow for the decoder for integrating another embodiment of the present invention.
Specific embodiment
In one embodiment of the invention, by the way that colourity cbf coding methods are extended to brightness cbf, brightness and colourity The method of signalling of cbf is able to unification.Therefore, brightness and colourity cbf can all be transmitted for each level of residual error quaternary tree.Change sentence It talks about, cbf, which is transmitted, can be directed to root TU and leaf TU progress.In this situation, also obtained for the estimating method of brightness and chromatic component To unification.Therefore, brightness TU and colourity TU uses identical estimating method.In other words, if the cbf of first three leaf TU is 0, Then the cbf of the last one leaf TU is necessarily 1.
In another embodiment, it is applied to unified method of signalling for the residual error flag estimating method of interframe CU.Cause This, when residual error flag is true and the cbf of colourity TU is all 0, the cbf of top layer root brightness TU is inferred to be 1 but regardless of this top layer Whether root TU can be further segmented.Furthermore, it is understood that above-mentioned can also be answered for the residual error flag estimating method of interframe CU With other TU depth extremely in addition to depth 0.In other words, when TU is further segmented and colourity cbf is 0, brightness The cbf of TU can be inferred to be 1.It is 1 and is all for the cbf of colourity root TU (U520 and V530) as shown in figure 5, works as residual error flag When 0, the cbf of brightness root TU510 can be inferred to be 1.
It can also unify furthermore, it is understood that the context of colourity cbf forms (context formation) with colourity cbf phases, So that based on context adaptive binary arithmetic coding (context-based adaptive arithmetic coding, CABAC the context formation of cbf codings) both depends on TU depth for brightness and chromatic component.In order to reduce cbf flags The complexity of target entropy coding, the quantity of context can be reduced.In addition, bypass coding mode (bypass coding mode) It can also be used for the cbf codings based on CABAC.
In another embodiment, root cbf is always transmitted in CU levels and is ignored maximum TU sizes.Therefore, in every CU It is constantly present root cbf.Fig. 6 A and 6B are the cbf cataloged procedures when chrominance C U sizes are 32 × 32 and maximum TU sizes are 16 × 16 Example.In fig. 6, chrominance C U corresponds to 32 × 32 block, is more than maximum chrominance TU sizes (i.e. 16 × 16).Due to The relevant all colourity TU of CU (represent) that then the root cbf for chrominance C U is 0 without non-zero transform coefficient with 0.According to this hair Bright embodiment, the root cbf in every CU are always transmitted, therefore 0 can be transmitted for CU, are sent out without other cbf Letter.Fig. 6 B show another example, and wherein lower-left TU includes at least one non-zero transform coefficient.In this situation, 1 sent with For root chrominance C U, and other cbf bits " 0010 " are also transmitted to represent which TU includes non-zero transform coefficient.Base In the coded system of HM-5.0, the maximum TU sizes of brightness and chromatic component are known.The information of maximum TU sizes also may be used It is transmitted in bit stream, such as the sequence-level (for example, SPS) in bit stream.
In another embodiment, by the way that brightness cbf coding methods are extended to colourity cbf, brightness and colourity cbf's transmits Method is able to unification.So as to which brightness and colourity cbf are transmitted only for leaf TU.
Above-described cbf method of signalling can be applied in video encoder, equally can also be applied to video decoding In device.Fig. 7 is the schematic diagram of the exemplary flow for the encoder for integrating the embodiment of the present invention.In step 720, current CU is determined Residual error, wherein the size of current CU be more than maximum TU sizes.In step 720, the first cbf of color component is determined, first Cbf indicates whether current CU (depth=0) has an at least non-zero transform coefficient.As indicated by step 730, according to the first cbf's As a result different processing paths may be selected.If the current CU of color component has an at least non-zero transform coefficient, in step 740 Middle four the 2nd cbf for determining color component, wherein every one second cbf indicates four sub-blocks of the color component in current CU Whether one of (depth=1) has an at least non-zero transform coefficient.In this situation, as shown in step 750, the first cbf and four A 2nd cbf can be integrated into video bit stream.If current CU does not have non-zero transform coefficient, as shown in step 760, Only the first cbf is integrated into video bit stream.Being transmitted by the cbf that cbf is integrated into video bit stream will allow to decode Device reduces residual error quad-tree structure and performs corresponding decoding program.In some embodiments, if color component it is at least one Sub-block has an at least non-zero transform coefficient, and this sub-block and not up to minimum TU sizes of color component, then becomes with non-zero The sub-block for changing coefficient is further divided into 4 leaf blocks (depth=2).Come for each sub-block with non-zero transform coefficient It says, four the 3rd cbf are determined, wherein whether one of four leaf blocks of every one the 3rd cbf instruction color components have at least one Non-zero transform coefficient.Four the 3rd cbf of above-mentioned color component are also integrated into video bit stream.Above-mentioned sub-block and leaf block can be with It is the root TU and leaf TU in current CU.Above-mentioned color component can be brightness or chromatic component.
Fig. 8 is the schematic diagram of the exemplary flow for the decoder for integrating the embodiment of the present invention.In step 810, from media (media) or processor (processor) receives video bit stream.Above-mentioned video bit stream can be stored in media, such as It stores in media (hard disk, CD, flash card) or computer storage (RAM, PROM, DRAM or flash memory).Video bit stream It can be received and/or handled by processor.For example, in broadcast environment, channel receiver (channel receiver) can The signal of modulation, demodulation and demultiplexing are received to reduce required bit stream.In this situation, video bit stream is received from processor (that is, channel receiver).In step 830, the first cbf of color component is decoded, the first cbf indicates the current of this color component Whether CU (depth=0) has an at least non-zero transform coefficient.As illustrated in step 840, may be selected according to decoding result different Decoding paths.If the first cbf of color component is not 0, four the 2nd cbf of color component are decoded in step 850, wherein Every one second cbf indicates whether one of four sub-blocks (depth=1) of color component in current CU become with an at least non-zero Change coefficient.In step 860, the residual error quaternary tree knot of the current CU of color component is determined based on the first cbf and four the 2nd cbf Structure.If four the 2nd cbf of color component are 0, as shown in step 870, the first cbf is based only upon to determine color component The residual error quad-tree structure of current CU.In some embodiments, if a sub-block of the color component in depth=1 has at least one Non-zero transform coefficient, and the size of this sub-block is more than the minimum TU sizes of color component, then decodes four the 3rd of color component cbf.Wherein whether one of four leaf blocks of every one the 3rd cbf instruction color components of color component have an at least non-zero transform Coefficient.At this point, the residual error quad-tree structure of the current CU of color component is based on above-mentioned first cbf, the 2nd cbf and the 3rd Cbf is determined.Above-mentioned sub-block and leaf block can be root TU and leaf TU in current CU.Above-mentioned color component can be brightness or color Spend component.
Fig. 9 is the schematic diagram of the exemplary flow for the encoder for integrating another embodiment of the present invention.In step 910, from Media or processor receive TU.Then determined and the relevant RQT of this TU (residual error quaternary tree) in step 920.In step 930 In, one or more cbf for corresponding to the RQT of this TU are determined, wherein being phase for transmitting for the cbf of luminance component and chromatic component With.
Figure 10 is the schematic diagram of the exemplary flow for the decoder for integrating another embodiment of the present invention.In step 1010, Video bit stream is received from media or processor.In step 1020, decision and the relevant cbf of TU, wherein this cbf is from video It is reduced in bit stream.In step 1030, based on above-mentioned cbf decisions and the relevant residual error quaternary trees of TU, wherein for brightness Transmitting for the cbf of component and chromatic component is identical.
Above-described flow is used for the purpose of description for incorporating the encoder and decoder of the embodiment of the present invention The example that cbf is transmitted.Without departing from the spirit of the invention, those skilled in the art can change each step, to upper Step rearrangement is stated, split a step or integrates multiple steps to realize the present invention.
Above description is for the particular implementation and its demand more than enabling those skilled in the art to hereinafter To realize the present invention.However, those skilled in the art should can carry out it various modifications and modification, and the present invention's is substantially smart God can also be applied in other embodiment.Therefore, the present invention is not limited with the specific embodiment, and should be to meet this hair Bright objective and the most wide scope of new feature are boundary.In foregoing detailed description, it is for the ease of right to illustrate various specific details The present invention has comprehensive understanding, however, it should be understood that the present invention can be not limit these specific thin Implement in the case of some or all in section.
It is above-mentioned according to an embodiment of the invention can with different hardware, software code, or both combination implement.Citing For, an embodiment according to the invention can be the electricity for implementing the method, being integrated into video compress chip Road or the program code being integrated into video compression software.Another embodiment according to the invention can also be digital letter Program code performed on number processor (Digital Signal Processor, DSP), for implementing the method.This Invention can be also included by computer processor, DSP, microprocessor or field programmable gate array (Field Programmable Gate Array, FPGA) perform a series of functions.According to the present invention, certain party of the embodiment of the present invention is defined by performing The machine-readable software code or firmware code of method, these processors can be arranged to perform specific task.The software generation Code or firmware code can mention different-format/pattern to develop by different programming languages.The software code also may conform to not Same target platform.However, perform software with corresponding task of the invention, with different code form, pattern and language The code that code and other modes are formed all should be within the scope of the present invention.
On the premise of the spirit and essential characteristic of the present invention is not departed from, the present invention also can be with other particular forms come real It applies.Embodiment described above is of the invention just for the sake of illustrating, and the limitation of non-invention.The scope of the present invention is when appended Subject to claim, all equivalent changes and modifications done according to the claims in the present invention should all belong to covering scope of the invention.

Claims (25)

1. a kind of coding/decoding method of video bit stream, comprising:
The video bit stream is received from media or processor;
The first encoding block flag of color component is decoded, wherein the first encoding block flag indicates the present encoding of the color component Whether unit has an at least non-zero transform coefficient, and the first encoding block flag is reduced from the video bit stream, In the first encoding block flag include root encoding block flag;
If the current coded unit has an at least non-zero transform coefficient, four the second encoding block flags of the color component are decoded Mark, wherein whether each second encoding block flag indicates one of four sub-blocks in the current coded unit of the color component With an at least non-zero transform coefficient, and this four the second encoding block flags are reduced from the video bit stream, wherein should Second encoding block flag includes leaf encoding block flag;And
Based on the first encoding block flag and this four the second encoding block flags, the current coded unit of the color component is determined Residual error quad-tree structure;
Wherein, the size of the current coded unit of the color component is more than the maximum converter unit size of the color component;With In this of luminance component and chromatic component the first encoding block flag transmit and the second encoding block flag transmit it is identical.
2. the coding/decoding method of video bit stream as described in claim 1, which is characterized in that, should for the luminance component The maximum converter unit size of color component is 32 × 32 and for the chromatic component, the color component this most Big converter unit size is 16 × 16.
3. the coding/decoding method of video bit stream as described in claim 1, which is characterized in that the maximum conversion of the color component Unit size is transmitted in sequence-level.
4. the coding/decoding method of video bit stream as described in claim 1, further includes:
If an at least sub-block has an at least non-zero transform coefficient in four sub-blocks, and has an at least non-zero transform coefficient The size of an at least sub-block is more than the minimum converter unit size of the color component, and decode the color component multiple three compile Code block flag, wherein each 3rd encoding block flag indicates a leaf of the color component of next depth of four sub-blocks Whether block has an at least non-zero transform coefficient, and the plurality of 3rd encoding block flag is reduced from the video bit stream; And
It is based further on the plurality of 3rd encoding block flag and determines that the residual error four of the current coded unit of the color component is pitched Tree construction.
5. the coding/decoding method of video bit stream as described in claim 1, further includes:
If the current coded unit does not have non-zero transform coefficient, being somebody's turn to do for the color component is determined based on the first encoding block flag The residual error quad-tree structure of current coded unit.
6. a kind of coding/decoding method of video bit stream, comprising:
The video bit stream is received from media or processor;
Decoding and the relevant encoding block flag of converter unit, wherein the encoding block flag are reduced from the video bit stream; And
The residual error quaternary tree of the converter unit is determined based on the encoding block flag, wherein for this of luminance component and chromatic component Transmitting for encoding block flag is identical.
7. the coding/decoding method of video bit stream as claimed in claim 6, which is characterized in that the encoding block flag converts single in root Member and leaf transformation unit level transmit.
8. the coding/decoding method of video bit stream as claimed in claim 6, which is characterized in that the encoding block flag is in leaf transformation list First level transmits, and the encoding block flag is not transmitted in root converter unit level.
9. the coding/decoding method of video bit stream as claimed in claim 6, which is characterized in that the encoding block flag is in coding unit The block size that transmits but regardless of the coding unit of root layer grade whether be more than maximum converter unit size.
10. the coding/decoding method of video bit stream as claimed in claim 6, which is characterized in that the encoding block flag is using upper Hereafter adaptive binary arithmetic coding is encoded, wherein the context model of the context adaptive binary arithmetic coding Depth depending on the residual error quaternary tree.
11. the coding/decoding method of video bit stream as claimed in claim 10, which is characterized in that the context model is simplified, And the context adaptive binary arithmetic coding includes bypass mode.
12. the coding/decoding method of video bit stream as claimed in claim 6, which is characterized in that the encoding block flag is to utilize to push away Break what is determined.
13. a kind of coding method of encoding block flag, comprising:
Determine the residual error of the current coded unit of color component;
Determine the first encoding block flag of the color component, wherein the first encoding block flag indicate the color component this is current Whether coding unit has an at least non-zero transform coefficient, which includes root encoding block flag;
If the current coded unit has an at least non-zero transform coefficient, four the second encoding block flags of the color component are determined Mark, wherein whether each second encoding block flag indicates one of four sub-blocks in the current coded unit of the color component With an at least non-zero transform coefficient, which includes leaf encoding block flag;And
The first encoding block flag of the color component and this four the second encoding block flags are integrated into video bit stream,
Wherein, the size of the current coded unit of the color component is more than the maximum converter unit size of the color component;With In this of luminance component and chromatic component the first encoding block flag transmit and the second encoding block flag transmit it is identical.
14. the coding method of encoding block flag as claimed in claim 13, which is characterized in that for the luminance component, The maximum converter unit size of the color component is 32 × 32 and for the chromatic component, the color component should Maximum converter unit size is 16 × 16.
15. the coding method of encoding block flag as claimed in claim 13, which is characterized in that the maximum of the color component becomes It changes unit size and is integrated in sequence-level.
16. the coding method of encoding block flag as claimed in claim 13, further includes:
If an at least sub-block has an at least non-zero transform coefficient in four sub-blocks, and has an at least non-zero transform coefficient The size of an at least sub-block is more than the minimum converter unit size of the color component, determines that multiple the three of the color component compile Code block flag, wherein each 3rd encoding block flag indicates a leaf of the color component of next depth of four sub-blocks Whether block has an at least non-zero transform coefficient;And
By the first encoding block flag, this four the second encoding block flags and the plurality of 3rd encoding block flag of the color component Mark is integrated into the video bit stream.
17. the coding method of encoding block flag as claimed in claim 13, further includes:
If the current coded unit does not have non-zero transform coefficient, the first encoding block flag of the color component is integrated into this In video bit stream.
18. a kind of coding method of encoding block flag, comprising:
Converter unit is received from media or processor;
It determines and the relevant residual error quaternary tree of the converter unit;And
Determine one or more encoding block flags of the residual error quaternary tree corresponding to the converter unit, wherein for luminance component and Transmitting for the encoding block flag of chromatic component is identical.
19. the coding method of encoding block flag as claimed in claim 18, which is characterized in that the encoding block flag is converted in root Unit and leaf transformation unit level transmit.
20. the coding method of encoding block flag as claimed in claim 18, which is characterized in that the encoding block flag is in leaf transformation Unit level transmits, and the encoding block flag is not transmitted in root converter unit level.
21. the coding method of encoding block flag as claimed in claim 18, which is characterized in that the encoding block flag is single in coding Whether the root layer grade of member transmits the block size but regardless of the coding unit more than maximum converter unit size.
22. a kind of decoding apparatus of video bit stream, comprising:
The module of the video bit stream is received from media or processor;
The module of the first encoding block flag of color component is decoded, wherein the first encoding block flag indicates working as the color component Whether preceding coding unit has an at least non-zero transform coefficient, and the first encoding block flag of the color component is from the video It is reduced in bit stream, wherein the first encoding block flag includes root encoding block flag;
If the current coded unit has an at least non-zero transform coefficient, four the second encoding block flags of the color component are decoded Module, wherein each second encoding block flag indicates one of four sub-blocks in the current coded unit of the color component Whether there is an at least non-zero transform coefficient, and this four the second encoding block flags of the color component are from the video bit stream Middle reduction, wherein the second encoding block flag includes leaf encoding block flag;And
The first encoding block flag and this four the second encoding block flags based on the color component determine being somebody's turn to do for the color component The module of the residual error quad-tree structure of current coded unit;
Wherein, the size of the current coded unit of the color component is more than the maximum converter unit size of the color component;With In this of luminance component and chromatic component the first encoding block flag transmit and the second encoding block flag transmit it is identical.
23. the decoding apparatus of video bit stream as claimed in claim 22, further includes:
If the current coded unit does not have non-zero transform coefficient, being somebody's turn to do for the color component is determined based on the first encoding block flag The module of the residual error quad-tree structure of current coded unit.
24. a kind of code device of encoding block flag, comprising:
Determine the module of the residual error of the current coded unit of color component;
Determine the module of the first encoding block flag of the color component, wherein the first encoding block flag indicates the present encoding list Whether member has an at least non-zero transform coefficient, which includes root encoding block flag;
If the current coded unit of the color component has an at least non-zero transform coefficient, four of the color component the are determined The module of two encoding block flags, wherein each second encoding block flag is indicated in the current coded unit of the color component Whether one of four sub-blocks have an at least non-zero transform coefficient, which includes leaf encoding block flag;And
The first encoding block flag of the color component and this four the second encoding block flags are integrated into video bit stream Module,
Wherein, the size of the current coded unit of the color component is more than the maximum converter unit size of the color component;With In this of luminance component and chromatic component the first encoding block flag transmit and the second encoding block flag transmit it is identical.
25. the code device of encoding block flag as claimed in claim 24, further includes:
If the current coded unit of the color component does not have non-zero transform coefficient, by first encoding block of the color component Flag is integrated into the module in the video bit stream.
CN201380006152.6A 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device Active CN104137545B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810299233.4A CN108449602A (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device
CN201380006152.6A CN104137545B (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
PCT/CN2012/070612 WO2013107027A1 (en) 2012-01-19 2012-01-19 Methods and apparatuses of cbf coding in hevc
CNPCT/CN2012/070612 2012-01-19
CN201380006152.6A CN104137545B (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device
PCT/CN2013/070160 WO2013107309A1 (en) 2012-01-19 2013-01-07 Method and apparatus for coded block flag coding in high efficiency video coding

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810299233.4A Division CN108449602A (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device

Publications (2)

Publication Number Publication Date
CN104137545A CN104137545A (en) 2014-11-05
CN104137545B true CN104137545B (en) 2018-06-05

Family

ID=51808355

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201380006152.6A Active CN104137545B (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device
CN201810299233.4A Pending CN108449602A (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810299233.4A Pending CN108449602A (en) 2012-01-19 2013-01-07 The coding of encoding block flag and the coding/decoding method of video bit stream and device

Country Status (1)

Country Link
CN (2) CN104137545B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016205999A1 (en) * 2015-06-23 2016-12-29 Mediatek Singapore Pte. Ltd. Adaptive coding group for image/video coding
WO2019141012A1 (en) * 2018-01-18 2019-07-25 Mediatek Inc. Video processing methods and apparatuses for processing video data coded in large size coding units
CN116600141A (en) 2018-03-27 2023-08-15 株式会社Kt Method for decoding or encoding image and method for transmitting image data
WO2019234604A1 (en) 2018-06-05 2019-12-12 Beijing Bytedance Network Technology Co., Ltd. Extended quad-tree with asymmetric sub-blocks
CN113519164A (en) * 2019-03-02 2021-10-19 北京字节跳动网络技术有限公司 Limitation of the segmentation structure
CN111372082B (en) * 2019-03-27 2022-06-03 北京达佳互联信息技术有限公司 Coding and decoding method and device for coding block flag CBF in video coding
WO2020248954A1 (en) * 2019-06-09 2020-12-17 Beijing Bytedance Network Technology Co., Ltd. Significant coefficient signaling in video coding
KR20220058889A (en) 2019-09-14 2022-05-10 바이트댄스 아이엔씨 Chroma quantization parameters in video coding
CN114556924B (en) * 2019-10-14 2024-01-26 字节跳动有限公司 Method, device and medium for joint coding and decoding and filtering of chroma residual in video processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102172025A (en) * 2008-10-03 2011-08-31 高通股份有限公司 Video coding with large macroblocks
CN102484716A (en) * 2010-03-30 2012-05-30 株式会社东芝 Image coding and image decoding method
CN103098463A (en) * 2010-04-12 2013-05-08 高通股份有限公司 Variable length coding of coded block pattern (CBP) in video compression

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI339074B (en) * 2007-09-05 2011-03-11 Via Tech Inc Operating method and device of coded block flag parameter
KR101456498B1 (en) * 2009-08-14 2014-10-31 삼성전자주식회사 Method and apparatus for video encoding considering scanning order of coding units with hierarchical structure, and method and apparatus for video decoding considering scanning order of coding units with hierarchical structure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102172025A (en) * 2008-10-03 2011-08-31 高通股份有限公司 Video coding with large macroblocks
CN102484716A (en) * 2010-03-30 2012-05-30 株式会社东芝 Image coding and image decoding method
CN103098463A (en) * 2010-04-12 2013-05-08 高通股份有限公司 Variable length coding of coded block pattern (CBP) in video compression

Also Published As

Publication number Publication date
CN108449602A (en) 2018-08-24
CN104137545A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN104137545B (en) The coding of encoding block flag and the coding/decoding method of video bit stream and device
JP7325553B2 (en) Encoding/decoding method, device, and storage medium
US11750841B2 (en) Methods and apparatuses for coding transform blocks
TWI718101B (en) Palette mode encoding and decoding design
JP6661550B2 (en) Predictor palette initialization in palette-based video coding
TWI693822B (en) Maximum palette parameters in palette-based video coding
CN103210647B (en) The coding method of video image and the coding/decoding method of video bit stream
JP6199311B2 (en) Coding of coefficients in video coding
CN102484709B (en) Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
US9930330B2 (en) Method and apparatus for coded block flag coding in high efficiency video coding
TW201722164A (en) Restriction of escape pixel signaled values in palette mode video coding
KR102238127B1 (en) Video encoding and decoding method and apparatus using same
CN108028919A (en) Method and device for the context modeling of syntactic element in image and coding and decoding video
CN104509112A (en) Video encoding method, video decoding method, and apparatus using same
CN107071494B (en) The generation method and system of the binary syntax element of video image frame
CN107211148A (en) The limitation of palette block size in video coding
RU2011117582A (en) VIDEO ENCODING WITH LARGE MACRO BLOCKS
CN107710759A (en) Method and device for the conversion coefficient encoding and decoding of non-square block
JP2021519050A (en) Methods, devices and computer programs for decoding video sequences
CN104853211A (en) Image compression method and apparatus employing various forms of reference pixel storage spaces
CN103918273A (en) Method of determining binary codewords for transform coefficients
TW202131681A (en) Determining a parametrization for context-adaptive binary arithmetic coding
TW202130171A (en) Decoder, encoder and method for supporting adaptive dependent quantization of transform coefficient levels
CN103067701B (en) Use importance graph code and the decoding of subregion selection
CN104506860A (en) Video coding reference image selecting method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160909

Address after: Hsinchu County, Taiwan, China

Applicant after: Atlas Limited by Share Ltd

Address before: Singapore, Singapore, one of the first floor of the city hall on the 3rd floor, Soras

Applicant before: Mediatek (Singapore) Pte. Ltd.

GR01 Patent grant
GR01 Patent grant