EP2606645A1 - Coding and decoding utilizing context model selection with adaptive scan pattern - Google Patents

Coding and decoding utilizing context model selection with adaptive scan pattern

Info

Publication number
EP2606645A1
EP2606645A1 EP11773617.3A EP11773617A EP2606645A1 EP 2606645 A1 EP2606645 A1 EP 2606645A1 EP 11773617 A EP11773617 A EP 11773617A EP 2606645 A1 EP2606645 A1 EP 2606645A1
Authority
EP
European Patent Office
Prior art keywords
significance map
array
transform
coding
processing
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.)
Withdrawn
Application number
EP11773617.3A
Other languages
German (de)
French (fr)
Inventor
Jian Lou
Krit Panusopone
Limin Wang
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.)
Motorola Mobility LLC
Original Assignee
Arris Technology Inc
General Instrument Corp
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 Arris Technology Inc, General Instrument Corp filed Critical Arris Technology Inc
Priority claimed from US13/253,933 external-priority patent/US20120082235A1/en
Publication of EP2606645A1 publication Critical patent/EP2606645A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/18Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/463Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Definitions

  • Video compression utilizes block processing for many operations.
  • block processing a block of neighboring pixels is grouped into a coding unit and compression operations treat this group of pixels as one unit to take advantage of correlations among neighboring pixels within the coding unit.
  • Block-based processing often includes prediction coding and transform coding.
  • Transform coding with quantization is a type of data compression which is commonly "lossy" as the quantization of a transform block taken from a source picture often discards data associated with the transform block in the source picture, thereby lowering its bandwidth requirement but often also resulting in quality loss in reproducing of the original transform block from the source picture.
  • MPEG-4 AVC also known as H.264
  • H.264 is an established video compression standard utilizing transform coding in block processing.
  • a picture is divided into macroblocks (MBs) of 16x16 pixels.
  • MB macroblocks
  • Each MB is often further divided into smaller blocks.
  • Blocks equal in size to or smaller than a MB are predicted using intra-/inter-picture prediction, and a spatial transform along with quantization is applied to the prediction residuals.
  • the quantized transform coefficients of the residuals are commonly encoded using entropy coding methods (i.e., variable length coding or arithmetic coding).
  • Context Adaptive Binary Arithmetic Coding was introduced in H.264 to provide a substantially lossless compression efficiency by combining an adaptive binary arithmetic coding technique with a set of context models.
  • Context model selection plays a role in CABAC in providing a degree of adaptation and redundancy reduction.
  • H.264 specifies two kinds of scan patterns over 2D blocks. A zigzag scan is utilized for pictures coded with progressive video compression techniques and an alternative scan is for pictures coded with interlaced video compression techniques.
  • H.264 uses 2D block-based transform of block sizes 2x2, 4x4 and
  • a block-based transform converts a block of pixels in spatial domain into a block of coefficients in transform domain. Quantization then maps transform coefficients into a finite set. After quantization, many high frequency coefficients become zero.
  • a significance map is developed, which specifies the position(s) of the non-zero quantized coefficient(s) within the 2D transform domain. Specifically, given a quantized 2D transformed block, if the value of a quantized coefficient at a position (y, x) is non zero, it is considered as significant and a "1 " is assigned for the position (y, x) in the associated significance map. Otherwise, a "0" is assigned to the position (y, x) in the significance map.
  • CABAC is used for coding and decoding each element of the significance map.
  • HEVC High Efficiency Video Coding
  • HD high definition
  • the adaptive split zigzag scan scheme directs the scan order for coding and decoding a significance map by switching between two predefined scan patterns per diagonal line, either from bottom-left to top-right or from top-right to bottom-left diagonally. The switching occurs at the end of each diagonal sub-scan, and is controlled by two counters.
  • the first counter, Ci tracks the number of coded significant transform coefficients located in the bottom-left half of a transform block.
  • the second counter, C2 tracks the number of coded significant transform coefficients which are located in the top-right half of a transform block.
  • CCMs computer readable mediums
  • the system may include a processor configured to prepare video compression data based on source pictures.
  • the preparing may include partitioning the source pictures into coding units.
  • the preparing may also include generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units.
  • the preparing may also include processing the generated transform unit.
  • the processing may include generating a significance map.
  • the significance map may have a significance map array with y-x locations corresponding to the y-x locations of the transform array.
  • the processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
  • a method for coding may include preparing video compression data based on source pictures. The preparing may include partitioning the source pictures into coding units. The preparing may also include generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units.
  • the preparing may also include processing the generated transform unit.
  • the processing may include generating a significance map.
  • the significance map may have a significance map array with y-x locations corresponding to the y-x locations of the transform array.
  • the processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
  • a non- transitory CRM storing computer readable instructions which, when executed by a computer system, performs a method for coding.
  • the method may include preparing video compression data based on source pictures.
  • the preparing may include partitioning the source pictures into coding units.
  • the preparing may also include generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units.
  • the preparing may also include processing the generated transform unit.
  • the processing may include generating a significance map.
  • the significance map may have a significance map array with y-x locations corresponding to the y-x locations of the transform array.
  • the processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements.
  • the determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
  • the system may include an interface configured to receive video compression data.
  • the system may also include a processor configured to process the received video compression data.
  • the received video compression data may be based on processed transform units, which may be based on source pictures.
  • the processed transform units may be prepared by partitioning the source pictures into coding units and/or generating one or more transform unit(s).
  • the generated transform units may have a transform array including transform coefficients assigned as entries to y-x locations of the transform array.
  • the transform coefficients may be based on residual measures associated with the coding units.
  • the processed transform units may also be prepared by processing the generated transform unit.
  • the processing may include generating a significance map.
  • the significance map may have a significance map array with y- x locations which may be corresponding to the y-x locations of the transform array.
  • the processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
  • the method may include receiving video compression data.
  • the method may also include processing the received video compression data.
  • the received video compression data may be based on processed transform units, which may be based on source pictures.
  • the processed transform units may be prepared by partitioning the source pictures into coding units and/or generating one or more transform unit(s).
  • the generated transform units may have a transform array including transform coefficients assigned as entries to y-x locations of the transform array.
  • the transform coefficients may be based on residual measures associated with the coding units.
  • the processed transform units may also be prepared by processing the generated transform unit.
  • the processing may include generating a significance map.
  • the significance map may have a significance map array with y-x locations which may be corresponding to the y-x locations of the transform array.
  • the processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
  • a CRM storing computer readable instructions which, when executed by a computer system, performs a method for decoding.
  • the method may include receiving video compression data.
  • the method may also include processing the received video compression data.
  • the received video compression data may be based on processed transform units, which may be based on source pictures.
  • the processed transform units may be prepared by partitioning the source pictures into coding units and/or generating one or more transform unit(s).
  • the generated transform units may have a transform array including transform coefficients assigned as entries to y-x locations of the transform array.
  • the transform coefficients may be based on residual measures associated with the coding units.
  • the processed transform units may also be prepared by processing the generated transform unit.
  • the processing may include generating a significance map.
  • the significance map may have a significance map array with y-x locations which may be corresponding to the y-x locations of the transform array.
  • the processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
  • FIG 1 is a block diagram illustrating a coding system and a decoding system utilizing context model selection with adaptive scan pattern, according to an example
  • FIG 2A is a scan pattern illustrating a zigzag scan for significance map coding in transform processing, according to an example
  • FIG 2B is a scan pattern illustrating a diagonal down-left scan for significance map coding in transform processing, according to an example
  • FIG 2C is a scan pattern illustrating a diagonal top-right scan for significance map coding in transform processing, according to an example
  • Fl G 2D is a scan pattern illustrating a vertical scan for significance map coding in transform processing, according to an example
  • FIG 2E is a scan pattern illustrating a horizontal scan for significance map coding in transform processing, according to an example
  • FIG 3 is a model illustrating context model selection with adaptive scan pattern in significance map coding, according to an example
  • FIG 4A is a model illustrating fixed model selection in significance map coding and decoding of a 2x2 array, according to an example
  • FIG 4B is a model illustrating fixed model selection in significance map coding and decoding of a 4x4 array, according to an example
  • FIG 4C is a model illustrating fixed model selection in significance map coding and decoding of an 8x8 array, according to an example
  • FIG 5 is a flow diagram illustrating a method for preparing a coded significance map utilizing context model selection with adaptive scan pattern, according to an example
  • FIG 6 is a flow diagram illustrating a method for coding utilizing context model selection with adaptive scan pattern, according to an example
  • FIG 7 is a flow diagram illustrating a method for decoding utilizing context model selection with adaptive scan pattern, according to an example.
  • FIG 8 is a block diagram illustrating a computer system to provide a platform for a system for coding and/or a system for decoding utilizing context model selection with adaptive scan pattern, according to examples.
  • the term “includes” means “includes at least” but is not limited to the term “including only”.
  • the term “based on” means “based at least in part on”.
  • picture means a picture which is either equivalent to a frame or equivalent to a field associated with a frame, such as a field which is one of two sets of interlaced lines of an interlaced video frame.
  • bitstream refers to a digital data stream.
  • coding may refer to encoding of an uncompressed video sequence.
  • the term “coding” may also refer to the transcoding of a compressed video bitstream from one compressed format to another.
  • the term “decoding” may refer to the decoding of a compressed video bitstream.
  • FIG 1 there is disclosed a content distribution system 100 including a coding system 1 10 and a decoding system 140 utilizing context model selection with adaptive scan pattern.
  • the context model selection with adaptive scan pattern is associated with preparing video compression data based on source pictures by partitioning the source pictures into coding units, and processing transform units based on the coding units.
  • the context model selection with adaptive scan pattern is associated with decoding received video compression information which is prepared utilizing context model selection with adaptive scan pattern based on preparing video compression data based on source pictures by partitioning the source pictures into coding units, and processing transform units based on the coding units.
  • Coding for transform units may include three aspects: (1 ) significance map coding, (2) non-zero coefficient level coding, and (3) non-zero coefficient sign coding.
  • Transform units may be processed in generating video compression data, according to an example, by generating a transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units.
  • the processing of the generated transform unit may include generating a significance map having a significance map array with y-x locations corresponding to the y-x locations of the transform array.
  • Generating the significance map may include checking of transform coefficients within the generated transform unit and coding the significance map elements in a significance map array which corresponds with an array of the transform unit.
  • An adaptive scan pattern may be utilized in coding the significance map elements.
  • the adaptive scan pattern is a scan pattern which is determined to be used for scanning the generated significance map to determine the context model which will be used to code a significance map element.
  • the determination of which scan pattern is utilized as the adaptive scan may be based on one or more criteria, such as an efficiency goal, an array size, a benchmark, etc.
  • the adaptive scan pattern is used to scan the significance map, which has significance map elements in the significance map array.
  • the significance map elements which are neighboring the significance map to be coded may influence which context model is selected for coding the significance map element to be coded.
  • One or more values, such as a sign value or an amount parameter, which may be associated with a neighboring significance map element may be utilized as a criteria for selecting the context model for coding the significance map element.
  • a determination of which neighbor significance map elements may be utilized in contributing the values associated with them for determining a context model selection is a function of the neighbor selection criteria which may be utilized for a significance map or a scan pattern.
  • the neighbor selection criteria may vary, such as whether the neighbor significance map element is above and/or to the left of the significance map element in the significance map array, etc.
  • the scan pattern utilized as the adaptive scan may also affect which neighbor significance map elements contribute values to determine the context model selection depending upon which neighbor selection criteria is utilized.
  • the coding of a significance map may include coding, utilizing the adaptive scanning pattern a plurality of significance map elements in the significance map array.
  • Context model selection with adaptive scan pattern plays an important role in significance map coding and decoding. Video compression data at higher efficiency may be achieved by various mechanisms of context model selection.
  • context model selection with adaptive scan pattern takes into consideration the possibility that different quantization step-sizes may be applied to different transform units of the same size. For example, the statistics of the transform coefficients quantized with different quantization step-sizes may be different.
  • Context model selection with adaptive scan pattern overcomes this through relying on the relationship among significance map elements in a significance map. Given a transform unit associated with a coding unit, a significance map based on the transform unit is coded following a scanning pattern.
  • a context model for coding a significance map element may be determined based on a value associated with at least one neighbor significance map element of the coded significance map element(s) in the significance map array and/or an analysis based on the significance map element being in a high frequency or a low frequency position in the significance map array.
  • a context model for coding a significance map element in either a high or low frequency position in the significance map array may be determined based upon the values (0 or 1 ) of the significance map element's coded neighbors (i.e., significance map elements in a significance map) within the same significance map array and the scanning pattern utilized, such as zigzag, horizontal, etc.
  • a context model for coding a significance map element may be determined based on whether the significance map element is in a high or a low frequency position in the significance map array.
  • a benchmark for differentiating between a high and low frequency position is used, such as applying pre-defined y-x position of the significance map element in the significance map.
  • a significance map element in a low frequency position in a significance map array may share the same context model with other significance map elements in other significance map arrays sharing the same frequency position of the significance map arrays. This may be associated with the potential high correlation among significance map elements at the same frequency position.
  • Low frequencies may be generally defined as the low frequency components of the spatial signals.
  • a low frequency position in a significance map array may be defined by the significance map element's y-x position. For example, the (0, 0) frequency position is usually regarded as a low frequency position.
  • the scanning pattern for significance map coding and decoding may be pre-determined for a current transform unit, a current coding unit, a current slice, a current picture and a current sequence.
  • the scanning pattern may also vary depending on the current transform unit, the current coding unit, the current slice, the current picture and the current sequence.
  • the scanning pattern for the significance map array may be determined for the current transform unit, the current coding unit, the current slice, the current picture and/or the current sequence using an analysis for identifying the scanning pattern which is more likely to be efficient, or otherwise desirable, for significance map coding and decoding, such as by a categorization of the pictures, a picture analysis or some other criteria.
  • the scanning pattern may be one of a plurality of scanning patterns available for a current transform unit, a current coding unit,, a current slice, a current picture or a current sequence.
  • the scan pattern used in context model selection with adaptive scan pattern is not limited and may be, for example, a zigzag scan, such as zigzag scan 200 shown in FIG 2A, a diagonal down-left scan, such as diagonal down-left scan 210 shown in FIG 2B, a diagonal top-right scan, such as diagonal top-right scan 220 shown in FIG 2C, a vertical scan, such as vertical scan 230 shown in FIG 2D, a horizontal scan, such as horizontal scan 240 shown in FIG 2E.
  • a significance map element of a significance map array based on the significance map may be coded following a scanning pattern.
  • FIG 2A is an example of a zigzag scan 200 used for the significance map coding and decoding for transform units (i.e., a transform unit having a transform array for adaptive context model selection).
  • Fig. 2A shows the zigzag scan 200 for 16x16 blocks.
  • the zigzag scan is utilized with the context model selection to determine the sequence by which transform elements, such as transform coefficients, are processed.
  • the determination of the context model may be done utilizing the pattern of the zigzag scan 200.
  • the context model may be selected based on one or more value(s) associated with at least one coded neighbor significance map element of the significance map elements in the significance map array.
  • an adaptive split zigzag scan is used and is discussed in greater detail below.
  • the zigzag scan 200 may be utilized in context selection in which the adaptive scan is a zigzag scan.
  • another scan may be used as the such as diagonal down-left scan 210, diagonal top-right scan 220, etc. may be used for the significance map coding and decoding for all array sizes.
  • the scan pattern utilized for the adaptive scan pattern may be predetermined or selected based on a criteria.
  • a context model for an element in a significance map is determined based upon the values (0 or 1 ) of the element's coded neighbors.
  • the context model for an element in the significance map may be determined as shown in FIG 3, demonstrating a context model in adaptive scan criteria 300 for determining a context model for coding and decoding which includes processing a transform unit.
  • the processing may include generating a significance map having an array which corresponds with an array of the transform unit, such as a significance map array of greater than 8x8 entries.
  • the significance map array may include significance map elements assigned as entries to y-x locations of the significance map array, based on residual measures associated with coding units based on a source picture. For a significance map elements at position (0, 0), (0, 1 ) or (1 , 0), in an array as shown in Fig. 3, a unique context model may be assigned.
  • the context model may be selected based on the values (0 or 1 ) of the element's neighbors at positions (0, x-1 ), (0, x-2), (1 , x-2), and (1 , x-1 ) if x is an even number.
  • Other criteria may instead be utilized with zigzag scan 200 or another scan pattern.
  • the context model may be selected based on the values (0 or 1 ) of the element's neighbors at positions (y- 1 , 0), (y-2, 0), (y-2, 1 ) and (y-1 , 1 ) if y is an odd number. Other criteria may instead be utilized with zigzag scan 200 or another scan pattern.
  • the context model may be selected based on the value (0 or 1 ) of the element's neighbors at positions (y-1 , x-1 ), (y-1 , x), (y, x-1 ), and (y-1 , x-2) and (y, x-2) if x is larger than 1 , (y+1 , x-2) if x is larger than 1 and y is smaller than the height-1 , (y-2, x-1 ) and (y-2, x) if y is larger than 1 , (y-2, x+1 ) if y is larger than 1 and x is smaller than the width-1 , (y-1 , x+1 ) if the sum of x and y is an odd number and x is smaller than the width-1 , (y+1 , x-1 ) if the sum of x and y is an odd number and x is smaller than the width-1 , (y+1 , x-1 ) if the sum of x and y is an odd
  • FIGs 4A through 4C show context models for 2x2, 4x4 and 8x8 significance map arrays. They are position dependent and designed based upon the assumption that for arrays of the same size, the value (0 or 1 ) at a specific position in the significance map may follow a similar statistical model.
  • the context selection scheme depicted in FIG 4A, FIG 4B and FIG 4C utilizes the array position as the context selection criteria. However, for larger array sizes, the increased array positions may substantially increase the number of possible context selections which indicates more memory is needed. Applying the context model selection by adaptive scan pattern may be utilized to keep the number of context selections for arrays larger than 8x8 within a practical limit.
  • TMuCO.7 As a comparative example, in TMuCO.7, one model for HEVC under consideration enables a set of transform coefficient coding and decoding tools. It is switched on by default when the entropy coding option is CABAC/PIPE. Among these tools, an adaptive split zigzag scan pattern is applied for significance map coding and decoding. The experimental results indicate that this adaptive split zigzag scan pattern scheme achieves only negligible performance gain. But, it also introduces additional memory and computational complexity as compared with the zigzag scan 200 shown in FIG 2A.
  • TMuC0.7 by default, the entropy coding is set to use the option of CABAC/PIPE which incorporates a set of transform coefficient coding and decoding tools.
  • the scan order for coding and decoding the significance map is allowed to switch between two predefined scan patterns per diagonal line, that is, either from bottom-left to top-right or from top-right to bottom-left diagonally. The switching occurs at the end of each diagonal sub-scan, and it is controlled by two counters, Ci , the number of coded significant transform coefficients that are located in the bottom-left half of the transform block, and c 2 , the number of coded significant transform coefficients that are located in the top-right half of the transform block.
  • the adaptive split zigzag scan requires additional memories for the two scan patterns as comparing to one zigzag scan pattern and the two counters Ci and C2. It also introduces additional computational complexity due to counting the number coded of significant transform coefficients located in the bottom-left half or in the top-right half, branch operations and scan selection for each coefficient before the last significant coefficient.
  • the context model for an element in significant map is selected based on the coded neighboring elements in the significant map. Since a diagonal scan may go either way, it is necessary to check if the top-right element or bottom-left element is available for a given current element in significant map coding and decoding. This causes additional branch operations.
  • the experimental results indicate that this adaptive split zigzag scan scheme achieves only negligible performance gain, but at the expense of additional memory requirements and increased computational complexity.
  • the zigzag scan 200 which is a full zigzag scan, may be used for significance map coding and decoding when CABAC/PIPE is selected.
  • TMuC0.7 may be modified to replace the adaptive split zigzag of the previous implementation of significance map coding and decoding in TMuC0.7 with the zigzag scan 200 for larger transform units, (i.e., transform units having an array larger than 8x8).
  • FIG 2A shows the zigzag scan 200 for a 16x16 array. Since the scan pattern is fixed, the neighborhood for the context selection is also fixed. Additional memory requirements and computation complexity associated with the adaptive split zigzag scan of the previous implementation of significance map coding and decoding in TMuC0.7 no longer exists and an adaptive context selection may be utilized, such as context model in adaptive scan criteria 300 shown in FIG 3, and described above.
  • the utilization of the context model selection with adaptive scan pattern improves coding efficiency as inefficiencies in transform processing are reduced. These include inefficiencies based on overhead otherwise associated with computational complexities including tracking the count of coded significant transform coefficients located in the bottom-left half or in the top-right half of a transform, performing branch operations and making scan selections for coefficients in significance map coding and decoding.
  • the coding system 1 10 includes an input interface 130, a controller 1 1 1 , a counter 1 12, a frame memory 1 13, an encoding unit 1 14, a transmitter buffer 1 15 and an output interface 135.
  • the decoding system 140 includes a receiver buffer 150, a decoding unit 151 , a frame memory 152 and a controller 153.
  • the coding system 1 10 and the decoding system 140 are coupled to each other via a transmission path including a compressed bitstream 105.
  • the controller 1 1 1 of the coding system 1 10 controls the amount of data to be transmitted on the basis of the capacity of the receiver buffer 150 and may include other parameters such as the amount of data per a unit of time.
  • the controller 1 1 1 controls the encoding unit 1 14, to prevent the occurrence of a failure of a received signal decoding operation of the decoding system 140.
  • the controller 1 1 1 may be a processor or include, for example, a microcomputer having a processor, a random access memory and a read only memory.
  • Source pictures 120 supplied from, for example, a content provider may include a video sequence of frames including source pictures in the video sequence.
  • the source pictures 120 may be uncompressed or compressed. If the source pictures 120 is uncompressed, the coding system 1 10 may be associated with an encoding function. If the source pictures 120 is compressed, the coding system 1 10 may be associated with a transcoding function. Coding units may be derived from the source pictures utilizing the controller 1 1 1 .
  • the frame memory 1 13 may have a first area which may be used for storing the incoming source pictures from the source pictures 120 and a second area may be used for reading out the source pictures and outputting them to the encoding unit 1 14.
  • the controller 1 1 1 may output an area switching control signal 123 to the frame memory 1 13.
  • the area switching control signal 123 may indicate whether the first area or the second area is to be utilized.
  • the controller 1 1 1 outputs an encoding control signal 124 to the encoding unit 1 14.
  • the encoding control signal 124 causes the encoding unit 1 14 to start an encoding operation such as preparing the coding units based on a source picture.
  • the encoding unit 1 14 starts to read out the prepared coding units to a high- efficiency encoding process, such as a prediction coding process or a transform coding process which processes the prepared coding units generating video compression data based on the source pictures associated with the coding units.
  • the encoding unit 1 14 may package the generated video compression data in a packetized elementary stream (PES) including video packets.
  • PES packetized elementary stream
  • the encoding unit 1 14 may map the video packets into an encoded video signal 122 using control information and a program time stamp (PTS) and the encoded video signal 122 may be signaled to the transmitter buffer 1 15.
  • PTS program time stamp
  • the encoded video signal 122 including the generated video compression data may be stored in the transmitter buffer 1 14.
  • the information amount counter 1 12 is incremented to indicate the total amount of data in the transmitted buffer 1 15. As data is retrieved and removed from the buffer, the counter 1 12 may be decremented to reflect the amount of data in the transmitter buffer 1 14.
  • the occupied area information signal 126 may be transmitted to the counter 1 12 to indicate whether data from the encoding unit 1 14 has been added or removed from the transmitted buffer 1 15 so the counter 1 12 may be incremented or decremented.
  • the controller 1 1 1 may control the production of video packets produced by the encoding unit 1 14 on the basis of the occupied area information 126 which may be communicated in order to prevent an overflow or underflow from taking place in the transmitter buffer 1 15.
  • the information amount counter 1 12 may be reset in response to a preset signal 128 generated and output by the controller 1 1 1 . After the information counter 1 12 is reset, it may count data output by the encoding unit 1 14 and obtain the amount of video compression data and/or video packets which has been generated. Then, the information amount counter 1 12 may supply the controller 1 1 1 with an information amount signal 129 representative of the obtained amount of information. The controller 1 1 1 may control the encoding unit 1 14 so that there is no overflow at the transmitter buffer 1 15.
  • the decoding system 140 includes an input interface 170, a receiver buffer 150, a controller 153, a frame memory 152, a decoding unit 151 and an output interface 175.
  • the receiver buffer 150 of the decoding system 140 may temporarily store the compressed bitstream 105 including the received video compression data and video packets based on the source pictures from the source pictures 120.
  • the decoding system 140 may read the control information and presentation time stamp information associated with video packets in the received data and output a frame number signal 163 which is applied to the controller 153.
  • the controller 153 may supervise the counted number of frames at a predetermined interval, for instance, each time the decoding unit 151 completes a decoding operation.
  • the controller 153 may output a decoding start signal 164 to the decoding unit 151 .
  • the controller 153 may wait for the occurrence of a situation in which the counted number of frames becomes equal to the predetermined amount.
  • the controller 153 may output the decoding start signal 164.
  • the encoded video packets and video compression data may be decoded in a monotonic order (i.e., increasing or decreasing) based on presentation time stamps associated with the encoded video packets.
  • the decoding unit 151 may decode data amounting to one picture associated with a frame and compressed video data associated with the picture associated with video packets from the receiver buffer 150.
  • the decoding unit 151 may write a decoded video signal 162 into the frame memory 152.
  • the frame memory 152 may have a first area into which the decoded video signal is written, and a second area used for reading out decoded pictures 160 to the output interface 175.
  • the coding system 1 10 may be incorporated or otherwise associated with a transcoder or an encoding apparatus at a headend and the decoding system 140 may be incorporated or otherwise associated with a downstream device, such as a mobile device, a set top box or a transcoder. These may be utilized separately or together in methods of coding and/or decoding utilizing context model selection with adaptive scan pattern.
  • a downstream device such as a mobile device, a set top box or a transcoder.
  • Method 500 is a method for preparing a coded significance map utilizing context model selection with adaptive scan pattern.
  • Method 600 is a method for coding utilizing coding units and coded significance maps prepared utilizing transform units processed using context model selection with adaptive scan pattern.
  • Method 700 is a method for decoding utilizing compression data generated utilizing coding units and coded significance maps prepared utilizing transform units processed using context model selection with adaptive scan pattern. It is apparent to those of ordinary skill in the art that the methods 500, 600 and 700 represent generalized illustrations and that other steps may be added and existing steps may be removed, modified or rearranged without departing from the scope of the methods 500, 600 and 700.
  • step 501 the controller 1 1 1 associated with the coding system 1 10 partitioning the source pictures into coding units, such by a quad tree format.
  • the controller 1 1 1 generates transform units, including at least one transform unit having a transform array, including transform elements assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units.
  • the transform units may be generated following a prediction process also used in generating the video compression data.
  • step 503 the controller 1 1 1 processes the generated transform units by generating a significance map having a significance map array with y-x locations corresponding to the y-x locations in the transform array.
  • Step 503 may be subdivided into steps 503A-503B as shown below.
  • the controller 1 1 1 and the encoding unit 1 14 scan, utilizing a scanning pattern, a plurality of significance map elements in the significance map array.
  • the scanning pattern is not limited and may be, for example, a zigzag scan, such as zigzag scan 200 shown in FIG 2A, a diagonal down-left scan, such as diagonal down-left scan 210 shown in FIG 2B, a diagonal top-right scan, such as diagonal top-right scan 220 shown in FIG 2C, a vertical scan, such as vertical scan 230 shown in FIG 2D, a horizontal scan, such as horizontal scan 240 shown in FIG 2E.
  • the controller 1 1 1 determines a context model for coding a significance map element of the plurality of significance map elements based on a value associated with at least one neighbor significance map element of the significance map element in the significance map.
  • the context model may be determined based on a value associated with at least one neighbor significance map element of the significance map elements in the significance map array. Also, if the significance map element is in a low frequency position in the significance map array, the context model may be determined based on a low frequency position benchmark and the low frequency position in the significance map array. These criteria for determining the context model may be used separately or in addition to each other.
  • the controller 1 1 1 and the encoding unit 1 14 codes the significance map element utilizing the determined context model to form a coded significance map element of the significance map.
  • This coding process may be an entropy coding process to reduce the y-x array of the significance map to a simpler matrix.
  • the interface 130 and the frame memory 1 13 of the coding system 1 10 receives the source pictures 120 including source pictures.
  • the controller 1 1 1 prepares coding units and transform units including transform units based on the source pictures.
  • the preparing may be performed as described above with respect to method 500.
  • the controller 1 1 1 and the encoding unit 1 14 process the prepared transform units generating video compression data based on the coding units.
  • step 604 the controller 1 1 1 and the encoding unit 1 14 package the generated video compression data.
  • step 605 the controller 1 1 1 and the transmitter buffer 1 15 transmit the packaged video compression data in compressed bitstream 105 via the interface 135.
  • the decoding system 140 receives the compressed bitstream 105 including the video compression data via the interface 170 and the receiver buffer 150.
  • the decoding system 140 receives residual pictures associated with the video compression data via the interface 170 and the receiver buffer 150.
  • the decoding unit 151 and the controller 153 process the received video compression data.
  • the decoding unit 151 and the controller 153 generate reconstructed pictures based on the processed video compression data and the received residual pictures.
  • the decoding unit 151 and the controller 153 package the generated reconstructed pictures and signal them to the frame memory 152.
  • the controller 153 signals the generated reconstructed pictures in the decoded signal 180 via the interface 175.
  • Some or all of the methods and operations described above may be provided as machine readable instructions, such as a utility, a computer program, etc., stored on a computer readable storage medium, which may be non-transitory such as hardware storage devices or other types of storage devices.
  • machine readable instructions such as a utility, a computer program, etc.
  • a computer readable storage medium which may be non-transitory such as hardware storage devices or other types of storage devices.
  • program(s) comprised of program instructions in source code, object code, executable code or other formats.
  • An example of a computer readable storage media includes a conventional computer system RAM, ROM, EPROM, EEPROM, and magnetic or optical disks or tapes. Concrete examples of the foregoing include distribution of the programs on a CD ROM. It is therefore to be understood that any electronic device capable of executing the above-described functions may perform those functions enumerated above.
  • a platform 800 which may be employed as a computing device in a system for coding or decoding utilizing context model selection with adaptive scan, such as coding system 100 and/or decoding system 200.
  • the platform 800 may also be used for an upstream encoding apparatus, a transcoder, or a downstream device such as a set top box, a handset, a mobile phone or other mobile device, a transcoder and other devices and apparatuses which may utilize context model selection with adaptive scan pattern and associated coding units and transform units processed using context model selection with adaptive scan pattern.
  • the illustration of the platform 800 is a generalized illustration and that the platform 800 may include additional components and that some of the components described may be removed and/or modified without departing from a scope of the platform 800.
  • the platform 800 includes processor(s) 801 , such as a central processing unit; a display 802, such as a monitor; an interface 803, such as a simple input interface and/or a network interface to a Local Area Network (LAN), a wireless 802.1 1x LAN, a 3G or 4G mobile WAN or a WiMax WAN; and a computer- readable medium 804.
  • processor(s) 801 such as a central processing unit
  • a display 802 such as a monitor
  • LAN Local Area Network
  • wireless 802.1 1x LAN such as a wireless 802.1 1x LAN
  • 3G or 4G mobile WAN such as a 3G or 4G mobile WAN or a WiMax WAN
  • WiMax WAN such as WiMax WAN
  • Each of these components may be
  • a computer readable medium such as CRM 804 may be any suitable medium which participates in providing instructions to the processor(s) 801 for execution.
  • the CRM 804 may be non-volatile media, such as an optical or a magnetic disk; volatile media, such as memory; and transmission media, such as coaxial cables, copper wire, and fiber optics. Transmission media can also take the form of acoustic, light, or radio frequency waves.
  • the CRM 804 may also store other instructions or instruction sets, including word processors, browsers, email, instant messaging, media players, and telephony code.
  • the CRM 804 may also store an operating system 805, such as MAC OS, MS WINDOWS, UNIX, or LINUX; applications 806, network applications, word processors, spreadsheet applications, browsers, email, instant messaging, media players such as games or mobile applications (e.g., "apps"); and a data structure managing application 807.
  • the operating system 805 may be multi-user, multiprocessing, multitasking, multithreading, real-time and the like.
  • the operating system 805 may also perform basic tasks such as recognizing input from the interface 803, including from input devices, such as a keyboard or a keypad; sending output to the display 802 and keeping track of files and directories on CRM 804; controlling peripheral devices, such as disk drives, printers, image capture devices; and managing traffic on the bus 808.
  • the applications 806 may include various components for establishing and maintaining network connections, such as code or instructions for implementing communication protocols including TCP/IP, HTTP, Ethernet, USB, and FireWire.
  • a data structure managing application such as data structure managing application 807 provides various code components for building/updating a computer readable system (CRS) architecture, for a non-volatile memory, as described above.
  • CRS computer readable system
  • some or all of the processes performed by the data structure managing application 807 may be integrated into the operating system 805.
  • the processes may be at least partially implemented in digital electronic circuitry, in computer hardware, firmware, code, instruction sets, or any combination thereof.
  • CCMs computer readable mediums

Abstract

There is a coding. The coding may include preparing video compression data based on source pictures. The preparing may include partitioning the source pictures into coding units and/or generating a transform unit having a transform array. The preparing may also include processing the generated transform unit. The processing may include generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements based on a value associated with at least one coded neighbor significance map element of the plurality of significance map elements in the significance map array. There is also a decoding including processing video compression data which is generated in the coding.

Description

CODING AND DECODING UTILIZING
CONTEXT MODEL SELECTION WITH ADAPTIVE SCAN PATTERN
PRIORITY
[001] The present application claims the benefit of priority to U.S.
Provisional Patent Application Serial No. 61/393,198, filed on October 14, 2010, entitled "Context Selection for Adaptive Scanning Pattern", by Jian Lou, et al., the disclosures of which are hereby incorporated by reference in their entirety.
[002] The present application also claims the benefit of priority to U.S.
Provisional Patent Application Serial No. 61/389, 932, filed on October 5, 2010, entitled "Adaptive Context Selection for Zigzag Scan", by Jian Lou, et al., the disclosure of which is hereby incorporated by reference in its entirety.
CROSS REFERENCE TO RELATED APPLICATIONS
[003] The present application is related to U.S. Utility Patent Application
Serial No. 13/253,385, filed on October 5, 201 1 , entitled "Coding and Decoding Utilizing Adaptive Context Model Selection with Zigzag Scan", by Jian Lou, et al., which claims priority to U.S. Provisional Patent Application Serial No. 61/389, 932, filed on October 5, 2010, entitled "Adaptive Context Selection for Zigzag Scan", by Jian Lou, et al., the disclosure of which is hereby incorporated by reference in its entirety.
BACKGROUND
[004] Video compression utilizes block processing for many operations. In block processing, a block of neighboring pixels is grouped into a coding unit and compression operations treat this group of pixels as one unit to take advantage of correlations among neighboring pixels within the coding unit. Block-based processing often includes prediction coding and transform coding. Transform coding with quantization is a type of data compression which is commonly "lossy" as the quantization of a transform block taken from a source picture often discards data associated with the transform block in the source picture, thereby lowering its bandwidth requirement but often also resulting in quality loss in reproducing of the original transform block from the source picture.
[005] MPEG-4 AVC, also known as H.264, is an established video compression standard utilizing transform coding in block processing. In H.264, a picture is divided into macroblocks (MBs) of 16x16 pixels. Each MB is often further divided into smaller blocks. Blocks equal in size to or smaller than a MB are predicted using intra-/inter-picture prediction, and a spatial transform along with quantization is applied to the prediction residuals. The quantized transform coefficients of the residuals are commonly encoded using entropy coding methods (i.e., variable length coding or arithmetic coding). Context Adaptive Binary Arithmetic Coding (CABAC) was introduced in H.264 to provide a substantially lossless compression efficiency by combining an adaptive binary arithmetic coding technique with a set of context models. Context model selection plays a role in CABAC in providing a degree of adaptation and redundancy reduction. H.264 specifies two kinds of scan patterns over 2D blocks. A zigzag scan is utilized for pictures coded with progressive video compression techniques and an alternative scan is for pictures coded with interlaced video compression techniques.
[006] H.264 uses 2D block-based transform of block sizes 2x2, 4x4 and
8x8. A block-based transform converts a block of pixels in spatial domain into a block of coefficients in transform domain. Quantization then maps transform coefficients into a finite set. After quantization, many high frequency coefficients become zero. For a block having at least one non-zero coefficient after 2D transform and quantization operation, a significance map is developed, which specifies the position(s) of the non-zero quantized coefficient(s) within the 2D transform domain. Specifically, given a quantized 2D transformed block, if the value of a quantized coefficient at a position (y, x) is non zero, it is considered as significant and a "1 " is assigned for the position (y, x) in the associated significance map. Otherwise, a "0" is assigned to the position (y, x) in the significance map. In H.264, CABAC is used for coding and decoding each element of the significance map.
[007] HEVC (High Efficiency Video Coding), an international video coding standard developed to succeed H.264, extends transform block sizes to 16x16 and 32x32 pixels to benefit high definition (HD) video coding. In the models under consideration for HEVC, a set of transform coefficient coding and decoding tools can be enabled for entropy coding and decoding. Among these tools is an adaptive split zigzag scan scheme, which is applied for significance map coding and decoding. This scheme adaptively switches between two scan patterns for coding and decoding a significance map if the significance map array size is larger than 8x8.
[008] The adaptive split zigzag scan scheme directs the scan order for coding and decoding a significance map by switching between two predefined scan patterns per diagonal line, either from bottom-left to top-right or from top-right to bottom-left diagonally. The switching occurs at the end of each diagonal sub-scan, and is controlled by two counters. The first counter, Ci , tracks the number of coded significant transform coefficients located in the bottom-left half of a transform block. The second counter, C2, tracks the number of coded significant transform coefficients which are located in the top-right half of a transform block. The implementation of the models considered for HEVC with using two scan patterns and two counters introduces substantial computational complexity and additional memory requirements. These complexities include tracking the counts of coded significant transform coefficients located in the bottom-left half and in the top-right half of a transform, performing branch operations and making scan selections for coefficients in significance map coding and decoding. On the other hand, the adaptive split zigzag scan scheme achieves only a negligible performance gain. Or, it provides no substantial gain in reducing bandwidth requirements for compression data associated with transform processing.
SUMMARY
[009] According to principles of the invention, there are systems, methods, and computer readable mediums (CRMs) which provide for coding and decoding utilizing context model selection with adaptive scan pattern(s). By utilizing context model selection with adaptive scan pattern(s), inefficiencies in transform processing are reduced. These include inefficiencies based on overhead otherwise associated with computational complexities including tracking counts of coded significant transform coefficients located in the bottom-left half and in the top-right half of a transform, performing branch operations and making scan selections for coefficients in significance map coding.
[0010] According to a first principle of the invention, there is a system for coding. The system may include a processor configured to prepare video compression data based on source pictures. The preparing may include partitioning the source pictures into coding units. The preparing may also include generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units. The preparing may also include processing the generated transform unit. The processing may include generating a significance map. The significance map may have a significance map array with y-x locations corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array. [0011] According to a second principle of the invention, there is a method for coding. The method may include preparing video compression data based on source pictures. The preparing may include partitioning the source pictures into coding units. The preparing may also include generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units. The preparing may also include processing the generated transform unit. The processing may include generating a significance map. The significance map may have a significance map array with y-x locations corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
[0012] According to a third principle of the invention, there is a non- transitory CRM storing computer readable instructions which, when executed by a computer system, performs a method for coding. The method may include preparing video compression data based on source pictures. The preparing may include partitioning the source pictures into coding units. The preparing may also include generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units. The preparing may also include processing the generated transform unit. The processing may include generating a significance map. The significance map may have a significance map array with y-x locations corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
[0013] According to a fourth principle of the invention, there is a system for decoding. The system may include an interface configured to receive video compression data. The system may also include a processor configured to process the received video compression data. The received video compression data may be based on processed transform units, which may be based on source pictures. The processed transform units may be prepared by partitioning the source pictures into coding units and/or generating one or more transform unit(s). The generated transform units may have a transform array including transform coefficients assigned as entries to y-x locations of the transform array. The transform coefficients may be based on residual measures associated with the coding units. The processed transform units may also be prepared by processing the generated transform unit. The processing may include generating a significance map. The significance map may have a significance map array with y- x locations which may be corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
[0014] According to a fifth principle of the invention, there is a method for decoding. The method may include receiving video compression data. The method may also include processing the received video compression data. The received video compression data may be based on processed transform units, which may be based on source pictures. The processed transform units may be prepared by partitioning the source pictures into coding units and/or generating one or more transform unit(s). The generated transform units may have a transform array including transform coefficients assigned as entries to y-x locations of the transform array. The transform coefficients may be based on residual measures associated with the coding units. The processed transform units may also be prepared by processing the generated transform unit. The processing may include generating a significance map. The significance map may have a significance map array with y-x locations which may be corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
[0015] According to a sixth principle of the invention, there is a CRM storing computer readable instructions which, when executed by a computer system, performs a method for decoding. The method may include receiving video compression data. The method may also include processing the received video compression data. The received video compression data may be based on processed transform units, which may be based on source pictures. The processed transform units may be prepared by partitioning the source pictures into coding units and/or generating one or more transform unit(s). The generated transform units may have a transform array including transform coefficients assigned as entries to y-x locations of the transform array. The transform coefficients may be based on residual measures associated with the coding units. The processed transform units may also be prepared by processing the generated transform unit. The processing may include generating a significance map. The significance map may have a significance map array with y-x locations which may be corresponding to the y-x locations of the transform array. The processing may also include determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements. The determining may be based on one or more value(s) associated with one or more coded neighbor significance map element(s) of the significance map element of the plurality of significance map elements in the significance map array.
[0016] These and other objects are accomplished in accordance with the principles of the invention in providing systems, methods and CRMs which code and decode utilizing context model selection with adaptive scan pattern(s). Further features, their nature and various advantages will be more apparent from the accompanying drawings and the following detailed description of the preferred embodiments.
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Features of the examples and disclosure are apparent to those skilled in the art from the following description with reference to the figures, in which:
[0018] FIG 1 is a block diagram illustrating a coding system and a decoding system utilizing context model selection with adaptive scan pattern, according to an example;
[0019] FIG 2A is a scan pattern illustrating a zigzag scan for significance map coding in transform processing, according to an example;
[0020] FIG 2B is a scan pattern illustrating a diagonal down-left scan for significance map coding in transform processing, according to an example;
[0021] FIG 2C is a scan pattern illustrating a diagonal top-right scan for significance map coding in transform processing, according to an example;
[0022] Fl G 2D is a scan pattern illustrating a vertical scan for significance map coding in transform processing, according to an example;
[0023] FIG 2E is a scan pattern illustrating a horizontal scan for significance map coding in transform processing, according to an example;
[0024] FIG 3 is a model illustrating context model selection with adaptive scan pattern in significance map coding, according to an example;
[0025] FIG 4A is a model illustrating fixed model selection in significance map coding and decoding of a 2x2 array, according to an example;
[0026] FIG 4B is a model illustrating fixed model selection in significance map coding and decoding of a 4x4 array, according to an example;
[0027] FIG 4C is a model illustrating fixed model selection in significance map coding and decoding of an 8x8 array, according to an example;
[0028] FIG 5 is a flow diagram illustrating a method for preparing a coded significance map utilizing context model selection with adaptive scan pattern, according to an example;
[0029] FIG 6 is a flow diagram illustrating a method for coding utilizing context model selection with adaptive scan pattern, according to an example;
[0030] FIG 7 is a flow diagram illustrating a method for decoding utilizing context model selection with adaptive scan pattern, according to an example; and
[0031] FIG 8 is a block diagram illustrating a computer system to provide a platform for a system for coding and/or a system for decoding utilizing context model selection with adaptive scan pattern, according to examples.
DETAILED DESCRIPTION
[0032] For simplicity and illustrative purposes, the present invention is described by referring mainly to embodiments, principles and examples thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the examples. It is readily apparent however, that the embodiments may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the description. Furthermore, different embodiments are described below. The embodiments may be used or performed together in different combinations.
[0033] As used herein, the term "includes" means "includes at least" but is not limited to the term "including only". The term "based on" means "based at least in part on". The term "picture" means a picture which is either equivalent to a frame or equivalent to a field associated with a frame, such as a field which is one of two sets of interlaced lines of an interlaced video frame. The term "bitstream" refers to a digital data stream. The term "coding" may refer to encoding of an uncompressed video sequence. The term "coding" may also refer to the transcoding of a compressed video bitstream from one compressed format to another. The term "decoding" may refer to the decoding of a compressed video bitstream.
[0034] As demonstrated in the following examples and embodiments, there are systems, methods, and machine readable instructions stored on computer- readable media (e.g., CRMs) for coding and decoding utilizing context model selection with adaptive scan pattern. Referring to FIG 1 , there is disclosed a content distribution system 100 including a coding system 1 10 and a decoding system 140 utilizing context model selection with adaptive scan pattern.
[0035] In the coding system 1 10, the context model selection with adaptive scan pattern is associated with preparing video compression data based on source pictures by partitioning the source pictures into coding units, and processing transform units based on the coding units.
[0036] In the decoding system 140, the context model selection with adaptive scan pattern is associated with decoding received video compression information which is prepared utilizing context model selection with adaptive scan pattern based on preparing video compression data based on source pictures by partitioning the source pictures into coding units, and processing transform units based on the coding units.
[0037] Coding for transform units may include three aspects: (1 ) significance map coding, (2) non-zero coefficient level coding, and (3) non-zero coefficient sign coding. Transform units may be processed in generating video compression data, according to an example, by generating a transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units. The processing of the generated transform unit may include generating a significance map having a significance map array with y-x locations corresponding to the y-x locations of the transform array.
[0038] Generating the significance map may include checking of transform coefficients within the generated transform unit and coding the significance map elements in a significance map array which corresponds with an array of the transform unit. An adaptive scan pattern may be utilized in coding the significance map elements. The adaptive scan pattern is a scan pattern which is determined to be used for scanning the generated significance map to determine the context model which will be used to code a significance map element. The determination of which scan pattern is utilized as the adaptive scan may be based on one or more criteria, such as an efficiency goal, an array size, a benchmark, etc. The adaptive scan pattern is used to scan the significance map, which has significance map elements in the significance map array. As a significance map element is scanned to be coded using the adaptive scan pattern, the significance map elements which are neighboring the significance map to be coded may influence which context model is selected for coding the significance map element to be coded. One or more values, such as a sign value or an amount parameter, which may be associated with a neighboring significance map element may be utilized as a criteria for selecting the context model for coding the significance map element. Furthermore, a determination of which neighbor significance map elements may be utilized in contributing the values associated with them for determining a context model selection is a function of the neighbor selection criteria which may be utilized for a significance map or a scan pattern. The neighbor selection criteria may vary, such as whether the neighbor significance map element is above and/or to the left of the significance map element in the significance map array, etc. Furthermore, the scan pattern utilized as the adaptive scan may also affect which neighbor significance map elements contribute values to determine the context model selection depending upon which neighbor selection criteria is utilized. The coding of a significance map may include coding, utilizing the adaptive scanning pattern a plurality of significance map elements in the significance map array. The coding system 1 10 and a decoding system 140 are described in greater detail below after the following detailed description of context model selection with adaptive scan pattern.
[0039] Context model selection with adaptive scan pattern plays an important role in significance map coding and decoding. Video compression data at higher efficiency may be achieved by various mechanisms of context model selection. In one mechanism, context model selection with adaptive scan pattern takes into consideration the possibility that different quantization step-sizes may be applied to different transform units of the same size. For example, the statistics of the transform coefficients quantized with different quantization step-sizes may be different. Context model selection with adaptive scan pattern overcomes this through relying on the relationship among significance map elements in a significance map. Given a transform unit associated with a coding unit, a significance map based on the transform unit is coded following a scanning pattern.
[0040] A context model for coding a significance map element may be determined based on a value associated with at least one neighbor significance map element of the coded significance map element(s) in the significance map array and/or an analysis based on the significance map element being in a high frequency or a low frequency position in the significance map array.
[0041] For example, a context model for coding a significance map element in either a high or low frequency position in the significance map array may be determined based upon the values (0 or 1 ) of the significance map element's coded neighbors (i.e., significance map elements in a significance map) within the same significance map array and the scanning pattern utilized, such as zigzag, horizontal, etc.
[0042] In another example, a context model for coding a significance map element may be determined based on whether the significance map element is in a high or a low frequency position in the significance map array. In this case a benchmark for differentiating between a high and low frequency position is used, such as applying pre-defined y-x position of the significance map element in the significance map. A significance map element in a low frequency position in a significance map array may share the same context model with other significance map elements in other significance map arrays sharing the same frequency position of the significance map arrays. This may be associated with the potential high correlation among significance map elements at the same frequency position. Low frequencies may be generally defined as the low frequency components of the spatial signals. A low frequency position in a significance map array may be defined by the significance map element's y-x position. For example, the (0, 0) frequency position is usually regarded as a low frequency position.
[0043] The scanning pattern for significance map coding and decoding may be pre-determined for a current transform unit, a current coding unit, a current slice, a current picture and a current sequence. The scanning pattern may also vary depending on the current transform unit, the current coding unit, the current slice, the current picture and the current sequence. In the circumstance in which the scanning pattern varies, the scanning pattern for the significance map array may be determined for the current transform unit, the current coding unit, the current slice, the current picture and/or the current sequence using an analysis for identifying the scanning pattern which is more likely to be efficient, or otherwise desirable, for significance map coding and decoding, such as by a categorization of the pictures, a picture analysis or some other criteria. The scanning pattern may be one of a plurality of scanning patterns available for a current transform unit, a current coding unit,, a current slice, a current picture or a current sequence. The scan pattern used in context model selection with adaptive scan pattern is not limited and may be, for example, a zigzag scan, such as zigzag scan 200 shown in FIG 2A, a diagonal down-left scan, such as diagonal down-left scan 210 shown in FIG 2B, a diagonal top-right scan, such as diagonal top-right scan 220 shown in FIG 2C, a vertical scan, such as vertical scan 230 shown in FIG 2D, a horizontal scan, such as horizontal scan 240 shown in FIG 2E. Given a significance map associated with a transform unit, a significance map element of a significance map array based on the significance map may be coded following a scanning pattern.
[0044] FIG 2A is an example of a zigzag scan 200 used for the significance map coding and decoding for transform units (i.e., a transform unit having a transform array for adaptive context model selection). As an example, Fig. 2A shows the zigzag scan 200 for 16x16 blocks. The zigzag scan is utilized with the context model selection to determine the sequence by which transform elements, such as transform coefficients, are processed. According to an example, the determination of the context model may be done utilizing the pattern of the zigzag scan 200. The context model may be selected based on one or more value(s) associated with at least one coded neighbor significance map element of the significance map elements in the significance map array. By comparison, in the models under consideration for HEVC, an adaptive split zigzag scan is used and is discussed in greater detail below.
[0045] In an example according to the principles of the invention, in context selection in which the adaptive scan is a zigzag scan, the zigzag scan 200 may be utilized. In other examples, another scan may be used as the such as diagonal down-left scan 210, diagonal top-right scan 220, etc. may be used for the significance map coding and decoding for all array sizes. As noted above, the scan pattern utilized for the adaptive scan pattern may be predetermined or selected based on a criteria. A context model for an element in a significance map is determined based upon the values (0 or 1 ) of the element's coded neighbors. As one example of adaptive context model determination, given a significance map, the context model for an element in the significance map may be determined as shown in FIG 3, demonstrating a context model in adaptive scan criteria 300 for determining a context model for coding and decoding which includes processing a transform unit. The processing may include generating a significance map having an array which corresponds with an array of the transform unit, such as a significance map array of greater than 8x8 entries. The significance map array may include significance map elements assigned as entries to y-x locations of the significance map array, based on residual measures associated with coding units based on a source picture. For a significance map elements at position (0, 0), (0, 1 ) or (1 , 0), in an array as shown in Fig. 3, a unique context model may be assigned.
[0046] If the scan pattern is the zigzag scan 200, for a significance map element at position (0, x>1 ), in an array as shown in FIG 3, the context model may be selected based on the values (0 or 1 ) of the element's neighbors at positions (0, x-1 ), (0, x-2), (1 , x-2), and (1 , x-1 ) if x is an even number. Other criteria may instead be utilized with zigzag scan 200 or another scan pattern.
[0047] If the scan pattern is the zigzag scan 200, for a significance map element at position (y>1 , 0), in an array as shown in FIG 3, the context model may be selected based on the values (0 or 1 ) of the element's neighbors at positions (y- 1 , 0), (y-2, 0), (y-2, 1 ) and (y-1 , 1 ) if y is an odd number. Other criteria may instead be utilized with zigzag scan 200 or another scan pattern.
[0048] If the scan pattern is the zigzag scan 200, for a significance map element at position (y>0, x>0), in an array as shown in FIG 3, the context model may be selected based on the value (0 or 1 ) of the element's neighbors at positions (y-1 , x-1 ), (y-1 , x), (y, x-1 ), and (y-1 , x-2) and (y, x-2) if x is larger than 1 , (y+1 , x-2) if x is larger than 1 and y is smaller than the height-1 , (y-2, x-1 ) and (y-2, x) if y is larger than 1 , (y-2, x+1 ) if y is larger than 1 and x is smaller than the width-1 , (y-1 , x+1 ) if the sum of x and y is an odd number and x is smaller than the width-1 , (y+1 , x-1 ) if the sum of x and y is an even number and y is smaller than the height-1 . Other criteria may instead be utilized with zigzag scan 200 or another scan pattern.
[0049] For significance maps based on transform units having a transform array of less than or equal to 8x8 entries, a fixed criteria model may be applied based on a location in the array of the significance map. FIGs 4A through 4C show context models for 2x2, 4x4 and 8x8 significance map arrays. They are position dependent and designed based upon the assumption that for arrays of the same size, the value (0 or 1 ) at a specific position in the significance map may follow a similar statistical model. The context selection scheme depicted in FIG 4A, FIG 4B and FIG 4C utilizes the array position as the context selection criteria. However, for larger array sizes, the increased array positions may substantially increase the number of possible context selections which indicates more memory is needed. Applying the context model selection by adaptive scan pattern may be utilized to keep the number of context selections for arrays larger than 8x8 within a practical limit.
[0050] As a comparative example, in TMuCO.7, one model for HEVC under consideration enables a set of transform coefficient coding and decoding tools. It is switched on by default when the entropy coding option is CABAC/PIPE. Among these tools, an adaptive split zigzag scan pattern is applied for significance map coding and decoding. The experimental results indicate that this adaptive split zigzag scan pattern scheme achieves only negligible performance gain. But, it also introduces additional memory and computational complexity as compared with the zigzag scan 200 shown in FIG 2A.
[0051] In TMuC0.7, by default, the entropy coding is set to use the option of CABAC/PIPE which incorporates a set of transform coefficient coding and decoding tools. The scan order for coding and decoding the significance map is allowed to switch between two predefined scan patterns per diagonal line, that is, either from bottom-left to top-right or from top-right to bottom-left diagonally. The switching occurs at the end of each diagonal sub-scan, and it is controlled by two counters, Ci , the number of coded significant transform coefficients that are located in the bottom-left half of the transform block, and c2, the number of coded significant transform coefficients that are located in the top-right half of the transform block. [0052] In the previous implementation of significance map coding and decoding in TMuCO.7, the adaptive split zigzag scan requires additional memories for the two scan patterns as comparing to one zigzag scan pattern and the two counters Ci and C2. It also introduces additional computational complexity due to counting the number coded of significant transform coefficients located in the bottom-left half or in the top-right half, branch operations and scan selection for each coefficient before the last significant coefficient. The context model for an element in significant map is selected based on the coded neighboring elements in the significant map. Since a diagonal scan may go either way, it is necessary to check if the top-right element or bottom-left element is available for a given current element in significant map coding and decoding. This causes additional branch operations. The experimental results indicate that this adaptive split zigzag scan scheme achieves only negligible performance gain, but at the expense of additional memory requirements and increased computational complexity.
[0053] In an example according to the principles of the invention, the zigzag scan 200, which is a full zigzag scan, may be used for significance map coding and decoding when CABAC/PIPE is selected. TMuC0.7 may be modified to replace the adaptive split zigzag of the previous implementation of significance map coding and decoding in TMuC0.7 with the zigzag scan 200 for larger transform units, (i.e., transform units having an array larger than 8x8). As an example, FIG 2A shows the zigzag scan 200 for a 16x16 array. Since the scan pattern is fixed, the neighborhood for the context selection is also fixed. Additional memory requirements and computation complexity associated with the adaptive split zigzag scan of the previous implementation of significance map coding and decoding in TMuC0.7 no longer exists and an adaptive context selection may be utilized, such as context model in adaptive scan criteria 300 shown in FIG 3, and described above.
[0054] The utilization of the context model selection with adaptive scan pattern improves coding efficiency as inefficiencies in transform processing are reduced. These include inefficiencies based on overhead otherwise associated with computational complexities including tracking the count of coded significant transform coefficients located in the bottom-left half or in the top-right half of a transform, performing branch operations and making scan selections for coefficients in significance map coding and decoding.
[0055] Referring again to FIG 1 , the coding system 1 10 includes an input interface 130, a controller 1 1 1 , a counter 1 12, a frame memory 1 13, an encoding unit 1 14, a transmitter buffer 1 15 and an output interface 135. The decoding system 140 includes a receiver buffer 150, a decoding unit 151 , a frame memory 152 and a controller 153. The coding system 1 10 and the decoding system 140 are coupled to each other via a transmission path including a compressed bitstream 105. The controller 1 1 1 of the coding system 1 10 controls the amount of data to be transmitted on the basis of the capacity of the receiver buffer 150 and may include other parameters such as the amount of data per a unit of time. The controller 1 1 1 controls the encoding unit 1 14, to prevent the occurrence of a failure of a received signal decoding operation of the decoding system 140. The controller 1 1 1 may be a processor or include, for example, a microcomputer having a processor, a random access memory and a read only memory.
[0056] Source pictures 120 supplied from, for example, a content provider may include a video sequence of frames including source pictures in the video sequence. The source pictures 120 may be uncompressed or compressed. If the source pictures 120 is uncompressed, the coding system 1 10 may be associated with an encoding function. If the source pictures 120 is compressed, the coding system 1 10 may be associated with a transcoding function. Coding units may be derived from the source pictures utilizing the controller 1 1 1 . The frame memory 1 13 may have a first area which may be used for storing the incoming source pictures from the source pictures 120 and a second area may be used for reading out the source pictures and outputting them to the encoding unit 1 14. The controller 1 1 1 may output an area switching control signal 123 to the frame memory 1 13. The area switching control signal 123 may indicate whether the first area or the second area is to be utilized.
[0057] The controller 1 1 1 outputs an encoding control signal 124 to the encoding unit 1 14. The encoding control signal 124 causes the encoding unit 1 14 to start an encoding operation such as preparing the coding units based on a source picture. In response to the encoding control signal 124 from the controller 1 1 1 , the encoding unit 1 14 starts to read out the prepared coding units to a high- efficiency encoding process, such as a prediction coding process or a transform coding process which processes the prepared coding units generating video compression data based on the source pictures associated with the coding units.
[0058] The encoding unit 1 14 may package the generated video compression data in a packetized elementary stream (PES) including video packets. The encoding unit 1 14 may map the video packets into an encoded video signal 122 using control information and a program time stamp (PTS) and the encoded video signal 122 may be signaled to the transmitter buffer 1 15.
[0059] The encoded video signal 122 including the generated video compression data may be stored in the transmitter buffer 1 14. The information amount counter 1 12 is incremented to indicate the total amount of data in the transmitted buffer 1 15. As data is retrieved and removed from the buffer, the counter 1 12 may be decremented to reflect the amount of data in the transmitter buffer 1 14. The occupied area information signal 126 may be transmitted to the counter 1 12 to indicate whether data from the encoding unit 1 14 has been added or removed from the transmitted buffer 1 15 so the counter 1 12 may be incremented or decremented. The controller 1 1 1 may control the production of video packets produced by the encoding unit 1 14 on the basis of the occupied area information 126 which may be communicated in order to prevent an overflow or underflow from taking place in the transmitter buffer 1 15.
[0060] The information amount counter 1 12 may be reset in response to a preset signal 128 generated and output by the controller 1 1 1 . After the information counter 1 12 is reset, it may count data output by the encoding unit 1 14 and obtain the amount of video compression data and/or video packets which has been generated. Then, the information amount counter 1 12 may supply the controller 1 1 1 with an information amount signal 129 representative of the obtained amount of information. The controller 1 1 1 may control the encoding unit 1 14 so that there is no overflow at the transmitter buffer 1 15.
[0061] The decoding system 140 includes an input interface 170, a receiver buffer 150, a controller 153, a frame memory 152, a decoding unit 151 and an output interface 175. The receiver buffer 150 of the decoding system 140 may temporarily store the compressed bitstream 105 including the received video compression data and video packets based on the source pictures from the source pictures 120. The decoding system 140 may read the control information and presentation time stamp information associated with video packets in the received data and output a frame number signal 163 which is applied to the controller 153. The controller 153 may supervise the counted number of frames at a predetermined interval, for instance, each time the decoding unit 151 completes a decoding operation.
[0062] When the frame number signal 163 indicates the receiver buffer 150 is at a predetermined capacity, the controller 153 may output a decoding start signal 164 to the decoding unit 151 . When the frame number signal 163 indicates the receiver buffer 150 is at less than a predetermined capacity, the controller 153 may wait for the occurrence of a situation in which the counted number of frames becomes equal to the predetermined amount. When the frame number signal 163 indicates the receiver buffer 150 is at the predetermined capacity, the controller 153 may output the decoding start signal 164. The encoded video packets and video compression data may be decoded in a monotonic order (i.e., increasing or decreasing) based on presentation time stamps associated with the encoded video packets.
[0063] In response to the decoding start signal 164, the decoding unit 151 may decode data amounting to one picture associated with a frame and compressed video data associated with the picture associated with video packets from the receiver buffer 150. The decoding unit 151 may write a decoded video signal 162 into the frame memory 152. The frame memory 152 may have a first area into which the decoded video signal is written, and a second area used for reading out decoded pictures 160 to the output interface 175.
[0064] According to different examples, the coding system 1 10 may be incorporated or otherwise associated with a transcoder or an encoding apparatus at a headend and the decoding system 140 may be incorporated or otherwise associated with a downstream device, such as a mobile device, a set top box or a transcoder. These may be utilized separately or together in methods of coding and/or decoding utilizing context model selection with adaptive scan pattern. Various manners in which the coding system 1 10 and the decoding system 140 may be implemented are described in greater detail below with respect to FIGs 5, 6 and 7, which depict flow diagrams of methods 500, 600 and 700.
[0065] Method 500 is a method for preparing a coded significance map utilizing context model selection with adaptive scan pattern. Method 600 is a method for coding utilizing coding units and coded significance maps prepared utilizing transform units processed using context model selection with adaptive scan pattern. Method 700 is a method for decoding utilizing compression data generated utilizing coding units and coded significance maps prepared utilizing transform units processed using context model selection with adaptive scan pattern. It is apparent to those of ordinary skill in the art that the methods 500, 600 and 700 represent generalized illustrations and that other steps may be added and existing steps may be removed, modified or rearranged without departing from the scope of the methods 500, 600 and 700. The descriptions of the methods 500, 600 and 700 are made with particular reference to the coding system 1 10 and the decoding system 140 depicted in FIG 1 . It should, however, be understood that the methods 500, 600 and 700 may be implemented in systems and/or devices which differ from the coding system 1 10 and the decoding system 140 without departing from the scope of the methods 500, 600 and 700.
[0066] With reference to the method 500 in FIG 5, at step 501 , the controller 1 1 1 associated with the coding system 1 10 partitioning the source pictures into coding units, such by a quad tree format.
[0067] At step 502, the controller 1 1 1 , generates transform units, including at least one transform unit having a transform array, including transform elements assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units. The transform units may be generated following a prediction process also used in generating the video compression data.
[0068] At step 503, the controller 1 1 1 processes the generated transform units by generating a significance map having a significance map array with y-x locations corresponding to the y-x locations in the transform array. Step 503 may be subdivided into steps 503A-503B as shown below.
[0069] At step 503A, the controller 1 1 1 and the encoding unit 1 14 scan, utilizing a scanning pattern, a plurality of significance map elements in the significance map array. The scanning pattern is not limited and may be, for example, a zigzag scan, such as zigzag scan 200 shown in FIG 2A, a diagonal down-left scan, such as diagonal down-left scan 210 shown in FIG 2B, a diagonal top-right scan, such as diagonal top-right scan 220 shown in FIG 2C, a vertical scan, such as vertical scan 230 shown in FIG 2D, a horizontal scan, such as horizontal scan 240 shown in FIG 2E.
[0070] At step 503B, the controller 1 1 1 determines a context model for coding a significance map element of the plurality of significance map elements based on a value associated with at least one neighbor significance map element of the significance map element in the significance map. The context model may be determined based on a value associated with at least one neighbor significance map element of the significance map elements in the significance map array. Also, if the significance map element is in a low frequency position in the significance map array, the context model may be determined based on a low frequency position benchmark and the low frequency position in the significance map array. These criteria for determining the context model may be used separately or in addition to each other.
[0071] At step 503C, the controller 1 1 1 and the encoding unit 1 14 codes the significance map element utilizing the determined context model to form a coded significance map element of the significance map. This coding process may be an entropy coding process to reduce the y-x array of the significance map to a simpler matrix.
[0072] With reference to the method 600 in FIG. 6, at step 601 , the interface 130 and the frame memory 1 13 of the coding system 1 10 receives the source pictures 120 including source pictures.
[0073] At step 602, the controller 1 1 1 prepares coding units and transform units including transform units based on the source pictures. The preparing may be performed as described above with respect to method 500.
[0074] At step 603, the controller 1 1 1 and the encoding unit 1 14 process the prepared transform units generating video compression data based on the coding units.
[0075] At step 604, the controller 1 1 1 and the encoding unit 1 14 package the generated video compression data.
[0076] At step 605, the controller 1 1 1 and the transmitter buffer 1 15 transmit the packaged video compression data in compressed bitstream 105 via the interface 135.
[0077] With reference to the method 700 in FIG. 7, at step 701 , the decoding system 140 receives the compressed bitstream 105 including the video compression data via the interface 170 and the receiver buffer 150.
[0078] At step 702, the decoding system 140 receives residual pictures associated with the video compression data via the interface 170 and the receiver buffer 150.
[0079] At step 703, the decoding unit 151 and the controller 153 process the received video compression data.
[0080] At step 704, the decoding unit 151 and the controller 153 generate reconstructed pictures based on the processed video compression data and the received residual pictures.
[0081] At step 705, the decoding unit 151 and the controller 153 package the generated reconstructed pictures and signal them to the frame memory 152.
[0082] At step 706, the controller 153 signals the generated reconstructed pictures in the decoded signal 180 via the interface 175.
[0083] Some or all of the methods and operations described above may be provided as machine readable instructions, such as a utility, a computer program, etc., stored on a computer readable storage medium, which may be non-transitory such as hardware storage devices or other types of storage devices. For example, they may exist as program(s) comprised of program instructions in source code, object code, executable code or other formats.
[0084] An example of a computer readable storage media includes a conventional computer system RAM, ROM, EPROM, EEPROM, and magnetic or optical disks or tapes. Concrete examples of the foregoing include distribution of the programs on a CD ROM. It is therefore to be understood that any electronic device capable of executing the above-described functions may perform those functions enumerated above.
[0085] Referring to FIG. 8, there is shown a platform 800, which may be employed as a computing device in a system for coding or decoding utilizing context model selection with adaptive scan, such as coding system 100 and/or decoding system 200. The platform 800 may also be used for an upstream encoding apparatus, a transcoder, or a downstream device such as a set top box, a handset, a mobile phone or other mobile device, a transcoder and other devices and apparatuses which may utilize context model selection with adaptive scan pattern and associated coding units and transform units processed using context model selection with adaptive scan pattern. It is understood that the illustration of the platform 800 is a generalized illustration and that the platform 800 may include additional components and that some of the components described may be removed and/or modified without departing from a scope of the platform 800.
[0086] The platform 800 includes processor(s) 801 , such as a central processing unit; a display 802, such as a monitor; an interface 803, such as a simple input interface and/or a network interface to a Local Area Network (LAN), a wireless 802.1 1x LAN, a 3G or 4G mobile WAN or a WiMax WAN; and a computer- readable medium 804. Each of these components may be operatively coupled to a bus 808. For example, the bus 808 may be an EISA, a PCI, a USB, a FireWire, a NuBus, or a PDS.
[0087] A computer readable medium (CRM), such as CRM 804 may be any suitable medium which participates in providing instructions to the processor(s) 801 for execution. For example, the CRM 804 may be non-volatile media, such as an optical or a magnetic disk; volatile media, such as memory; and transmission media, such as coaxial cables, copper wire, and fiber optics. Transmission media can also take the form of acoustic, light, or radio frequency waves. The CRM 804 may also store other instructions or instruction sets, including word processors, browsers, email, instant messaging, media players, and telephony code.
[0088] The CRM 804 may also store an operating system 805, such as MAC OS, MS WINDOWS, UNIX, or LINUX; applications 806, network applications, word processors, spreadsheet applications, browsers, email, instant messaging, media players such as games or mobile applications (e.g., "apps"); and a data structure managing application 807. The operating system 805 may be multi-user, multiprocessing, multitasking, multithreading, real-time and the like. The operating system 805 may also perform basic tasks such as recognizing input from the interface 803, including from input devices, such as a keyboard or a keypad; sending output to the display 802 and keeping track of files and directories on CRM 804; controlling peripheral devices, such as disk drives, printers, image capture devices; and managing traffic on the bus 808. The applications 806 may include various components for establishing and maintaining network connections, such as code or instructions for implementing communication protocols including TCP/IP, HTTP, Ethernet, USB, and FireWire.
[0089] A data structure managing application, such as data structure managing application 807 provides various code components for building/updating a computer readable system (CRS) architecture, for a non-volatile memory, as described above. In certain examples, some or all of the processes performed by the data structure managing application 807 may be integrated into the operating system 805. In certain examples, the processes may be at least partially implemented in digital electronic circuitry, in computer hardware, firmware, code, instruction sets, or any combination thereof.
[0090] According to principles of the invention, there are systems, methods, and computer readable mediums (CRMs) which provide for coding and decoding utilizing context model selection with adaptive scan pattern. By utilizing context model selection with adaptive scan pattern, inefficiencies in transform processing are reduced. These include inefficiencies based on overhead otherwise associated with computational complexities including tracking the count of coded significant transform coefficients located in the bottom-left half or in the top-right half of a transform, performing branch operations and making scan selections for coefficients in significance map coding and decoding.
[0091] Although described specifically throughout the entirety of the instant disclosure, representative examples have utility over a wide range of applications, and the above discussion is not intended and should not be construed to be limiting. The terms, descriptions and figures used herein are set forth by way of illustration only and are not meant as limitations. Those skilled in the art recognize that many variations are possible within the spirit and scope of the examples. While the examples have been described with reference to examples, those skilled in the art are able to make various modifications to the described examples without departing from the scope of the examples as described in the following claims, and their equivalents.

Claims

What is claimed is:
1 . A system for coding, the system comprising:
a processor configured to prepare video compression data based on source pictures, the preparing including
partitioning the source pictures into coding units,
generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units, and
processing the generated transform unit, the processing including generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array, and
determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements, wherein the determining is based on at least one value associated with at least one coded neighbor significance map element of the significance map element of the plurality of significance map elements in the significance map array.
2. The system of claim 1 , wherein processing the generated transform unit includes coding the significance map element utilizing the scanning pattern, neighbor selection criteria and values with a plurality of significance map elements in the significance map array.
3. The system of claim 1 , wherein
if the significance map element is in a low frequency position in the significance map array based on a low frequency position benchmark, determining the context model based on the low frequency position in the transform array.
4. The system of claim 1 , wherein the scanning pattern is one of a zigzag scan, a diagonal down-left scan, a diagonal top-right scan, a vertical scan and a horizontal scan.
5. The system of claim 1 , wherein the scanning pattern is determined using an analysis for identifying scanning patterns meeting an efficiency goal or a predetermined criteria.
6. The system of claim 1 , wherein the processing of the generated transform unit includes coding the significance map element utilizing the determined context model.
7. The system of claim 1 , wherein residual measures associated with the coding units are generated based on a prediction process performed on prediction units based on the coding units.
8. The system of claim 1 , wherein the significance map is associated with a significance map array size of one of 8x8, 16x16, 32x32, 64x64, 128x128 and 256x256 entries.
9. A method for coding, the method comprising:
preparing video compression data based on source pictures utilizing a processor, the preparing including
partitioning the source pictures into coding units,
generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units, and processing the generated transform unit, the processing including generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array, and
determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements, wherein the determining is based on at least one value associated with at least one coded neighbor significance map element of the significance map element of the plurality of significance map elements in the significance map array.
10. A non-transitory computer readable medium storing computer readable instructions that when executed by a computer system perform a method for coding, the method comprising:
preparing video compression data based on source pictures utilizing a processor, the preparing including
partitioning the source pictures into coding units,
generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units, and
processing the generated transform unit, the processing including generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array, and
determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements, wherein the determining is based on at least one value associated with at least one coded neighbor significance map element of the significance map element of the plurality of significance map elements in the significance map array.
1 1 . A system for decoding, the system comprising:
an interface configured to receive video compression data; and
a processor configured to process the received video compression data, wherein the received video compression data is based on processed transform units, based on source pictures, and the processed transform units are prepared by steps including
partitioning the source pictures into coding units,
generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units, and
processing the generated transform unit, the processing including generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array, and
determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements, wherein the determining is based on at least one value associated with at least one coded neighbor significance map element of the significance map element of the plurality of significance map elements in the significance map array.
12. The system of claim 1 1 , wherein processing the generated transform unit includes coding the significance map element utilizing the scanning pattern, neighbor selection criteria and values with a plurality of significance map elements in the significance map array.
13. The system of claim 1 1 , wherein
if the significance map element is in a low frequency position in the significance map array based on a low frequency position benchmark, determining the context model based on the low frequency position in the transform array.
14. The system of claim 1 1 , wherein the scanning pattern is one of a zigzag scan, a diagonal down-left scan, a diagonal top-right scan, a vertical scan and a horizontal scan.
15. The system of claim 1 1 , wherein the scanning pattern is determined using an analysis for identifying scanning patterns meeting an efficiency goal or a predetermined criteria.
16. The system of claim 1 1 , wherein the processing of the generated transform unit includes coding the significance map element utilizing the determined context model.
17. The system of claim 1 1 , wherein residual measures associated with the coding units are generated based on a prediction process performed on prediction units based on the coding units.
18. The system of claim 1 1 , wherein the significance map is associated with a significance map array size of one of 8x8, 16x16, 32x32, 64x64, 128x128 and 256x256 entries.
19. A method for decoding, the method comprising:
receiving video compression data; and
processing the received video compression data utilizing a processor,
wherein the received video compression data is based on processed transform units, based on source pictures, and the processed transform units are prepared by steps including
partitioning the source pictures into coding units, generating at least one transfornn unit having a transfornn array including transfornn coefficients assigned as entries to y-x locations of the transfornn array, based on residual measures associated with the coding units, and
processing the generated transform unit, the processing including generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array, and
determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements, wherein the determining is based on at least one value associated with at least one coded neighbor significance map element of the significance map element of the plurality of significance map elements in the significance map array.
20. A non-transitory computer readable medium storing computer readable instructions that when executed by a computer system perform a method for decoding, the method comprising:
receiving video compression data; and
processing the received video compression data utilizing a processor,
wherein the received video compression data is based on processed transform units, based on source pictures, and the processed transform units are prepared by steps including
partitioning the source pictures into coding units,
generating at least one transform unit having a transform array including transform coefficients assigned as entries to y-x locations of the transform array, based on residual measures associated with the coding units, and
processing the generated transform unit, the processing including generating a significance map, having a significance map array with y-x locations corresponding to the y-x locations of the transform array, and determining, utilizing a scanning pattern, a context model for coding a significance map element of the plurality of significance map elements, wherein the determining is based on at least one value associated with at least one coded neighbor significance map element of the significance map element of the plurality of significance map elements in the significance map array.
EP11773617.3A 2010-10-14 2011-10-05 Coding and decoding utilizing context model selection with adaptive scan pattern Withdrawn EP2606645A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US39319810P 2010-10-14 2010-10-14
US13/253,933 US20120082235A1 (en) 2010-10-05 2011-10-05 Coding and decoding utilizing context model selection with adaptive scan pattern
PCT/US2011/055000 WO2012051025A1 (en) 2010-10-14 2011-10-05 Coding and decoding utilizing context model selection with adaptive scan pattern

Publications (1)

Publication Number Publication Date
EP2606645A1 true EP2606645A1 (en) 2013-06-26

Family

ID=44860524

Family Applications (1)

Application Number Title Priority Date Filing Date
EP11773617.3A Withdrawn EP2606645A1 (en) 2010-10-14 2011-10-05 Coding and decoding utilizing context model selection with adaptive scan pattern

Country Status (6)

Country Link
EP (1) EP2606645A1 (en)
KR (1) KR20130054435A (en)
CN (1) CN103270753A (en)
CA (1) CA2812252A1 (en)
MX (1) MX2013004135A (en)
WO (1) WO2012051025A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101502144B1 (en) * 2013-08-22 2015-03-12 주식회사 에스원 Method and apparatus for transforming coefficient information
CN103607588B (en) * 2013-09-03 2016-11-02 电子科技大学 A kind of residual transform coefficient significant-image coding method based on template
CN103491334B (en) * 2013-09-11 2017-05-10 浙江大学 Video transcode method from H264 to HEVC based on region feature analysis
US10448058B2 (en) * 2015-05-21 2019-10-15 Qualcomm Incorporated Grouping palette index at the end and index coding using palette size and run value
CN113170137A (en) * 2018-11-21 2021-07-23 交互数字Vc控股公司 Residual coding to reduce use of local neighborhood

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960006762B1 (en) * 1992-02-29 1996-05-23 삼성전자주식회사 2-dimensional data scanning selecting circuit for image coding
WO2002035854A1 (en) * 2000-10-24 2002-05-02 Eyeball Networks Inc. Dct-based scalable video compression
KR101356733B1 (en) * 2007-03-07 2014-02-05 삼성전자주식회사 Method and apparatus for Context Adaptive Binary Arithmetic Coding and decoding

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
WO2012051025A1 (en) 2012-04-19
CA2812252A1 (en) 2012-04-19
KR20130054435A (en) 2013-05-24
CN103270753A (en) 2013-08-28
MX2013004135A (en) 2013-05-20

Similar Documents

Publication Publication Date Title
US20120082235A1 (en) Coding and decoding utilizing context model selection with adaptive scan pattern
CA2810899C (en) Coding and decoding utilizing adaptive context model selection with zigzag scan
US9554141B2 (en) Intra block copy for intra slices in high efficiency video coding (HEVC)
US11006109B2 (en) Intra prediction mode based image processing method, and apparatus therefor
JP7247216B2 (en) Image processing method and apparatus therefor
EP2106145A2 (en) Method and apparatus for intra-prediction video coding/decoding
EP2106148A2 (en) Method and apparatus for encoding/decoding information about intra-prediction mode of video
JP7375151B2 (en) Transformation for matrix-based intra prediction in video coding
CN111294599B (en) Video decoding method, video encoding method and device
US10638132B2 (en) Method for encoding and decoding video signal, and apparatus therefor
CN110650349B (en) Image encoding method, decoding method, encoder, decoder and storage medium
US20210360246A1 (en) Shape adaptive discrete cosine transform for geometric partitioning with an adaptive number of regions
JP2022529480A (en) Conversion in intra-prediction-based video coding
EP2606645A1 (en) Coding and decoding utilizing context model selection with adaptive scan pattern
KR20210075201A (en) Method and apparatus for intra prediction
CN116405665A (en) Encoding method, apparatus, device and storage medium
US10523945B2 (en) Method for encoding and decoding video signal
US20200195952A1 (en) Method and apparatus for processing video signal through target area modification
RU2808004C2 (en) Method and device for internal prediction based on internal subsegments in image coding system
US11825075B2 (en) Online and offline selection of extended long term reference picture retention
RU2793777C1 (en) Method and device for internal prediction based on internal subsegments in image coding system
US20230031164A1 (en) Explicit signaling of extended long term reference picture retention
CN103548354A (en) Coding and decoding utilizing adaptive context model selection with zigzag scan

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20130321

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: MOTOROLA MOBILITY LLC

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN

DAX Request for extension of the european patent (deleted)
18W Application withdrawn

Effective date: 20140113

P01 Opt-out of the competence of the unified patent court (upc) registered

Effective date: 20230522