WO2013003747A1 - Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit - Google Patents

Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit Download PDF

Info

Publication number
WO2013003747A1
WO2013003747A1 PCT/US2012/044990 US2012044990W WO2013003747A1 WO 2013003747 A1 WO2013003747 A1 WO 2013003747A1 US 2012044990 W US2012044990 W US 2012044990W WO 2013003747 A1 WO2013003747 A1 WO 2013003747A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
syntax element
zero
leaf
zero coefficients
Prior art date
Application number
PCT/US2012/044990
Other languages
French (fr)
Inventor
Marta Karczewicz
Xianglin Wang
Liwei Guo
Original Assignee
Qualcomm Incorporated
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to SI201231656T priority Critical patent/SI2727352T1/en
Priority to JP2014519160A priority patent/JP5955955B2/en
Priority to RU2014102961/08A priority patent/RU2580082C2/en
Priority to DK12733833.3T priority patent/DK2727352T3/en
Priority to UAA201400834A priority patent/UA111492C2/en
Priority to MX2013014931A priority patent/MX343033B/en
Priority to BR112013033645-5A priority patent/BR112013033645B1/en
Priority to PL12733833T priority patent/PL2727352T3/en
Application filed by Qualcomm Incorporated filed Critical Qualcomm Incorporated
Priority to CA2840598A priority patent/CA2840598C/en
Priority to AU2012275120A priority patent/AU2012275120C1/en
Priority to KR1020147002246A priority patent/KR101536541B1/en
Priority to ES12733833T priority patent/ES2750124T3/en
Priority to CN201280032423.0A priority patent/CN103636225B/en
Priority to EP12733833.3A priority patent/EP2727352B1/en
Publication of WO2013003747A1 publication Critical patent/WO2013003747A1/en
Priority to IL230044A priority patent/IL230044A/en
Priority to ZA2014/00699A priority patent/ZA201400699B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • 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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/46Embedding additional information in the video signal during the compression process
    • 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/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • This disclosure relates to video coding and compression. More specifically, this disclosure is directed to techniques for scanning quantized transform coefficients.
  • Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite radio telephones, so-called "smart phones," video teleconferencing devices, video streaming devices, and the like.
  • Digital video devices implement video compression techniques, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), the High Efficiency Video Coding (HEVC) standard presently under development, and extensions of such standards.
  • the video devices may transmit, receive, encode, decode, and/or store digital video information more efficiently by implementing such video compression
  • Video compression techniques perform spatial (intra-picture) prediction and/or temporal (inter-picture) prediction to reduce or remove redundancy inherent in video sequences.
  • a video slice i.e., a video frame or a portion of a video frame
  • video blocks which may also be referred to as treeblocks, coding units (CUs) and/or coding nodes.
  • Video blocks in an intra-coded (I) slice of a picture are encoded using spatial prediction with respect to reference samples in neighboring blocks in the same picture.
  • Video blocks in an inter-coded (P or B) slice of a picture may use spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures.
  • Pictures may be referred to as frames, and reference pictures may be referred to a reference frames.
  • Spatial or temporal prediction results in a predictive block for a block to be coded.
  • Residual data represents pixel differences between the original block to be coded and the predictive block.
  • An inter-coded block is encoded according to a motion vector that points to a block of reference samples forming the predictive block, and the residual data indicating the difference between the coded block and the predictive block.
  • An intra-coded block is encoded according to an intra-coding mode and the residual data.
  • the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which then may be quantized.
  • the quantized transform coefficients initially arranged in a two- dimensional array, may be scanned in order to produce a one-dimensional vector of transform coefficients, and entropy coding may be applied to achieve even more compression.
  • a video encoder may entropy encode the video data.
  • a video encoder divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets.
  • a leaf-level unit as described herein refers to an unsplit unit of video data structure, one example of which is a final, unsplit child node of a quadtree data structure, as described in further detail below.
  • the encoder For at least one of the sub-sets, the encoder generates a syntax element that indicates whether the sub-set includes any non-zero coefficients as part of an entropy encoded bit stream.
  • the encoder determines whether of not to signal the syntax element for a sub-set of the plurality of transform coefficient sub-sets. For example, the encoder may determine whether or not to signal the syntax element based on a number of potential non-zero coefficients within the sub-set, or based on an average number of non-zero coefficients for the sub-set based on statistics for one or more previously coded leaf-level units of video data.
  • a decoder may read an entropy encoded bit stream, and determine whether or not to decode transform coefficients of the sub-set based on the syntax element. In some examples, the decoder may determine whether or not to decode a sub-set of transform coefficients based on whether or not the entropy encoded bit stream includes a syntax element associated with the sub-set. For example, if the sub-set does not include an associated syntax element, the decoder decodes the sub-set. However, if the sub-set does include an associated syntax element, the decoder determines whether or not to decode the sub-set based on a value of the syntax element. For example, if the syntax element has a first value, the decoder decodes the sub-set, but if the syntax element has a second, different value, the decoder does not decode the sub-set.
  • the techniques of this disclosure may improve coding efficiency of an encoder or decoder.
  • the techniques described herein may reduce a number of bits used by an encoder to generate an entropy encoded bit stream that represents video data.
  • a method of encoding a unit of video data comprises dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, and generating, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
  • a device may be configured to encode at least one leaf-level unit of video data.
  • the device may comprise a processor configured to divide a leaf- level unit of video data into a plurality of transform coefficient sub-sets, and generate, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
  • a device may be configured to encode at least one leaf-level unit of video data, the device comprising means for dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, and means for generating, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
  • a method of decoding a unit of video data comprises dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, determining, for a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients, determining, based on the syntax element, whether or not to decode the sub-set.
  • a device may be configured to decode a unit of video data, the device comprising a processor configured to divide a leaf-level unit of video data into a plurality of transform coefficient sub-sets, determine, for a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients, and determine, based on the syntax element, whether or not to decode the sub-set.
  • a device may be configured to decode a unit of video data, the device comprising means for dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, means for determining, a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes a syntax element that indicates whether or not the sub-set includes any non-zero coefficients, and means for determining, based on the syntax element, whether or not to decode the sub-set.
  • a processor may refer to a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), or other equivalent integrated or discrete logic circuitry.
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • DSP digital signal processor
  • Software may be executed by one or more processors. Software comprising instructions to execute the techniques may be initially stored in a computer-readable medium and loaded and executed by a processor.
  • this disclosure also contemplates computer-readable storage media comprising instructions to cause a processor (or other computing device) to perform any the techniques described in this disclosure.
  • the computer-readable storage medium may form part of a computer program storage product, which may be sold to manufacturers and/or used in a device.
  • the computer program product may include the computer-readable medium, and in some cases, may also include packaging materials.
  • this disclosure describes a computer-readable storage medium that stores instructions that, when executed, cause a computing device to divide a leaf- level unit of video data into a plurality of transform coefficient sub-sets, and generate, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set of includes any non-zero coefficients.
  • this disclosure describes a computer-readable storage medium that stores instructions that, when executed, cause a computing device to divide a leaf-level unit of video data into a plurality of transform coefficient sub-sets, determine, a sub-set of the plurality of transform coefficient sub-sets, whether the subset includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients, and determine, based on the syntax element, whether or not to decode the sub-set.
  • FIG. 1 is a block diagram that illustrates one example of a video encoding and decoding system configured to operate according to the techniques of this disclosure.
  • FIG. 2 is a block diagram that illustrates one example of a video encoder configured to operate according to the techniques of this disclosure.
  • FIG. 3 is a block diagram that illustrates one example of a video decoder configured to operate according to the techniques of this disclosure.
  • FIG. 4 is a conceptual diagram that illustrates one example of a leaf-level unit of video data divided into a plurality of transform coefficient sub-sets consistent with one or more aspects of this disclosure.
  • FIG. 5 is a flow diagram that illustrates one example of a method of encoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
  • FIG. 6 is a flow diagram that illustrates another example of a method of encoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
  • FIG. 7 is a flow diagram that illustrates another example of a method of encoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
  • FIG. 8 is a flow diagram that illustrates one example of a method of decoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
  • FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may utilize the techniques described in this disclosure.
  • system 10 includes a source device 12 that generates encoded video data to be decoded at a later time by a destination device 14.
  • Source device 12 and destination device 14 may comprise any of a wide range of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called “smart” phones, so-called “smart” pads, televisions, cameras, display devices, digital media players, video gaming consoles, video streaming device, or the like.
  • source device 12 and destination device 14 may be equipped for wireless communication.
  • Link 16 may comprise any type of medium or device capable of moving the encoded video data from source device 12 to destination device 14.
  • link 16 may comprise a communication medium to enable source device 12 to transmit encoded video data directly to destination device 14 in real-time.
  • the encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to destination device 14.
  • the communication medium may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines.
  • RF radio frequency
  • communication medium may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet.
  • a packet-based network such as a local area network, a wide-area network, or a global network such as the Internet.
  • communication medium may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from source device 12 to destination device 14.
  • encoded data may be output from output interface 22 to a storage device 32.
  • encoded data may be accessed from storage device 32 by input interface 28.
  • Storage device 32 may include any of a variety of distributed or locally accessed data storage media such as a hard drive, Blu-ray discs, DVDs, CD-ROMs, flash memory, volatile or non- volatile memory, or any other suitable digital storage media for storing encoded video data.
  • storage device 32 may correspond to a file server or another intermediate storage device that may hold the encoded video generated by source device 12.
  • Destination device 14 may access stored video data from storage device 32 via streaming or download.
  • the file server may be any type of server capable of storing encoded video data and transmitting that encoded video data to the destination device 14.
  • Example file servers include a web server (e.g., for a website), an FTP server, network attached storage (NAS) devices, or a local disk drive.
  • Destination device 14 may access the encoded video data through any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.
  • the transmission of encoded video data from storage device 32 may be a streaming transmission, a download transmission, or a combination of both.
  • the techniques of this disclosure are not necessarily limited to wireless applications or settings.
  • the techniques may be applied to video coding in support of any of a variety of multimedia applications, such as over-the-air television broadcasts, cable television transmissions, satellite television transmissions, streaming video transmissions, e.g., via the Internet, encoding of digital video for storage on a data storage medium, decoding of digital video stored on a data storage medium, or other applications.
  • system 10 may be configured to support one-way or two-way video transmission to support applications such as video streaming, video playback, video broadcasting, and/or video telephony.
  • source device 12 includes a video source 18, video encoder 20 and an output interface 22.
  • output interface 22 may include a modulator/demodulator (modem) and/or a transmitter.
  • video source 18 may include a source such as a video capture device, e.g., a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
  • a video capture device e.g., a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
  • source device 12 and destination device 14 may form so-called camera phones or video phones.
  • the techniques described in this disclosure may be applicable to video coding in general, and may be applied to wireless and/or wired applications.
  • the captured, pre-captured, or computer-generated video may be encoded by video encoder 20.
  • the encoded video data may be transmitted directly to destination device 14 via output interface 22 of source device 12.
  • the encoded video data may also (or alternatively) be stored onto storage device 32 for later access by destination device 14 or other devices, for decoding and/or playback.
  • Destination device 14 includes an input interface 28, a video decoder 30, and a display device 32.
  • input interface 28 may include a receiver and/or a modem.
  • Input interface 28 of destination device 14 receives the encoded video data over link 16.
  • the encoded video data communicated over link 16, or provided on storage device 32 may include a variety of syntax elements generated by video encoder 20 for use by a video decoder, such as video decoder 30, in decoding the video data.
  • Such syntax elements may be included with the encoded video data transmitted on a communication medium, stored on a storage medium, or stored a file server.
  • Display device 32 may be integrated with, or external to, destination device 14.
  • destination device 14 may include an integrated display device and also be configured to interface with an external display device.
  • destination device 14 may be a display device.
  • display device 32 displays the decoded video data to a user, and may comprise any of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device.
  • LCD liquid crystal display
  • OLED organic light emitting diode
  • Video encoder 20 and video decoder 30 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard presently under development, and may conform to the HEVC Test Model (HM).
  • HEVC High Efficiency Video Coding
  • HM HEVC Test Model
  • video encoder 20 and video decoder 30 may operate according to other proprietary or industry standards, such as the ITU-T H.264 standard, alternatively referred to as MPEG-4, Part 10, Advanced Video Coding (AVC), or extensions of such standards.
  • MPEG-4 Part 10, Advanced Video Coding (AVC)
  • AVC Advanced Video Coding
  • the techniques of this disclosure are not limited to any particular coding standard.
  • Other examples of video compression standards include MPEG-2 and ITU-T H.263.
  • video encoder 20 and video decoder 30 may each be integrated with an audio encoder and decoder, and may include appropriate MUX-DEMUX units, or other hardware and software, to handle encoding of both audio and video in a common data stream or separate data streams. If applicable, in some examples, MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP).
  • MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP).
  • Video encoder 20 and video decoder 30 each may be implemented as any of a variety of suitable encoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable gate arrays
  • a device may store instructions for the software in a suitable, non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure.
  • Each of video encoder 20 and video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
  • CODEC combined encoder/decoder
  • the JCT-VC is working on development of the HEVC standard.
  • the HEVC standardization efforts are based on an evolving model of a video coding device referred to as the HEVC Test Model (HM).
  • HM presumes several additional capabilities of video coding devices relative to existing devices according to, e.g., ITU-T H.264/AVC. For example, whereas H.264 provides nine intra-prediction encoding modes, the HM may provide as many as thirty-three intra-prediction encoding modes.
  • the working model of the HM describes that a video frame or picture may be divided into a sequence of treeblocks or largest coding units (LCU) that include both luma and chroma samples.
  • a treeblock has a similar purpose as a macroblock of the H.264 standard.
  • a slice includes a number of consecutive treeblocks in coding order.
  • a video frame or picture may be partitioned into one or more slices.
  • Each treeblock may be split into coding units (CUs) according to a quadtree. For example, a treeblock, as a root node of the quadtree, may be split into four child nodes, and each child node may in turn be a parent node and be split into another four child nodes.
  • a final, unsplit child node as a leaf node of the quadtree, comprises a coding node, i.e., a coded video block.
  • a coding node i.e., a coded video block.
  • Such a final, unsplit child node of a video data structure is referred to as a leaf-level unit herein.
  • Syntax data associated with a coded bitstream may define a maximum number of times a treeblock may be split, and may also define a minimum size of the coding nodes.
  • a CU includes a coding node and prediction units (PUs) and transform units (TUs) associated with the coding node.
  • a size of the CU corresponds to a size of the coding node and must be square in shape.
  • the size of the CU may range from 8x8 pixels up to the size of the treeblock with a maximum of 64x64 pixels or greater.
  • Each CU may contain one or more PUs and one or more TUs. Syntax data associated with a CU may describe, for example, partitioning of the CU into one or more PUs.
  • Partitioning modes may differ between whether the CU is skip or direct mode encoded, intra-prediction mode encoded, or inter-prediction mode encoded.
  • PUs may be partitioned to be non-square in shape.
  • Syntax data associated with a CU may also describe, for example, partitioning of the CU into one or more TUs according to a quadtree.
  • a TU can be square or non-square in shape.
  • the HEVC standard allows for transformations according to TUs, which may be different for different CUs.
  • the TUs are typically sized based on the size of PUs within a given CU defined for a partitioned LCU, although this may not always be the case.
  • the TUs are typically the same size or smaller than the PUs.
  • residual samples corresponding to a CU may be subdivided into smaller units using a quadtree structure known as "residual quad tree" (RQT).
  • RQT residual quad tree
  • the leaf nodes of the RQT may be referred to as transform units (TUs).
  • Such a leaf node TU is one example of a leaf-level unit as described herein.
  • Pixel difference values associated with the TUs may be transformed to produce transform coefficients, which may be quantized.
  • a PU includes data related to the prediction process.
  • the PU when the PU is intra-mode encoded, the PU may include data describing an intra- prediction mode for the PU.
  • the PU when the PU is inter-mode encoded, the PU may include data defining a motion vector for the PU.
  • the data defining the motion vector for a PU may describe, for example, a horizontal component of the motion vector, a vertical component of the motion vector, a resolution for the motion vector (e.g., one-quarter pixel precision or one-eighth pixel precision), a reference picture to which the motion vector points, and/or a reference picture list (e.g., List 0, List 1 , or List C) for the motion vector.
  • a TU is used for the transform and quantization processes.
  • a given CU having one or more PUs may also include one or more transform units (TUs).
  • video encoder 20 may calculate residual values corresponding to the PU.
  • the residual values comprise pixel difference values that may be transformed into transform coefficients, quantized, and scanned using the TUs to produce serialized transform coefficients for entropy coding.
  • This disclosure typically uses the term "video block” to refer to a coding node of a CU. In some specific cases, this disclosure may also use the term "video block” to refer to a treeblock, i.e., LCU, or a CU, which includes a coding node and PUs and TUs.
  • a video sequence typically includes a series of video frames or pictures.
  • a group of pictures generally comprises a series of one or more of the video pictures.
  • a GOP may include syntax data in a header of the GOP, a header of one or more of the pictures, or elsewhere, that describes a number of pictures included in the GOP.
  • Each slice of a picture may include slice syntax data that describes an encoding mode for the respective slice.
  • Video encoder 20 typically operates on video blocks within individual video slices in order to encode the video data.
  • a video block may correspond to a coding node within a CU.
  • the video blocks may have fixed or varying sizes, and may differ in size according to a specified coding standard.
  • the HM supports prediction in various PU sizes. Assuming that the size of a particular CU is 2Nx2N, the HM supports intra-prediction in PU sizes of 2Nx2N or NxN, and inter-prediction in symmetric PU sizes of 2Nx2N, 2NxN, Nx2N, or NxN. The HM also supports asymmetric partitioning for inter-prediction in PU sizes of 2NxnU, 2NxnD, nLx2N, and nRx2N. In asymmetric partitioning, one direction of a CU is not partitioned, while the other direction is partitioned into 25% and 75%.
  • 2NxnU refers to a 2Nx2N CU that is partitioned horizontally with a 2Nx0.5N PU on top and a 2Nxl .5N PU on bottom.
  • NxN and N by N may be used interchangeably to refer to the pixel dimensions of a video block in terms of vertical and horizontal dimensions, e.g., 16x16 pixels or 16 by 16 pixels.
  • an NxN block generally has N pixels in a vertical direction and N pixels in a horizontal direction, where N represents a nonnegative integer value.
  • the pixels in a block may be arranged in rows and columns.
  • blocks need not necessarily have the same number of pixels in the horizontal direction as in the vertical direction.
  • blocks may comprise NxM pixels, where M is not necessarily equal to N.
  • video encoder 20 may calculate residual data for the TUs of the CU.
  • the PUs may comprise pixel data in the spatial domain (also referred to as the pixel domain) and the TUs may comprise coefficients in the transform domain following application of a transform, e.g., a discrete cosine transform (DCT), an integer transform, a wavelet transform, or a conceptually similar transform to residual video data.
  • the residual data may correspond to pixel differences between pixels of the unencoded picture and prediction values corresponding to the PUs.
  • Video encoder 20 may form the TUs including the residual data for the CU, and then transform the TUs to produce transform coefficients for the CU.
  • video encoder 20 may perform quantization of the transform coefficients.
  • Quantization generally refers to a process in which transform coefficients are quantized to possibly reduce the amount of data used to represent the coefficients, providing further compression.
  • the quantization process may reduce the bit depth associated with some or all of the coefficients. For example, an n-bit value may be rounded down to an m-bit value during quantization, where n is greater than m.
  • video encoder 20 may utilize a predefined scan order to scan the quantized transform coefficients to produce a serialized vector that can be entropy encoded.
  • video encoder 20 may perform an adaptive scan. After scanning the quantized transform coefficients to form a one-dimensional vector, video encoder 20 may entropy encode the one-dimensional vector, e.g., according to context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), Probability Interval Partitioning Entropy (PIPE) coding or another entropy encoding methodology.
  • Video encoder 20 may also entropy encode syntax elements associated with the encoded video data for use by video decoder 30 in decoding the video data.
  • video encoder 20 may assign a context within a context model to a symbol to be transmitted.
  • the context may relate to, for example, whether neighboring values of the symbol are non-zero or not.
  • video encoder 20 may select a variable length code for a symbol to be transmitted.
  • Codewords in VLC may be constructed such that relatively shorter codes correspond to more probable symbols, while longer codes correspond to less probable symbols. In this way, the use of VLC may achieve a bit savings over, for example, using equal- length codewords for each symbol to be transmitted.
  • the probability determination may be based on a context assigned to the symbol.
  • video encoder 20 of source device 12 may scan transform coefficients of a leaf-level unit of video data (e.g., a leaf node of a quadtree or other data structure) that includes a two-dimensional matrix of transform coefficients (e.g., that each correspond to pixels of a displayed image) into a one- dimensional vector that represents the transform coefficients.
  • a leaf-level unit of video data e.g., a leaf node of a quadtree or other data structure
  • video encoder 20 may divide the leaf-level unit of video data into a plurality of transform coefficient sub-sets.
  • encoder 20 may determine whether or not to signal, to a decoder as part of an entropy encoded bit stream, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients. Encoder 20 may determine whether or not to signal the syntax element for a particular sub-set based on determining whether or not signaling the syntax element will improve coding efficiency. To determine whether signaling the syntax element will improve coding efficiency, encoder 20 may apply one or more rules, as described in further detail below. Encoder 20 may output an entropy encoded bit stream that includes the block of video data. The entropy encoded bit stream may then be read and decoded by a decoder, to reconstruct the two-dimensional matrix that represents the leaf-level unit of video data.
  • Reciprocal transform coefficient decoding may also be performed by video decoder 30 of destination device 14. That is, video decoder 30 may map coefficients of a one-dimensional vector of transform coefficients that represent a block of video data to positions within a two-dimensional matrix of transform coefficients, to reconstruct the two-dimensional matrix of transform coefficients. According to the techniques described herein, decoder 30 may read a one-dimensional matrix that represents a leaf- level unit of video data, and divide the leaf-level unit into a plurality of transform coefficient sub-sets. For each of the sub-sets, the decoder 30 may determine whether or not to decode transform coefficients of the sub-set.
  • the decoder 30 may determine whether or not to decode the transform coefficients of the sub-set based on the value of the syntax element. For example, if the syntax element indicates that the sub-set does include nonzero coefficients, decoder 30 decodes the transform coefficients of the sub-set. However, if the syntax element indicates that the sub-set does not include any non-zero coefficients, decoder 30 does not decode the transform coefficients of the sub-set.
  • the techniques described herein may improve an efficiency of video coding. For example, dividing a block of video data into a plurality of transform coefficient sub- sets, and signaling syntax elements that indicate whether or not the sub-sets include non-zero coefficients as described herein may reduce a number of bits needed to represent video data, which may improve a level of efficiency of the encoder/decoder.
  • FIG. 2 is a block diagram illustrating an example video encoder 20 that may implement the inter-prediction techniques described in this disclosure.
  • Video encoder 20 may perform intra- and inter-coding of video blocks within video slices.
  • Intra-coding relies on spatial prediction to reduce or remove spatial redundancy in video within a given video frame or picture.
  • Inter-coding relies on temporal prediction to reduce or remove temporal redundancy in video within adjacent frames or pictures of a video sequence.
  • Intra-mode may refer to any of several spatial based compression modes.
  • Inter-modes such as uni-directional prediction (P mode) or bi- prediction (B mode), may refer to any of several temporal-based compression modes.
  • video encoder 20 includes a partitioning unit 35, prediction module 41, reference picture memory 64, summer 50, transform module 52, quantization unit 54, and entropy encoding unit 56.
  • Prediction module 41 includes motion estimation unit 42, motion compensation unit 44, and intra prediction module 46.
  • video encoder 20 also includes inverse quantization unit 58, inverse transform module 60, and summer 62.
  • a deblocking filter (not shown in FIG. 2) may also be included to filter block boundaries to remove blockiness artifacts from reconstructed video. If desired, the deblocking filter would typically filter the output of summer 62. Additional loop filters (in loop or post loop) may also be used in addition to the deblocking filter.
  • video encoder 20 receives video data, and partitioning unit 35 partitions the data into video blocks. This partitioning may also include partitioning into slices, tiles, or other larger units, as wells as video block partitioning, e.g., according to a quadtree structure of LCUs and CUs.
  • Video encoder 20 generally illustrates the components that encode video blocks within a video slice to be encoded. The slice may be divided into multiple video blocks (and possibly into sets of video blocks referred to as tiles).
  • Prediction module 41 may select one of a plurality of possible coding modes, such as one of a plurality of intra coding modes or one of a plurality of inter coding modes, for the current video block based on error results (e.g., coding rate and the level of distortion). Prediction module 41 may provide the resulting intra- or inter-coded block to summer 50 to generate residual block data and to summer 62 to reconstruct the encoded block for use as a reference picture.
  • error results e.g., coding rate and the level of distortion
  • Intra prediction module 46 within prediction module 41 may perform intra- predictive coding of the current video block relative to one or more neighboring blocks in the same frame or slice as the current block to be coded to provide spatial
  • Motion estimation unit 42 and motion compensation unit 44 within prediction module 41 perform inter-predictive coding of the current video block relative to one or more predictive blocks in one or more reference pictures to provide temporal compression.
  • Motion estimation unit 42 may be configured to determine the inter-prediction mode for a video slice according to a predetermined pattern for a video sequence.
  • the predetermined pattern may designate video slices in the sequence as P slices, B slices or GPB slices.
  • Motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes.
  • Motion estimation, performed by motion estimation unit 42 is the process of generating motion vectors, which estimate motion for video blocks.
  • a motion vector for example, may indicate the displacement of a PU of a video block within a current video frame or picture relative to a predictive block within a reference picture.
  • a predictive block is a block that is found to closely match the PU of the video block to be coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics.
  • video encoder 20 may calculate values for sub-integer pixel positions of reference pictures stored in reference picture memory 64. For example, video encoder 20 may interpolate values of one-quarter pixel positions, one-eighth pixel positions, or other fractional pixel positions of the reference picture. Therefore, motion estimation unit 42 may perform a motion search relative to the full pixel positions and fractional pixel positions and output a motion vector with fractional pixel precision.
  • Motion estimation unit 42 calculates a motion vector for a PU of a video block in an inter-coded slice by comparing the position of the PU to the position of a predictive block of a reference picture.
  • the reference picture may be selected from a first reference picture list (List 0) or a second reference picture list (List 1), each of which identify one or more reference pictures stored in reference picture memory 64.
  • Motion estimation unit 42 sends the calculated motion vector to entropy encoding unit 56 and motion compensation unit 44.
  • Motion compensation performed by motion compensation unit 44, may involve fetching or generating the predictive block based on the motion vector determined by motion estimation, possibly performing interpolations to sub-pixel precision.
  • motion compensation unit 44 may locate the predictive block to which the motion vector points in one of the reference picture lists.
  • Video encoder 20 forms a residual video block by subtracting pixel values of the predictive block from the pixel values of the current video block being coded, forming pixel difference values.
  • the pixel difference values form residual data for the block, and may include both luma and chroma difference components.
  • Summer 50 represents the component or components that perform this subtraction operation.
  • Motion compensation unit 44 may also generate syntax elements associated with the video blocks and the video slice for use by video decoder 30 in decoding the video blocks of the video slice.
  • video encoder 20 forms a residual video block by subtracting the predictive block from the current video block.
  • the residual video data in the residual block may be included in one or more TUs and applied to transform module 52.
  • Transform module 52 transforms the residual video data into residual transform coefficients using a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform.
  • Transform module 52 may convert the residual video data from a pixel domain to a transform domain, such as a frequency domain.
  • Transform module 52 may send the resulting transform coefficients to quantization unit 54.
  • Quantization unit 54 quantizes the transform coefficients to further reduce bit rate.
  • the quantization process may reduce the bit depth associated with some or all of the coefficients.
  • the degree of quantization may be modified by adjusting a quantization parameter.
  • entropy encoding unit 56 entropy encodes the quantized transform coefficients.
  • entropy encoding unit 56 may perform context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding or another entropy encoding methodology or technique.
  • CAVLC context adaptive variable length coding
  • CABAC context adaptive binary arithmetic coding
  • SBAC syntax-based context-adaptive binary arithmetic coding
  • PIPE probability interval partitioning entropy
  • the encoded bitstream may be transmitted to video decoder 30, or archived for later transmission or retrieval by video decoder 30.
  • Entropy encoding unit 56 may also entropy encode the motion vectors and the other syntax elements for the current video slice being coded. In some examples, entropy encoding unit 56 may then perform a scan of the matrix including the quantized transform coefficients to generate a one-dimensional vector of transform coefficients of an entropy encoded bit stream.
  • entropy encoding unit 56 may divide a leaf-level unit of video data, such as an un-split child node of a quadtree structure as described above, into a plurality of transform coefficients sub-sets that are smaller than the leaf-level unit. For example, entropy encoding unit 56 may divide the leaf-level unit of video data into a plurality of sub-sets that each comprise a geometrical shape within the leaf-level unit. In some examples, entropy encoding unit 56 may divide the transform coefficients of the leaf-level unit into smaller rectangular shaped arrangements of video data.
  • entropy encoding unit 56 may divide the transform coefficients of the leaf-level unit into triangular shaped sub-sets of transform coefficients. In still other examples, entropy encoding unit 56 may divide the transform coefficients of the leaf-level unit into sub-sets having other shapes, or even sub-sets that do not correspond to any particular a geometric shape. Instead, entropy encoding unit 56 may divide the plurality of transform coefficients of the leaf-level unit according to a scan order of the transform coefficients, which may be fixed or adaptive. For example, entropy encoding unit 56 may divide the plurality of transform
  • coefficients of the leaf-level units into a plurality of sub-sets of transform coefficients, based on a scan order (e.g., an adaptive or fixed scan order) of the transform
  • the sub-sets may have similar or different numbers of coefficients in different examples.
  • entropy encoding unit 56 may generate, for at least some of the plurality of sub-sets, a syntax element that indicates whether the respective sub-set includes any non-zero coefficients. In some examples, entropy encoding unit 56 may generate such a syntax element for each subset of the plurality of sub-sets of transform coefficients. In other examples, entropy encoding unit 56 may selectively determine whether or not to generate such a syntax element, for each sub-set of the plurality of sub-sets.
  • the decision whether or not to generate such a syntax element may be based on whether such signaling provides for additional compression or improved coding efficiency. If so, the syntax element may be generated, but if not, both encoder 20 and decoder 30 may be programmed to know that the indication is not signaled in that instance.
  • entropy encoding unit 56 may apply one or more rules, as described in further detail below. As one example, entropy encoding unit 56 may determine whether to generate the syntax element for a particular sub-set based on a number of potential non-zero coefficients of the sub-set. For example, entropy encoding unit 56 may determine whether to generate the syntax element based on comparing a number of potential nonzero coefficients of the sub-set to a threshold.
  • entropy encoding unit 56 determines a number of coefficients of the sub-set that have an earlier position than a last non-zero coefficient of the leaf-level unit, and compare the determined number of coefficients to a threshold thNoCoeff, as shown in the example of FIG. 6 and described in further detail below. According to this example, if the determined number of potential non-zero coefficients is greater than the threshold thNoCoeff, entropy encoding unit 56 generates a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
  • entropy encoding unit 56 may not generate the syntax element. As one example, entropy encoding unit 56 determines whether to signal a syntax element that indicates whether a particular sub-set includes any non-zero coefficients based on the pseudo code of Example 1 below:
  • entropy encoding unit 56 may determine whether or not to signal the syntax element that indicates whether a sub-set of transform coefficients includes any non-zero coefficients based on other rules. For example, entropy encoding unit 56 may determine whether or not to signal the syntax element for a sub-set based on an average number of non-zero coefficients of the sub-set, as described in further detail below with respect to the example of FIG. 7.
  • entropy encoding unit 56 may collect and store statistics that indicate how often coefficients at positions within each sub-set are non-zero. Based on such stored statistics, entropy encoding unit 56 may determine whether or not to generate the syntax element. For example, entropy encoding unit 56 may compare an average number of non-zero coefficients for a sub-set to a threshold tfiAvrgCoeff If the average number of non-zero coefficients of the sub-set is less than the threshold, entropy encoding unit 56 generates the syntax element.
  • entropy encoding unit 56 does not generate the syntax element based on the assumption that in this case it is very likely the sub-set contains at least one non-zero coefficient.
  • the fact that that sub-set contains the last non-zero coefficient means that that subset must include at least one non-zero coefficient, and therefore, it can be assumed that any sub-set that includes the last non-zero coefficient must include at least one non-zero coefficient. Accordingly, there is no need to generate the syntax element for a sub-set that includes the last non-zero coefficient, since this subset can be assumed to include at least one non-zero coefficient.
  • entropy encoding unit 56 may determine whether to signal a syntax element that indicates whether a particular sub-set includes any non-zero coefficients based on the pseudo code of Example 2 below:
  • noCodedCoeffTxS] [yS] indicates the number of non-zero coefficients in a sub-set.
  • entropy encoding unit 56 may determine whether or not to signal a syntax element that indicates whether or not a subset of transform coefficients of a leaf-level unit includes any non-zero coefficients, based on an average number of non-zero coefficients of the sub-set for previously encoded leaf-level units of video data.
  • Inverse quantization unit 58 and inverse transform module 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain for later use as a reference block of a reference picture.
  • Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the reference pictures within one of the reference picture lists. Motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values for use in motion estimation.
  • Summer 62 adds the reconstructed residual block to the motion
  • the compensated prediction block produced by motion compensation unit 44 to produce a reference block for storage in reference picture memory 64.
  • the reference block may be used by motion estimation unit 42 and motion compensation unit 44 as a reference block to inter-predict a block in a subsequent video frame or picture.
  • FIG. 3 is a block diagram illustrating an example video decoder 30 that may implement the inter-prediction techniques described in this disclosure.
  • video decoder 30 includes an entropy decoding unit 80, prediction module 81, inverse quantization unit 86, inverse transformation unit 88, summer 90, and reference picture memory 92.
  • Prediction module 81 includes motion compensation unit 82 and intra prediction module 84.
  • Video decoder 30 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 20 from FIG. 2.
  • video decoder 30 receives an encoded video bitstream that represents video blocks of an encoded video slice and associated syntax elements from video encoder 20.
  • Entropy decoding unit 80 of video decoder 30 entropy decodes the bitstream to generate quantized coefficients, motion vectors, and other syntax elements.
  • Entropy decoding unit 80 forwards the motion vectors and other syntax elements to prediction module 81.
  • Video decoder 30 may receive the syntax elements at the video slice level and/or the video block level.
  • Entropy decoding unit 80 may read a one-dimensional vector of transform coefficients decoded by entropy decoding unit, and reconstruct a two-dimensional matrix of transform coefficients from the one-dimensional vector.
  • entropy decoding unit 80 may read a one-dimensional matrix that represents a leaf-level unit of video data, and divide the leaf-level unit into a plurality of transform coefficient sub-sets.
  • the transform coefficient sub-sets may have a rectangular, triangular, or any other shape or arrangement.
  • inverse entropy decoding unit 80 determines whether or not to decode transform coefficients of the sub-set. For example, if entropy decoding unit 80 does not read a syntax element that indicates whether or not a particular sub-set has non-zero coefficients, then inverse quantization unit 86 decodes the coefficients of the sub-set.
  • entropy decoding unit 80 may determine whether or not to decode the transform coefficients of the sub-set based on the value of the syntax element. For example, if the syntax element indicates that the sub-set does include non-zero coefficients, entropy decoding unit 80 decodes the transform coefficients of the sub-set. However, if the syntax element indicates that the sub-set does not include any non-zero coefficients, entropy decoding unit 80 does not decode the transform coefficients of the sub-set.
  • intra prediction module 84 of prediction module 81 may generate prediction data for a video block of the current video slice based on a signaled intra prediction mode and data from previously decoded blocks of the current frame or picture.
  • motion compensation unit 82 of prediction module 81 produces predictive blocks for a video block of the current video slice based on the motion vectors and other syntax elements received from entropy decoding unit 80.
  • the predictive blocks may be produced from one of the reference pictures within one of the reference picture lists.
  • Video decoder 30 may construct the reference frame lists, List 0 and List 1 , using default construction techniques based on reference pictures stored in reference picture memory 92.
  • Motion compensation unit 82 determines prediction information for a video block of the current video slice by parsing the motion vectors and other syntax elements, and uses the prediction information to produce the predictive blocks for the current video block being decoded. For example, motion compensation unit 82 uses some of the received syntax elements to determine a prediction mode (e.g., intra- or inter-prediction) used to code the video blocks of the video slice, an inter-prediction slice type (e.g., B slice, P slice, or GPB slice), construction information for one or more of the reference picture lists for the slice, motion vectors for each inter-encoded video block of the slice, inter-prediction status for each inter-coded video block of the slice, and other information to decode the video blocks in the current video slice.
  • a prediction mode e.g., intra- or inter-prediction
  • an inter-prediction slice type e.g., B slice, P slice, or GPB slice
  • construction information for one or more of the reference picture lists for the slice motion vectors for each inter-encode
  • Motion compensation unit 82 may also perform interpolation based on interpolation filters. Motion compensation unit 82 may use interpolation filters as used by video encoder 20 during encoding of the video blocks to calculate interpolated values for sub-integer pixels of reference blocks. In this case, motion compensation unit 82 may determine the interpolation filters used by video encoder 20 from the received syntax elements and use the interpolation filters to produce predictive blocks. Inverse quantization unit 86 inverse quantizes, i.e., de-quantizes, the quantized transform coefficients provided in the bitstream and decoded by entropy decoding unit 80.
  • the inverse quantization process may include use of a quantization parameter calculated by video encoder 20 for each video block in the video slice to determine a degree of quantization and, likewise, a degree of inverse
  • Inverse transform module 88 applies an inverse transform, e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process, to the transform coefficients in order to produce residual blocks in the pixel domain.
  • an inverse transform e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process
  • video decoder 30 forms a decoded video block by summing the residual blocks from inverse transform module 88 with the corresponding predictive blocks generated by motion compensation unit 82.
  • Summer 90 represents the component or components that perform this summation operation.
  • a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts.
  • Other loop filters may also be used to smooth pixel transitions, or otherwise improve the video quality.
  • the decoded video blocks in a given frame or picture are then stored in reference picture memory 92, which stores reference pictures used for subsequent motion compensation.
  • Reference picture memory 92 also stores decoded video for later presentation on a display device, such as display device 32 of FIG. 1.
  • FIG. 4 is a conceptual diagram that depicts one example of a leaf-level unit 410 divided into a plurality of transform coefficient sub-sets consistent with the techniques described herein.
  • Leaf-level unit 410 depicted in FIG. 4 may comprise an un-split child node of video data, e.g., a leaf node of a quadtree (RQT) structure.
  • each of the plurality of sub-sets 420 include a plurality of transform coefficients 412 (sixteen transform coefficients in the example of FIG. 1), which may or may not be nonzero coefficients with an amplitude greater than zero.
  • FIG. 4 is a conceptual diagram that depicts one example of a leaf-level unit 410 divided into a plurality of transform coefficient sub-sets consistent with the techniques described herein.
  • Leaf-level unit 410 depicted in FIG. 4 may comprise an un-split child node of video data, e.g., a leaf node of a quadtree (RQT)
  • a last non-zero coefficient (relative to a zig-zag scan, a first non-zero coefficient of an inverse zig-zag scan) of leaf-level unit 410 has a position (7, 7) within sub-set (1,1) of leaf-level unit 410.
  • video encoder 20 may determine whether to generate a syntax element that indicates whether or not the sub-set includes any nonzero coefficients. For example, video encoder 20 may determine whether or not to generate the syntax element associated with a particular block based on a number of potential non-zero coefficients in the block.
  • a coefficient at position (7, 7) is a last nonzero coefficient of leaf-level unit 420, meaning all of the transform coefficients after position (7, 7) according to a zig-zag scan order (the non-shaded coefficients in the example of FIG. 4) have an amplitude of zero.
  • video encoder 20 may determine a number of potential non-zero coefficients in a sub-set based on a last non-zero coefficient position within leaf-level unit 410.
  • Video encoder 20 may, for each of respective sub-set of leaf-level unit 410 determine the potential number of non-zero coefficients (e.g., coefficients of the inverse zig-zag scan that follow the last non-zero coefficient of the scan at location (7, 7) of the sub-set). For example, video encoder 20 may determine that all sixteen coefficients of each of sub-sets (0, 0), (0, 1), (1, 0), (1, 1) and (2, 0) depicted in FIG. 4 are potentially non-zero coefficients, because all the coefficients of the sub-sets are before the last nonzero coefficient in the scan.
  • non-zero coefficients e.g., coefficients of the inverse zig-zag scan that follow the last non-zero coefficient of the scan at location (7, 7) of the sub-set. For example, video encoder 20 may determine that all sixteen coefficients of each of sub-sets (0, 0), (0, 1), (1, 0), (1, 1) and (2, 0) depicted in
  • Video encoder may also determine that fifteen coefficients of sub-set (0, 2) may potentially be non-zero coefficients, six coefficients of each of sub-sets (2, 1) and (3, 0) may potentially be non-zero coefficients, and three coefficients of sub-sets (1, 1) and (0, 3) may potentially be non-zero coefficients.
  • Encoder 20 may determine whether to generate a syntax element for the sub-sets 420 depicted in FIG. 4 based on the determined number of potential non-zero coefficients for each sub-set. For example, encoder 20 may compare the determined number of potential non-zero coefficients for each sub-set to a threshold thNoCoeff. If the determined number of potential non-zero coefficients is greater than the threshold, encoder 20 may generate the syntax element that indicates whether or not the sub-set includes non-zero coefficients. However, if the determined number of potential nonzero coefficients is less than or equal to the threshold, encoder 20 may not generate the syntax element.
  • the threshold thNoCoeff may have a value of five (5).
  • encoder 20 would signal the syntax element that indicates whether or not sub-sets (0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (2, 0), (2, 1), and (3, 0) include non-zero coefficients, because each of these sub-sets 420 include more potential non-zero coefficients than the threshold thNoCoeff value of five.
  • video encoder 20 would not generate the syntax element, because the sub-sets include less than five potential non-zero coefficients.
  • video encoder 20 may encode the transform coefficients of sub-sets (1,1) and (0, 2) and determine whether the subsets include any non-zero coefficients. If video encoder 20 determines that either of sub-sets (1,2) and (0, 3) include any non-zero coefficients, video encoder may generate a syntax element with a value of one (1) associated with the sub-set.
  • video encoder 20 may also generate a syntax element with a value of zero (0) associated with the sub-set.
  • Video encoder 20 may also generate a syntax element with a value of (0) or (1) associated with each of sub-sets (0, 0), (0, 1), (1, 0), (2, 0), (2, 1), and (3, 0).
  • the syntax elements that indicate whether sub-sets (0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (2, 0), (2, 1), and (3, 0) have non-zero coefficients may be output by video encoder 20 as part of an entropy encoded bit stream, and read by decoder 30.
  • decoder 30 may divide data representing unit 410 into a plurality of sub- blocks. For each sub-block, decoder 30 may determine whether the entropy encoded bit stream includes a syntax element that indicates whether the sub-set includes non-zero coefficients.
  • decoder 30 If decoder 30 reads a sub-block that does not include such a syntax element, decoder 30 decodes the coefficients of the sub-set. However, if decoder 30 does read such a syntax element associated with a sub-set, decoder 30 may use the value of the syntax element to determine whether to decode coefficients of the sub-set. For example, according to the example set forth above, if decoder 30 reads a syntax element value of one (1) for sub-set (1,1), decoder may decode the sub-set. However, if decoder 30 reads a syntax element value of zero (0) for sub-set (1,1) decoder 30 does not decode the transform coefficients of the sub-block.
  • FIG. 5 is a flow diagram that illustrates one example of a method of encoding video data consistent with one or more aspects of this disclosure. The method of FIG. 5 is described as being performed by encoder 20 depicted in FIGS. 1 and 2, however any other device may be used to perform the method of FIG. 5.
  • encoder 20 divides a leaf-block of video data into a plurality of sub-sets that each includes a multiple transform coefficients (501).
  • the plurality of sub-sets may comprise rectangular shaped sub-sets as depicted in the example of FIG. 4, or any other geometric shape or pattern.
  • the leaf-level unit of video data may comprise a lowest-level coding unit of a video coding standard, such as an un-split child node of a quadtree structure as described above.
  • encoder 20 generates, for at least one of the plurality of sub-sets, a syntax element that indicates whether or not the sub-set includes non-zero coefficients (502).
  • encoder 20 may generate such a syntax element associated with each of the plurality of sub-sets.
  • encoder 20 may selectively determine whether or not to generate such a syntax element for each of the sub-sets. For example, encoder 20 may selectively determine whether to generate the syntax element based on whether generating the syntax element will improve coding efficiency and/or compression.
  • encoder 20 may determine whether to generate the syntax element will improve coding efficiency based on a number of potential non-zero coefficients in a sub-set as described in further detail below with respect to FIG. 6, or based on an average number of coefficients of each sub-set as described in further detail below, as described in further detail below with respect to FIG. 7.
  • encoder 20 may output the syntax element as part of an entropy encoded bit stream.
  • the entropy encoded bit stream may be read by a decoder 30 as depicted in FIG. 3, and the syntax element may be used by the decoder 30 to decode the leaf-level unit, as described in further detail with respect to FIG. 8 below.
  • FIG. 6 is a flow diagram that illustrates one example of a method of encoding video data consistent with one or more aspects of this disclosure. The method of FIG. 6 is described as being performed by encoder 20 depicted in FIG. 2, however any device may be used to perform the techniques of FIG. 6. According to the example of FIG. 6, encoder 20 determines whether generating a syntax element associated with a transform coefficient sub-set will improve coding efficiency based on an a number of potential non-zero coefficients for the sub-set.
  • encoder 20 divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets (601).
  • the plurality of sub-sets may comprise rectangular shaped sub-sets as depicted in the example of FIG. 4, or any other geometric shape or pattern.
  • the leaf-level unit of video data may comprise a lowest-level coding unit of a video coding standard, such as an un-split child node of a quadtree structure as described above.
  • video encoder 20 determines whether or not to generate a syntax element associated with each of the plurality of sub-sets based on a number of potential non-zero coefficients of each sub-set. For example, as shown in FIG. 6, encoder 20 determines, for each sub-set, a number of potential non-zero coefficients of the sub-set (602). To determine the number of potential non-zero coefficients, encoder 20 may determine how many coefficients of each sub-set have a position before a last non-zero coefficient of the leaf-level unit, as described above with respect to the example of FIG. 4.
  • encoder 20 may compare the determined number of potential non-zero coefficients to a threshold value thNoCoeff (603). As also shown in FIG. 6, if the determined number of potential non-zero coefficients is greater than the threshold value thNoCoeff, encoder 20 generates the syntax element associated with the sub-set (604). However, if the determined number of potential non-zero coefficients is less than or equal to the threshold value thNoCoeff, encoder 20 does not generate the syntax element associated with the sub-set (605).
  • the syntax element is not generated for those sub-sets that include very few potential non-zero coefficients, which may reduce a number of bits of information signaled by encoder 20 to represent the leaf-level unit of video data.
  • the number of bits needed for signaling those non-zero coefficients is relatively small, which in turn results in relatively larger overhead in signaling the syntax element that indicates whether or not the sub-set has non-zero coefficients.
  • FIG. 7 is a flow diagram that illustrates another example of a method of encoding video data consistent with one or more aspects of this disclosure.
  • the method of FIG. 7 is described as being performed by encoder 20 depicted in FIG. 2, however any device may be used to perform the techniques of FIG. 7.
  • encoder 20 determines whether generating a syntax element will improve coding efficiency based on an average number of non-zero coefficients for each sub-set.
  • encoder 20 divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets (701). As also shown in FIG. 7, for each subset, encoder 20 determines an average number of non-zero coefficients for the sub-set. For encoder 20 may be configured to collect statistics that indicate how often coefficients at positions within each sub-set of previously encoded leaf-level units of video data include non-zero coefficients. For example, encoder 20 may maintain one or more counters that count, as leaf-level units are encoded, how often coefficients within each sub-set are non-zero, and/or how many coefficients of each sub-set are non-zero.
  • encoder 20 may access such a counter to determine the average number of non- zero coefficients for each sub-set.
  • the counter for each sub-set may be reset (e.g., initialized) periodically, such as with each video frame or slice.
  • encoder 20 compares the determined average number of non-zero coefficients to a threshold thAvrgCoeff (703). As also shown in FIG. 7, if the determined average number of non-zero coefficients is less than the threshold thAvrgCoeff, encoder 20 generates the syntax element associated with the sub-set (704). However, if the determined average number of non-zero coefficients is greater than or equal to the threshold, encoder 20 does not generate the syntax element associated with the sub-set (705).
  • encoder 20 may generate an entropy encoded bit stream that includes at least one syntax element that indicates whether a sub-set of transform coefficients includes any non-zero coefficients. Encoder 20 may determine whether to generate the syntax element based on a number of potential non-zero coefficients of the sub-set as shown in FIG. 6, or based on an average number of non-zero coefficients, as shown in FIG. 7. A decoder 30 may read the entropy encoded bit stream, including the at least one syntax element, and use the at least one syntax element to decode the entropy encoded bit stream.
  • FIG. 8 is a flow diagram that illustrates one example of a method that may be performed by a decoder consistent with one or more aspects of this disclosure. The method of FIG. 8 is described as being performed by decoder 30 depicted in FIG. 3, however any device may be used to perform the method of FIG. 8.
  • decoder 30 may divide a leaf-level unit of video data into a plurality of sub-sets that each includes multiple transform coefficients (801).
  • the plurality of sub-sets may comprise rectangular shaped sub-sets as depicted in the example of FIG. 4, or any other geometric shape or pattern.
  • the leaf-level unit of video data may comprise a lowest-level coding unit of a video coding standard, such as an un-split child node of a quadtree structure as described above.
  • the leaf-level unit of data is represented by an entropy encoded bit stream that includes at least one syntax element that indicates whether or not a sub-set of the plurality of sub-sets includes any non-zero coefficients.
  • decoder 30 determines whether the entropy encoded bit stream includes a syntax element associated with the sub-set (802). As also shown in FIG. 8, if the sub-set does not include such an associated syntax element, decoder 30 decodes the sub-set (e.g., the transform coefficients of the sub-set) (803). As also shown in FIG. 8, if the sub-set does include such an associated syntax element, decoder 30 may use the associated syntax element to determine whether to decode the sub-set (804). For example, if the syntax element has a first value (e.g., a one (1)), decoder 30 decodes the sub-set. However, if the syntax element has a second value (e.g., a zero(0)), decoder 30 does not decode the sub-set.
  • a first value e.g., a one (1)
  • decoder 30 decodes the sub-set.
  • a second value e.g., a zero(0)
  • the functions described herein may be implemented at least partially in hardware, such as specific hardware components or a processor. More generally, the techniques may be implemented in hardware, processors, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer- readable medium and executed by a hardware -based processing unit.
  • Computer- readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol.
  • computer-readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave.
  • Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure.
  • a computer program product may include a computer-readable medium.
  • such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • any connection is properly termed a computer-readable medium, i.e., a computer-readable transmission medium.
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
  • Instructions may be executed by one or more processors, such as one or more central processing units (CPU), digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
  • processors such as one or more central processing units (CPU), digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
  • CPU central processing units
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable logic arrays
  • processor may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein.
  • functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec.
  • the techniques could be fully implemented in one or more circuits or logic elements.
  • the techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set).
  • IC integrated circuit
  • a set of ICs e.g., a chip set.
  • Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.

Landscapes

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

Abstract

This disclosure describes techniques for coding transform coefficients for a block of video data. According to these techniques, a video encoder divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets. The video encoder generates, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients. In some examples, the video encoder may selectively determine whether to generate the syntax element for each sub-set. A decoder may read an entropy encoded bit stream that includes the syntax element, and determine whether to decode the sub-set based on the syntax element.

Description

SIGNALING SYNTAX ELEMENTS FOR TRANSFORM COEFFICIENTS FOR SUB-SETS OF A LEAF-LEVEL CODING UNIT
[0001] This application claims the benefit of U.S. Provisional Application serial number 61/503,541, filed June 30, 2011, and U.S. Provisional Application serial number 61/552,341, filed October 27, 2011, the entire contents each of which are incorporated herein by reference.
TECHNICAL FIELD
[0002] This disclosure relates to video coding and compression. More specifically, this disclosure is directed to techniques for scanning quantized transform coefficients.
BACKGROUND
[0003] Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite radio telephones, so-called "smart phones," video teleconferencing devices, video streaming devices, and the like. Digital video devices implement video compression techniques, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), the High Efficiency Video Coding (HEVC) standard presently under development, and extensions of such standards. The video devices may transmit, receive, encode, decode, and/or store digital video information more efficiently by implementing such video compression
techniques.
[0004] Video compression techniques perform spatial (intra-picture) prediction and/or temporal (inter-picture) prediction to reduce or remove redundancy inherent in video sequences. For block-based video coding, a video slice (i.e., a video frame or a portion of a video frame) may be partitioned into video blocks, which may also be referred to as treeblocks, coding units (CUs) and/or coding nodes. Video blocks in an intra-coded (I) slice of a picture are encoded using spatial prediction with respect to reference samples in neighboring blocks in the same picture. Video blocks in an inter-coded (P or B) slice of a picture may use spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures. Pictures may be referred to as frames, and reference pictures may be referred to a reference frames.
[0005] Spatial or temporal prediction results in a predictive block for a block to be coded. Residual data represents pixel differences between the original block to be coded and the predictive block. An inter-coded block is encoded according to a motion vector that points to a block of reference samples forming the predictive block, and the residual data indicating the difference between the coded block and the predictive block. An intra-coded block is encoded according to an intra-coding mode and the residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which then may be quantized. The quantized transform coefficients, initially arranged in a two- dimensional array, may be scanned in order to produce a one-dimensional vector of transform coefficients, and entropy coding may be applied to achieve even more compression.
SUMMARY
[0006] In video coding, to compress an amount of data used to represent video data, a video encoder may entropy encode the video data. According the techniques described herein, as part of entropy encoding, a video encoder divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets. A leaf-level unit as described herein refers to an unsplit unit of video data structure, one example of which is a final, unsplit child node of a quadtree data structure, as described in further detail below.
[0007] For at least one of the sub-sets, the encoder generates a syntax element that indicates whether the sub-set includes any non-zero coefficients as part of an entropy encoded bit stream. The encoder determines whether of not to signal the syntax element for a sub-set of the plurality of transform coefficient sub-sets. For example, the encoder may determine whether or not to signal the syntax element based on a number of potential non-zero coefficients within the sub-set, or based on an average number of non-zero coefficients for the sub-set based on statistics for one or more previously coded leaf-level units of video data.
[0008] A decoder may read an entropy encoded bit stream, and determine whether or not to decode transform coefficients of the sub-set based on the syntax element. In some examples, the decoder may determine whether or not to decode a sub-set of transform coefficients based on whether or not the entropy encoded bit stream includes a syntax element associated with the sub-set. For example, if the sub-set does not include an associated syntax element, the decoder decodes the sub-set. However, if the sub-set does include an associated syntax element, the decoder determines whether or not to decode the sub-set based on a value of the syntax element. For example, if the syntax element has a first value, the decoder decodes the sub-set, but if the syntax element has a second, different value, the decoder does not decode the sub-set.
[0009] In some examples, the techniques of this disclosure may improve coding efficiency of an encoder or decoder. For example, the techniques described herein may reduce a number of bits used by an encoder to generate an entropy encoded bit stream that represents video data.
[0010] In one example, a method of encoding a unit of video data comprises dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, and generating, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
[0011] In another example, a device may be configured to encode at least one leaf-level unit of video data. The device may comprise a processor configured to divide a leaf- level unit of video data into a plurality of transform coefficient sub-sets, and generate, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
[0012] In another example, a device may be configured to encode at least one leaf-level unit of video data, the device comprising means for dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, and means for generating, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
[0013] In another example, a method of decoding a unit of video data comprises dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, determining, for a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients, determining, based on the syntax element, whether or not to decode the sub-set.
[0014] In another example, a device may be configured to decode a unit of video data, the device comprising a processor configured to divide a leaf-level unit of video data into a plurality of transform coefficient sub-sets, determine, for a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients, and determine, based on the syntax element, whether or not to decode the sub-set.
[0015] In another example, a device may be configured to decode a unit of video data, the device comprising means for dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets, means for determining, a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes a syntax element that indicates whether or not the sub-set includes any non-zero coefficients, and means for determining, based on the syntax element, whether or not to decode the sub-set.
[0016] The techniques described in this disclosure may be implemented in hardware, software, firmware, or any combination thereof. For example, various techniques may be implemented or executed by one or more processors. As used herein, a processor may refer to a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), or other equivalent integrated or discrete logic circuitry. Software may be executed by one or more processors. Software comprising instructions to execute the techniques may be initially stored in a computer-readable medium and loaded and executed by a processor.
[0017] Accordingly, this disclosure also contemplates computer-readable storage media comprising instructions to cause a processor (or other computing device) to perform any the techniques described in this disclosure. In some cases, the computer-readable storage medium may form part of a computer program storage product, which may be sold to manufacturers and/or used in a device. The computer program product may include the computer-readable medium, and in some cases, may also include packaging materials.
[0018] In one example, this disclosure describes a computer-readable storage medium that stores instructions that, when executed, cause a computing device to divide a leaf- level unit of video data into a plurality of transform coefficient sub-sets, and generate, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set of includes any non-zero coefficients.
[0019] In another example, this disclosure describes a computer-readable storage medium that stores instructions that, when executed, cause a computing device to divide a leaf-level unit of video data into a plurality of transform coefficient sub-sets, determine, a sub-set of the plurality of transform coefficient sub-sets, whether the subset includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients, and determine, based on the syntax element, whether or not to decode the sub-set.
[0020] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.
BRIEF DESCRIPTION OF DRAWINGS
[0021] FIG. 1 is a block diagram that illustrates one example of a video encoding and decoding system configured to operate according to the techniques of this disclosure.
[0022] FIG. 2 is a block diagram that illustrates one example of a video encoder configured to operate according to the techniques of this disclosure.
[0023] FIG. 3 is a block diagram that illustrates one example of a video decoder configured to operate according to the techniques of this disclosure.
[0024] FIG. 4 is a conceptual diagram that illustrates one example of a leaf-level unit of video data divided into a plurality of transform coefficient sub-sets consistent with one or more aspects of this disclosure.
[0025] FIG. 5 is a flow diagram that illustrates one example of a method of encoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
[0026] FIG. 6 is a flow diagram that illustrates another example of a method of encoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
[0027] FIG. 7 is a flow diagram that illustrates another example of a method of encoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
[0028] FIG. 8 is a flow diagram that illustrates one example of a method of decoding a leaf-level unit of video data consistent with one or more aspects of this disclosure.
DETAILED DESCRIPTION
[0029] FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may utilize the techniques described in this disclosure. As shown in FIG. 1, system 10 includes a source device 12 that generates encoded video data to be decoded at a later time by a destination device 14. Source device 12 and destination device 14 may comprise any of a wide range of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called "smart" phones, so-called "smart" pads, televisions, cameras, display devices, digital media players, video gaming consoles, video streaming device, or the like. In some cases, source device 12 and destination device 14 may be equipped for wireless communication.
[0030] Destination device 14 may receive the encoded video data to be decoded via a link 16. Link 16 may comprise any type of medium or device capable of moving the encoded video data from source device 12 to destination device 14. In one example, link 16 may comprise a communication medium to enable source device 12 to transmit encoded video data directly to destination device 14 in real-time. The encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to destination device 14. The communication medium may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines. The
communication medium may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet. The
communication medium may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from source device 12 to destination device 14.
[0031] Alternatively, encoded data may be output from output interface 22 to a storage device 32. Similarly, encoded data may be accessed from storage device 32 by input interface 28. Storage device 32 may include any of a variety of distributed or locally accessed data storage media such as a hard drive, Blu-ray discs, DVDs, CD-ROMs, flash memory, volatile or non- volatile memory, or any other suitable digital storage media for storing encoded video data. In a further example, storage device 32 may correspond to a file server or another intermediate storage device that may hold the encoded video generated by source device 12. Destination device 14 may access stored video data from storage device 32 via streaming or download. The file server may be any type of server capable of storing encoded video data and transmitting that encoded video data to the destination device 14. Example file servers include a web server (e.g., for a website), an FTP server, network attached storage (NAS) devices, or a local disk drive. Destination device 14 may access the encoded video data through any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server. The transmission of encoded video data from storage device 32 may be a streaming transmission, a download transmission, or a combination of both.
[0032] The techniques of this disclosure are not necessarily limited to wireless applications or settings. The techniques may be applied to video coding in support of any of a variety of multimedia applications, such as over-the-air television broadcasts, cable television transmissions, satellite television transmissions, streaming video transmissions, e.g., via the Internet, encoding of digital video for storage on a data storage medium, decoding of digital video stored on a data storage medium, or other applications. In some examples, system 10 may be configured to support one-way or two-way video transmission to support applications such as video streaming, video playback, video broadcasting, and/or video telephony.
[0033] In the example of FIG. 1, source device 12 includes a video source 18, video encoder 20 and an output interface 22. In some cases, output interface 22 may include a modulator/demodulator (modem) and/or a transmitter. In source device 12, video source 18 may include a source such as a video capture device, e.g., a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources. As one example, if video source 18 is a video camera, source device 12 and destination device 14 may form so-called camera phones or video phones. However, the techniques described in this disclosure may be applicable to video coding in general, and may be applied to wireless and/or wired applications.
[0034] The captured, pre-captured, or computer-generated video may be encoded by video encoder 20. The encoded video data may be transmitted directly to destination device 14 via output interface 22 of source device 12. The encoded video data may also (or alternatively) be stored onto storage device 32 for later access by destination device 14 or other devices, for decoding and/or playback.
[0035] Destination device 14 includes an input interface 28, a video decoder 30, and a display device 32. In some cases, input interface 28 may include a receiver and/or a modem. Input interface 28 of destination device 14 receives the encoded video data over link 16. The encoded video data communicated over link 16, or provided on storage device 32, may include a variety of syntax elements generated by video encoder 20 for use by a video decoder, such as video decoder 30, in decoding the video data. Such syntax elements may be included with the encoded video data transmitted on a communication medium, stored on a storage medium, or stored a file server.
[0036] Display device 32 may be integrated with, or external to, destination device 14. In some examples, destination device 14 may include an integrated display device and also be configured to interface with an external display device. In other examples, destination device 14 may be a display device. In general, display device 32 displays the decoded video data to a user, and may comprise any of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device.
[0037] Video encoder 20 and video decoder 30 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard presently under development, and may conform to the HEVC Test Model (HM).
Alternatively, video encoder 20 and video decoder 30 may operate according to other proprietary or industry standards, such as the ITU-T H.264 standard, alternatively referred to as MPEG-4, Part 10, Advanced Video Coding (AVC), or extensions of such standards. The techniques of this disclosure, however, are not limited to any particular coding standard. Other examples of video compression standards include MPEG-2 and ITU-T H.263.
[0038] Although not shown in FIG. 1, in some aspects, video encoder 20 and video decoder 30 may each be integrated with an audio encoder and decoder, and may include appropriate MUX-DEMUX units, or other hardware and software, to handle encoding of both audio and video in a common data stream or separate data streams. If applicable, in some examples, MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP).
[0039] Video encoder 20 and video decoder 30 each may be implemented as any of a variety of suitable encoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof. When the techniques are implemented partially in software, a device may store instructions for the software in a suitable, non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Each of video encoder 20 and video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
[0040] The JCT-VC is working on development of the HEVC standard. The HEVC standardization efforts are based on an evolving model of a video coding device referred to as the HEVC Test Model (HM). The HM presumes several additional capabilities of video coding devices relative to existing devices according to, e.g., ITU-T H.264/AVC. For example, whereas H.264 provides nine intra-prediction encoding modes, the HM may provide as many as thirty-three intra-prediction encoding modes.
[0041] In general, the working model of the HM describes that a video frame or picture may be divided into a sequence of treeblocks or largest coding units (LCU) that include both luma and chroma samples. A treeblock has a similar purpose as a macroblock of the H.264 standard. A slice includes a number of consecutive treeblocks in coding order. A video frame or picture may be partitioned into one or more slices. Each treeblock may be split into coding units (CUs) according to a quadtree. For example, a treeblock, as a root node of the quadtree, may be split into four child nodes, and each child node may in turn be a parent node and be split into another four child nodes. A final, unsplit child node, as a leaf node of the quadtree, comprises a coding node, i.e., a coded video block. Such a final, unsplit child node of a video data structure is referred to as a leaf-level unit herein. Syntax data associated with a coded bitstream may define a maximum number of times a treeblock may be split, and may also define a minimum size of the coding nodes.
[0042] A CU includes a coding node and prediction units (PUs) and transform units (TUs) associated with the coding node. A size of the CU corresponds to a size of the coding node and must be square in shape. The size of the CU may range from 8x8 pixels up to the size of the treeblock with a maximum of 64x64 pixels or greater. Each CU may contain one or more PUs and one or more TUs. Syntax data associated with a CU may describe, for example, partitioning of the CU into one or more PUs.
Partitioning modes may differ between whether the CU is skip or direct mode encoded, intra-prediction mode encoded, or inter-prediction mode encoded. PUs may be partitioned to be non-square in shape. Syntax data associated with a CU may also describe, for example, partitioning of the CU into one or more TUs according to a quadtree. A TU can be square or non-square in shape.
[0043] The HEVC standard allows for transformations according to TUs, which may be different for different CUs. The TUs are typically sized based on the size of PUs within a given CU defined for a partitioned LCU, although this may not always be the case. The TUs are typically the same size or smaller than the PUs. In some examples, residual samples corresponding to a CU may be subdivided into smaller units using a quadtree structure known as "residual quad tree" (RQT). The leaf nodes of the RQT may be referred to as transform units (TUs). Such a leaf node TU is one example of a leaf-level unit as described herein. Pixel difference values associated with the TUs may be transformed to produce transform coefficients, which may be quantized.
[0044] In general, a PU includes data related to the prediction process. For example, when the PU is intra-mode encoded, the PU may include data describing an intra- prediction mode for the PU. As another example, when the PU is inter-mode encoded, the PU may include data defining a motion vector for the PU. The data defining the motion vector for a PU may describe, for example, a horizontal component of the motion vector, a vertical component of the motion vector, a resolution for the motion vector (e.g., one-quarter pixel precision or one-eighth pixel precision), a reference picture to which the motion vector points, and/or a reference picture list (e.g., List 0, List 1 , or List C) for the motion vector.
[0045] In general, a TU is used for the transform and quantization processes. A given CU having one or more PUs may also include one or more transform units (TUs). Following prediction, video encoder 20 may calculate residual values corresponding to the PU. The residual values comprise pixel difference values that may be transformed into transform coefficients, quantized, and scanned using the TUs to produce serialized transform coefficients for entropy coding. This disclosure typically uses the term "video block" to refer to a coding node of a CU. In some specific cases, this disclosure may also use the term "video block" to refer to a treeblock, i.e., LCU, or a CU, which includes a coding node and PUs and TUs.
[0046] A video sequence typically includes a series of video frames or pictures. A group of pictures (GOP) generally comprises a series of one or more of the video pictures. A GOP may include syntax data in a header of the GOP, a header of one or more of the pictures, or elsewhere, that describes a number of pictures included in the GOP. Each slice of a picture may include slice syntax data that describes an encoding mode for the respective slice. Video encoder 20 typically operates on video blocks within individual video slices in order to encode the video data. A video block may correspond to a coding node within a CU. The video blocks may have fixed or varying sizes, and may differ in size according to a specified coding standard.
[0047] As an example, the HM supports prediction in various PU sizes. Assuming that the size of a particular CU is 2Nx2N, the HM supports intra-prediction in PU sizes of 2Nx2N or NxN, and inter-prediction in symmetric PU sizes of 2Nx2N, 2NxN, Nx2N, or NxN. The HM also supports asymmetric partitioning for inter-prediction in PU sizes of 2NxnU, 2NxnD, nLx2N, and nRx2N. In asymmetric partitioning, one direction of a CU is not partitioned, while the other direction is partitioned into 25% and 75%. The portion of the CU corresponding to the 25% partition is indicated by an "n" followed by an indication of "Up", "Down," "Left," or "Right." Thus, for example, "2NxnU" refers to a 2Nx2N CU that is partitioned horizontally with a 2Nx0.5N PU on top and a 2Nxl .5N PU on bottom.
[0048] In this disclosure, "NxN" and "N by N" may be used interchangeably to refer to the pixel dimensions of a video block in terms of vertical and horizontal dimensions, e.g., 16x16 pixels or 16 by 16 pixels. In general, a 16x16 block will have 16 pixels in a vertical direction (y = 16) and 16 pixels in a horizontal direction (x = 16). Likewise, an NxN block generally has N pixels in a vertical direction and N pixels in a horizontal direction, where N represents a nonnegative integer value. The pixels in a block may be arranged in rows and columns. Moreover, blocks need not necessarily have the same number of pixels in the horizontal direction as in the vertical direction. For example, blocks may comprise NxM pixels, where M is not necessarily equal to N.
[0049] Following intra-predictive or inter-predictive coding using the PUs of a CU, video encoder 20 may calculate residual data for the TUs of the CU. The PUs may comprise pixel data in the spatial domain (also referred to as the pixel domain) and the TUs may comprise coefficients in the transform domain following application of a transform, e.g., a discrete cosine transform (DCT), an integer transform, a wavelet transform, or a conceptually similar transform to residual video data. The residual data may correspond to pixel differences between pixels of the unencoded picture and prediction values corresponding to the PUs. Video encoder 20 may form the TUs including the residual data for the CU, and then transform the TUs to produce transform coefficients for the CU.
[0050] Following any transforms to produce transform coefficients, video encoder 20 may perform quantization of the transform coefficients. Quantization generally refers to a process in which transform coefficients are quantized to possibly reduce the amount of data used to represent the coefficients, providing further compression. The quantization process may reduce the bit depth associated with some or all of the coefficients. For example, an n-bit value may be rounded down to an m-bit value during quantization, where n is greater than m.
[0051] In some examples, video encoder 20 may utilize a predefined scan order to scan the quantized transform coefficients to produce a serialized vector that can be entropy encoded. In other examples, video encoder 20 may perform an adaptive scan. After scanning the quantized transform coefficients to form a one-dimensional vector, video encoder 20 may entropy encode the one-dimensional vector, e.g., according to context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), Probability Interval Partitioning Entropy (PIPE) coding or another entropy encoding methodology. Video encoder 20 may also entropy encode syntax elements associated with the encoded video data for use by video decoder 30 in decoding the video data.
[0052] To perform CABAC, video encoder 20 may assign a context within a context model to a symbol to be transmitted. The context may relate to, for example, whether neighboring values of the symbol are non-zero or not. To perform CAVLC, video encoder 20 may select a variable length code for a symbol to be transmitted.
Codewords in VLC may be constructed such that relatively shorter codes correspond to more probable symbols, while longer codes correspond to less probable symbols. In this way, the use of VLC may achieve a bit savings over, for example, using equal- length codewords for each symbol to be transmitted. The probability determination may be based on a context assigned to the symbol.
[0053] In accordance with this disclosure, video encoder 20 of source device 12 may scan transform coefficients of a leaf-level unit of video data (e.g., a leaf node of a quadtree or other data structure) that includes a two-dimensional matrix of transform coefficients (e.g., that each correspond to pixels of a displayed image) into a one- dimensional vector that represents the transform coefficients. According to the techniques described herein, when performing such a scan, video encoder 20 may divide the leaf-level unit of video data into a plurality of transform coefficient sub-sets. For each of the sub-sets of the leaf-level unit, encoder 20 may determine whether or not to signal, to a decoder as part of an entropy encoded bit stream, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients. Encoder 20 may determine whether or not to signal the syntax element for a particular sub-set based on determining whether or not signaling the syntax element will improve coding efficiency. To determine whether signaling the syntax element will improve coding efficiency, encoder 20 may apply one or more rules, as described in further detail below. Encoder 20 may output an entropy encoded bit stream that includes the block of video data. The entropy encoded bit stream may then be read and decoded by a decoder, to reconstruct the two-dimensional matrix that represents the leaf-level unit of video data.
[0054] Reciprocal transform coefficient decoding may also be performed by video decoder 30 of destination device 14. That is, video decoder 30 may map coefficients of a one-dimensional vector of transform coefficients that represent a block of video data to positions within a two-dimensional matrix of transform coefficients, to reconstruct the two-dimensional matrix of transform coefficients. According to the techniques described herein, decoder 30 may read a one-dimensional matrix that represents a leaf- level unit of video data, and divide the leaf-level unit into a plurality of transform coefficient sub-sets. For each of the sub-sets, the decoder 30 may determine whether or not to decode transform coefficients of the sub-set. For example, if the decoder 30 does not read, in the entropy encoded bit stream, a syntax element that indicates whether or not a particular sub-set has non-zero coefficients, then the decoder 30 decodes the coefficients of the sub-set. However, if the decoder 30 does read such syntax element associated with a particular sub-set, the decoder 30 may determine whether or not to decode the transform coefficients of the sub-set based on the value of the syntax element. For example, if the syntax element indicates that the sub-set does include nonzero coefficients, decoder 30 decodes the transform coefficients of the sub-set. However, if the syntax element indicates that the sub-set does not include any non-zero coefficients, decoder 30 does not decode the transform coefficients of the sub-set.
[0055] The techniques described herein may improve an efficiency of video coding. For example, dividing a block of video data into a plurality of transform coefficient sub- sets, and signaling syntax elements that indicate whether or not the sub-sets include non-zero coefficients as described herein may reduce a number of bits needed to represent video data, which may improve a level of efficiency of the encoder/decoder.
[0056] FIG. 2 is a block diagram illustrating an example video encoder 20 that may implement the inter-prediction techniques described in this disclosure. Video encoder 20 may perform intra- and inter-coding of video blocks within video slices.
Intra-coding relies on spatial prediction to reduce or remove spatial redundancy in video within a given video frame or picture. Inter-coding relies on temporal prediction to reduce or remove temporal redundancy in video within adjacent frames or pictures of a video sequence. Intra-mode (I mode) may refer to any of several spatial based compression modes. Inter-modes, such as uni-directional prediction (P mode) or bi- prediction (B mode), may refer to any of several temporal-based compression modes.
[0057] In the example of FIG. 2, video encoder 20 includes a partitioning unit 35, prediction module 41, reference picture memory 64, summer 50, transform module 52, quantization unit 54, and entropy encoding unit 56. Prediction module 41 includes motion estimation unit 42, motion compensation unit 44, and intra prediction module 46. For video block reconstruction, video encoder 20 also includes inverse quantization unit 58, inverse transform module 60, and summer 62. A deblocking filter (not shown in FIG. 2) may also be included to filter block boundaries to remove blockiness artifacts from reconstructed video. If desired, the deblocking filter would typically filter the output of summer 62. Additional loop filters (in loop or post loop) may also be used in addition to the deblocking filter.
[0058] As shown in FIG. 2, video encoder 20 receives video data, and partitioning unit 35 partitions the data into video blocks. This partitioning may also include partitioning into slices, tiles, or other larger units, as wells as video block partitioning, e.g., according to a quadtree structure of LCUs and CUs. Video encoder 20 generally illustrates the components that encode video blocks within a video slice to be encoded. The slice may be divided into multiple video blocks (and possibly into sets of video blocks referred to as tiles). Prediction module 41 may select one of a plurality of possible coding modes, such as one of a plurality of intra coding modes or one of a plurality of inter coding modes, for the current video block based on error results (e.g., coding rate and the level of distortion). Prediction module 41 may provide the resulting intra- or inter-coded block to summer 50 to generate residual block data and to summer 62 to reconstruct the encoded block for use as a reference picture.
[0059] Intra prediction module 46 within prediction module 41 may perform intra- predictive coding of the current video block relative to one or more neighboring blocks in the same frame or slice as the current block to be coded to provide spatial
compression. Motion estimation unit 42 and motion compensation unit 44 within prediction module 41 perform inter-predictive coding of the current video block relative to one or more predictive blocks in one or more reference pictures to provide temporal compression.
[0060] Motion estimation unit 42 may be configured to determine the inter-prediction mode for a video slice according to a predetermined pattern for a video sequence. The predetermined pattern may designate video slices in the sequence as P slices, B slices or GPB slices. Motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes. Motion estimation, performed by motion estimation unit 42, is the process of generating motion vectors, which estimate motion for video blocks. A motion vector, for example, may indicate the displacement of a PU of a video block within a current video frame or picture relative to a predictive block within a reference picture.
[0061] A predictive block is a block that is found to closely match the PU of the video block to be coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics. In some examples, video encoder 20 may calculate values for sub-integer pixel positions of reference pictures stored in reference picture memory 64. For example, video encoder 20 may interpolate values of one-quarter pixel positions, one-eighth pixel positions, or other fractional pixel positions of the reference picture. Therefore, motion estimation unit 42 may perform a motion search relative to the full pixel positions and fractional pixel positions and output a motion vector with fractional pixel precision.
[0062] Motion estimation unit 42 calculates a motion vector for a PU of a video block in an inter-coded slice by comparing the position of the PU to the position of a predictive block of a reference picture. The reference picture may be selected from a first reference picture list (List 0) or a second reference picture list (List 1), each of which identify one or more reference pictures stored in reference picture memory 64. Motion estimation unit 42 sends the calculated motion vector to entropy encoding unit 56 and motion compensation unit 44.
[0063] Motion compensation, performed by motion compensation unit 44, may involve fetching or generating the predictive block based on the motion vector determined by motion estimation, possibly performing interpolations to sub-pixel precision. Upon receiving the motion vector for the PU of the current video block, motion compensation unit 44 may locate the predictive block to which the motion vector points in one of the reference picture lists. Video encoder 20 forms a residual video block by subtracting pixel values of the predictive block from the pixel values of the current video block being coded, forming pixel difference values. The pixel difference values form residual data for the block, and may include both luma and chroma difference components. Summer 50 represents the component or components that perform this subtraction operation. Motion compensation unit 44 may also generate syntax elements associated with the video blocks and the video slice for use by video decoder 30 in decoding the video blocks of the video slice.
[0064] After motion compensation unit 44 generates the predictive block for the current video block, video encoder 20 forms a residual video block by subtracting the predictive block from the current video block. The residual video data in the residual block may be included in one or more TUs and applied to transform module 52. Transform module 52 transforms the residual video data into residual transform coefficients using a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform. Transform module 52 may convert the residual video data from a pixel domain to a transform domain, such as a frequency domain.
[0065] Transform module 52 may send the resulting transform coefficients to quantization unit 54. Quantization unit 54 quantizes the transform coefficients to further reduce bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be modified by adjusting a quantization parameter.
[0066] Following quantization, entropy encoding unit 56 entropy encodes the quantized transform coefficients. For example, entropy encoding unit 56 may perform context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding or another entropy encoding methodology or technique. Following the entropy encoding by entropy encoding unit 56, the encoded bitstream may be transmitted to video decoder 30, or archived for later transmission or retrieval by video decoder 30. Entropy encoding unit 56 may also entropy encode the motion vectors and the other syntax elements for the current video slice being coded. In some examples, entropy encoding unit 56 may then perform a scan of the matrix including the quantized transform coefficients to generate a one-dimensional vector of transform coefficients of an entropy encoded bit stream.
[0067] According to the techniques of this disclosure, when scanning a matrix of transform coefficients to generate a one-dimensional vector, entropy encoding unit 56 may divide a leaf-level unit of video data, such as an un-split child node of a quadtree structure as described above, into a plurality of transform coefficients sub-sets that are smaller than the leaf-level unit. For example, entropy encoding unit 56 may divide the leaf-level unit of video data into a plurality of sub-sets that each comprise a geometrical shape within the leaf-level unit. In some examples, entropy encoding unit 56 may divide the transform coefficients of the leaf-level unit into smaller rectangular shaped arrangements of video data. In other examples, entropy encoding unit 56 may divide the transform coefficients of the leaf-level unit into triangular shaped sub-sets of transform coefficients. In still other examples, entropy encoding unit 56 may divide the transform coefficients of the leaf-level unit into sub-sets having other shapes, or even sub-sets that do not correspond to any particular a geometric shape. Instead, entropy encoding unit 56 may divide the plurality of transform coefficients of the leaf-level unit according to a scan order of the transform coefficients, which may be fixed or adaptive. For example, entropy encoding unit 56 may divide the plurality of transform
coefficients of the leaf-level units into a plurality of sub-sets of transform coefficients, based on a scan order (e.g., an adaptive or fixed scan order) of the transform
coefficients. The sub-sets may have similar or different numbers of coefficients in different examples.
[0068] According to the techniques described herein, once the leaf-level unit of transform coefficients has been divided into a plurality of sub-sets, entropy encoding unit 56 may generate, for at least some of the plurality of sub-sets, a syntax element that indicates whether the respective sub-set includes any non-zero coefficients. In some examples, entropy encoding unit 56 may generate such a syntax element for each subset of the plurality of sub-sets of transform coefficients. In other examples, entropy encoding unit 56 may selectively determine whether or not to generate such a syntax element, for each sub-set of the plurality of sub-sets. The decision whether or not to generate such a syntax element may be based on whether such signaling provides for additional compression or improved coding efficiency. If so, the syntax element may be generated, but if not, both encoder 20 and decoder 30 may be programmed to know that the indication is not signaled in that instance.
[0069] According to the techniques of this disclosure, to determine whether or not generating such a syntax element will improve compression or coding efficiency, entropy encoding unit 56 may apply one or more rules, as described in further detail below. As one example, entropy encoding unit 56 may determine whether to generate the syntax element for a particular sub-set based on a number of potential non-zero coefficients of the sub-set. For example, entropy encoding unit 56 may determine whether to generate the syntax element based on comparing a number of potential nonzero coefficients of the sub-set to a threshold.
[0070] As one example of such a technique, to determine the number of potential nonzero coefficients of a sub-set, entropy encoding unit 56 determines a number of coefficients of the sub-set that have an earlier position than a last non-zero coefficient of the leaf-level unit, and compare the determined number of coefficients to a threshold thNoCoeff, as shown in the example of FIG. 6 and described in further detail below. According to this example, if the determined number of potential non-zero coefficients is greater than the threshold thNoCoeff, entropy encoding unit 56 generates a syntax element that indicates whether or not the sub-set includes any non-zero coefficients. However, if the determined number of potential non-zero coefficients is less than or equal to the threshold thNoCoeff, entropy encoding unit 56 may not generate the syntax element. As one example, entropy encoding unit 56 determines whether to signal a syntax element that indicates whether a particular sub-set includes any non-zero coefficients based on the pseudo code of Example 1 below:
Example 1
noCoeff[xS] [yS]>thNoCoeff where noCoeff[xS] [yS] indicates a number of potential non-zero coefficients of a subset, and thNoCoeff is a threshold value. [0071] In other examples, entropy encoding unit 56 may determine whether or not to signal the syntax element that indicates whether a sub-set of transform coefficients includes any non-zero coefficients based on other rules. For example, entropy encoding unit 56 may determine whether or not to signal the syntax element for a sub-set based on an average number of non-zero coefficients of the sub-set, as described in further detail below with respect to the example of FIG. 7. According to this example, as leaf- level units of video data are being coded, entropy encoding unit 56 may collect and store statistics that indicate how often coefficients at positions within each sub-set are non-zero. Based on such stored statistics, entropy encoding unit 56 may determine whether or not to generate the syntax element. For example, entropy encoding unit 56 may compare an average number of non-zero coefficients for a sub-set to a threshold tfiAvrgCoeff If the average number of non-zero coefficients of the sub-set is less than the threshold, entropy encoding unit 56 generates the syntax element. However, if the average number of non-zero coefficients of the sub-set is greater than or equal to the threshold tfiAvrgCoeff, entropy encoding unit 56 does not generate the syntax element based on the assumption that in this case it is very likely the sub-set contains at least one non-zero coefficient.
[0072] As another example, for a sub-set that contains the last non-zero coefficient (relative to a zig-zag scan, a first non-zero coefficient of an inverse zig-zag scan) of leaf-level unit, the fact that that sub-set contains the last non-zero coefficient means that that subset must include at least one non-zero coefficient, and therefore, it can be assumed that any sub-set that includes the last non-zero coefficient must include at least one non-zero coefficient. Accordingly, there is no need to generate the syntax element for a sub-set that includes the last non-zero coefficient, since this subset can be assumed to include at least one non-zero coefficient.
[0073] As one example, entropy encoding unit 56 may determine whether to signal a syntax element that indicates whether a particular sub-set includes any non-zero coefficients based on the pseudo code of Example 2 below:
Example 2
(noCodedCoeff[xS] [yS]+noSubBlks[xS][yS]/2)/noSubBlks<tbAvrgCoeff
Here noCodedCoeffTxS] [yS] indicates the number of non-zero coefficients in a sub-set. According to the pseudo code of Example 1, entropy encoding unit 56 initializes values in the variable array noCoeff[xS][yS] to 0 before encoding a leaf-level unit of video data block and assigning values to the array based on a value of a lastPos syntax element, which indicates a last non-zero coefficient position within a leaf-level unit of video data: for (pos=0; pos<= lastPos; pos++) {
xC= ScanOrder [0][pos];
yC= ScanOrder [l][pos];
noCoeff[xC/M] [yC/M]++;
}
According to the pseudo code of Example 2, after the leaf-level unit is encoded, entropy encoding unit 56 may update the variable arrays noSubBlks and noCodedCoeff as follows: for (pos=0; pos<= lastPos; pos++){
xC= ScanOrder [0][pos];
yC= ScanOrder [l][pos];
if (transCoeffLevel[xC][yC] != 0){
noCodedCoeff[xC/M] [yC/M]++;
}
}
for (xS=0; xS<N/M; xS++){
for (yS=0; yS<N/M; yS++){
if (noCoeff[xS] [yS]>0){
noSubBlks[xS] [yS]++;
}
}
} [0074] By using the pseudo code of Example 2 above, entropy encoding unit 56 may determine whether or not to signal a syntax element that indicates whether or not a subset of transform coefficients of a leaf-level unit includes any non-zero coefficients, based on an average number of non-zero coefficients of the sub-set for previously encoded leaf-level units of video data.
[0075] Inverse quantization unit 58 and inverse transform module 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain for later use as a reference block of a reference picture. Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the reference pictures within one of the reference picture lists. Motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values for use in motion estimation. Summer 62 adds the reconstructed residual block to the motion
compensated prediction block produced by motion compensation unit 44 to produce a reference block for storage in reference picture memory 64. The reference block may be used by motion estimation unit 42 and motion compensation unit 44 as a reference block to inter-predict a block in a subsequent video frame or picture.
[0076] FIG. 3 is a block diagram illustrating an example video decoder 30 that may implement the inter-prediction techniques described in this disclosure. In the example of FIG. 3, video decoder 30 includes an entropy decoding unit 80, prediction module 81, inverse quantization unit 86, inverse transformation unit 88, summer 90, and reference picture memory 92. Prediction module 81 includes motion compensation unit 82 and intra prediction module 84. Video decoder 30 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 20 from FIG. 2.
[0077] During the decoding process, video decoder 30 receives an encoded video bitstream that represents video blocks of an encoded video slice and associated syntax elements from video encoder 20. Entropy decoding unit 80 of video decoder 30 entropy decodes the bitstream to generate quantized coefficients, motion vectors, and other syntax elements. Entropy decoding unit 80 forwards the motion vectors and other syntax elements to prediction module 81. Video decoder 30 may receive the syntax elements at the video slice level and/or the video block level. [0078] Entropy decoding unit 80 may read a one-dimensional vector of transform coefficients decoded by entropy decoding unit, and reconstruct a two-dimensional matrix of transform coefficients from the one-dimensional vector. According to the techniques described herein, entropy decoding unit 80 may read a one-dimensional matrix that represents a leaf-level unit of video data, and divide the leaf-level unit into a plurality of transform coefficient sub-sets. The transform coefficient sub-sets may have a rectangular, triangular, or any other shape or arrangement. For each of the sub-sets, inverse entropy decoding unit 80 determines whether or not to decode transform coefficients of the sub-set. For example, if entropy decoding unit 80 does not read a syntax element that indicates whether or not a particular sub-set has non-zero coefficients, then inverse quantization unit 86 decodes the coefficients of the sub-set. However, if entropy decoding unit 80 does read such syntax element associated with a particular sub-set, entropy decoding unit 80 may determine whether or not to decode the transform coefficients of the sub-set based on the value of the syntax element. For example, if the syntax element indicates that the sub-set does include non-zero coefficients, entropy decoding unit 80 decodes the transform coefficients of the sub-set. However, if the syntax element indicates that the sub-set does not include any non-zero coefficients, entropy decoding unit 80 does not decode the transform coefficients of the sub-set.
[0079] When the video slice is coded as an intra-coded (I) slice, intra prediction module 84 of prediction module 81 may generate prediction data for a video block of the current video slice based on a signaled intra prediction mode and data from previously decoded blocks of the current frame or picture. When the video frame is coded as an inter-coded (i.e., B, P or GPB) slice, motion compensation unit 82 of prediction module 81 produces predictive blocks for a video block of the current video slice based on the motion vectors and other syntax elements received from entropy decoding unit 80. The predictive blocks may be produced from one of the reference pictures within one of the reference picture lists. Video decoder 30 may construct the reference frame lists, List 0 and List 1 , using default construction techniques based on reference pictures stored in reference picture memory 92.
[0080] Motion compensation unit 82 determines prediction information for a video block of the current video slice by parsing the motion vectors and other syntax elements, and uses the prediction information to produce the predictive blocks for the current video block being decoded. For example, motion compensation unit 82 uses some of the received syntax elements to determine a prediction mode (e.g., intra- or inter-prediction) used to code the video blocks of the video slice, an inter-prediction slice type (e.g., B slice, P slice, or GPB slice), construction information for one or more of the reference picture lists for the slice, motion vectors for each inter-encoded video block of the slice, inter-prediction status for each inter-coded video block of the slice, and other information to decode the video blocks in the current video slice.
[0081] Motion compensation unit 82 may also perform interpolation based on interpolation filters. Motion compensation unit 82 may use interpolation filters as used by video encoder 20 during encoding of the video blocks to calculate interpolated values for sub-integer pixels of reference blocks. In this case, motion compensation unit 82 may determine the interpolation filters used by video encoder 20 from the received syntax elements and use the interpolation filters to produce predictive blocks. Inverse quantization unit 86 inverse quantizes, i.e., de-quantizes, the quantized transform coefficients provided in the bitstream and decoded by entropy decoding unit 80.
[0082] In some examples, the inverse quantization process may include use of a quantization parameter calculated by video encoder 20 for each video block in the video slice to determine a degree of quantization and, likewise, a degree of inverse
quantization that should be applied. Inverse transform module 88 applies an inverse transform, e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process, to the transform coefficients in order to produce residual blocks in the pixel domain.
[0083] After motion compensation unit 82 generates the predictive block for the current video block based on the motion vectors and other syntax elements, video decoder 30 forms a decoded video block by summing the residual blocks from inverse transform module 88 with the corresponding predictive blocks generated by motion compensation unit 82. Summer 90 represents the component or components that perform this summation operation. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts. Other loop filters (either in the coding loop or after the coding loop) may also be used to smooth pixel transitions, or otherwise improve the video quality. The decoded video blocks in a given frame or picture are then stored in reference picture memory 92, which stores reference pictures used for subsequent motion compensation. Reference picture memory 92 also stores decoded video for later presentation on a display device, such as display device 32 of FIG. 1.
[0084] FIG. 4 is a conceptual diagram that depicts one example of a leaf-level unit 410 divided into a plurality of transform coefficient sub-sets consistent with the techniques described herein. Leaf-level unit 410 depicted in FIG. 4 may comprise an un-split child node of video data, e.g., a leaf node of a quadtree (RQT) structure. As shown in FIG. 4, each of the plurality of sub-sets 420 include a plurality of transform coefficients 412 (sixteen transform coefficients in the example of FIG. 1), which may or may not be nonzero coefficients with an amplitude greater than zero. As also shown in FIG. 4, a last non-zero coefficient (relative to a zig-zag scan, a first non-zero coefficient of an inverse zig-zag scan) of leaf-level unit 410 has a position (7, 7) within sub-set (1,1) of leaf-level unit 410.
[0085] As described above, once video encoder 20 has divided leaf-level unit 410 into a plurality of transform coefficient sub-sets 420, video encoder 20 may determine whether to generate a syntax element that indicates whether or not the sub-set includes any nonzero coefficients. For example, video encoder 20 may determine whether or not to generate the syntax element associated with a particular block based on a number of potential non-zero coefficients in the block.
[0086] According to the example of FIG. 4, a coefficient at position (7, 7) is a last nonzero coefficient of leaf-level unit 420, meaning all of the transform coefficients after position (7, 7) according to a zig-zag scan order (the non-shaded coefficients in the example of FIG. 4) have an amplitude of zero. According to one example, video encoder 20 may determine a number of potential non-zero coefficients in a sub-set based on a last non-zero coefficient position within leaf-level unit 410.
[0087] Video encoder 20 may, for each of respective sub-set of leaf-level unit 410 determine the potential number of non-zero coefficients (e.g., coefficients of the inverse zig-zag scan that follow the last non-zero coefficient of the scan at location (7, 7) of the sub-set). For example, video encoder 20 may determine that all sixteen coefficients of each of sub-sets (0, 0), (0, 1), (1, 0), (1, 1) and (2, 0) depicted in FIG. 4 are potentially non-zero coefficients, because all the coefficients of the sub-sets are before the last nonzero coefficient in the scan. Video encoder may also determine that fifteen coefficients of sub-set (0, 2) may potentially be non-zero coefficients, six coefficients of each of sub-sets (2, 1) and (3, 0) may potentially be non-zero coefficients, and three coefficients of sub-sets (1, 1) and (0, 3) may potentially be non-zero coefficients.
[0088] Encoder 20 may determine whether to generate a syntax element for the sub-sets 420 depicted in FIG. 4 based on the determined number of potential non-zero coefficients for each sub-set. For example, encoder 20 may compare the determined number of potential non-zero coefficients for each sub-set to a threshold thNoCoeff. If the determined number of potential non-zero coefficients is greater than the threshold, encoder 20 may generate the syntax element that indicates whether or not the sub-set includes non-zero coefficients. However, if the determined number of potential nonzero coefficients is less than or equal to the threshold, encoder 20 may not generate the syntax element.
[0089] According to one specific example, the threshold thNoCoeff may have a value of five (5). Referring to the example of FIG. 4, encoder 20 would signal the syntax element that indicates whether or not sub-sets (0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (2, 0), (2, 1), and (3, 0) include non-zero coefficients, because each of these sub-sets 420 include more potential non-zero coefficients than the threshold thNoCoeff value of five. However, for sub-sets (1,2), (0,3), (3,1), (2,2), (1,3), (3,2), (2,3), and (3,3), video encoder 20 would not generate the syntax element, because the sub-sets include less than five potential non-zero coefficients. For example, video encoder 20 may encode the transform coefficients of sub-sets (1,1) and (0, 2) and determine whether the subsets include any non-zero coefficients. If video encoder 20 determines that either of sub-sets (1,2) and (0, 3) include any non-zero coefficients, video encoder may generate a syntax element with a value of one (1) associated with the sub-set. Otherwise, if video encoder 20 determines that either of sub-sets (1,1) and (0, 2) do not include any nonzero, video encoder 20 may also generate a syntax element with a value of zero (0) associated with the sub-set. Video encoder 20 may also generate a syntax element with a value of (0) or (1) associated with each of sub-sets (0, 0), (0, 1), (1, 0), (2, 0), (2, 1), and (3, 0).
[0090] The syntax elements that indicate whether sub-sets (0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (2, 0), (2, 1), and (3, 0) have non-zero coefficients (e.g., separate syntax elements defined for each respective sub-set) may be output by video encoder 20 as part of an entropy encoded bit stream, and read by decoder 30. As part of reconstructing leaf-level unit 410, decoder 30 may divide data representing unit 410 into a plurality of sub- blocks. For each sub-block, decoder 30 may determine whether the entropy encoded bit stream includes a syntax element that indicates whether the sub-set includes non-zero coefficients. If decoder 30 reads a sub-block that does not include such a syntax element, decoder 30 decodes the coefficients of the sub-set. However, if decoder 30 does read such a syntax element associated with a sub-set, decoder 30 may use the value of the syntax element to determine whether to decode coefficients of the sub-set. For example, according to the example set forth above, if decoder 30 reads a syntax element value of one (1) for sub-set (1,1), decoder may decode the sub-set. However, if decoder 30 reads a syntax element value of zero (0) for sub-set (1,1) decoder 30 does not decode the transform coefficients of the sub-block.
[0091] FIG. 5 is a flow diagram that illustrates one example of a method of encoding video data consistent with one or more aspects of this disclosure. The method of FIG. 5 is described as being performed by encoder 20 depicted in FIGS. 1 and 2, however any other device may be used to perform the method of FIG. 5.
[0092] As shown in FIG. 5, encoder 20 divides a leaf-block of video data into a plurality of sub-sets that each includes a multiple transform coefficients (501). As one example, the plurality of sub-sets may comprise rectangular shaped sub-sets as depicted in the example of FIG. 4, or any other geometric shape or pattern. The leaf-level unit of video data may comprise a lowest-level coding unit of a video coding standard, such as an un-split child node of a quadtree structure as described above.
[0093] As also shown in FIG. 5, encoder 20 generates, for at least one of the plurality of sub-sets, a syntax element that indicates whether or not the sub-set includes non-zero coefficients (502). In some examples, encoder 20 may generate such a syntax element associated with each of the plurality of sub-sets. In other examples, encoder 20 may selectively determine whether or not to generate such a syntax element for each of the sub-sets. For example, encoder 20 may selectively determine whether to generate the syntax element based on whether generating the syntax element will improve coding efficiency and/or compression. The overhead associated with indicating that a particular sub-set actually includes non-zero coefficients may degrade compression in some cases, and in these cases, such overhead signaling can be avoided, and the encoder and decoder may encode/decode the sub-set without any determination of whether or not the sub-set includes non-zero coefficients. [0094] In some examples, encoder 20 may determine whether to generate the syntax element will improve coding efficiency based on a number of potential non-zero coefficients in a sub-set as described in further detail below with respect to FIG. 6, or based on an average number of coefficients of each sub-set as described in further detail below, as described in further detail below with respect to FIG. 7. If encoder 20 generates the syntax element associated with a sub-set, encoder 20 may output the syntax element as part of an entropy encoded bit stream. The entropy encoded bit stream may be read by a decoder 30 as depicted in FIG. 3, and the syntax element may be used by the decoder 30 to decode the leaf-level unit, as described in further detail with respect to FIG. 8 below.
[0095] FIG. 6 is a flow diagram that illustrates one example of a method of encoding video data consistent with one or more aspects of this disclosure. The method of FIG. 6 is described as being performed by encoder 20 depicted in FIG. 2, however any device may be used to perform the techniques of FIG. 6. According to the example of FIG. 6, encoder 20 determines whether generating a syntax element associated with a transform coefficient sub-set will improve coding efficiency based on an a number of potential non-zero coefficients for the sub-set.
[0096] As shown in the example of FIG. 6, encoder 20 divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets (601). As one example, the plurality of sub-sets may comprise rectangular shaped sub-sets as depicted in the example of FIG. 4, or any other geometric shape or pattern. The leaf-level unit of video data may comprise a lowest-level coding unit of a video coding standard, such as an un-split child node of a quadtree structure as described above.
[0097] According to the example, of FIG. 6, video encoder 20 determines whether or not to generate a syntax element associated with each of the plurality of sub-sets based on a number of potential non-zero coefficients of each sub-set. For example, as shown in FIG. 6, encoder 20 determines, for each sub-set, a number of potential non-zero coefficients of the sub-set (602). To determine the number of potential non-zero coefficients, encoder 20 may determine how many coefficients of each sub-set have a position before a last non-zero coefficient of the leaf-level unit, as described above with respect to the example of FIG. 4.
[0098] As also shown in FIG. 6, encoder 20 may compare the determined number of potential non-zero coefficients to a threshold value thNoCoeff (603). As also shown in FIG. 6, if the determined number of potential non-zero coefficients is greater than the threshold value thNoCoeff, encoder 20 generates the syntax element associated with the sub-set (604). However, if the determined number of potential non-zero coefficients is less than or equal to the threshold value thNoCoeff, encoder 20 does not generate the syntax element associated with the sub-set (605). According to these examples, if the number of potential non-zero coefficients is less than or equal to the threshold value thNoCoeff, it may be presumed that decoding encoding/decoding the sub-set should be performed. In this manner, the syntax element is not generated for those sub-sets that include very few potential non-zero coefficients, which may reduce a number of bits of information signaled by encoder 20 to represent the leaf-level unit of video data. This is because when a sub-set contains very few potential non-zero coefficients, the number of bits needed for signaling those non-zero coefficients is relatively small, which in turn results in relatively larger overhead in signaling the syntax element that indicates whether or not the sub-set has non-zero coefficients. As a result, it is better not to signal to the syntax element and instead code the coefficients of the sub-set directly when the sub-set contains very few potential non-zero coefficients (i.e., less than thNoCoeff).
[0099] FIG. 7 is a flow diagram that illustrates another example of a method of encoding video data consistent with one or more aspects of this disclosure. The method of FIG. 7 is described as being performed by encoder 20 depicted in FIG. 2, however any device may be used to perform the techniques of FIG. 7. According to the example of FIG. 7, encoder 20 determines whether generating a syntax element will improve coding efficiency based on an average number of non-zero coefficients for each sub-set.
[0100] As shown in FIG. 7, encoder 20 divides a leaf-level unit of video data into a plurality of transform coefficient sub-sets (701). As also shown in FIG. 7, for each subset, encoder 20 determines an average number of non-zero coefficients for the sub-set. For encoder 20 may be configured to collect statistics that indicate how often coefficients at positions within each sub-set of previously encoded leaf-level units of video data include non-zero coefficients. For example, encoder 20 may maintain one or more counters that count, as leaf-level units are encoded, how often coefficients within each sub-set are non-zero, and/or how many coefficients of each sub-set are non-zero. According to this example, when encoder 20 encodes a new leaf-level unit of video data, encoder 20 may access such a counter to determine the average number of non- zero coefficients for each sub-set. In some examples, the counter for each sub-set may be reset (e.g., initialized) periodically, such as with each video frame or slice.
[0101] As also shown in FIG. 7, encoder 20 compares the determined average number of non-zero coefficients to a threshold thAvrgCoeff (703). As also shown in FIG. 7, if the determined average number of non-zero coefficients is less than the threshold thAvrgCoeff, encoder 20 generates the syntax element associated with the sub-set (704). However, if the determined average number of non-zero coefficients is greater than or equal to the threshold, encoder 20 does not generate the syntax element associated with the sub-set (705).
[0102] As described above, encoder 20 may generate an entropy encoded bit stream that includes at least one syntax element that indicates whether a sub-set of transform coefficients includes any non-zero coefficients. Encoder 20 may determine whether to generate the syntax element based on a number of potential non-zero coefficients of the sub-set as shown in FIG. 6, or based on an average number of non-zero coefficients, as shown in FIG. 7. A decoder 30 may read the entropy encoded bit stream, including the at least one syntax element, and use the at least one syntax element to decode the entropy encoded bit stream.
[0103] FIG. 8 is a flow diagram that illustrates one example of a method that may be performed by a decoder consistent with one or more aspects of this disclosure. The method of FIG. 8 is described as being performed by decoder 30 depicted in FIG. 3, however any device may be used to perform the method of FIG. 8.
[0104] As shown in FIG. 8, decoder 30 may divide a leaf-level unit of video data into a plurality of sub-sets that each includes multiple transform coefficients (801). As one example, the plurality of sub-sets may comprise rectangular shaped sub-sets as depicted in the example of FIG. 4, or any other geometric shape or pattern. The leaf-level unit of video data may comprise a lowest-level coding unit of a video coding standard, such as an un-split child node of a quadtree structure as described above. The leaf-level unit of data is represented by an entropy encoded bit stream that includes at least one syntax element that indicates whether or not a sub-set of the plurality of sub-sets includes any non-zero coefficients.
[0105] As also shown in FIG. 8, for each of the sub-sets, decoder 30 determines whether the entropy encoded bit stream includes a syntax element associated with the sub-set (802). As also shown in FIG. 8, if the sub-set does not include such an associated syntax element, decoder 30 decodes the sub-set (e.g., the transform coefficients of the sub-set) (803). As also shown in FIG. 8, if the sub-set does include such an associated syntax element, decoder 30 may use the associated syntax element to determine whether to decode the sub-set (804). For example, if the syntax element has a first value (e.g., a one (1)), decoder 30 decodes the sub-set. However, if the syntax element has a second value (e.g., a zero(0)), decoder 30 does not decode the sub-set.
[0106] In one or more examples, the functions described herein may be implemented at least partially in hardware, such as specific hardware components or a processor. More generally, the techniques may be implemented in hardware, processors, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer- readable medium and executed by a hardware -based processing unit. Computer- readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. In this manner, computer-readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium.
[0107] By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium, i.e., a computer-readable transmission medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include
connections, carrier waves, signals, or other transient media, but are instead directed to non-transient, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0108] Instructions may be executed by one or more processors, such as one or more central processing units (CPU), digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
Accordingly, the term "processor," as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.
[0109] The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.
[0110] Various examples been described. These and other examples are within the scope of the following claims.

Claims

CLAIMS:
1. A method of encoding a unit of video data, comprising:
dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets; and
generating, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
2. The method of claim 1, further comprising:
determining, for the sub-set, whether or not to generate the syntax element.
3. The method of claim 2, wherein determining, for the sub-set, whether or not to generate the syntax element comprises determining whether generating the syntax element will improve coding efficiency.
4. The method of claim 2, wherein determining whether or not to generate the syntax element comprises comparing a number of potential non-zero coefficient of the sub-set to at least one threshold; and
if the number of potential non-zero coefficients of the sub-set is greater than the threshold, generating the syntax element.
5. The method of claim 4, further comprising:
determining the number of potential non-zero coefficients based on how many coefficients of the sub-set have a position after a last non-zero coefficient of the leaf- level unit.
6. The method of claim 2, wherein determining whether or not to generate the syntax element comprises:
determining, for a plurality of previously coded leaf-level units of video data, an average number of non-zero coefficients included in the subset;
comparing the average number of non-zero coefficients included in the sub-set to a threshold; and
if the average number of non-zero coefficients is less than the threshold, generating the syntax element.
7. The method of claim 2, wherein determining whether or not to generate the syntax element comprises:
determining whether the subset includes a last non-zero coefficient for the leaf- level unit of video data, wherein the syntax element that indicates whether or not the sub-set includes any non-zero coefficients is not generated if the subset includes the last non-zero coefficient.
8. The method of claim 1, further comprising:
determining, for each sub-set of the plurality of transform coefficient sub-sets, whether or not to generate the syntax element.
9. A device configured to encode at least one leaf-level unit of video data, comprising:
a processor configured to:
divide a leaf-level unit of video data into a plurality of transform coefficient sub-sets; and
generate, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
10. The device of claim 9, wherein the processor is further configured to:
determine, for the sub-set, whether or not to generate the syntax element.
11. The device of claim 10, wherein the processor is further configured to: determine, for the sub-set, whether or not to generate the syntax element based on whether generating the syntax element will improve coding efficiency.
12. The device of claim 10, wherein the processor is further configured to:
determine whether or not to generate the syntax element based on comparing a number of potential non-zero coefficient of the sub-set to at least one threshold; and if the number of potential non-zero coefficients of the sub-set is greater than the threshold, generate the syntax element.
13. The device of claim 12, wherein the processor is further configured to:
determine the number of potential non-zero coefficients based on how many coefficients of the sub-set have a position after a last non-zero coefficient of the leaf- level unit.
14. The device of claim 10, wherein the processor is further configured to:
determine, for a plurality of previously coded leaf-level units of video data, an average number of non-zero coefficients included in the subset;
compare the average number of non-zero coefficients included in the sub-set to a threshold; and
if the average number of non-zero coefficients is less than the threshold, generate the syntax element.
15. The device of claim 9, wherein the encoding module is further configured to: determine, for each sub-set of the plurality of transform coefficient sub-sets, whether or not to generate the syntax element.
16. The device of claim 9, wherein the processor is further configured to:
determining whether the subset includes a last non-zero coefficient for the leaf- level unit of video data, wherein the syntax element that indicates whether or not the sub-set includes any non-zero coefficients is not generated if the subset includes the last non-zero coefficient.
17. A computer-readable storage medium that stores instructions that, when executed, cause a computing device to:
divide a leaf-level unit of video data into a plurality of transform coefficient subsets; and
generate, for a sub-set of the plurality of transform coefficient sub-sets, a syntax element that indicates whether or not the sub-set of includes any non-zero coefficients.
18. The computer-readable storage medium of claim 17, wherein the instructions further cause the computing device to:
determine, for the sub-set, whether or not to generate the syntax element.
19. The computer-readable storage medium of claim 18, wherein the instructions further cause the computing device to:
determine, for the sub-set, whether or not to generate the syntax element based on whether generating the syntax element will improve coding efficiency.
20. The computer-readable storage medium of claim 18, wherein the instructions further cause the computing device to:
determine whether or not to generate the syntax element based on comparing a number of potential non-zero coefficient of the sub-set to at least one threshold; and if the number of potential non-zero coefficients of the sub-set is greater than the threshold, generate the syntax element.
21. The computer-readable storage medium of claim 20, wherein the instructions further cause the computing device to:
determine the number of potential non-zero coefficients based on how many coefficients of the sub-set have a position after a last non-zero coefficient of the leaf- level unit.
22. The computer-readable storage medium of claim 18, wherein the instructions further cause the computing device
to:
determine, for a plurality of previously coded leaf-level units of video data, an average number of non-zero coefficients included in the subset;
compare the average number of non-zero coefficients included in the sub-set to a threshold; and
if the average number of non-zero coefficients is less than the threshold, generate the syntax element.
23. The computer-readable storage medium of claim 17, wherein the instructions further cause the computing device to:
determine, for each sub-set of the plurality of transform coefficient sub-sets, whether or not to generate the syntax element.
24. The computer-readable storage medium of claim 17, wherein the instructions further cause the computing device to:
determine whether the subset includes a last non-zero coefficient for the leaf- level unit of video data, wherein the syntax element that indicates whether or not the sub-set includes any non-zero coefficients is not generated if the subset includes the last non-zero coefficient.
25. A device configured to encode at least one leaf-level unit of video data, comprising:
means for dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets; and
means for generating, for a sub-set of the plurality of transform coefficient subsets, a syntax element that indicates whether or not the sub-set includes any non-zero coefficients.
26. The device of claim 25, further comprising:
means for determining, for the sub-set, whether or not to generate the syntax element.
27. The device of claim 26, further comprising: means for determining, for the sub-set, whether or not to generate the syntax element based on whether generating the syntax element will improve coding efficiency.
28. The device of claim 26, further comprising:
means for determining whether or not to generate the syntax element based on comparing a number of potential non-zero coefficient of the sub-set to at least one threshold; and
means for, if the number of potential non-zero coefficients of the sub-set is greater than the threshold, generating the syntax element.
29. The device of claim 28, further comprising:
means for determining the number of potential non-zero coefficients based on how many coefficients of the sub-set have a position after a last non-zero coefficient of the leaf-level unit.
30. The device of claim 26, wherein the means for determining whether or not to generate the syntax element comprise:
means for determining, for a plurality of previously coded leaf-level units of video data, an average number of non-zero coefficients included in the subset;
means for comparing the average number of non-zero coefficients included in the sub-set to a threshold; and
means for, if the average number of non-zero coefficients is less than the threshold, generating the syntax element.
31. The device of claim 25, further comprising:
means for determining, for each sub-set of the plurality of transform coefficient sub-sets, whether or not to generate the syntax element.
32. The device of claim 25, further comprising:
means for determining whether the subset includes a last non-zero coefficient for the leaf-level unit of video data, wherein the syntax element that indicates whether or not the sub-set includes any non-zero coefficients is not generated if the subset includes the last non-zero coefficient.
33. A method of decoding a unit of video data, comprising:
dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets; and
determining, for a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients; and
determining, based on the syntax element, whether or not to decode the sub-set.
34. The method of claim 33, further comprising:
if the sub-set does not include the syntax element, decoding the sub-set.
35. The method of claim 34, further comprising:
if the sub-set of data does include the syntax element, determining whether to decode the sub-set based on the indication.
36. The method of claim 35, further comprising:
if the syntax element associated with the sub-set has a first value, decoding the sub-set; and
if the syntax element has a second value different than the first value, not decoding the sub-set.
37. The method of claim 33, further comprising:
determining, for each sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients; and
determining, based on the syntax element, whether or not to decode the sub-set.
38. The method of claim 33, further comprising: if the sub-set does not include the syntax element, determining whether the subset includes a separate syntax element that indicates that a last non-zero coefficient is included in the sub-set; and
decoding the subset if the sub-set includes the separate syntax element that indicates that a last non-zero coefficient is included in the sub-set.
39. A device configured to decode a unit of video data, comprising:
a processor configured to:
divide a leaf-level unit of video data into a plurality of transform coefficient sub-sets;
determine, for a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients; and
determine, based on the syntax element, whether or not to decode the sub-set.
40. The device of claim 39, wherein the processor is further configured to:
if the sub-set does not include the syntax element, decode the sub-set.
41. The device of claim 40, wherein the processor is further configured to:
if the sub-set of data does include the syntax element, determine whether to decode the sub-set based on the indication.
42. The device of claim 41, wherein the processor is further configured to:
if the syntax element associated with the sub-set has a first value, decode the sub-set; and
if the syntax element has a second value different than the first value, not decode the sub-set.
43. The device of claim 39, wherein the processor is further configured to:
determine, for each sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients; and determine, based on the syntax element, whether or not to decode the sub-set.
44. The device of claim 39, wherein the processor is further configured to:
if the sub-set does not include the syntax element, determine whether the sub-set includes a separate syntax element that indicates that a last non-zero coefficient is included in the sub-set; and
decode the subset if the sub-set includes the separate syntax element that indicates that a last non-zero coefficient is included in the sub-set.
45. A computer-readable storage medium that stores instructions that, when executed, cause a computing device to:
divide a leaf-level unit of video data into a plurality of transform coefficient subsets;
determine, a sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the subset includes any non-zero coefficients; and
determine, based on the syntax element, whether or not to decode the sub-set.
46. The computer-readable storage medium of claim 45, wherein the instructions further cause the computing device to:
if the sub-set does not include the syntax element, decode the sub-set.
47. The computer-readable storage medium of claim 46, wherein the instructions further cause the computing device to:
if the sub-set of data does include the syntax element, determine whether to decode the sub-set based on the indication.
48. The computer-readable storage medium of claim 47, wherein the instructions further cause the computing device to:
if the syntax element associated with the sub-set has a first value, decode the sub-set; and
if the syntax element has a second value different than the first value, not decode the sub-set.
49. The computer-readable storage medium of claim 46, wherein the instructions further cause the computing device to:
determine, for each sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients; and
determine, based on the syntax element, whether or not to decode the sub-set.
50. The computer-readable storage medium of claim 45, wherein the instructions further cause the computing device to:
if the sub-set does not include the syntax element, determine whether the sub-set includes a separate syntax element that indicates that a last non-zero coefficient is included in the sub-set; and
decode the subset if the sub-set includes the separate syntax element that indicates that a last non-zero coefficient is included in the sub-set.
51. A device configured to decode a unit of video data, comprising:
means for dividing a leaf-level unit of video data into a plurality of transform coefficient sub-sets;
means for determining, a sub-set of the plurality of transform coefficient subsets, whether the sub-set includes a syntax element that indicates whether or not the subset includes any non-zero coefficients; and
means for determining, based on the syntax element, whether or not to decode the sub-set.
52. The device of claim 51 , further comprising: means for, if the sub-set does not include the syntax element, decoding the subset.
53. The device of claim 52, further comprising:
means for, if the sub-set of data does include the syntax element, determining whether to decode the sub-set based on the indication.
54. The device of claim 53, further comprising:
means for, if the syntax element associated with the sub-set has a first value, decoding the sub-set; and
means for, if the syntax element has a second value different than the first value, not decoding the sub-set.
55. The device of claim 51 , further comprising:
means for determining, for each sub-set of the plurality of transform coefficient sub-sets, whether the sub-set includes an associated syntax element that indicates whether or not the sub-set includes any non-zero coefficients; and
means for determining, based on the syntax element, whether or not to decode the sub-set.
56. The device of claim 51 , further comprising:
if the sub-set does not include the syntax element, means for determining whether the sub-set includes a separate syntax element that indicates that a last non-zero coefficient is included in the sub-set; and
means for decoding the subset if the sub-set includes the separate syntax element that indicates that a last non-zero coefficient is included in the sub-set.
PCT/US2012/044990 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit WO2013003747A1 (en)

Priority Applications (16)

Application Number Priority Date Filing Date Title
CA2840598A CA2840598C (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
JP2014519160A JP5955955B2 (en) 2011-06-30 2012-06-29 Transform coefficient syntax element signaling for a subset of leaf-level coding units
AU2012275120A AU2012275120C1 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
UAA201400834A UA111492C2 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
MX2013014931A MX343033B (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit.
BR112013033645-5A BR112013033645B1 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for subsets of a leaf-level coding unit
PL12733833T PL2727352T3 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
SI201231656T SI2727352T1 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
RU2014102961/08A RU2580082C2 (en) 2011-06-30 2012-06-29 Signalling syntax elements for transform coefficients for sub-sets of leaf-level coding unit
DK12733833.3T DK2727352T3 (en) 2011-06-30 2012-06-29 SIGNAL SYNTAX ELEMENTS FOR UNDER-SET TRANSFORMATION COEFFICIENTS OF A TERMINAL NODE LEVEL-CODING UNIT
KR1020147002246A KR101536541B1 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
ES12733833T ES2750124T3 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for subsets of a sheet-level encoding unit
CN201280032423.0A CN103636225B (en) 2011-06-30 2012-06-29 The syntactic element of the transformation coefficient of the subset for leaf level decoding unit is sent with signal
EP12733833.3A EP2727352B1 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
IL230044A IL230044A (en) 2011-06-30 2013-12-19 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
ZA2014/00699A ZA201400699B (en) 2011-06-30 2014-01-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US201161503541P 2011-06-30 2011-06-30
US61/503,541 2011-06-30
US201161552341P 2011-10-27 2011-10-27
US61/552,341 2011-10-27
US13/413,475 US9826238B2 (en) 2011-06-30 2012-03-06 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
US13/413,475 2012-03-06

Publications (1)

Publication Number Publication Date
WO2013003747A1 true WO2013003747A1 (en) 2013-01-03

Family

ID=47390655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/044990 WO2013003747A1 (en) 2011-06-30 2012-06-29 Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit

Country Status (22)

Country Link
US (1) US9826238B2 (en)
EP (1) EP2727352B1 (en)
JP (1) JP5955955B2 (en)
KR (1) KR101536541B1 (en)
CN (1) CN103636225B (en)
AU (1) AU2012275120C1 (en)
BR (1) BR112013033645B1 (en)
CA (1) CA2840598C (en)
DK (1) DK2727352T3 (en)
ES (1) ES2750124T3 (en)
HU (1) HUE045792T2 (en)
IL (1) IL230044A (en)
MX (1) MX343033B (en)
MY (1) MY166739A (en)
PL (1) PL2727352T3 (en)
PT (1) PT2727352T (en)
RU (1) RU2580082C2 (en)
SI (1) SI2727352T1 (en)
TW (1) TWI520584B (en)
UA (1) UA111492C2 (en)
WO (1) WO2013003747A1 (en)
ZA (1) ZA201400699B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3120561B1 (en) 2014-03-16 2023-09-06 VID SCALE, Inc. Method and apparatus for the signaling of lossless video coding
US10708164B2 (en) * 2016-05-03 2020-07-07 Qualcomm Incorporated Binarizing secondary transform index
US10931947B2 (en) * 2016-05-04 2021-02-23 Sharp Kabushiki Kaisha Systems and methods for coding transform data
CN117412037A (en) * 2016-08-31 2024-01-16 株式会社Kt Method and apparatus for processing video signal
RU2762873C2 (en) 2017-12-15 2021-12-23 ЭлДжи ЭЛЕКТРОНИКС ИНК. Method for images encoding based on conversion and device for this
CN108322749B (en) * 2018-03-15 2021-03-16 北京数码视讯科技股份有限公司 RDOQ coefficient optimization method, RDOQ acceleration method and device
US10827192B2 (en) 2018-11-02 2020-11-03 Fungible, Inc. Work allocation for JPEG accelerator
US10848775B2 (en) 2018-11-02 2020-11-24 Fungible, Inc. Memory layout for JPEG accelerator
US10931958B2 (en) 2018-11-02 2021-02-23 Fungible, Inc. JPEG accelerator using last-non-zero (LNZ) syntax element
US10827191B2 (en) * 2018-11-02 2020-11-03 Fungible, Inc. Parallel coding of syntax elements for JPEG accelerator
KR20220016839A (en) 2019-06-04 2022-02-10 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Motion candidate list with geometric segmentation mode coding
WO2020244571A1 (en) 2019-06-04 2020-12-10 Beijing Bytedance Network Technology Co., Ltd. Motion candidate list construction using neighboring block information
WO2020252270A1 (en) * 2019-06-13 2020-12-17 Beijing Dajia Internet Information Technology Co., Ltd. Methods and system of subblock transform for video coding
KR20220030995A (en) * 2019-07-14 2022-03-11 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Transform block size limit in video coding
CN112449184B (en) * 2019-08-28 2022-01-25 腾讯科技(深圳)有限公司 Transform coefficient optimization method, encoding and decoding method, device, medium, and electronic device
CN114450959B (en) 2019-09-28 2024-08-02 北京字节跳动网络技术有限公司 Geometric partitioning modes in video coding and decoding
WO2023235588A1 (en) * 2022-06-02 2023-12-07 Innopeak Technology, Inc. Region-based coefficient coding for video

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1768415A1 (en) * 2005-09-27 2007-03-28 Matsushita Electric Industrial Co., Ltd. Adaptive scan order of DCT coefficients and its signaling

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2335845C2 (en) 2002-04-02 2008-10-10 Нокиа Корпорейшн Conversion factor coding in image/video signal coders and/or decoders
US20040218669A1 (en) 2003-04-30 2004-11-04 Nokia Corporation Picture coding method
US7599435B2 (en) 2004-01-30 2009-10-06 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Video frame encoding and decoding
JP4612831B2 (en) 2004-11-15 2011-01-12 キヤノン株式会社 Variable length coding apparatus and variable length coding method
US20090028239A1 (en) 2005-05-03 2009-01-29 Bernhard Schuur Moving picture encoding method, moving picture decoding method and apparatuses using the methods
JP4495034B2 (en) 2005-06-01 2010-06-30 パナソニック株式会社 Variable length coding method and variable length coding apparatus
EP1987512A4 (en) 2006-02-07 2010-05-19 Lg Electronics Inc Apparatus and method for encoding/decoding signal
US8565314B2 (en) * 2006-10-12 2013-10-22 Qualcomm Incorporated Variable length coding table selection based on block type statistics for refinement coefficient coding
KR101366093B1 (en) 2007-03-28 2014-02-21 삼성전자주식회사 Method and apparatus for video encoding and decoding
JP5092558B2 (en) 2007-06-08 2012-12-05 株式会社日立製作所 Image encoding method, image encoding device, image decoding method, and image decoding device
US20100027663A1 (en) 2008-07-29 2010-02-04 Qualcomm Incorporated Intellegent frame skipping in video coding based on similarity metric in compressed domain
US8619856B2 (en) * 2008-10-03 2013-12-31 Qualcomm Incorporated Video coding with large macroblocks
US8340448B2 (en) * 2009-10-06 2012-12-25 Cisco Technology, Inc. Locally variable quantization and hybrid variable length coding for image and video compression
KR101457894B1 (en) 2009-10-28 2014-11-05 삼성전자주식회사 Method and apparatus for encoding image, and method and apparatus for decoding image
US8446301B2 (en) * 2011-04-15 2013-05-21 Research In Motion Limited Methods and devices for coding and decoding the position of the last significant coefficient

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1768415A1 (en) * 2005-09-27 2007-03-28 Matsushita Electric Industrial Co., Ltd. Adaptive scan order of DCT coefficients and its signaling

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LOUIS KEROFSKY ET AL: "A 4x4 CBP in H26L", 12. VCEG MEETING; 09-01-2001 - 12-01-2001; EIBSEE, DE; (VIDEO CODINGEXPERTS GROUP OF ITU-T SG.16),, no. VCEG-L22, 4 January 2001 (2001-01-04), XP030003167, ISSN: 0000-0462 *
MATHIAS WIEN: "H.26L Core Experiment Description on Adaptive Block Transforms", 12. VCEG MEETING; 09-01-2001 - 12-01-2001; EIBSEE, DE; (VIDEO CODINGEXPERTS GROUP OF ITU-T SG.16),, no. VCEG-L41, 14 February 2001 (2001-02-14), XP030003182, ISSN: 0000-0462 *
WIEGAND: "Editor's Proposed Revision of JVT-E146d37", 6. JVT MEETING; 63. MPEG MEETING; 09-12-2002 - 13-12-2002; AWAJI, JP;(JOINT VIDEO TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ),, no. JVT-F082r3, 13 December 2002 (2002-12-13), XP030005648, ISSN: 0000-0428 *

Also Published As

Publication number Publication date
MX2013014931A (en) 2014-04-16
TWI520584B (en) 2016-02-01
KR20140028124A (en) 2014-03-07
DK2727352T3 (en) 2019-10-14
JP2014521256A (en) 2014-08-25
AU2012275120B2 (en) 2016-04-21
CA2840598C (en) 2017-10-17
AU2012275120C1 (en) 2016-09-08
CA2840598A1 (en) 2013-01-03
MX343033B (en) 2016-10-21
RU2014102961A (en) 2015-08-10
EP2727352B1 (en) 2019-07-24
UA111492C2 (en) 2016-05-10
PT2727352T (en) 2019-10-31
CN103636225B (en) 2018-06-01
US20130003821A1 (en) 2013-01-03
EP2727352A1 (en) 2014-05-07
SI2727352T1 (en) 2019-10-30
BR112013033645A2 (en) 2017-01-24
ES2750124T3 (en) 2020-03-25
RU2580082C2 (en) 2016-04-10
TW201309032A (en) 2013-02-16
IL230044A (en) 2017-12-31
BR112013033645B1 (en) 2022-06-07
HUE045792T2 (en) 2020-01-28
CN103636225A (en) 2014-03-12
AU2012275120A1 (en) 2014-01-09
PL2727352T3 (en) 2020-01-31
KR101536541B1 (en) 2015-07-13
JP5955955B2 (en) 2016-07-20
MY166739A (en) 2018-07-19
ZA201400699B (en) 2020-02-26
US9826238B2 (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CA2840598C (en) Signaling syntax elements for transform coefficients for sub-sets of a leaf-level coding unit
CA2863011C (en) Determining contexts for coding transform coefficient data in video coding
CA2854509C (en) Progressive coding of position of last significant coefficient
EP3713233A1 (en) Coding significant coefficient information in transform skip mode
US20130272423A1 (en) Transform coefficient coding
US20130003859A1 (en) Transition between run and level coding modes
EP2837180A1 (en) Common spatial candidate blocks for parallel motion estimation
CA2853660A1 (en) Intra-mode video coding
WO2014052567A1 (en) Context derivation for context-adaptive, multi-level significance coding
WO2013109903A1 (en) Coefficient level coding

Legal Events

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

Ref document number: 12733833

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: MX/A/2013/014931

Country of ref document: MX

Ref document number: 2012733833

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2840598

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2014519160

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2012275120

Country of ref document: AU

Date of ref document: 20120629

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20147002246

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2014102961

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112013033645

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112013033645

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20131227