WO2012170833A1 - Internal bit depth increase in video coding - Google Patents
Internal bit depth increase in video coding Download PDFInfo
- Publication number
- WO2012170833A1 WO2012170833A1 PCT/US2012/041575 US2012041575W WO2012170833A1 WO 2012170833 A1 WO2012170833 A1 WO 2012170833A1 US 2012041575 W US2012041575 W US 2012041575W WO 2012170833 A1 WO2012170833 A1 WO 2012170833A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bit depth
- video data
- video
- data
- coding
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/98—Adaptive-dynamic-range coding [ADRC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/164—Feedback from the receiver or from the transmission channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/174—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/40—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/423—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
- H04N19/426—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
- H04N19/428—Recompression, e.g. by spatial or temporal decimation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/597—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods 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 techniques.
- 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.
- the techniques of this disclosure relate to video coding and internal bit depth increase (IBDI) in video coding.
- a video coder may use IBDI to increase the bit depth of a sample being coded to reduce rounding errors in internal calculations.
- the techniques of this disclosure generally relate to managing memory utilization when using IBDI, as well as determining an output bit depth. That is, for example, the techniques of this disclosure include, in some examples, rounding video data from a higher bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer if the video data is not used as reference video data.
- the techniques of this disclosure relate to determining whether to output video data in an IBDI (e.g., increased) bit depth.
- aspects of this disclosure generally relate to a method of coding video data that includes determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth.
- the method also includes determining whether the video data will be used as reference data when coding other video data.
- the method also includes storing, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
- aspects of this disclosure generally relate to an apparatus for coding video data that includes one or more processors configured to determine a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; determine whether the video data will be used as reference data when coding other video data; and store, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
- aspects of this disclosure generally relate to an apparatus for coding video data that includes means for determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; means for determining whether the video data will be used as reference data when coding other video data; and means for storing, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
- aspects of this disclosure generally relate to a computer- readable storage medium having instructions stored thereon that, when executed, cause one or more processors to determine a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; determine whether the video data will be used as reference data when coding other video data; and store, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
- FIG. 1 is a block diagram illustrating an example video encoding and decoding system that may utilize the techniques of this disclosure.
- FIG. 2 is a block diagram illustrating example internal bit depth increase (IBDI) operations in video coding.
- IBDI internal bit depth increase
- FIG. 3 is a block diagram illustrating an example of a video encoder that may implement any or all of the techniques of this disclosure.
- FIG. 4 is a block diagram illustrating an example of a video decoder that may implement any or all of the techniques of this disclosure.
- FIG. 5 is a flow chart illustrating an example method of performing IBDI related operations in video coding.
- the techniques of this disclosure relate to video coding.
- a video coder may use an internal bit depth increase (IBDI) operation to increase the bit depth of a sample being coded to reduce rounding errors in internal calculations.
- IBDI internal bit depth increase
- the techniques of this disclosure generally relate to managing memory utilization when using IBDI, as well as determining an output bit depth. That is, for example, the techniques of this disclosure include, in some examples, rounding video data from a higher bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer if the video data is not used as reference video data. In another example, the techniques of this disclosure relate to determining whether to output video data in an increased bit depth.
- bit depth may generally refer to a number of bits of information for a given sample (e.g., luma and/or chroma values for a pixel) of video data.
- a video coder may expand the bit depth of a sample being coded from a first number of bits (e.g., "M" bits) to a second, increased number of bits (e.g., "N" bits).
- M first number of bits
- N increased number of bits
- a video coder may store decoded video data to a decoded picture buffer during coding (e.g., for use as reference data for predictive coding). The video coder may also store the decoded video data to the decoded picture buffer prior to output (e.g., display).
- a video coder may store video data at the increased bit depth. Accordingly, the video coder may perform rounding prior to outputting the video data from the decoded picture buffer for display.
- Video data stored in the decoded picture buffer may not be used as reference data (e.g., reference pictures). That is, certain pictures of video data may not be used as reference data, but may still be stored in the decoded picture buffer prior to being output (e.g., for display). Moreover, some video pictures stored to the decoded picture buffer may be marked by the video coder as "unused for reference” during the coding process. While this disclosure generally refers to "pictures,” “video pictures,” and “reference pictures,” it should be understood that the techniques of this disclosure are applicable to video data of other sizes/configurations of video data (e.g., video blocks, slices, tiles, and the like).
- aspects of this disclosure generally relate to managing memory utilization when using an internal bit depth in a video coder that may be higher than the bit depth used for display.
- the techniques of this disclosure include storing video data at a first, increased bit depth when the video data will be used as reference data, and storing video data at a decreased bit depth when the decoded video pictures will not be used as reference pictures. That is, the techniques of this disclosure generally relate to rounding video data from an increased bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer when the video data is not used as reference video data.
- the techniques of this disclosure include converting a decoded video picture with an increased bit depth to a decoded video picture with a lower bit depth, relative to the increased bit depth.
- the lower bit depth may be equal to the original bit depth at which the video data was received.
- the lower bit depth may also be equal to the bit depth at which the video data is output (e.g., in examples in which the output bit depth is less than the increased bit depth) or some other lower bit depth than the increased bit depth.
- aspects of this disclosure are described with respect to rounding video data to lower the bit depth, it should be understood that the techniques of this disclosure are more generally applicable reducing the bit depth of samples of video data, whether by rounding, truncation (without rounding), or some other process or decreasing the bit depth.
- aspects of this disclosure also relate to determining whether to output video data in an increased bit depth or a decreased bit depth (e.g., the original bit depth).
- a determination may be made according to signaling associated with a bit depth at which video data is to be output (e.g., output by a video decoder).
- signaling may be included, for example, in an encoded video data bitstream that may be decoded by a video decoder.
- the techniques of this disclosure include signaling to a video decoder whether the video decoder should output video data at the decreased bit depth, e.g., equal to the bit depth at which the video data was received (referred to as the "original" bit depth), or output the video data at an increased bit depth (e.g., an IBDI bit depth).
- the output bit depth is not present as part of the decoded video bitstream but derived from a source that is external to the video decoder,, such as by a configuration of a display that is presenting decoded video data from the video decoder.
- a video coder may, in some examples, implement the memory management techniques of this disclosure with the techniques directed to determining an output bit depth.
- the video coder may implement the memory management techniques described above so that a decoded pictures is only stored in the increased (IBDI) bit depth when the decoded picture is to be used as reference picture.
- aspects of this disclosure may reduce memory requirements associated with encoding and/or decoding video data. For example, in examples in which an IBDI technique is used to increase the bit depth of video data for internal coding operations but the video data is not used for reference, the techniques of this disclosure allow fewer bits of data to be stored. In addition, the techniques may reduce memory bandwidth consumption. For example, multiple modules may share a memory bus to access memory during coding. In such examples, storing fewer bits to the buffer, in accordance with the techniques of this disclosure, may decrease the amount of data that is transferred between the buffer and the video coding device.
- reducing the memory bandwidth may be useful in mobile applications (e.g., in applications in which a video coder is incorporated in a mobile device). For example, as noted above, reads and writes to memory may consume memory bus bandwidth, which may be relatively limited in mobile applications.
- reads and writes to memory may increase the amount of power that is consumed by a mobile device (e.g., considering that the reads and writes each require powering the memory bus and memory). Accordingly, the techniques of this disclosure may be deployed in power-limited devices, such as mobile devices, laptop computers and any other type of device that does not have a constant dedicated supply of power.
- FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may be configured to utilize the techniques described in this disclosure for managing memory utilization when using IBDI in a video coder.
- system 10 includes a source device 12 that generates encoded video for decoding by destination device 14.
- Source device 12 may transmit the encoded video to destination device 14 via communication channel 16 or may store the encoded video on a storage medium 34 or a file server 36, such that the encoded video may be accessed by the destination device 14 as desired.
- Source device 12 and destination device 14 may comprise any of a wide variety of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called smartphones, televisions, cameras, display devices, digital media players, video gaming consoles, or the like.
- communication channel 16 may comprise a wireless channel, a wired channel, or a combination of wireless and wired channels suitable for transmission of encoded video data.
- communication channel 16 may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines, or any combination of wireless and wired media.
- RF radio frequency
- Communication channel 16 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 channel 16 generally represents any suitable communication medium, or collection of different communication media, for transmitting video data from source device 12 to destination device 14, including any suitable combination of wired or wireless media.
- Communication channel 16 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.
- 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, a modulator/demodulator (modem) 22 and a transmitter 24.
- video source 18 may include a source such as a video capture device.
- the video capture device may include one or more of 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.
- source device 12 and destination device 14 may form so-called camera phones or video phones.
- Source device 12 and destination device 14 are merely examples of coding devices that can support the techniques described herein.
- the captured, pre-captured, or computer-generated video may be encoded by video encoder 20.
- the encoded video information may be modulated by modem 22 according to a communication standard, such as a wireless communication protocol, and transmitted to destination device 14 via transmitter 24.
- Modem 22 may include various mixers, filters, amplifiers or other components designed for signal modulation.
- Transmitter 24 may include circuits designed for transmitting data, including amplifiers, filters, and one or more antennas.
- the captured, pre-captured, or computer-generated video that is encoded by the video encoder 20 may also be stored onto a storage medium 34 or a file server 36 for later consumption.
- the storage medium 34 may include Blu-ray discs, DVDs, CD- ROMs, flash memory, or any other suitable digital storage media for storing encoded video.
- the encoded video stored on the storage medium 34 may then be accessed by destination device 14 for decoding and playback.
- File server 36 may be any type of server capable of storing encoded video and transmitting that encoded video 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, a local disk drive, or any other type of device capable of storing encoded video data and transmitting it to a destination device.
- the file server 36 may be accessed by the destination device 14 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 the file server 36 may be a streaming transmission, a download transmission, or a combination of both.
- video encoder 20 may generally refer to video encoder 20 "signaling" certain information to another device, such as video decoder 30. It should be understood, however, that video encoder 20 may signal information by associating certain syntax elements with various encoded portions of video data. That is, video encoder 20 may "signal" data, such as an output bit depth, by storing certain syntax elements to headers of various encoded portions of video data. In some cases, such syntax elements may be encoded and stored (e.g., stored to storage medium 34 or file server 36) prior to being received and decoded by video decoder 30.
- the term “signaling” may generally refer to the communication of syntax or other data for decoding compressed video data, whether such communication occurs in real- or near-real-time or over a span of time, such as might occur when storing syntax elements to a medium at the time of encoding, which then may be retrieved by a decoding device at any time after being stored to this medium.
- Destination device 14 in the example of FIG. 1, includes a receiver 26, a modem 28, a video decoder 30, and a display device 32.
- Receiver 26 of destination device 14 receives information over channel 16, and modem 28 demodulates the information to produce a demodulated bitstream for video decoder 30.
- the information communicated over channel 16 may include a variety of syntax information generated by video encoder 20 for use by video decoder 30 in decoding video data. Such syntax may also be included with the encoded video data stored on a storage medium 34 or a file server 36.
- Each of video encoder 20 and video decoder 30 may form part of a respective encoder-decoder (CODEC) that is capable of encoding or decoding video data.
- CDEC encoder-decoder
- 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 currently 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 include MPEG-2 and ITU-T H.263.
- the HEVC standard refers to a block of video data as a coding unit (CU).
- a CU has a similar purpose to a macroblock coded according to H.264, except that a CU does not have a size distinction.
- a CU may be split into sub-CUs.
- references in this disclosure to a CU may refer to a largest coding unit (LCU) of a picture or a sub-CU of an LCU.
- LCU largest coding unit
- syntax data within a bitstream may define the LCU, which is a largest coding unit in terms of the number of pixels.
- An LCU may be split into sub-CUs, and each sub-CU may be split into sub-CUs.
- Syntax data for a bitstream may define a maximum number of times an LCU may be split, referred to as a maximum CU depth. Accordingly, a bitstream may also define a smallest coding unit (SCU).
- An LCU may be associated with a hierarchical quadtree data structure.
- a quadtree data structure includes one node per CU, where a root node corresponds to the LCU. If a CU is split into four sub-CUs, the node corresponding to the CU includes four leaf nodes, each of which corresponds to one of the sub-CUs.
- Each node of the quadtree data structure may provide syntax data for the corresponding CU.
- a node in the quadtree may include a split flag, indicating whether the CU corresponding to the node is split into sub-CUs. Syntax elements for a CU may be defined recursively, and may depend on whether the CU is split into sub-CUs.
- a CU that is not split may include one or more prediction units (PUs).
- a PU represents all or a portion of the corresponding CU, and includes data for retrieving a reference sample for the PU.
- the PU may include data describing an intra-prediction mode for the PU.
- the PU may include data defining a motion vector for the PU.
- the data defining the motion vector 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 list (e.g., list 0 or list 1) for the motion vector.
- Data for the CU defining the PU(s) may also describe, for example, partitioning of the CU into one or more PUs. Partitioning modes may differ between whether the CU is uncoded, intra- prediction mode encoded, or inter-prediction mode encoded.
- a CU having one or more PUs may also include one or more transform units (TUs).
- a video encoder may calculate a residual value for the portion of the CU corresponding to the PU.
- the residual value may be transformed, quantized, and scanned.
- a TU is not necessarily limited to the size of a PU.
- TUs may be larger or smaller than corresponding PUs for the same CU.
- the maximum size of a TU may be the size of the corresponding CU.
- This disclosure also uses the term "block" to refer to any of a CU, PU, or TU.
- encoded video data may include prediction data and residual data.
- Video encoder 20 may produce the prediction data during an intra-prediction mode or an inter-prediction mode.
- Intra-prediction generally involves predicting the pixel values in a block of a picture relative to reference samples in neighboring, previously coded blocks of the same picture (which may also be referred to as a frame).
- Inter-prediction generally involves predicting the pixel values, e.g., luma and chroma values, in a block of a picture relative to data of a previously coded picture.
- video encoder 20 may calculate residual pixel values for the block.
- the residual values generally correspond to differences between the predicted pixel value data for the block and the true pixel value data of the block.
- the residual values may include pixel difference values indicating differences between coded pixels and predictive pixels.
- the coded pixels may be associated with a block of pixels to be coded
- the predictive pixels may be associated with one or more blocks of pixels used to predict the coded block.
- the residual values may be transformed into a set of transform coefficients that compact as much data (also referred to as "energy") as possible into as few coefficients as possible.
- Transform techniques may comprise a discrete cosine transform (DCT) process or conceptually similar process, integer transforms, wavelet transforms, or other types of transforms.
- DCT discrete cosine transform
- the transform converts the residual values of the pixels from the spatial domain to a transform domain.
- the transform coefficients correspond to a two-dimensional matrix of coefficients that is ordinarily the same size as the original block. In other words, there are just as many transform coefficients as pixels in the original block of residual data. However, due to the transform, many of the transform coefficients may have values equal to zero.
- Video encoder 20 may then quantize the levels of the transform coefficients to further compress the video data. Quantization generally involves mapping values within a relatively large range to values in a relatively small range, thus reducing the amount of data needed to represent the quantized transform coefficients. More specifically, quantization may be applied according to a quantization parameter (QP), which may be indexed to a quantizer step size that is applied to a transform coefficient during quantization. Video encoder 20 may modify the degree of quantization (e.g., the quantizer step size) by adjusting the QP.
- QP quantization parameter
- video encoder 20 may scan the transform coefficients, producing a one-dimensional vector from the two-dimensional matrix including the quantized transform coefficients. Video encoder 20 may then entropy encode the resulting array to even further compress the data.
- entropy coding comprises one or more processes that collectively compress a sequence of quantized transform coefficients and/or other syntax information. For example, syntax elements, such as delta QPs, prediction vectors, coding modes, filters, offsets, or other information, may also be included in the entropy coded bitstream.
- the scanned coefficients are then entropy coded along with any syntax information, e.g., via content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), or another entropy coding process.
- CAVLC content adaptive variable length coding
- CABAC context adaptive binary arithmetic coding
- video encoder 20 may select a context model to apply to a certain context to encode symbols to be transmitted.
- the context may relate to, for example, whether neighboring values are non-zero or not.
- Video encoder 20 may also entropy encode syntax elements, such as a significant coefficient flag and a last coefficient flag produced when performing an adaptive scan.
- the video decoding process performed by video decoder 30 may generally include reciprocal techniques to the encoding techniques performed by video encoder 20. Although generally reciprocal, video decoder 30 may, in some instances, perform techniques similar to those performed by video encoder 20. In other words, video decoder 30 may perform substantially similar processes to those performed by video encoder 20. Video decoder 30 may also rely on syntax elements or other data contained in a received bitstream that includes the data described with respect to video encoder 20.
- video encoder 20 may generate and video decoder 30 may receive certain parameter sets, which may be used when decoding video data.
- NAL units can be categorized to Video Coding Layer (VCL) NAL units and non-VCL NAL units.
- VCL units may contain the core compression engine and may include block, macroblock, and/or slice level data.
- Other NAL units may be non-VCL NAL units.
- a coded picture in one time instance normally presented as a primary coded picture, may be contained in an access unit, which may include one or more NAL units.
- Non-VCL NAL units may include parameter set NAL units and SEI NAL units, among others.
- Parameter sets may contain sequence-level header information (in sequence parameter sets (SPS)) and the infrequently changing picture-level header information (in picture parameter sets (PPS)).
- SPS sequence parameter sets
- PPS picture parameter sets
- PPS and SPS infrequently changing information need not to be repeated for each sequence or picture, hence coding efficiency may be improved.
- the use of parameter sets may enable out-of-band transmission of the important header information, avoiding the need for redundant transmissions for error resilience.
- parameter set NAL units may be transmitted on a different channel than other NAL units, such as SEI NAL units.
- Supplemental Enhancement Information may contain information that is not necessary for decoding the coded pictures samples from VCL NAL units, but may assist in processes related to decoding, display, error resilience, and other purposes.
- SEI messages may be contained in non-VCL NAL units. SEI messages are the normative part of some standard specifications, and thus are not always mandatory for standard compliant decoder implementation.
- SEI messages may be sequence level SEI messages or picture level SEI messages. Some sequence level information may be contained in SEI messages, such as scalability information SEI messages in the example of SVC and view scalability information SEI messages in MVC.
- video decoder 30 may, in some examples, conform to a standard that implements a certain media format.
- an ISO Base Media File Format is designed to contain timed media information for a presentation in a flexible, extensible format that facilitates interchange, management, editing, and presentation of the media.
- ISO Base Media File format (ISO/IEC 14496-12:2004) is specified in MPEG-4 Part- 12, which defines a general structure for time-based media files.
- the base format may be used as the basis for other file formats in the family, such as the Advanced Video Coding (AVC) file format (ISO/IEC 14496-15) defined to support H.264/MPEG-4 AVC video compression, the 3 GPP file format, the SVC file format, and the MVC file format, which are extensions of the AVC file format.
- AVC Advanced Video Coding
- the ISO base media file format contains the timing, structure, and media information for timed sequences of media data, such as audio-visual
- the file structure may be object-oriented. That is, a file may be decomposed into basic objects very simply and the structure of the objects may be implied from their type.
- Files conforming to the ISO base media file format may be formed as a series of objects, called "boxes.” Data is generally contained in boxes and there is typically no other data within the file. Thus, the "box” is an object-oriented building block defined by a unique type identifier and length.
- the AVC file format also known as MPEG-4 part-15, is an extension of ISO base media file format.
- a video sample is contained in the "AVCSample”, which contains AVCDecoderConfigurationRecord, as well as the NAL unit of the same access unit.
- the AVCDecoderConfigurationRecord can also be contained in "AVCParameterSample,” which contains only parameter sets.
- the syntax of the AVCDecoderConfigurationRecord may include the following: aligned (8) class AVCDecoderConfigurationRecord ⁇
- the AVCDecoderConfigurationRecord contains certain profile and level related elements.
- H.264/AVC defines the syntax, semantics, and decoding process for error-free bitstreams, any of which conform to a certain profile or level.
- H.264/AVC does not specify an encoder, but the encoder is tasked with guaranteeing that the generated bitstreams are standard- compliant for a decoder.
- a "profile” corresponds to a subset of algorithms, features, or tools and constraints that apply to them.
- a "profile” is a subset of the entire bitstream syntax that is specified by the H.264 standard.
- a “level” corresponds to the limitations of the decoder resource consumption, such as, for example, decoder memory and computation, which are related to the resolution of the pictures, bit rate, and macroblock (MB) processing rate.
- a profile may be signaled with a profile idc (profile indicator) value, while a level may be signaled with a level idc (level indicator) value.
- the H.264/AVC standard recognizes that, within the bounds imposed by the syntax of a given profile, it is still possible to require a large variation in the performance of encoders and decoders depending upon the values taken by syntax elements in the bitstream such as the specified size of the decoded pictures.
- the H.264/AVC standard further recognizes that, in many applications, it is neither practical nor economical to implement a decoder capable of dealing with all hypothetical uses of the syntax within a particular profile. Accordingly, the H.264/AVC standard defines a "level" as a specified set of constraints imposed on values of the syntax elements in the bitstream. These constraints may be simple limits on values.
- constraints may take the form of constraints on arithmetic combinations of values (e.g., picture width multiplied by picture height multiplied by number of pictures decoded per second).
- the H.264/AVC standard further provides that individual implementations may support a different level for each supported profile.
- video encoder 20 and/or video decoder 30 may also operate according to other proprietary or industry standards such as the MPEG-2 standard.
- the MPEG-2 Systems specification describes how compressed multimedia data streams (e.g., video and audio streams) may be multiplexed together with other data to form a single data stream suitable for digital transmission or storage.
- the latest specification of MPEG-2 systems is specified in "Information Technology— Generic Coding of Moving Pictures and Associated Audio: Systems, Recommendation H.222.0; International Organization for Standardization, ISO/IEC JTC1/SC29/WG11; Coding of Moving Pictures and Associated Audio," May 2006.
- an elementary stream is a single, digitally coded (possibly MPEG-compressed) component of a program.
- the coded video or audio part of the program can be an elementary stream.
- An elementary stream may be converted into a packetized elementary stream (PES) before being multiplexed into a program stream or transport stream.
- PES packetized elementary stream
- a stream id may be used to distinguish the PES-packets belonging to one elementary stream from the other.
- a program stream generally includes one or more associated elementary streams and typically contains packets with variable length packets.
- a program stream generally includes PES-packets that are derived from the contributing elementary streams and that are organized into so-called "packs."
- a pack includes a pack-header, an optional system-header and any number of PES-packets taken from any of the contributing elementary streams, in any order.
- the system header when included, may contain a summary of the characteristics of the program stream such as a maximum data rate, the number of contributing video and audio elementary streams, and timing information.
- a decoder such as video decoder 30, may use the information contained in a system header to determine whether the decoder is capable of decoding the program stream.
- a transport stream is intended for the simultaneous delivery of a number of programs over potentially error-prone channels.
- a transport stream comprises a succession of relatively short transport packets, which reduces the susceptibility to errors. While a transport stream provides error resilience and an ability to carry many simultaneous programs, it may also include a more sophisticated multiplex than the program stream and may be more difficult to create and to de -multiplex.
- a 13-bit Packet Identifier (PID) field may be used to distinguish transport packets containing the data of one elementary stream from those carrying the data of other elementary streams.
- Program specific information may specify the relationship between programs and the component elementary streams.
- the basic program map table (PMT) may be embellished with some of the many descriptors specified within the MPEG-2 systems specification. Assume, for purposes of example, that a PMT includes a program with the number three that contains the video with PID 33, English audio with PID 57, and Chinese audio with PID 60.
- a PMT may include more than one program.
- the descriptors associated with a PMT typically convey further information about a program or its component elementary streams.
- the descriptors include video encoding parameters, audio encoding parameters, language identification, pan-and-scan information, conditional access details, copyright information and so on.
- a broadcaster or other user may define additional private descriptors if required.
- a program stream map provides a description of the elementary streams in the program stream and their relationship to one another. When carried in a transport stream, the PSM may not be modified. The PSM is present as a PES packet when the stream id value is OxBC.
- a program association table provides a complete list of all the programs available in a transport stream, along with the PID value of the transport packets that contain its program map table (PMT). Using the same example mentioned above, the PMT that specifies the elementary streams of program number three may have a PID of 1001 and another PMT may have another PID of 1002.
- the AVC video descriptor provides basic information for identifying coding parameters of the associated AVC video stream, such as on profile and level parameters included in the SPS of an AVC video stream.
- the AVC video descriptor may signal the presence of AVC still pictures and the presence of AVC 24-hour pictures in the AVC video stream. If such a descriptor is not included in the PMT or PSM (if present), the AVC video stream may not contain AVC still pictures and AVC 24-hour pictures.
- An example AVC video descriptor is included in the example Table 1 below:
- Video encoder 20 and/or video decoder 30 may also conform to an MPEG specified Dynamic Adaptive Streaming based on HTTP (DASH).
- DASH Dynamic Adaptive Streaming based on HTTP
- MPD Media Presentation Descriptor
- an MPD may include data that generally describes characteristics of included representations, such as coding and rendering characteristics, adaptation sets, a profile to which the MPD corresponds, text type information, camera angle information, rating information, trick mode information (e.g., information indicative of representations that include temporal sub-sequences), and/or information for retrieving remote periods (e.g., for targeted advertisement insertion into media content during playback).
- Each representation may include header data and one or more segments of media data.
- the header data when present, may describe characteristics of segments, e.g., temporal locations of random access points, byte offsets to random access points within the segments, uniform resource locators (URLs) of the segments, or other aspects of the segments. Additionally or alternatively, such characteristics may be fully included within the MPD.
- Each segment may include one or more coded video samples, each of which may include pictures or slices of video data. Each of the coded video samples of the segments may have similar characteristics, e.g., height, width, and bandwidth requirements.
- Each of the segments may be associated with a unique uniform resource identifier (URI), e.g., a uniform resource locator (URL).
- URI uniform resource identifier
- each of the segments may be independently retrievable using a streaming network protocol, such as DASH.
- a destination device which may include a video decoder, such as video decoder 30
- 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
- video encoder 20 and/or video decoder 30 may perform memory utilization management when using an internal bit depth that is higher than the output bit depth. That is, the internal bit depth generally refers to a bit depth that is used for calculations that are internal to video encoder 20 and/or video decoder 30. Example internal calculations include motion compensation, interpolation filtering, de -blocking filtering, and weighted prediction, among others
- the output bit depth generally refers to the bit depth that is transmitted from video encoder 20 and/or video decoder 30.
- the output bit depth is the bit depth of samples (e.g., luma and/or chroma values for a pixel) that are sent to display device 32 for presentation.
- video encoder 20 and/or video decoder 30 may store video data at a first, increased bit depth when the decoded pictures will be used as reference pictures.
- Video encoder 20 and/or video decoder 30 may store decoded pictures at a decreased bit depth (e.g., original bit depth) when the decoded pictures will not be used as reference pictures. That is, video encoder 20 and/or video decoder 30 may round video data from an increased bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer if the decoded picture is not used as a reference picture.
- video encoder 20 may provide, and video decoder 30 may decode certain indications (e.g., such as syntax elements) regarding an output format for video decoder 30.
- certain indications e.g., such as syntax elements
- aspects of this disclosure also relate to signaling associated with a bit depth at which video data is to be output by video decoder 30.
- video encoder 20 may encode, and video decoder 30 may decode, syntax elements indicating whether video decoder 30 should output pictures at an original bit depth at which the video data was received by video encoder 20 or video decoder 30, or output the pictures at an increased bit depth (e.g., an IBDI bit depth).
- Such signaling may be provided, for example, in an SPS, PPS, or other parameter set, or in one or more SEI messages.
- signaling may be provided in a file format (e.g., as an extension to an ISO base media file format), or sample that contains profile and level information.
- MPEG-2 such signaling may be provided in a descriptor.
- DASH Dynamic Adaptive Streaming over HTTP
- MPD media presentation description
- such signaling may be used by a display device that decides the output bit-depth through, e.g., remote control.
- FIG. 2 is a block diagram illustrating example IBDI operations in video coding. While the operations described with respect to FIG. 2 are generally described as being performed by video coder 38, it should be understood that such operations may be performed by video encoder 20 and/or video decoder 30, as described in greater detail below.
- video coder 38 receives M-bit source data 33.
- Source data 33 may include, for example, pictures having samples (e.g., pixel values) of "M" bits in depth, where "M" is a positive value.
- source data 33 may include pictures having samples with an eight bit depth, although other bit depths may also be used.
- video coder 38 may increase the bit depth of source data 33. For example, as shown in the example of FIG. 2, video coder 38 may perform right shift operations ( «) on source data 22 to increase the bit depth of source data 33 by N-M bits, where "N" is greater than "M" (34). In an example in which M is eight bits and N is 10 bits, video coder 38 may perform right shift operations to expand source data 33 by two bits.
- video coder 38 may perform N- bit coding operations (35). For example, video coder 38 may perform intra-picture prediction, apply one or more interpolation filters, apply one or more de -blocking filters, apply one or more spatial transforms, or perform other processes using the increased bit depth.
- Using a relatively higher (increased) bit depth for internal calculations (e.g., internal to video coder 38) may also be referred to as High Accuracy Internal Process (HAIP).
- HAIP High Accuracy Internal Process
- video coder 38 may be configured to perform some operations using the original M-bit source data 33 and other operations using the N-bit, bit-increased data.
- Video coder 38 may then perform rounding operations (truncation) on the resulting data prior to outputting the data. For example, video coder 38 may round the bit-increased data back to the original M-bit depth (36). Accordingly, video coder 38 may output M-bit output data 37.
- Output data 37 may be an encoded bitstream (e.g., when output data 37 is from a video encoder) or may be decoded pictures (e.g., when output data 37 is from a video decoder).
- FIG. 3 is a block diagram illustrating an example of video encoder 20 that may implement techniques for managing memory utilization when using IBDI in a video coder. It should be understood that certain components of FIG. 3 may be shown and described with respect to a single component for conceptual purposes, but may include one or more functional units. In addition, while certain components of FIG. 3 may be shown and described with respect to a single component, such components may be physically comprised of one or more than one discrete and/or integrated units.
- video encoder 20 receives a current video block within a video picture to be encoded.
- video encoder 20 includes mode select unit 40, IBDI module 41A, 41B, and 41C (collectively, IBDI modules 41), motion estimation unit 42, motion compensation unit 44, reference picture memory 64, summer 50, transform unit 52, quantization unit 54, and entropy coding unit 56.
- video encoder 20 also includes inverse quantization unit 58, inverse transform unit 60, and summer 62.
- a deblocking filter (not shown in FIG. 3) 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.
- video encoder 20 receives a video picture or slice to be coded.
- the picture or slice may be divided into multiple video blocks.
- IBDI module 41 A may increase the bit depth of received samples (e.g., pixels) of the received video picture or slice to be coded.
- IBDI module 41 A may perform a right shift operation to increase the bit depth of received samples.
- received video data has a bit depth of eight (e.g., each sample of the video data includes eight bits of data).
- IBDI module 41 A may perform right shift operations to increase the bit depth of samples to 10 (e.g., such that each sample of the video data includes ten bits of data). In another example, IBDI module 41 A may perform right shift operations to increase the bit depth of samples to 12. Other variations are also possible.
- IBDI module 41A is positioned at the relative input of video encoder 20, such that all operations of video encoder 20 are bit depth increased.
- IBDI may be applied to only a sub-set of operations associated with video encoder 20.
- IBDI module 41 A may perform IBDI for all or any sub-set of operations within video encoder 20 (e.g., operations associated with motion estimation unit 42, motion compensation unit 44, intra prediction unit 46, transform unit 52, quantization unit 54, inverse quantization unit 58, inverse transform unit 60, deblocking or other filters (not shown), or any other unit of video encoder 20).
- Motion estimation unit 42 and motion compensation unit 44 perform inter- predictive coding of the received video block relative to one or more blocks in one or more reference pictures. That is, motion estimation unit 42 may perform inter- predictive coding of the received video block relative to one or more blocks in one or more reference pictures of a different temporal instance, e.g., motion estimation using one or more reference pictures of the same view. In addition, motion estimation unit 42 may perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference pictures of the same temporal instance, e.g., motion disparity using one or more reference pictures of a different view.
- Intra prediction unit 46 may perform intra-predictive coding of the received video block relative to one or more neighboring blocks in the same picture or slice as the block to be coded to provide spatial compression.
- Mode select unit 40 may select one of the coding modes, intra or inter, e.g., based on error results, and provides 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 in a reference picture.
- Motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes. Motion estimation is the process of generating motion vectors, which estimate motion for video blocks.
- a motion vector for example, may indicate the displacement of a predictive block within a predictive reference picture (or other coded unit) relative to the current block being coded within the current picture (or other coded unit).
- a predictive block is a block that is found to closely match the 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.
- a motion vector may also indicate displacement of a partition of a macroblock. Motion compensation may involve fetching or generating the predictive block based on the motion vector (or displacement vector) determined by motion estimation unit 42. Again, motion estimation unit 42 and motion compensation unit 44 may be functionally integrated, in some examples.
- Motion estimation unit 42 may calculate a motion vector for a video block of an inter-coded picture by comparing the video block to video blocks of a reference picture in reference picture memory 64.
- Motion compensation unit 44 may also interpolate sub-integer pixels of the reference picture, e.g., an I-frame or a P-frame.
- the ITU-T H.264 standard refers to "lists" of reference pictures, e.g., list 0 and list 1. List 0 includes reference pictures having a display order earlier than the current picture, while list 1 includes reference pictures having a display order later than the current picture. In other coding schemes, a single list may be maintained.
- Motion estimation unit 42 compares blocks of one or more reference pictures from reference picture memory 64 to a block to be encoded of a current picture, e.g., a P-picture or a B-picture.
- a motion vector calculated by motion estimation unit 42 may refer to a sample corresponding to sub-integer pixel location of a reference picture.
- Motion estimation unit 42 sends the calculated motion vector to entropy coding unit 56 and motion compensation unit 44.
- the reference picture block identified by a motion vector may be referred to as a predictive block.
- Motion compensation unit 44 calculates residual error values for the predictive block of the reference picture.
- Transform unit 52 applies a transform, such as a discrete cosine transform (DCT), integer transform, or a conceptually similar transform, to the residual block, producing a video block comprising residual transform coefficient values.
- Transform unit 52 may perform other transforms, such as those defined by the H.264 standard, which are conceptually similar to DCT. Wavelet transforms, integer transforms, sub- band transforms or other types of transforms could also be used.
- transform unit 52 applies the transform to the residual block, producing a block of residual transform coefficients.
- Transform unit 52 may convert the residual information from a pixel value domain to a transform domain, such as a frequency domain.
- Quantization unit 54 quantizes the residual 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. For example, quantization generally involves mapping values within a relatively large range to values in a relatively small range, thus reducing the amount of data needed to represent the quantized transform coefficients.
- the video encoder may quantize the transform coefficients by applying a quantization parameter (QP) according to a predefined algorithm.
- QP quantization parameter
- the video encoder may modify the degree of quantization applied to the transform coefficient values by adjusting the QP.
- entropy coding unit 56 entropy codes the quantized transform coefficients.
- entropy coding unit 56 may perform content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), or another entropy coding technique.
- CABAC context adaptive binary arithmetic coding
- context may be based on neighboring macroblocks.
- entropy coding unit 56 or another unit of video encoder 20 may be configured to perform other coding functions, in addition to entropy coding.
- entropy coding unit 56 may be configured to determine the CBP values for the macroblocks and partitions.
- entropy coding unit 56 may perform run length coding of the coefficients in a macroblock or partition thereof.
- entropy coding unit 56 may apply a zig-zag scan or other scan pattern to scan the transform coefficients in a macroblock or partition and encode runs of zeros for further compression.
- Entropy coding unit 56 also may construct header information with appropriate syntax elements for transmission in the encoded video bitstream.
- IBDI module 4 IB may round sample values from an increased bit depth (e.g., as increased by IBDI module 41A) to an original bit depth. That is, after performing internal operations using the increased bit depth, IBDI module 4 IB may return the video data to the original bit depth (i.e., the bit depth at which the data was received by video encoder 20, or some other relatively lower bit depth prior to the video data being output from video encoder 20.
- an increased bit depth e.g., as increased by IBDI module 41A
- IBDI module 4 IB may return the video data to the original bit depth (i.e., the bit depth at which the data was received by video encoder 20, or some other relatively lower bit depth prior to the video data being output from video encoder 20.
- Inverse quantization unit 58 and inverse transform unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain, e.g., for later use as a reference block.
- Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the pictures of reference picture memory 64. 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 reconstructed video block for storage in reference picture memory 64.
- the reconstructed video block may be used by motion estimation unit 42 and motion compensation unit 44 as a reference block to inter-code a block in a subsequent video picture.
- IBDI module 41C may help to manage memory utilization when using IBDI. For example, prior to storing reconstructed blocks to reference picture memory 64, IBDI module 41C may determine whether the data will actually be used as reference data. According to aspects of this disclosure, IBDI module 41C may not alter video data that will be used as reference data. Rather, reconstructed pictures may be stored to reference picture memory 64 at the IBDI (increased) bit depth. In contrast, IBDI module 41C may round samples of pictures that will not be used as reference pictures. That is, IBDI module 41C may decrease the bit depth of decoded pictures prior to storing the decoded pictures to reference picture memory 64. In this way, video encoder 20 may achieve certain memory consumption savings when using IBDI, as at least some of the data stored in reference picture memory 64 may be stored at reduced bit depth.
- video encoder 20 may provide certain indications regarding an output format for a video decoder, such as video decoder 30 described below.
- video encoder 20 may encode syntax elements indicating whether a video decoder should output decoded pictures at the bit depth at which the video data was received, or output the decoded pictures at an increased bit depth (e.g., an IBDI bit depth).
- Such signaling may be provided, for example, in an SPS, PPS, or other parameter set, or in an SEI message.
- signaling may be provided in a file format (e.g., as an extension to an ISO base media file format), signaling in a sample that contains profile and level information.
- such signaling may be provided in a descriptor.
- such signaling may be provided in a media presentation description (MPD) file.
- MPD media presentation description
- IBDI modules 41 are shown as separate modules, with module 41 A responsible for increasing the bit depth, module 4 IB responsible for truncating the bit depth prior to output, and module 41C responsible for truncating the bit depth prior to storage in reference picture memory 63, it should be understood that such IBDI modules 41 may be highly integrated and/or incorporated into a single module. In addition, while shown as discrete modules for purposes of explanation, it should be understood that IBDI modules 41 may be implemented in hardware, software, firmware, or any combination thereof.
- FIG. 4 is a block diagram illustrating an example of video decoder 30 that may perform the techniques of this disclosure.
- video decoder 30 includes an entropy decoding unit 130, IBDI module 131 A and 13 IB (collectively, IBDI modules 131), motion compensation unit 132, intra prediction unit 134, inverse quantization unit 136, inverse transformation unit 138, reference picture memory 142 and summer 140.
- Entropy decoding unit 130 may entropy decode a received bitstream. For example, entropy decoding unit 130 may receive serialized transform coefficients and inverse scan the transform coefficients to generate a two-dimensional array of transform coefficients.
- IBDI module 131 A may increase the bit depth of the entropy decoded samples. For example, as described with respect to FIGS. 2 and 3 above, IBDI module 131 A may perform a right shift operation to increase the bit depth of received samples. In an example for purposes of illustration, assume received video data (e.g., transform coefficients, motion vectors, and the like from an encoded bitstream) has a bit depth of eight (e.g., each sample of the video data includes eight bits of data). In this example, IBDI module 131 A may perform right shift operations to increase the bit depth of samples to 10. In another example, IBDI module 131 A may perform right shift operations to increase the bit depth of samples to 12. Other variations are also possible.
- Motion compensation unit 132 may generate prediction data based on motion vectors received from entropy decoding unit 130. Motion compensation unit 132 may use motion vectors received in the bitstream to identify a prediction block in reference pictures in reference picture memory 142. Intra prediction unit 134 may use intra prediction modes received in the bitstream to form a prediction block from spatially adjacent blocks. Inverse quantization unit 136 inverse quantizes, i.e., de-quantizes, the quantized block coefficients provided in the bitstream and decoded by entropy decoding unit 130.
- Inverse transform unit 158 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.
- Motion compensation unit 132 produces motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used for motion estimation with sub-pixel precision may be included in the syntax elements.
- Motion compensation unit 132 may use interpolation filters as used by video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 132 may determine the interpolation filters used by video encoder 20 according to received syntax information and use the interpolation filters to produce predictive blocks.
- Motion compensation unit 132 uses some of the syntax information to determine sizes of macroblocks used to encode picture(s) of the encoded video sequence, partition information that describes how each macroblock of a picture of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference pictures (or lists) for each inter-encoded macroblock or partition, and other information to decode the encoded video sequence.
- Summer 140 sums the residual blocks with the corresponding prediction blocks generated by motion compensation unit 132 or intra-prediction unit to form decoded blocks. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts.
- the decoded video blocks are then stored in reference picture memory 142, which provides reference blocks for subsequent motion compensation and also produces decoded video for presentation on a display device (such as display device 32 of FIG. 1).
- IBDI module 13 IB may help to manage memory utilization when using IBDI. For example, prior to storing decoded pictures to reference picture memory 142, video decoder 30 may determine whether the pictures will be used as reference pictures, e.g., for decoding other predicted pixel values.
- IBDI module 13 IB may not alter pictures that will be used as reference pictures. Rather, video decoder 30 may store decoded pictures to reference picture memory 142 at the IBDI (increased) bit depth. That is, with respect to the IBDI example shown and described in FIG. 2 above, video decoder 30 may store decoded pictures to reference picture memory 142 with an "N" bit depth.
- IBDI module 13 IB may round samples of decoded pictures that will not be used as reference pictures. For example, certain pictures (e.g., such as some B- frames and the like) may not be used as reference pictures. Moreover, in some instances, video decoder 30 may mark certain pictures as "unused for reference.” For example, a picture may be marked as unused for reference if the picture has been decoded but has not yet been displayed and is not used as a reference picture.
- IBDI module 13 IB may decrease the bit depth of the decoded picture prior to storing the decoded picture to reference picture memory 142. That is, IBDI module 13 IB may convert any decoded pictures not used as reference pictures from the increased bit depth to the original, lower bit depth. For example, IBDI module 13 IB may initially store decoded pictures not used reference pictures to reference picture memory 142 in the lower bit depth. IBDI module may also convert decoded pictures that were originally stored at the increased bit depth but are no longer used as reference pictures to the lower bit depth.
- video decoder 30 may achieve certain memory consumption savings when using IBDI, as at least some of the data stored in reference picture memory 142 may be stored at a lower bit depth, relative to the increased bit depth.
- video decoder 30 may maintain pictures at the original bit depth (e.g., non-IBDI bit depth), regardless of whether the picture is used as a reference picture.
- video decoder 30 may increase the bit depth when a picture is used for certain processes, such as motion compensation. That is, for example, video decoder 30 may perform relatively higher precision calculations in internal decoding processes such as sub-pixel interpolation, inverse quantization, inverse transformation, and final reconstruction.
- IBDI module 13 IB may then decrease the bit depth of all decoded pictures (including pictures used as reference pictures) prior to storing the decoded pictures to reference picture memory 142 to reduce memory bandwidth consumption.
- video decoder 30 may output decoded pictures at an increased bit depth, relative to the bit depth at which data was received (e.g., the received encoded bitstream). Outputting the increased bit depth data may provide relatively better video and/or audio quality for decoders and displays that are able to handle such higher bit depth data.
- video decoder 30 may determine whether to output decoded pictures at an increased bit depth (e.g., an IBDI bit depth) or an original bit depth (e.g., a bit depth at which the encoded bitstream was received) based on a received output bit depth indicator. For example, video decoder 30 may receive and decode certain syntax elements indicating an output bit depth and output the decoded pictures (e.g., from reference picture memory 142) in accordance with the decoded syntax element.
- an increased bit depth e.g., an IBDI bit depth
- an original bit depth e.g., a bit depth at which the encoded bitstream was received
- video decoder 30 may receive and decode certain syntax elements indicating an output bit depth and output the decoded pictures (e.g., from reference picture memory 142) in accordance with the decoded syntax element.
- an output bit depth indicator may be included in an SPS, PPS or other parameter set, SEI message, and/or other message.
- video decoder 30 may receive a flag (e.g., display lBDI depth flag) in an SPS or SEI message that indicates whether to output decoded pictures in an original bit depth (e.g., a bit depth at which the coded video data was received or an increased bit depth (e.g., an IBDI bit depth)). If the display bit depth flag is set to zero ("0"), video decoder 30 may output decoded pictures at the original bit depth, while if the display flag is set to one ("1"), video decoder 30 may output decoded pictures at the increased bit depth (or vice versa).
- a flag e.g., display lBDI depth flag
- the display bit depth flag may only be set when an IBDI process is enabled (e.g., a bitDepthlncreased syntax element is larger than zero, indicating IBDI is enabled).
- video decoder 30 may implement a lightweight transcoding technique to modify the display bit depth flag based on a variety of factors. For example, if a display (such as display device 32 shown in FIG. 1) is only capable of displaying pictures having the original bit depth (e.g., an 8-bit depth), video decoder 30 may reset the display bit depth flag to zero, regardless of the original value of the display bit depth flag. That is, video decoder 30 may reset the display bit depth flag from a value of one to a value of zero if the display is not capable of presenting the decoded pictures at the increased bit depth.
- a flag may be a configurable parameter associated with a particular coding standard. For example, with respect to the emerging HEVC standard, a flag may be a configurable parameter associated with a particular coding standard. For example, with respect to the emerging HEVC standard, a flag may be a configurable parameter associated with a particular coding standard. For example, with respect to the emerging HEVC standard, a flag may be a configurable parameter associated with a particular coding standard. For example, with respect to the emerging HEVC standard, a
- displaylBDIDepthFlag parameter may be used in the decoding process.
- the parameter may be signaled in the system specifications, regardless of whether a display bit depth flag is included in a parameter set (e.g., an SPS or PPS) or other message (e.g., an SEI message).
- a display bit depth flag e.g., an SPS or PPS
- other message e.g., an SEI message
- an output bit depth indicator may be included in a file format (e.g., as an extension to an ISO base media file format).
- the output bit depth indicator may be included in a sample that contains profile and level information.
- the output bit depth indicator may share the same AVCDecoderConfigurationRecord as the AVC file format discussed above with respect to FIG. 1.
- the file format may be modified according to the following format:
- bit (2) reserved 'll'b
- a displaylBDIDepth that is equal to zero (“0") indicates that either IBDI is not used in the bitstream, or the output signal (e.g., the decoded pictures from video decoder 30) uses the lower, non IBDI bit-depth (e.g., M-bit).
- a displaylBDIDepth that is equal to one (“1") may indicate that IBDI is used and the output signal is to be displayed with an increased bit-depth.
- display bit depth flag e.g., display lBDI depth flag
- SPS or, in some examples, SEI message
- IBDI_bit_depth_luma_minus8 plus 8 may indicate the bit-depth (N) that is to be used for display. That is, IBDI_bit_depth_luma_minus8+8 is equal to (N), which may be equal to the bit depth (M) combined with bitDepthlncreased.
- AVCDecoderConfigurationRecord described above may be renamed to
- HEVCDecoderConfigurationRecord may play the same role in the emerging HEVC file format as the AVCDecoderConfigurationRecord in the AVC file format.
- an output bit depth indicator may be included in a descriptor, such as an MPEG-2 descriptor.
- a descriptor such as an MPEG-2 descriptor.
- an HEVC MPEG-2 Systems design might be similar to that of AVC, as described above. That is, HEVC MPEG-2 may reuse the AVC video descriptor to describe the HEVC bitstream, with the changes illustrated in Table 2 below:
- display lBDI depth equal to zero may indicate that either IBDI is not used in the bitstream or the output signal to be displayed (e.g., the decoded pictures from video decoder 30) uses the lower, non IBDI bit-depth (e.g., M- bit).
- display lBDI depth that is equal to one (“1") may indicate that IBDI is used and the output signal is to be displayed with an increased bit-depth (e.g., N-bit, where N is greater than M).
- display_IBDI_depth_flag is present in an SPS
- display lBDI depth may be set equal to display lBDI depth flag.
- IBDI_bit_depth_minus8 plus 8 may indicate the bit-depth (N) that is to be used for display. That is, IBDI_bit_depth_minus8+8 is equal to (N), which may be equal to the bit depth (M) combined with bitDepthlncreased.
- N bit-depth
- M bit depth
- an output bit depth indicator may be included in an MPD file (e.g., in a DASH environment).
- an MPD may describe the different representations of video data that are available to be decoded.
- an MPD may include data that generally describes characteristics of included representations, such as coding and rendering characteristics, adaptation sets, a profile to which the MPD corresponds, and a variety of other information, as noted above.
- an output bit depth may be determined by a server responsible for providing the content at the time of encapsulation (e.g., packaging for transmission to video decoder 30). That is, for example, a service provider may determine that additional bit depth is not required for display of certain content. In such instances, the service provider may set an IBDI flag (e.g., in an MPD) indicating that a representation is not to be displayed at the IBDI bit-depth.
- a server responsible for providing the content at the time of encapsulation e.g., packaging for transmission to video decoder 30. That is, for example, a service provider may determine that additional bit depth is not required for display of certain content. In such instances, the service provider may set an IBDI flag (e.g., in an MPD) indicating that a representation is not to be displayed at the IBDI bit-depth.
- an IBDI flag e.g., in an MPD
- the service provider may determine that additional bit depth may be used to display data of a particular representation and may set the display bit-depth indicator accordingly.
- An example MPD is shown in Table 3 below:
- @height 0 Specifies the vertical visual presentation size of the video media type in an alternative Representation, on a square grid determined by the @parx and @pary attributes. This value should be equal to the vertical pixel resolution of the video.
- @parx 0 indicates the horizontal size of the encoded video pixels (samples) (in arbitrary units). The default value is 1.
- @pary 0 indicates the vertical size of the encoded video pixels (in the same arbitrary units as @parx). The default value is 1.
- the value is the average frame or field rate over the entire duration of the representation. In case of a multiview complementary Representation, the value indicates the frame or field rate of a single view.
- @IBDIDepth 0 This elements when present, indicates that the HEVC representation is to be displayed with a higher bit-depth of IBDIDepth (N- bit). When it is not signalled, the representation is to be displayed with a normal bit-depth (M-bit). This value is equal to the M+ bitDepthlncreased, as indicated in the SPS of HEVC bitstream.
- multiple language codes may be declared as a white-space separated list and indicate that the representation may suit a preference for any of the indicated languages. For a full indication of what media is offered under each language, the Initialisation Segment or a Media Segment may have to be accessed.
- @numberOfChannels 0 A single value describing the number of audio output channels or a list of available audio channels. For example,
- @samplingRate 0 A single value describing the sample rate of the audio stream or a list of sample rates available in the audio stream, e.g.
- this MIME type shall include the codec parameters for all media types.
- the codec parameters shall also include the profile and level information where applicable.
- @maximumRAPPeri 0 Provides the maximum time interval od between RAPs in seconds in this
- the presentation time of the RAP shall either be provided explicitly by the Segment Index or, if the @segmentAlignmentFlag is true, may be inferred from the presentation time of the last sample of the previous segment.
- ContentProtection 0 Provides information about the use of
- Accessibility 0 Provides information about Accessibility
- Rating 0 Provides information Content rating
- Viewpoint 0 Provides information Content View Point
- MultipleViews 0 Provides information for video that
- ... 1 contains multiple views
- @IBDIDepth element when @IBDIDepth element is present, the element may be used to indicate that the HEVC representation (or representation of another coding standard) is to be displayed with an increased bit-depth of IBDIDepth (N-bit). When the element is not present, the representation is to be displayed with a normal bit-depth (M-bit).
- the value of @IBDIDepth may be equal to the M bit-depth + bitDepthlncreased, as indicated in the SPS (or SEI message) of the bitstream.
- a modified IBDI process may be used that includes rounding of all decoded pictures being stored to reference picture memory 142, regardless of whether the decoded pictures are used as reference pictures.
- an additional indicator e.g., flag
- Such an indicator may be provided in an SPS, SEI message, and the like, as described above. For example, if the indicator is true, a modified IBDI process may be used for a sequence of pictures.
- a current IBDI process may be used for the sequence of pictures.
- the output bit depth indicators described above are generally described with respect to video decoder 30, it should be understood that such indicators may be generated and/or transmitted by one or more devices.
- the display bit depth indicators described above may be generated by a variety of video coders, including video encoder 20 (FIGS. 1 and 2), a server or other component for providing content (as described with respect to the DASH example above) other processors, processing units, hardware-based coding units such as encoder/decoders (CODECs), and the like.
- video decoder 30 may receive the output bit depth indicator and determine whether to output decoded pictures at an increased bit depth or an original bit depth based on a received output bit depth indicator.
- IBDI module 13 IB may not alter the decoded pictures prior to storing the decoded pictures in reference picture memory 142. That is, as noted above, when IBDI is implemented, IBDI module 131 A may increase the bit depth of video data prior to performing certain internal coding operations. When video decoder 30 outputs decoded pictures in an increased bit depth, IBDI module 13 IB may not round the bit depth of the video data prior to storing the decoded pictures to reference picture memory 142.
- video decoder 30 may output decoded pictures from reference picture memory 142 (e.g., for presentation at a display, such as display device 32 (FIG. 1)) in the increased bit depth.
- IBDI module 13 IB may implement the techniques described in this disclosure when storing decoded pictures to reference picture memory 142. That is, in some examples, IBDI module 13 IB may not alter samples of pictures that will be used as reference pictures. Rather, video decoder 30 may store decoded pictures to reference picture memory 142 at the IBDI (increased) bit depth. In contrast, according to aspects of this disclosure, IBDI module 13 IB may round samples of pictures that will not be used as reference pictures.
- IBDI modules 131 are shown as separate modules, it should be understood that such IBDI modules 131 may be highly integrated and/or incorporated into a single module. In addition, while shown as discrete modules for purposes of explanation, it should be understood that IBDI modules 131 may be implemented in hardware, software, firmware, or any combination thereof.
- FIG. 5 is a block diagram illustrating increasing a bit depth when performing operations associated with video coding.
- the example shown in FIG. 5 is generally described as being performed by a video coder. It should be understood that, in some examples, the technique of FIG. 5 may be carried out by video encoder 20 (FIGS. 1 and 2) or video decoder 30 (FIGS. 1 and 3), described above. In other examples, the technique of FIG. 5 may be performed by a variety of other processors, processing units, hardware-based coding units such as encoder/decoders (CODECs), and the like.
- CDECs encoder/decoders
- the video coder may use an IBDI process, such as those described above, to perform one or more video coding operations on video data at an increased bit depth (160).
- the video coder may receive one or more samples of video data having a bit depth of eight and may increase the bit depth from 8 to 10, 12, or another, higher bit depth.
- the video coder may perform operations on the video data using the increased bit depth such as performing intra- frame prediction, applying one or more interpolation filters (including sub-pixel interpolation), applying one or more de-blocking filters, applying one or more spatial transforms (or inverse transforms), performing quantization, or performing other processes.
- the video coder may also determine whether to output video data, i.e., decoded pictures, at an increased bit depth (162). According to aspects of this disclosure, the video coder may make such a determination based on, for example, a received output bit depth indicator.
- the indicator may include an output display bit depth flag contained in an SPS, an SEI message, or the like.
- the indicator may be provided in a file format (e.g., as an extension to an ISO base media file format), one or more syntax elements that are provided in a sample that contains profile and level information, a descriptor (e.g., an MPEG-2 descriptor), or an MPD file (e.g., in a DASH environment.
- a device external to the video coder such as a display device (e.g., display device 32 shown in FIG. 1) may determine the output bit depth though, for example, remote control.
- the video coder may store the video data (e.g., to a decoded picture buffer) at the increased bit depth (164). If the video coder is not to output the video data at the increased bit depth (e.g., the NO branch of step 162), the video coder may determine whether the video data is used as reference data (166). According to aspects of this disclosure, if the video data is used as reference data (e.g., the YES branch of 166), the video coder may store the video data at the increased bit depth (164).
- the video coder may reduce the bit depth of the video data (168). For example, certain pictures (e.g., such as some B-frames and the like) may not be used as reference pictures. Moreover, in some instances, the video coder may mark certain video data as "unused for reference.” In such examples, the video coder may reduce the bit depth from the increased bit depth used for IBID operations to an original bit depth. The video coder may then store the video data at the decreased bit depth (170).
- the example shown in FIG. 5 may reduce memory requirements associated with encoding and/or decoding video data.
- the techniques shown in the example of FIG. 5 may allow fewer bits of data to be stored, which may reduce memory requirements as well as memory bandwidth consumption.
- the video coder may maintain video data at the original bit depth (e.g., non-IBDI bit depth), regardless of whether the video data is used for reference.
- the video coder may increase the bit depth when video data is used for certain processes (e.g., internal coding processes associated with motion compensation, sub-pixel interpolation, quantization, transformation, and reconstruction), but may then decrease the bit depth of all decoded video data prior to storing the video data to reduce memory bandwidth consumption.
- steps of the method of FIG. 5 need not necessarily be performed in the order shown in FIG. 5, and fewer, additional, or alternative steps may be performed.
- the aspects of this disclosure directed to memory utilization management e.g., steps 166-168) may be performed independently of the aspects of this disclosure directed to determining an output bit depth (e.g., step 162), as described above.
- the functions described may be implemented in hardware, 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
- 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. Also, any connection is properly termed a computer-readable medium.
- coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
- coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of 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.
- processors such as one or more 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.
- DSPs digital signal processors
- ASICs application specific integrated circuits
- FPGAs field programmable logic arrays
- processors may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein.
- 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.
- 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
In an example aspects of this disclosure generally relate to a method of coding video data that includes determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth. The method also includes determining whether the video data will be used as reference data when coding other video data. The method also includes storing, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
Description
INTERNAL BIT DEPTH INCREASE IN VIDEO CODING
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 61/495,333 filed 09 June 2011, U.S. Provisional Patent Application No. 61/552,876 filed 28 October 2011, and U.S. Provisional Patent Application No. 61/556,002 filed 04 November 2011, the contents of all of which are hereby incorporated by reference in their entirety.
TECHNICAL FIELD
[0002] This disclosure relates to video coding techniques.
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 general, the techniques of this disclosure relate to video coding and internal bit depth increase (IBDI) in video coding. For example, a video coder may use IBDI to increase the bit depth of a sample being coded to reduce rounding errors in internal calculations. The techniques of this disclosure generally relate to managing memory utilization when using IBDI, as well as determining an output bit depth. That is, for example, the techniques of this disclosure include, in some examples, rounding video data from a higher bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer if the video data is not used as reference video data. In another example, the techniques of this disclosure relate to determining whether to output video data in an IBDI (e.g., increased) bit depth.
[0007] In an example aspects of this disclosure generally relate to a method of coding video data that includes determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth. The method also includes determining whether the video data will be used as reference data when coding other video data. The method also includes storing, based on the determination, the video data at the first bit depth when the video data is
not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
[0008] In another example, aspects of this disclosure generally relate to an apparatus for coding video data that includes one or more processors configured to determine a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; determine whether the video data will be used as reference data when coding other video data; and store, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
[0009] In another example, aspects of this disclosure generally relate to an apparatus for coding video data that includes means for determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; means for determining whether the video data will be used as reference data when coding other video data; and means for storing, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
[0010] In another example, aspects of this disclosure generally relate to a computer- readable storage medium having instructions stored thereon that, when executed, cause one or more processors to determine a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; determine whether the video data will be used as reference data when coding other video data; and store, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
[0011] The details of one or more aspects of the disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the techniques described in this disclosure will be apparent from the description and drawings, and from the claims.
BRIEF DESCRIPTION OF DRAWINGS
[0012] FIG. 1 is a block diagram illustrating an example video encoding and decoding system that may utilize the techniques of this disclosure.
[0013] FIG. 2 is a block diagram illustrating example internal bit depth increase (IBDI) operations in video coding.
[0014] FIG. 3 is a block diagram illustrating an example of a video encoder that may implement any or all of the techniques of this disclosure.
[0015] FIG. 4 is a block diagram illustrating an example of a video decoder that may implement any or all of the techniques of this disclosure.
[0016] FIG. 5 is a flow chart illustrating an example method of performing IBDI related operations in video coding.
DETAILED DESCRIPTION
[0017] In general, the techniques of this disclosure relate to video coding. For example, a video coder may use an internal bit depth increase (IBDI) operation to increase the bit depth of a sample being coded to reduce rounding errors in internal calculations. The techniques of this disclosure generally relate to managing memory utilization when using IBDI, as well as determining an output bit depth. That is, for example, the techniques of this disclosure include, in some examples, rounding video data from a higher bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer if the video data is not used as reference video data. In another example, the techniques of this disclosure relate to determining whether to output video data in an increased bit depth.
[0018] For example, bit depth may generally refer to a number of bits of information for a given sample (e.g., luma and/or chroma values for a pixel) of video data. When performing IBDI, a video coder may expand the bit depth of a sample being coded from a first number of bits (e.g., "M" bits) to a second, increased number of bits (e.g., "N" bits). The greater bit depth is intended to reduce rounding errors in internal
calculations. For example, increasing arithmetic precision when performing internal calculations may help to achieve ideal results. Example processes that may benefit from increased bit depth may include motion compensation, interpolation filtering, deblocking filtering, and weighted prediction, among others.
[0019] A video coder may store decoded video data to a decoded picture buffer during coding (e.g., for use as reference data for predictive coding). The video coder may also store the decoded video data to the decoded picture buffer prior to output (e.g., display). When performing internal calculations at an increased bit depth (e.g., using IBDI), a video coder may store video data at the increased bit depth. Accordingly, the video coder may perform rounding prior to outputting the video data from the decoded picture buffer for display.
[0020] Storing video data at the increased bit depth may consume a relatively large amount of memory. Some of the video data (e.g., video pictures) stored in the decoded picture buffer, however, may not be used as reference data (e.g., reference pictures). That is, certain pictures of video data may not be used as reference data, but may still be stored in the decoded picture buffer prior to being output (e.g., for display). Moreover, some video pictures stored to the decoded picture buffer may be marked by the video coder as "unused for reference" during the coding process. While this disclosure generally refers to "pictures," "video pictures," and "reference pictures," it should be understood that the techniques of this disclosure are applicable to video data of other sizes/configurations of video data (e.g., video blocks, slices, tiles, and the like).
[0021] Aspects of this disclosure generally relate to managing memory utilization when using an internal bit depth in a video coder that may be higher than the bit depth used for display. For example, the techniques of this disclosure include storing video data at a first, increased bit depth when the video data will be used as reference data, and storing video data at a decreased bit depth when the decoded video pictures will not be used as reference pictures. That is, the techniques of this disclosure generally relate to rounding video data from an increased bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer when the video data is not used as reference video data. For example, the techniques of this disclosure include converting a decoded video picture with an increased bit depth to a decoded video picture with a lower bit depth, relative to the increased bit depth.
[0022] In general, the lower bit depth may be equal to the original bit depth at which the video data was received. However, the lower bit depth may also be equal to the bit depth at which the video data is output (e.g., in examples in which the output bit depth is less than the increased bit depth) or some other lower bit depth than the increased bit depth. In addition, while aspects of this disclosure are described with respect to rounding video data to lower the bit depth, it should be understood that the techniques
of this disclosure are more generally applicable reducing the bit depth of samples of video data, whether by rounding, truncation (without rounding), or some other process or decreasing the bit depth.
[0023] Aspects of this disclosure also relate to determining whether to output video data in an increased bit depth or a decreased bit depth (e.g., the original bit depth). In some examples, such a determination may be made according to signaling associated with a bit depth at which video data is to be output (e.g., output by a video decoder). Such signaling may be included, for example, in an encoded video data bitstream that may be decoded by a video decoder. That is, the techniques of this disclosure include signaling to a video decoder whether the video decoder should output video data at the decreased bit depth, e.g., equal to the bit depth at which the video data was received (referred to as the "original" bit depth), or output the video data at an increased bit depth (e.g., an IBDI bit depth). In another example, the output bit depth is not present as part of the decoded video bitstream but derived from a source that is external to the video decoder,, such as by a configuration of a display that is presenting decoded video data from the video decoder.
[0024] A video coder may, in some examples, implement the memory management techniques of this disclosure with the techniques directed to determining an output bit depth. In examples in which the video coder is to output video data in the original (lower) bit depth, the video coder may implement the memory management techniques described above so that a decoded pictures is only stored in the increased (IBDI) bit depth when the decoded picture is to be used as reference picture.
[0025] Aspects of this disclosure may reduce memory requirements associated with encoding and/or decoding video data. For example, in examples in which an IBDI technique is used to increase the bit depth of video data for internal coding operations but the video data is not used for reference, the techniques of this disclosure allow fewer bits of data to be stored. In addition, the techniques may reduce memory bandwidth consumption. For example, multiple modules may share a memory bus to access memory during coding. In such examples, storing fewer bits to the buffer, in accordance with the techniques of this disclosure, may decrease the amount of data that is transferred between the buffer and the video coding device.
[0026] In some examples, reducing the memory bandwidth may be useful in mobile applications (e.g., in applications in which a video coder is incorporated in a mobile device). For example, as noted above, reads and writes to memory may consume
memory bus bandwidth, which may be relatively limited in mobile applications.
Moreover, reads and writes to memory may increase the amount of power that is consumed by a mobile device (e.g., considering that the reads and writes each require powering the memory bus and memory). Accordingly, the techniques of this disclosure may be deployed in power-limited devices, such as mobile devices, laptop computers and any other type of device that does not have a constant dedicated supply of power.
[0027] FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may be configured to utilize the techniques described in this disclosure for managing memory utilization when using IBDI in a video coder. As shown in the example of FIG. 1, system 10 includes a source device 12 that generates encoded video for decoding by destination device 14. Source device 12 may transmit the encoded video to destination device 14 via communication channel 16 or may store the encoded video on a storage medium 34 or a file server 36, such that the encoded video may be accessed by the destination device 14 as desired. Source device 12 and destination device 14 may comprise any of a wide variety of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called smartphones, televisions, cameras, display devices, digital media players, video gaming consoles, or the like.
[0028] In many cases, such devices may be equipped for wireless communication. Hence, communication channel 16 may comprise a wireless channel, a wired channel, or a combination of wireless and wired channels suitable for transmission of encoded video data. For example, communication channel 16 may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines, or any combination of wireless and wired media.
Communication channel 16 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.
Communication channel 16 generally represents any suitable communication medium, or collection of different communication media, for transmitting video data from source device 12 to destination device 14, including any suitable combination of wired or wireless media. Communication channel 16 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.
[0029] The techniques described in this disclosure for managing memory utilization when using IBDI in a video coder, in accordance with examples of this disclosure, 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.
[0030] As further shown in the example of FIG. 1, source device 12 includes a video source 18, video encoder 20, a modulator/demodulator (modem) 22 and a transmitter 24. In source device 12, video source 18 may include a source such as a video capture device. The video capture device, by way of example, may include one or more of 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. 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. The techniques of this disclosure, however, are not necessarily limited to wireless applications or settings, and may be applied to non-wireless devices including video encoding and/or decoding capabilities. Source device 12 and destination device 14 are merely examples of coding devices that can support the techniques described herein.
[0031] The captured, pre-captured, or computer-generated video may be encoded by video encoder 20. The encoded video information may be modulated by modem 22 according to a communication standard, such as a wireless communication protocol, and transmitted to destination device 14 via transmitter 24. Modem 22 may include various mixers, filters, amplifiers or other components designed for signal modulation.
Transmitter 24 may include circuits designed for transmitting data, including amplifiers, filters, and one or more antennas.
[0032] The captured, pre-captured, or computer-generated video that is encoded by the video encoder 20 may also be stored onto a storage medium 34 or a file server 36 for later consumption. The storage medium 34 may include Blu-ray discs, DVDs, CD- ROMs, flash memory, or any other suitable digital storage media for storing encoded video. The encoded video stored on the storage medium 34 may then be accessed by destination device 14 for decoding and playback.
[0033] File server 36 may be any type of server capable of storing encoded video and transmitting that encoded video 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, a local disk drive, or any other type of device capable of storing encoded video data and transmitting it to a destination device. The file server 36 may be accessed by the destination device 14 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 the file server 36 may be a streaming transmission, a download transmission, or a combination of both.
[0034] This disclosure may generally refer to video encoder 20 "signaling" certain information to another device, such as video decoder 30. It should be understood, however, that video encoder 20 may signal information by associating certain syntax elements with various encoded portions of video data. That is, video encoder 20 may "signal" data, such as an output bit depth, by storing certain syntax elements to headers of various encoded portions of video data. In some cases, such syntax elements may be encoded and stored (e.g., stored to storage medium 34 or file server 36) prior to being received and decoded by video decoder 30. Thus, the term "signaling" may generally refer to the communication of syntax or other data for decoding compressed video data, whether such communication occurs in real- or near-real-time or over a span of time, such as might occur when storing syntax elements to a medium at the time of encoding, which then may be retrieved by a decoding device at any time after being stored to this medium.
[0035] Destination device 14, in the example of FIG. 1, includes a receiver 26, a modem 28, a video decoder 30, and a display device 32. Receiver 26 of destination device 14 receives information over channel 16, and modem 28 demodulates the information to produce a demodulated bitstream for video decoder 30. The information communicated over channel 16 may include a variety of syntax information generated by video encoder 20 for use by video decoder 30 in decoding video data. Such syntax may also be included with the encoded video data stored on a storage medium 34 or a file server 36. Each of video encoder 20 and video decoder 30 may form part of a respective encoder-decoder (CODEC) that is capable of encoding or decoding video data.
[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 currently 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 include MPEG-2 and ITU-T H.263.
[0038] The HEVC standard refers to a block of video data as a coding unit (CU). In general, a CU has a similar purpose to a macroblock coded according to H.264, except that a CU does not have a size distinction. Thus, a CU may be split into sub-CUs. In general, references in this disclosure to a CU may refer to a largest coding unit (LCU) of a picture or a sub-CU of an LCU. For example, syntax data within a bitstream may define the LCU, which is a largest coding unit in terms of the number of pixels. An LCU may be split into sub-CUs, and each sub-CU may be split into sub-CUs. Syntax data for a bitstream may define a maximum number of times an LCU may be split, referred to as a maximum CU depth. Accordingly, a bitstream may also define a smallest coding unit (SCU).
[0039] An LCU may be associated with a hierarchical quadtree data structure. In general, a quadtree data structure includes one node per CU, where a root node corresponds to the LCU. If a CU is split into four sub-CUs, the node corresponding to the CU includes four leaf nodes, each of which corresponds to one of the sub-CUs. Each node of the quadtree data structure may provide syntax data for the corresponding CU. For example, a node in the quadtree may include a split flag, indicating whether the CU corresponding to the node is split into sub-CUs. Syntax elements for a CU may be defined recursively, and may depend on whether the CU is split into sub-CUs.
[0040] A CU that is not split may include one or more prediction units (PUs). In general, a PU represents all or a portion of the corresponding CU, and includes data for retrieving a reference sample for the PU. 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 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 list (e.g., list 0 or list 1) for the motion vector. Data for the CU defining the PU(s) may also describe, for example, partitioning of the CU into one or more PUs. Partitioning modes may differ between whether the CU is uncoded, intra- prediction mode encoded, or inter-prediction mode encoded.
[0041] A CU having one or more PUs may also include one or more transform units (TUs). Following prediction using a PU, a video encoder may calculate a residual value for the portion of the CU corresponding to the PU. The residual value may be transformed, quantized, and scanned. A TU is not necessarily limited to the size of a PU. Thus, TUs may be larger or smaller than corresponding PUs for the same CU. In some examples, the maximum size of a TU may be the size of the corresponding CU. This disclosure also uses the term "block" to refer to any of a CU, PU, or TU.
[0042] In general, encoded video data may include prediction data and residual data. Video encoder 20 may produce the prediction data during an intra-prediction mode or an inter-prediction mode. Intra-prediction generally involves predicting the pixel values in a block of a picture relative to reference samples in neighboring, previously coded blocks of the same picture (which may also be referred to as a frame). Inter-prediction generally involves predicting the pixel values, e.g., luma and chroma values, in a block of a picture relative to data of a previously coded picture.
[0043] Following intra- or inter-prediction, video encoder 20 may calculate residual pixel values for the block. The residual values generally correspond to differences between the predicted pixel value data for the block and the true pixel value data of the block. For example, the residual values may include pixel difference values indicating differences between coded pixels and predictive pixels. In some examples, the coded pixels may be associated with a block of pixels to be coded, and the predictive pixels may be associated with one or more blocks of pixels used to predict the coded block.
[0044] To further compress the residual values of a block, the residual values may be transformed into a set of transform coefficients that compact as much data (also referred to as "energy") as possible into as few coefficients as possible. Transform techniques may comprise a discrete cosine transform (DCT) process or conceptually similar process, integer transforms, wavelet transforms, or other types of transforms. The transform converts the residual values of the pixels from the spatial domain to a transform domain. The transform coefficients correspond to a two-dimensional matrix of coefficients that is ordinarily the same size as the original block. In other words, there are just as many transform coefficients as pixels in the original block of residual data. However, due to the transform, many of the transform coefficients may have values equal to zero.
[0045] Video encoder 20 may then quantize the levels of the transform coefficients to further compress the video data. Quantization generally involves mapping values within a relatively large range to values in a relatively small range, thus reducing the amount of data needed to represent the quantized transform coefficients. More specifically, quantization may be applied according to a quantization parameter (QP), which may be indexed to a quantizer step size that is applied to a transform coefficient during quantization. Video encoder 20 may modify the degree of quantization (e.g., the quantizer step size) by adjusting the QP.
[0046] Following quantization, video encoder 20 may scan the transform coefficients, producing a one-dimensional vector from the two-dimensional matrix including the quantized transform coefficients. Video encoder 20 may then entropy encode the resulting array to even further compress the data. In general, entropy coding comprises one or more processes that collectively compress a sequence of quantized transform coefficients and/or other syntax information. For example, syntax elements, such as delta QPs, prediction vectors, coding modes, filters, offsets, or other information, may also be included in the entropy coded bitstream. The scanned coefficients are then entropy coded along with any syntax information, e.g., via content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), or another entropy coding process.
[0047] To perform CABAC, video encoder 20 may select a context model to apply to a certain context to encode symbols to be transmitted. The context may relate to, for example, whether neighboring values are non-zero or not. Video encoder 20 may also
entropy encode syntax elements, such as a significant coefficient flag and a last coefficient flag produced when performing an adaptive scan.
[0048] The video decoding process performed by video decoder 30 may generally include reciprocal techniques to the encoding techniques performed by video encoder 20. Although generally reciprocal, video decoder 30 may, in some instances, perform techniques similar to those performed by video encoder 20. In other words, video decoder 30 may perform substantially similar processes to those performed by video encoder 20. Video decoder 30 may also rely on syntax elements or other data contained in a received bitstream that includes the data described with respect to video encoder 20.
[0049] In some examples, video encoder 20 may generate and video decoder 30 may receive certain parameter sets, which may be used when decoding video data. For example, in the H.264/AVC (Advanced Video Coding) standard, coded video segments are organized into NAL units, which provide a "network-friendly" video representation addressing applications such as video telephony, storage, broadcast, or streaming. NAL units can be categorized to Video Coding Layer (VCL) NAL units and non-VCL NAL units. VCL units may contain the core compression engine and may include block, macroblock, and/or slice level data. Other NAL units may be non-VCL NAL units. In some examples, a coded picture in one time instance, normally presented as a primary coded picture, may be contained in an access unit, which may include one or more NAL units.
[0050] Non-VCL NAL units may include parameter set NAL units and SEI NAL units, among others. Parameter sets may contain sequence-level header information (in sequence parameter sets (SPS)) and the infrequently changing picture-level header information (in picture parameter sets (PPS)). With parameter sets (e.g., PPS and SPS), infrequently changing information need not to be repeated for each sequence or picture, hence coding efficiency may be improved. Furthermore, the use of parameter sets may enable out-of-band transmission of the important header information, avoiding the need for redundant transmissions for error resilience. In out-of-band transmission examples, parameter set NAL units may be transmitted on a different channel than other NAL units, such as SEI NAL units.
[0051] Supplemental Enhancement Information (SEI) may contain information that is not necessary for decoding the coded pictures samples from VCL NAL units, but may assist in processes related to decoding, display, error resilience, and other purposes. SEI messages may be contained in non-VCL NAL units. SEI messages are the normative
part of some standard specifications, and thus are not always mandatory for standard compliant decoder implementation. SEI messages may be sequence level SEI messages or picture level SEI messages. Some sequence level information may be contained in SEI messages, such as scalability information SEI messages in the example of SVC and view scalability information SEI messages in MVC.
[0052] In addition, video decoder 30 may, in some examples, conform to a standard that implements a certain media format. For example, an ISO Base Media File Format is designed to contain timed media information for a presentation in a flexible, extensible format that facilitates interchange, management, editing, and presentation of the media. ISO Base Media File format (ISO/IEC 14496-12:2004) is specified in MPEG-4 Part- 12, which defines a general structure for time-based media files. The base format may be used as the basis for other file formats in the family, such as the Advanced Video Coding (AVC) file format (ISO/IEC 14496-15) defined to support H.264/MPEG-4 AVC video compression, the 3 GPP file format, the SVC file format, and the MVC file format, which are extensions of the AVC file format.
[0053] In general, the ISO base media file format contains the timing, structure, and media information for timed sequences of media data, such as audio-visual
presentations. The file structure may be object-oriented. That is, a file may be decomposed into basic objects very simply and the structure of the objects may be implied from their type. Files conforming to the ISO base media file format may be formed as a series of objects, called "boxes." Data is generally contained in boxes and there is typically no other data within the file. Thus, the "box" is an object-oriented building block defined by a unique type identifier and length.
[0054] In another example, the AVC file format, also known as MPEG-4 part-15, is an extension of ISO base media file format. In the AVC file format, a video sample is contained in the "AVCSample", which contains AVCDecoderConfigurationRecord, as well as the NAL unit of the same access unit. The AVCDecoderConfigurationRecord can also be contained in "AVCParameterSample," which contains only parameter sets. The syntax of the AVCDecoderConfigurationRecord may include the following:
aligned (8) class AVCDecoderConfigurationRecord {
unsigned int(8) configurationVersion = 1 ;
unsigned int(8) AVCProfilelndication;
unsigned int(8) profile_compatibility;
unsigned int(8) AVCLevellndication;
bit (6) reserved =
unsigned int(2) lengthSizeMinusOne ;
bit (3) reserved = 'lll'b;
unsigned int(5) numOfSequenceParameterSets ;
for (i=0; i< numOfSequenceParameterSets ; i++) {
unsigned int(16) sequenceParameterSetLength ;
bit (8*sequenceParameterSetLength)
sequenceParameterSetNALUnit ;
}
unsigned int(8) numOfPictureParameterSets ;
for (i=0; i< numOfPictureParameterSets ; i++) {
unsigned int(16) pictureParameterSetLength;
bit ( 8*pictureParameterSetLength)
pictureParameterSetNALUnit ;
[0055] In the example above, the AVCDecoderConfigurationRecord contains certain profile and level related elements. As with many video coding standards, H.264/AVC defines the syntax, semantics, and decoding process for error-free bitstreams, any of which conform to a certain profile or level. H.264/AVC does not specify an encoder, but the encoder is tasked with guaranteeing that the generated bitstreams are standard- compliant for a decoder. In the context of video coding standard, a "profile" corresponds to a subset of algorithms, features, or tools and constraints that apply to them. As defined by the H.264 standard, for example, a "profile" is a subset of the entire bitstream syntax that is specified by the H.264 standard. A "level" corresponds to the limitations of the decoder resource consumption, such as, for example, decoder memory and computation, which are related to the resolution of the pictures, bit rate, and macroblock (MB) processing rate. A profile may be signaled with a profile idc (profile indicator) value, while a level may be signaled with a level idc (level indicator) value.
[0056] The H.264/AVC standard, for example, recognizes that, within the bounds imposed by the syntax of a given profile, it is still possible to require a large variation in the performance of encoders and decoders depending upon the values taken by syntax elements in the bitstream such as the specified size of the decoded pictures. The H.264/AVC standard further recognizes that, in many applications, it is neither practical nor economical to implement a decoder capable of dealing with all hypothetical uses of the syntax within a particular profile. Accordingly, the H.264/AVC standard defines a
"level" as a specified set of constraints imposed on values of the syntax elements in the bitstream. These constraints may be simple limits on values. Alternatively, these constraints may take the form of constraints on arithmetic combinations of values (e.g., picture width multiplied by picture height multiplied by number of pictures decoded per second). The H.264/AVC standard further provides that individual implementations may support a different level for each supported profile.
[0057] In some examples, video encoder 20 and/or video decoder 30 may also operate according to other proprietary or industry standards such as the MPEG-2 standard. The MPEG-2 Systems specification describes how compressed multimedia data streams (e.g., video and audio streams) may be multiplexed together with other data to form a single data stream suitable for digital transmission or storage. The latest specification of MPEG-2 systems is specified in "Information Technology— Generic Coding of Moving Pictures and Associated Audio: Systems, Recommendation H.222.0; International Organization for Standardization, ISO/IEC JTC1/SC29/WG11; Coding of Moving Pictures and Associated Audio," May 2006.
[0058] By way of background, according to MPEG-2, an elementary stream is a single, digitally coded (possibly MPEG-compressed) component of a program. For example, the coded video or audio part of the program can be an elementary stream. An elementary stream may be converted into a packetized elementary stream (PES) before being multiplexed into a program stream or transport stream. Within the same program, a stream id may be used to distinguish the PES-packets belonging to one elementary stream from the other.
[0059] A program stream generally includes one or more associated elementary streams and typically contains packets with variable length packets. In addition, a program stream generally includes PES-packets that are derived from the contributing elementary streams and that are organized into so-called "packs." A pack includes a pack-header, an optional system-header and any number of PES-packets taken from any of the contributing elementary streams, in any order. The system header, when included, may contain a summary of the characteristics of the program stream such as a maximum data rate, the number of contributing video and audio elementary streams, and timing information. A decoder, such as video decoder 30, may use the information contained in a system header to determine whether the decoder is capable of decoding the program stream.
[0060] A transport stream is intended for the simultaneous delivery of a number of programs over potentially error-prone channels. A transport stream comprises a succession of relatively short transport packets, which reduces the susceptibility to errors. While a transport stream provides error resilience and an ability to carry many simultaneous programs, it may also include a more sophisticated multiplex than the program stream and may be more difficult to create and to de -multiplex.
[0061] A 13-bit Packet Identifier (PID) field may be used to distinguish transport packets containing the data of one elementary stream from those carrying the data of other elementary streams. Program specific information may specify the relationship between programs and the component elementary streams. The basic program map table (PMT) may be embellished with some of the many descriptors specified within the MPEG-2 systems specification. Assume, for purposes of example, that a PMT includes a program with the number three that contains the video with PID 33, English audio with PID 57, and Chinese audio with PID 60. A PMT may include more than one program.
[0062] The descriptors associated with a PMT typically convey further information about a program or its component elementary streams. The descriptors include video encoding parameters, audio encoding parameters, language identification, pan-and-scan information, conditional access details, copyright information and so on. A broadcaster or other user may define additional private descriptors if required.
[0063] A program stream map (PSM) provides a description of the elementary streams in the program stream and their relationship to one another. When carried in a transport stream, the PSM may not be modified. The PSM is present as a PES packet when the stream id value is OxBC. A program association table (PAT) provides a complete list of all the programs available in a transport stream, along with the PID value of the transport packets that contain its program map table (PMT). Using the same example mentioned above, the PMT that specifies the elementary streams of program number three may have a PID of 1001 and another PMT may have another PID of 1002.
[0064] For AVC (e.g., ITU-T Rec. H.264 | ISO/IEC 14496-10) video streams, the AVC video descriptor provides basic information for identifying coding parameters of the associated AVC video stream, such as on profile and level parameters included in the SPS of an AVC video stream.
[0065] For example, the AVC video descriptor may signal the presence of AVC still pictures and the presence of AVC 24-hour pictures in the AVC video stream. If such a
descriptor is not included in the PMT or PSM (if present), the AVC video stream may not contain AVC still pictures and AVC 24-hour pictures. An example AVC video descriptor is included in the example Table 1 below:
TABLE 1 - AVC Video Descriptor
[0066] Video encoder 20 and/or video decoder 30 may also conform to an MPEG specified Dynamic Adaptive Streaming based on HTTP (DASH). In DASH, there is a manifest file, namely MPD (Media Presentation Descriptor) which describes the representations of the service. For example, an MPD may include data that generally describes characteristics of included representations, such as coding and rendering characteristics, adaptation sets, a profile to which the MPD corresponds, text type information, camera angle information, rating information, trick mode information (e.g., information indicative of representations that include temporal sub-sequences), and/or information for retrieving remote periods (e.g., for targeted advertisement insertion into media content during playback).
[0067] Each representation may include header data and one or more segments of media data. The header data, when present, may describe characteristics of segments, e.g., temporal locations of random access points, byte offsets to random access points within the segments, uniform resource locators (URLs) of the segments, or other aspects of the segments. Additionally or alternatively, such characteristics may be fully included within the MPD. Each segment may include one or more coded video samples, each of which may include pictures or slices of video data. Each of the coded video samples of the segments may have similar characteristics, e.g., height, width, and bandwidth
requirements. Each of the segments may be associated with a unique uniform resource identifier (URI), e.g., a uniform resource locator (URL). Thus, each of the segments may be independently retrievable using a streaming network protocol, such as DASH. In this manner, a destination device (which may include a video decoder, such as video decoder 30), may use an HTTP Get request to retrieve the segments.
[0068] 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).
[0069] 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.
[0070] According to aspects of this disclosure, as described in greater detail with respect to FIGS. 3 and 4 below, video encoder 20 and/or video decoder 30 may perform memory utilization management when using an internal bit depth that is higher than the output bit depth. That is, the internal bit depth generally refers to a bit depth that is used for calculations that are internal to video encoder 20 and/or video decoder 30. Example internal calculations include motion compensation, interpolation filtering, de -blocking filtering, and weighted prediction, among others The output bit depth generally refers to the bit depth that is transmitted from video encoder 20 and/or video decoder 30. For example, with respect to video decoder 30, the output bit depth is the bit depth of samples (e.g., luma and/or chroma values for a pixel) that are sent to display device 32 for presentation.
[0071] For example, video encoder 20 and/or video decoder 30 may store video data at a first, increased bit depth when the decoded pictures will be used as reference pictures.
Video encoder 20 and/or video decoder 30 may store decoded pictures at a decreased bit depth (e.g., original bit depth) when the decoded pictures will not be used as reference pictures. That is, video encoder 20 and/or video decoder 30 may round video data from an increased bit depth to a lower bit depth prior to storing the video data to a decoded picture buffer if the decoded picture is not used as a reference picture.
[0072] In addition, according to aspects of this disclosure, video encoder 20 may provide, and video decoder 30 may decode certain indications (e.g., such as syntax elements) regarding an output format for video decoder 30. For example, aspects of this disclosure also relate to signaling associated with a bit depth at which video data is to be output by video decoder 30. For example, video encoder 20 may encode, and video decoder 30 may decode, syntax elements indicating whether video decoder 30 should output pictures at an original bit depth at which the video data was received by video encoder 20 or video decoder 30, or output the pictures at an increased bit depth (e.g., an IBDI bit depth).
[0073] Such signaling may be provided, for example, in an SPS, PPS, or other parameter set, or in one or more SEI messages. In another example, such signaling may be provided in a file format (e.g., as an extension to an ISO base media file format), or sample that contains profile and level information. In another example, in an MPEG-2 system, such signaling may be provided in a descriptor. In another example, in a Dynamic Adaptive Streaming over HTTP (DASH) environment, such signaling may be provided in a media presentation description (MPD) file. In another example, such signaling may be used by a display device that decides the output bit-depth through, e.g., remote control.
[0074] FIG. 2 is a block diagram illustrating example IBDI operations in video coding. While the operations described with respect to FIG. 2 are generally described as being performed by video coder 38, it should be understood that such operations may be performed by video encoder 20 and/or video decoder 30, as described in greater detail below.
[0075] In the example of FIG. 2, video coder 38 receives M-bit source data 33. Source data 33 may include, for example, pictures having samples (e.g., pixel values) of "M" bits in depth, where "M" is a positive value. In an example, source data 33 may include pictures having samples with an eight bit depth, although other bit depths may also be used.
[0076] Upon receiving source data 33, video coder 38 may increase the bit depth of source data 33. For example, as shown in the example of FIG. 2, video coder 38 may perform right shift operations («) on source data 22 to increase the bit depth of source data 33 by N-M bits, where "N" is greater than "M" (34). In an example in which M is eight bits and N is 10 bits, video coder 38 may perform right shift operations to expand source data 33 by two bits.
[0077] After increasing the bit depth of source data 33, video coder 38 may perform N- bit coding operations (35). For example, video coder 38 may perform intra-picture prediction, apply one or more interpolation filters, apply one or more de -blocking filters, apply one or more spatial transforms, or perform other processes using the increased bit depth. Using a relatively higher (increased) bit depth for internal calculations (e.g., internal to video coder 38) may also be referred to as High Accuracy Internal Process (HAIP). By applying HAIP, the accuracy of internal processes is increased by N-M bits. The greater bit depth may help to reduce rounding errors in internal calculations. For example, increasing arithmetic precision when performing internal calculations (e.g., such as digital filter processing) may help to achieve ideal results. In some examples, video coder 38 may be configured to perform some operations using the original M-bit source data 33 and other operations using the N-bit, bit-increased data.
[0078] Video coder 38 may then perform rounding operations (truncation) on the resulting data prior to outputting the data. For example, video coder 38 may round the bit-increased data back to the original M-bit depth (36). Accordingly, video coder 38 may output M-bit output data 37. Output data 37 may be an encoded bitstream (e.g., when output data 37 is from a video encoder) or may be decoded pictures (e.g., when output data 37 is from a video decoder).
[0079] FIG. 3 is a block diagram illustrating an example of video encoder 20 that may implement techniques for managing memory utilization when using IBDI in a video coder. It should be understood that certain components of FIG. 3 may be shown and described with respect to a single component for conceptual purposes, but may include one or more functional units. In addition, while certain components of FIG. 3 may be shown and described with respect to a single component, such components may be physically comprised of one or more than one discrete and/or integrated units.
[0080] As shown in FIG. 3, video encoder 20 receives a current video block within a video picture to be encoded. In the example of FIG. 3, video encoder 20 includes mode
select unit 40, IBDI module 41A, 41B, and 41C (collectively, IBDI modules 41), motion estimation unit 42, motion compensation unit 44, reference picture memory 64, summer 50, transform unit 52, quantization unit 54, and entropy coding unit 56. For video block reconstruction, video encoder 20 also includes inverse quantization unit 58, inverse transform unit 60, and summer 62. A deblocking filter (not shown in FIG. 3) 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.
[0081] During the encoding process, video encoder 20 receives a video picture or slice to be coded. The picture or slice may be divided into multiple video blocks. In some examples, IBDI module 41 A may increase the bit depth of received samples (e.g., pixels) of the received video picture or slice to be coded. For example, as described with respect to FIG. 2 above, IBDI module 41 A may perform a right shift operation to increase the bit depth of received samples. In an example for purposes of illustration, assume received video data has a bit depth of eight (e.g., each sample of the video data includes eight bits of data). In this example, IBDI module 41 A may perform right shift operations to increase the bit depth of samples to 10 (e.g., such that each sample of the video data includes ten bits of data). In another example, IBDI module 41 A may perform right shift operations to increase the bit depth of samples to 12. Other variations are also possible.
[0082] In the example shown in FIG. 3, IBDI module 41A is positioned at the relative input of video encoder 20, such that all operations of video encoder 20 are bit depth increased. However, it should be understood that, in some examples, IBDI may be applied to only a sub-set of operations associated with video encoder 20. For example, IBDI module 41 A may perform IBDI for all or any sub-set of operations within video encoder 20 (e.g., operations associated with motion estimation unit 42, motion compensation unit 44, intra prediction unit 46, transform unit 52, quantization unit 54, inverse quantization unit 58, inverse transform unit 60, deblocking or other filters (not shown), or any other unit of video encoder 20).
[0083] Motion estimation unit 42 and motion compensation unit 44 perform inter- predictive coding of the received video block relative to one or more blocks in one or more reference pictures. That is, motion estimation unit 42 may perform inter- predictive coding of the received video block relative to one or more blocks in one or more reference pictures of a different temporal instance, e.g., motion estimation using
one or more reference pictures of the same view. In addition, motion estimation unit 42 may perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference pictures of the same temporal instance, e.g., motion disparity using one or more reference pictures of a different view.
[0084] Intra prediction unit 46 may perform intra-predictive coding of the received video block relative to one or more neighboring blocks in the same picture or slice as the block to be coded to provide spatial compression. Mode select unit 40 may select one of the coding modes, intra or inter, e.g., based on error results, and provides 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 in a reference picture.
[0085] Motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes. Motion estimation is the process of generating motion vectors, which estimate motion for video blocks. A motion vector, for example, may indicate the displacement of a predictive block within a predictive reference picture (or other coded unit) relative to the current block being coded within the current picture (or other coded unit). A predictive block is a block that is found to closely match the 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. A motion vector may also indicate displacement of a partition of a macroblock. Motion compensation may involve fetching or generating the predictive block based on the motion vector (or displacement vector) determined by motion estimation unit 42. Again, motion estimation unit 42 and motion compensation unit 44 may be functionally integrated, in some examples.
[0086] Motion estimation unit 42 may calculate a motion vector for a video block of an inter-coded picture by comparing the video block to video blocks of a reference picture in reference picture memory 64. Motion compensation unit 44 may also interpolate sub-integer pixels of the reference picture, e.g., an I-frame or a P-frame. The ITU-T H.264 standard refers to "lists" of reference pictures, e.g., list 0 and list 1. List 0 includes reference pictures having a display order earlier than the current picture, while list 1 includes reference pictures having a display order later than the current picture. In other coding schemes, a single list may be maintained.
[0087] Motion estimation unit 42 compares blocks of one or more reference pictures from reference picture memory 64 to a block to be encoded of a current picture, e.g., a P-picture or a B-picture. When the reference pictures in reference picture memory 64
include values for sub-integer pixels, a motion vector calculated by motion estimation unit 42 may refer to a sample corresponding to sub-integer pixel location of a reference picture. Motion estimation unit 42 sends the calculated motion vector to entropy coding unit 56 and motion compensation unit 44. The reference picture block identified by a motion vector may be referred to as a predictive block. Motion compensation unit 44 calculates residual error values for the predictive block of the reference picture.
[0088] Transform unit 52 applies a transform, such as a discrete cosine transform (DCT), integer transform, or a conceptually similar transform, to the residual block, producing a video block comprising residual transform coefficient values. Transform unit 52 may perform other transforms, such as those defined by the H.264 standard, which are conceptually similar to DCT. Wavelet transforms, integer transforms, sub- band transforms or other types of transforms could also be used. In any case, transform unit 52 applies the transform to the residual block, producing a block of residual transform coefficients. Transform unit 52 may convert the residual information from a pixel value domain to a transform domain, such as a frequency domain.
[0089] Quantization unit 54 quantizes the residual 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. For example, quantization generally involves mapping values within a relatively large range to values in a relatively small range, thus reducing the amount of data needed to represent the quantized transform coefficients. The video encoder may quantize the transform coefficients by applying a quantization parameter (QP) according to a predefined algorithm. The video encoder may modify the degree of quantization applied to the transform coefficient values by adjusting the QP.
[0090] Following quantization, entropy coding unit 56 entropy codes the quantized transform coefficients. For example, entropy coding unit 56 may perform content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), or another entropy coding technique. Following the entropy coding by entropy coding unit 56, the encoded video may be transmitted to another device or archived for later transmission or retrieval. In the case of context adaptive binary arithmetic coding (CABAC), context may be based on neighboring macroblocks.
[0091] In some cases, entropy coding unit 56 or another unit of video encoder 20 may be configured to perform other coding functions, in addition to entropy coding. For example, entropy coding unit 56 may be configured to determine the CBP values for the
macroblocks and partitions. Also, in some cases, entropy coding unit 56 may perform run length coding of the coefficients in a macroblock or partition thereof. In particular, entropy coding unit 56 may apply a zig-zag scan or other scan pattern to scan the transform coefficients in a macroblock or partition and encode runs of zeros for further compression. Entropy coding unit 56 also may construct header information with appropriate syntax elements for transmission in the encoded video bitstream.
[0092] Prior to entropy coding, IBDI module 4 IB may round sample values from an increased bit depth (e.g., as increased by IBDI module 41A) to an original bit depth. That is, after performing internal operations using the increased bit depth, IBDI module 4 IB may return the video data to the original bit depth (i.e., the bit depth at which the data was received by video encoder 20, or some other relatively lower bit depth prior to the video data being output from video encoder 20.
[0093] Inverse quantization unit 58 and inverse transform unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain, e.g., for later use as a reference block. Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the pictures of reference picture memory 64. 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 reconstructed video block for storage in reference picture memory 64. The reconstructed video block may be used by motion estimation unit 42 and motion compensation unit 44 as a reference block to inter-code a block in a subsequent video picture.
[0094] In some examples, according to aspects of this disclosure, IBDI module 41C may help to manage memory utilization when using IBDI. For example, prior to storing reconstructed blocks to reference picture memory 64, IBDI module 41C may determine whether the data will actually be used as reference data. According to aspects of this disclosure, IBDI module 41C may not alter video data that will be used as reference data. Rather, reconstructed pictures may be stored to reference picture memory 64 at the IBDI (increased) bit depth. In contrast, IBDI module 41C may round samples of pictures that will not be used as reference pictures. That is, IBDI module 41C may decrease the bit depth of decoded pictures prior to storing the decoded pictures to reference picture memory 64. In this way, video encoder 20 may achieve certain
memory consumption savings when using IBDI, as at least some of the data stored in reference picture memory 64 may be stored at reduced bit depth.
[0095] In addition, according to some aspects of this disclosure, video encoder 20 may provide certain indications regarding an output format for a video decoder, such as video decoder 30 described below. For example, video encoder 20 may encode syntax elements indicating whether a video decoder should output decoded pictures at the bit depth at which the video data was received, or output the decoded pictures at an increased bit depth (e.g., an IBDI bit depth). Such signaling may be provided, for example, in an SPS, PPS, or other parameter set, or in an SEI message. In another example, such signaling may be provided in a file format (e.g., as an extension to an ISO base media file format), signaling in a sample that contains profile and level information. In another example, in an MPEG-2 system, such signaling may be provided in a descriptor. In another example, in a Dynamic Adaptive Streaming over HTTP (DASH) environment, such signaling may be provided in a media presentation description (MPD) file.
[0096] While IBDI modules 41 are shown as separate modules, with module 41 A responsible for increasing the bit depth, module 4 IB responsible for truncating the bit depth prior to output, and module 41C responsible for truncating the bit depth prior to storage in reference picture memory 63, it should be understood that such IBDI modules 41 may be highly integrated and/or incorporated into a single module. In addition, while shown as discrete modules for purposes of explanation, it should be understood that IBDI modules 41 may be implemented in hardware, software, firmware, or any combination thereof.
[0097] FIG. 4 is a block diagram illustrating an example of video decoder 30 that may perform the techniques of this disclosure. In the example of FIG. 4, video decoder 30 includes an entropy decoding unit 130, IBDI module 131 A and 13 IB (collectively, IBDI modules 131), motion compensation unit 132, intra prediction unit 134, inverse quantization unit 136, inverse transformation unit 138, reference picture memory 142 and summer 140.
[0098] Entropy decoding unit 130 may entropy decode a received bitstream. For example, entropy decoding unit 130 may receive serialized transform coefficients and inverse scan the transform coefficients to generate a two-dimensional array of transform coefficients.
[0099] IBDI module 131 A may increase the bit depth of the entropy decoded samples. For example, as described with respect to FIGS. 2 and 3 above, IBDI module 131 A may perform a right shift operation to increase the bit depth of received samples. In an example for purposes of illustration, assume received video data (e.g., transform coefficients, motion vectors, and the like from an encoded bitstream) has a bit depth of eight (e.g., each sample of the video data includes eight bits of data). In this example, IBDI module 131 A may perform right shift operations to increase the bit depth of samples to 10. In another example, IBDI module 131 A may perform right shift operations to increase the bit depth of samples to 12. Other variations are also possible.
[0100] Motion compensation unit 132 may generate prediction data based on motion vectors received from entropy decoding unit 130. Motion compensation unit 132 may use motion vectors received in the bitstream to identify a prediction block in reference pictures in reference picture memory 142. Intra prediction unit 134 may use intra prediction modes received in the bitstream to form a prediction block from spatially adjacent blocks. Inverse quantization unit 136 inverse quantizes, i.e., de-quantizes, the quantized block coefficients provided in the bitstream and decoded by entropy decoding unit 130.
[0101] Inverse transform unit 158 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. Motion compensation unit 132 produces motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used for motion estimation with sub-pixel precision may be included in the syntax elements. Motion compensation unit 132 may use interpolation filters as used by video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 132 may determine the interpolation filters used by video encoder 20 according to received syntax information and use the interpolation filters to produce predictive blocks.
[0102] Motion compensation unit 132 uses some of the syntax information to determine sizes of macroblocks used to encode picture(s) of the encoded video sequence, partition information that describes how each macroblock of a picture of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference pictures (or lists) for each inter-encoded macroblock or partition, and other information to decode the encoded video sequence.
[0103] Summer 140 sums the residual blocks with the corresponding prediction blocks generated by motion compensation unit 132 or intra-prediction unit to form decoded blocks. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in reference picture memory 142, which provides reference blocks for subsequent motion compensation and also produces decoded video for presentation on a display device (such as display device 32 of FIG. 1).
[0104] According to aspects of this disclosure, IBDI module 13 IB may help to manage memory utilization when using IBDI. For example, prior to storing decoded pictures to reference picture memory 142, video decoder 30 may determine whether the pictures will be used as reference pictures, e.g., for decoding other predicted pixel values.
According to aspects of this disclosure, IBDI module 13 IB may not alter pictures that will be used as reference pictures. Rather, video decoder 30 may store decoded pictures to reference picture memory 142 at the IBDI (increased) bit depth. That is, with respect to the IBDI example shown and described in FIG. 2 above, video decoder 30 may store decoded pictures to reference picture memory 142 with an "N" bit depth.
[0105] In contrast, IBDI module 13 IB may round samples of decoded pictures that will not be used as reference pictures. For example, certain pictures (e.g., such as some B- frames and the like) may not be used as reference pictures. Moreover, in some instances, video decoder 30 may mark certain pictures as "unused for reference." For example, a picture may be marked as unused for reference if the picture has been decoded but has not yet been displayed and is not used as a reference picture.
Accordingly, when a picture will not be used as reference data, IBDI module 13 IB may decrease the bit depth of the decoded picture prior to storing the decoded picture to reference picture memory 142. That is, IBDI module 13 IB may convert any decoded pictures not used as reference pictures from the increased bit depth to the original, lower bit depth. For example, IBDI module 13 IB may initially store decoded pictures not used reference pictures to reference picture memory 142 in the lower bit depth. IBDI module may also convert decoded pictures that were originally stored at the increased bit depth but are no longer used as reference pictures to the lower bit depth. In this way, video decoder 30 may achieve certain memory consumption savings when using IBDI, as at least some of the data stored in reference picture memory 142 may be stored at a lower bit depth, relative to the increased bit depth.
[0106] According to some aspects of this disclosure, video decoder 30 may maintain pictures at the original bit depth (e.g., non-IBDI bit depth), regardless of whether the picture is used as a reference picture. According to this modified IBDI process, video decoder 30 may increase the bit depth when a picture is used for certain processes, such as motion compensation. That is, for example, video decoder 30 may perform relatively higher precision calculations in internal decoding processes such as sub-pixel interpolation, inverse quantization, inverse transformation, and final reconstruction. IBDI module 13 IB, however, may then decrease the bit depth of all decoded pictures (including pictures used as reference pictures) prior to storing the decoded pictures to reference picture memory 142 to reduce memory bandwidth consumption.
[0107] In some instances, video decoder 30 may output decoded pictures at an increased bit depth, relative to the bit depth at which data was received (e.g., the received encoded bitstream). Outputting the increased bit depth data may provide relatively better video and/or audio quality for decoders and displays that are able to handle such higher bit depth data.
[0108] According to aspects of this disclosure, video decoder 30 may determine whether to output decoded pictures at an increased bit depth (e.g., an IBDI bit depth) or an original bit depth (e.g., a bit depth at which the encoded bitstream was received) based on a received output bit depth indicator. For example, video decoder 30 may receive and decode certain syntax elements indicating an output bit depth and output the decoded pictures (e.g., from reference picture memory 142) in accordance with the decoded syntax element.
[0109] In an example, an output bit depth indicator may be included in an SPS, PPS or other parameter set, SEI message, and/or other message. For example, video decoder 30 may receive a flag (e.g., display lBDI depth flag) in an SPS or SEI message that indicates whether to output decoded pictures in an original bit depth (e.g., a bit depth at which the coded video data was received or an increased bit depth (e.g., an IBDI bit depth)). If the display bit depth flag is set to zero ("0"), video decoder 30 may output decoded pictures at the original bit depth, while if the display flag is set to one ("1"), video decoder 30 may output decoded pictures at the increased bit depth (or vice versa). In some examples, the display bit depth flag may only be set when an IBDI process is enabled (e.g., a bitDepthlncreased syntax element is larger than zero, indicating IBDI is enabled).
[0110] According to aspects of this disclosure, video decoder 30 may implement a lightweight transcoding technique to modify the display bit depth flag based on a variety of factors. For example, if a display (such as display device 32 shown in FIG. 1) is only capable of displaying pictures having the original bit depth (e.g., an 8-bit depth), video decoder 30 may reset the display bit depth flag to zero, regardless of the original value of the display bit depth flag. That is, video decoder 30 may reset the display bit depth flag from a value of one to a value of zero if the display is not capable of presenting the decoded pictures at the increased bit depth.
[0111] In other examples, rather than a flag being included in a parameter set or other message, a flag may be a configurable parameter associated with a particular coding standard. For example, with respect to the emerging HEVC standard, a
displaylBDIDepthFlag parameter may be used in the decoding process. In this example, the parameter may be signaled in the system specifications, regardless of whether a display bit depth flag is included in a parameter set (e.g., an SPS or PPS) or other message (e.g., an SEI message).
[0112] In other examples, an output bit depth indicator may be included in a file format (e.g., as an extension to an ISO base media file format). For example, the output bit depth indicator may be included in a sample that contains profile and level information. In an example for purposes of illustration, the output bit depth indicator may share the same AVCDecoderConfigurationRecord as the AVC file format discussed above with respect to FIG. 1. However, according to aspects of this disclosure, the file format may be modified according to the following format:
aligned (8) class AVCDecoderConfigurationRecord {
unsigned int(8) configurationVersion = 1 ;
unsigned int(8) AVCProfilelndication;
unsigned int(8) profile_compatibility;
unsigned int(8) AVCLevellndication;
bit (1) displaylBDIDepth;
if (displaylBDIDepth) {
unsigned int (3) IBDI bit depth luma minus8;
} - - - - else bit reserved = 'lll'b;
bit (2) reserved = 'll'b;
unsigned int (2) lengthSizeMinusOne ;
bit (3) reserved = 'lll'b;
unsigned int (5) numOfSequenceParameterSets ;
for (i=0; i< numOfSequenceParameterSets ; i++) {
unsigned int (16) sequenceParameterSetLength ;
bit (8*sequenceParameterSetLength)
sequenceParameterSetNALUnit ;
}
unsigned int (8) numOfPictureParameterSets ;
for (i=0; i< numOfPictureParameterSets ; i++) {
unsigned int (16) pictureParameterSetLength;
bit ( 8*pictureParameterSetLength)
pictureParameterSetNALUnit ;
In this example, a displaylBDIDepth that is equal to zero ("0") indicates that either IBDI is not used in the bitstream, or the output signal (e.g., the decoded pictures from video decoder 30) uses the lower, non IBDI bit-depth (e.g., M-bit). Alternatively, a displaylBDIDepth that is equal to one ("1") may indicate that IBDI is used and the output signal is to be displayed with an increased bit-depth. According to some aspects of this disclosure, when a display bit depth flag (e.g., display lBDI depth flag) is present in an SPS (or, in some examples, SEI message), displaylBDIDepth is set equal to display lBDI depth flag. In the example shown above,
IBDI_bit_depth_luma_minus8 plus 8 may indicate the bit-depth (N) that is to be used for display. That is, IBDI_bit_depth_luma_minus8+8 is equal to (N), which may be equal to the bit depth (M) combined with bitDepthlncreased.
[0113] It should be understood that the example above is provided for purposes of illustration only, and that other examples are also possible. For example, the
AVCDecoderConfigurationRecord described above may be renamed to
HEVCDecoderConfigurationRecord, but may play the same role in the emerging HEVC file format as the AVCDecoderConfigurationRecord in the AVC file format.
[0114] In another example, an output bit depth indicator may be included in a descriptor, such as an MPEG-2 descriptor. For example, an HEVC MPEG-2 Systems
design might be similar to that of AVC, as described above. That is, HEVC MPEG-2 may reuse the AVC video descriptor to describe the HEVC bitstream, with the changes illustrated in Table 2 below:
TABLE 2 - AVC Video Descriptor
In the example of Table 2, display lBDI depth equal to zero ("0") may indicate that either IBDI is not used in the bitstream or the output signal to be displayed (e.g., the decoded pictures from video decoder 30) uses the lower, non IBDI bit-depth (e.g., M- bit). Alternatively, display lBDI depth that is equal to one ("1") may indicate that IBDI is used and the output signal is to be displayed with an increased bit-depth (e.g., N-bit, where N is greater than M). When display_IBDI_depth_flag is present in an SPS, display lBDI depth may be set equal to display lBDI depth flag. In addition, in the example shown above, IBDI_bit_depth_minus8 plus 8 may indicate the bit-depth (N) that is to be used for display. That is, IBDI_bit_depth_minus8+8 is equal to (N), which may be equal to the bit depth (M) combined with bitDepthlncreased. It should be understood that the example shown in Table 2 is provided for purposes of illustration only. That is, in another example, the descriptor may also be named HEVC descriptor (or a descriptor corresponding to another coding standard) having similar syntax elements.
[0115] In still another example, an output bit depth indicator may be included in an MPD file (e.g., in a DASH environment). For example, as noted above, an MPD may describe the different representations of video data that are available to be decoded. For
example, an MPD may include data that generally describes characteristics of included representations, such as coding and rendering characteristics, adaptation sets, a profile to which the MPD corresponds, and a variety of other information, as noted above.
[0116] According to aspects of this disclosure, an output bit depth may be determined by a server responsible for providing the content at the time of encapsulation (e.g., packaging for transmission to video decoder 30). That is, for example, a service provider may determine that additional bit depth is not required for display of certain content. In such instances, the service provider may set an IBDI flag (e.g., in an MPD) indicating that a representation is not to be displayed at the IBDI bit-depth.
Alternatively, the service provider may determine that additional bit depth may be used to display data of a particular representation and may set the display bit-depth indicator accordingly. An example MPD is shown in Table 3 below:
TABLE 3 - MPD
Element or Attribute Name Use Description
Group, Element
Representation,
SubRepresentation
@width Specifies the horizontal visual presentation
0 size of the video media type in an
alternative Representation on a square grid determined by the @parx and @pary attributes.
@height 0 Specifies the vertical visual presentation size of the video media type in an alternative Representation, on a square grid determined by the @parx and @pary attributes. This value should be equal to the vertical pixel resolution of the video.
@parx 0 indicates the horizontal size of the encoded video pixels (samples) (in arbitrary units). The default value is 1.
@pary 0 indicates the vertical size of the encoded video pixels (in the same arbitrary units as @parx). The default value is 1.
@frameRate 0 Specifies the output frame rate or the
output field rate of the video media type in the representation for progressive or interlaced video, respectively. If the frame or field rate is varying, the value is the average frame or field rate over the entire duration of the representation. In case of a multiview complementary Representation, the value indicates the frame or field rate of
a single view.
@IBDIDepth 0 This elements when present, indicates that the HEVC representation is to be displayed with a higher bit-depth of IBDIDepth (N- bit). When it is not signalled, the representation is to be displayed with a normal bit-depth (M-bit). This value is equal to the M+ bitDepthlncreased, as indicated in the SPS of HEVC bitstream.
@lang 0 Declares the language code(s) for this
Representation according to IETF RFC 5646.
Note, multiple language codes may be declared as a white-space separated list and indicate that the representation may suit a preference for any of the indicated languages. For a full indication of what media is offered under each language, the Initialisation Segment or a Media Segment may have to be accessed.
@numberOfChannels 0 A single value describing the number of audio output channels or a list of available audio channels. For example,
@numberOfChannels="5.1 2" for an MPEG Surround Representation
@samplingRate 0 A single value describing the sample rate of the audio stream or a list of sample rates available in the audio stream, e.g.
@samplingRate="44100 22050" for an HE-AAC stream with the SBR tool enabled and backwards compatible signaling.
@mimeType M Gives the MIME type of the Initialisation
Segment, if present; if the Initialisation Segment is not present it provides the MIME type of the first Media Segment. Where applicable, this MIME type shall include the codec parameters for all media types. The codec parameters shall also include the profile and level information where applicable.
@group 0 Specifies the group.
@maximumRAPPeri 0 Provides the maximum time interval od between RAPs in seconds in this
Representation. If not present, it is unspecified. The index and the presentation time of any RAP shall either be
documented by the Segment Index or is implicitly defined by the @startWithRAP attribute set to 'true'.
@startWithRAP 0 When 'true', indicates that all Segments in
the Representation start with a RAP (both in terms of data and in terms of
presentation time). The presentation time of the RAP shall either be provided explicitly by the Segment Index or, if the @segmentAlignmentFlag is true, may be inferred from the presentation time of the last sample of the previous segment.
ContentProtection 0 Provides information about the use of
... N content protection for this Representation or Group of Representation.
When not present the content is neither encrypted nor DRM protected.
When multiple elements are present, then the successful processing of one of the elements is sufficient to access the described Representations.
Accessibility 0 Provides information about Accessibility
... N Information scheme
Rating 0 Provides information Content rating
... N scheme
Viewpoint 0 Provides information Content View Point
... N annotation scheme
MultipleViews 0 Provides information for video that
... 1 contains multiple views
Legend:
For attributes: M=Mandatory, 0=Optional, OD=Optional with Default Value, CM=Conditionally Mandatory.
For elements: <minOccurs>..<maxOccurs> (N=unbounded)
Elements are bold; attributes are non-bold and preceded with an @.
[0117] As noted above, when @IBDIDepth element is present, the element may be used to indicate that the HEVC representation (or representation of another coding standard) is to be displayed with an increased bit-depth of IBDIDepth (N-bit). When the element is not present, the representation is to be displayed with a normal bit-depth (M-bit). The value of @IBDIDepth may be equal to the M bit-depth + bitDepthlncreased, as indicated in the SPS (or SEI message) of the bitstream.
[0118] In some examples, as noted above, a modified IBDI process may be used that includes rounding of all decoded pictures being stored to reference picture memory 142, regardless of whether the decoded pictures are used as reference pictures. In such examples, an additional indicator (e.g., flag) may be implemented to indicate whether to use a first IBDI process or a second, modified IBDI process. Such an indicator may be provided in an SPS, SEI message, and the like, as described above. For example, if the
indicator is true, a modified IBDI process may be used for a sequence of pictures.
Alternatively, if the indicator is false, a current IBDI process may be used for the sequence of pictures.
[0119] While the output bit depth indicators described above are generally described with respect to video decoder 30, it should be understood that such indicators may be generated and/or transmitted by one or more devices. For example, the display bit depth indicators described above may be generated by a variety of video coders, including video encoder 20 (FIGS. 1 and 2), a server or other component for providing content (as described with respect to the DASH example above) other processors, processing units, hardware-based coding units such as encoder/decoders (CODECs), and the like.
[0120] According to aspects of this disclosure, video decoder 30 may receive the output bit depth indicator and determine whether to output decoded pictures at an increased bit depth or an original bit depth based on a received output bit depth indicator. In examples in which video decoder 30 outputs decoded pictures in an increased bit depth, IBDI module 13 IB may not alter the decoded pictures prior to storing the decoded pictures in reference picture memory 142. That is, as noted above, when IBDI is implemented, IBDI module 131 A may increase the bit depth of video data prior to performing certain internal coding operations. When video decoder 30 outputs decoded pictures in an increased bit depth, IBDI module 13 IB may not round the bit depth of the video data prior to storing the decoded pictures to reference picture memory 142.
Accordingly, video decoder 30 may output decoded pictures from reference picture memory 142 (e.g., for presentation at a display, such as display device 32 (FIG. 1)) in the increased bit depth.
[0121] Alternatively, in examples in which video decoder 30 outputs decoded pictures in a non-IBDI bit-depth, IBDI module 13 IB may implement the techniques described in this disclosure when storing decoded pictures to reference picture memory 142. That is, in some examples, IBDI module 13 IB may not alter samples of pictures that will be used as reference pictures. Rather, video decoder 30 may store decoded pictures to reference picture memory 142 at the IBDI (increased) bit depth. In contrast, according to aspects of this disclosure, IBDI module 13 IB may round samples of pictures that will not be used as reference pictures.
[0122] While IBDI modules 131 are shown as separate modules, it should be understood that such IBDI modules 131 may be highly integrated and/or incorporated into a single module. In addition, while shown as discrete modules for purposes of
explanation, it should be understood that IBDI modules 131 may be implemented in hardware, software, firmware, or any combination thereof.
[0123] FIG. 5 is a block diagram illustrating increasing a bit depth when performing operations associated with video coding. The example shown in FIG. 5 is generally described as being performed by a video coder. It should be understood that, in some examples, the technique of FIG. 5 may be carried out by video encoder 20 (FIGS. 1 and 2) or video decoder 30 (FIGS. 1 and 3), described above. In other examples, the technique of FIG. 5 may be performed by a variety of other processors, processing units, hardware-based coding units such as encoder/decoders (CODECs), and the like.
[0124] In the example shown in FIG. 5, the video coder may use an IBDI process, such as those described above, to perform one or more video coding operations on video data at an increased bit depth (160). For example, the video coder may receive one or more samples of video data having a bit depth of eight and may increase the bit depth from 8 to 10, 12, or another, higher bit depth. The video coder may perform operations on the video data using the increased bit depth such as performing intra- frame prediction, applying one or more interpolation filters (including sub-pixel interpolation), applying one or more de-blocking filters, applying one or more spatial transforms (or inverse transforms), performing quantization, or performing other processes.
[0125] The video coder may also determine whether to output video data, i.e., decoded pictures, at an increased bit depth (162). According to aspects of this disclosure, the video coder may make such a determination based on, for example, a received output bit depth indicator. As described above, the indicator may include an output display bit depth flag contained in an SPS, an SEI message, or the like. In other examples, the indicator may be provided in a file format (e.g., as an extension to an ISO base media file format), one or more syntax elements that are provided in a sample that contains profile and level information, a descriptor (e.g., an MPEG-2 descriptor), or an MPD file (e.g., in a DASH environment. In still other examples, a device external to the video coder, such as a display device (e.g., display device 32 shown in FIG. 1) may determine the output bit depth though, for example, remote control.
[0126] In the example shown in FIG. 5, if the video coder is to output video data at the increased bit depth (e.g., the YES branch of step 162), the video coder may store the video data (e.g., to a decoded picture buffer) at the increased bit depth (164). If the video coder is not to output the video data at the increased bit depth (e.g., the NO branch of step 162), the video coder may determine whether the video data is used as
reference data (166). According to aspects of this disclosure, if the video data is used as reference data (e.g., the YES branch of 166), the video coder may store the video data at the increased bit depth (164).
[0127] If the video data is not used as reference data (e.g., the NO branch of 166), the video coder may reduce the bit depth of the video data (168). For example, certain pictures (e.g., such as some B-frames and the like) may not be used as reference pictures. Moreover, in some instances, the video coder may mark certain video data as "unused for reference." In such examples, the video coder may reduce the bit depth from the increased bit depth used for IBID operations to an original bit depth. The video coder may then store the video data at the decreased bit depth (170).
[0128] The example shown in FIG. 5 may reduce memory requirements associated with encoding and/or decoding video data. For example, the techniques shown in the example of FIG. 5 may allow fewer bits of data to be stored, which may reduce memory requirements as well as memory bandwidth consumption.
[0129] It should be understood that the steps shown in FIG. 5 are provided as merely one example. That is, according to some aspects of this disclosure, the video coder may maintain video data at the original bit depth (e.g., non-IBDI bit depth), regardless of whether the video data is used for reference. According to this modified IBDI process, the video coder may increase the bit depth when video data is used for certain processes (e.g., internal coding processes associated with motion compensation, sub-pixel interpolation, quantization, transformation, and reconstruction), but may then decrease the bit depth of all decoded video data prior to storing the video data to reduce memory bandwidth consumption.
[0130] In addition, the steps of the method of FIG. 5 need not necessarily be performed in the order shown in FIG. 5, and fewer, additional, or alternative steps may be performed. For example, the aspects of this disclosure directed to memory utilization management (e.g., steps 166-168) may be performed independently of the aspects of this disclosure directed to determining an output bit depth (e.g., step 162), as described above.
[0131] Moreover, it should also be understood that, depending on the example, certain acts or events of any of the techniques described herein can be performed in a different sequence, may be added, merged, or left out all together (e.g., not all described acts or events are necessary for the practice of the method). Moreover, in certain examples, acts
or events may be performed concurrently, e.g., through multi-threaded processing, interrupt processing, or multiple processors, rather than sequentially.
[0132] In one or more examples, the functions described may be implemented in hardware, 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.
[0133] 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.
[0134] 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. 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.
[0135] 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.
[0136] Instructions may be executed by one or more processors, such as one or more 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.
[0137] 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.
[0138] Various aspects of the disclosure have been described. These and other aspects are within the scope of the following claims.
Claims
1. A method of coding video data comprising:
determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth;
determining whether the video data will be used as reference data when coding other video data; and
storing, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
2. The method of claim 1, wherein storing comprises converting the video data from the second bit depth to the first bit depth when the video data is not used as reference data.
3. The method of claim 2, wherein converting the video data comprises performing a bit shift operation on the video data to convert the second bit depth to the first bit depth.
4. The method of claim 1, wherein the video data comprises a decoded picture and wherein storing the video data comprises storing the decoded picture to a decoded picture buffer.
5. The method of claim 1, further comprising receiving the video data at the first bit depth and increasing the first bit depth to the second bit depth prior to coding the video data during an internal bit depth increase (IBDI) process
6. The method of claim 1, wherein coding the video data comprises performing a high accuracy internal process (HAIP) on the video data.
7. The method of claim 1 , wherein the first bit depth is eight bits and the second bit depth is equal to or greater than ten bit.
8. The method of claim 1, further comprising encoding an indication of whether to display the video data in one of the first bit depth and the second bit depth.
9. The method of claim 8, wherein encoding the indication comprises including the indication in one of a sequence parameter set (SPS) and a supplemental enhancement information (SEI) message in an encoded bitstream of video data.
10. The method of claim 1, further comprising coding an indication in one of a file format and a descriptor whether an output bit depth is equal to the second bit depth.
11. The method of claim 10, wherein the indication comprises an indication of an output bit depth.
12. The method of claim 10, wherein the file format comprises one of an ISO base media file format and a transport stream format.
13. The method of claim 10, wherein the descriptor comprises a Dynamic Adaptive Streaming based on HTTP (DASH) Media Presentation Description (MPD) descriptor.
14. The method of claim 10, wherein coding the indication comprises decoding the file format containing the indication and determining whether to display the video data in one of the first bit depth and the second bit depth.
15. The method of claim 10, wherein coding the indication comprises decoding the descriptor containing the indication and determining whether to display the video data in one of the first bit depth and the second bit depth.
16. The method of claim 10, wherein coding the indication comprises decoding a Media Presentation Description (MPD) containing the indication and determining whether to display the video data in one of the first bit depth and the second bit depth.
17. The method of claim 1, further comprising determining whether an output bit depth comprises the first bit depth or the second bit depth based on a configuration of a display device.
18. An apparatus for coding video data comprising one or more processors configured to:
determine a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth;
determine whether the video data will be used as reference data when coding other video data; and
store, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
19. The apparatus of claim 18, wherein, to store the video data, the one or more processors are configured to convert the video data from the second bit depth to the first bit depth when the video data is not used as reference data.
20. The apparatus of claim 19, wherein, to convert the video data, the one or more processors are configured to perform a bit shift operation on the video data to convert the second bit depth to the first bit depth.
21. The apparatus of claim 18, wherein the video data comprises a decoded picture and wherein, to store the video data, the one or more processors are configured to store the decoded picture to a decoded picture buffer.
22. The apparatus of claim 18, the one or more processors are configured to receive the video data at the first bit depth and increase the first bit depth to the second bit depth prior to coding the video data during an internal bit depth increase (IBDI) process
23. The apparatus of claim 18, wherein, to code the video data, the one or more processors are configured to perform a high accuracy internal process (HAIP) on the video data.
24. The apparatus of claim 18, wherein the first bit depth is eight bits and the second bit depth is equal to or greater than ten bit.
25. The apparatus of claim 18, the one or more processors are further configured encode an indication of whether to display the video data in one of the first bit depth and the second bit depth.
26. The apparatus of claim 25, wherein, to encode the indication, the one or more processors are configured to include the indication in one of a sequence parameter set (SPS) and a supplemental enhancement information (SEI) message in an encoded bitstream of video data.
27. The apparatus of claim 18, the one or more processors are further configured to code an indication in one of a file format and a descriptor whether an output bit depth is equal to the second bit depth.
28. The apparatus of claim 27, wherein the indication comprises an indication of an output bit depth.
29. The apparatus of claim 27, wherein the file format comprises one of an ISO base media file format and a transport stream format.
30. The apparatus of claim 27, wherein the descriptor comprises a Dynamic Adaptive Streaming based on HTTP (DASH) Media Presentation Description (MPD) descriptor.
31. The apparatus of claim 27, wherein, to code the indication, the one or more processors are configured to decode the file format containing the indication and determine whether to display the video data in one of the first bit depth and the second bit depth.
32. The apparatus of claim 27, wherein, to code the indication, the one or more processors are configured to decode the descriptor containing the indication and determine whether to display the video data in one of the first bit depth and the second bit depth.
33. The apparatus of claim 27, wherein, to code the indication, the one or more processors are configured to decode a Media Presentation Description (MPD) containing the indication and determine whether to display the video data in one of the first bit depth and the second bit depth.
34. The apparatus of claim 18, the one or more processors are further configured to determine whether an output bit depth comprises the first bit depth or the second bit depth based on a configuration of a display device.
35. An apparatus for coding video data comprising:
means for determining a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth;
means for determining whether the video data will be used as reference data when coding other video data; and
means for storing, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
36. The apparatus of claim 35, wherein means for storing comprises means for converting the video data from the second bit depth to the first bit depth when the video data is not used as reference data.
37. The apparatus of claim 36, wherein means for converting the video data comprises means for performing a bit shift operation on the video data to convert the second bit depth to the first bit depth.
38. The apparatus of claim 35, further comprising means for including, in an encoded bitstream of the video data, an indication of whether to display the video data in one of the first bit depth and the second bit depth.
39. The apparatus of claim 35, further comprising means for coding an indication in one of a file format and a descriptor whether an output bit depth is equal to the second bit depth.
40. A computer-readable storage medium having instructions stored thereon that, when executed, cause one or more processors to:
determine a first bit depth for outputting video data and a second bit depth for coding the video data, wherein the first bit depth is less than the second bit depth; determine whether the video data will be used as reference data when coding other video data; and
store, based on the determination, the video data at the first bit depth when the video data is not used as reference data, and the video data at the second bit depth when the video data is used as reference data.
41. The computer-readable storage medium of claim 40, wherein to store the video data, the instructions cause the one or more processors to convert the video data from the second bit depth to the first bit depth when the video data is not used as reference data.
42. The computer-readable storage medium of claim 41, wherein to convert the video data, the instructions cause the one or more processors to perform a bit shift operation on the video data to convert the second bit depth to the first bit depth.
43. The computer-readable storage medium of claim 40, further comprising instructions that, when executed, cause the one or more processors to include, in an encoded bitstream of the video data, an indication of whether to display the video data in one of the first bit depth and the second bit depth.
44. The computer-readable storage medium of claim 40, further comprising instructions that, when executed, cause the one or more processors to code an indication in one of a file format and a descriptor whether an output bit depth is equal to the second bit depth.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
IN16MUN2014 IN2014MN00016A (en) | 2011-06-09 | 2012-06-08 | |
CN201280029510.0A CN103609112B (en) | 2011-06-09 | 2012-06-08 | Interior site depth increase in video coding |
EP12727575.8A EP2719177A1 (en) | 2011-06-09 | 2012-06-08 | Internal bit depth increase in video coding |
JP2014514885A JP5778339B2 (en) | 2011-06-09 | 2012-06-08 | Internal bit depth increase in video coding |
KR1020147000562A KR20140019474A (en) | 2011-06-09 | 2012-06-08 | Internal bit depth increase in video coding |
KR1020167018503A KR20160086978A (en) | 2011-06-09 | 2012-06-08 | Internal bit depth increase in video coding |
Applications Claiming Priority (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201161495333P | 2011-06-09 | 2011-06-09 | |
US61/495,333 | 2011-06-09 | ||
US201161552876P | 2011-10-28 | 2011-10-28 | |
US61/552,876 | 2011-10-28 | ||
US201161556002P | 2011-11-04 | 2011-11-04 | |
US61/556,002 | 2011-11-04 | ||
US13/491,227 | 2012-06-07 | ||
US13/491,227 US9521434B2 (en) | 2011-06-09 | 2012-06-07 | Internal bit depth increase in video coding |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012170833A1 true WO2012170833A1 (en) | 2012-12-13 |
Family
ID=47292842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2012/041575 WO2012170833A1 (en) | 2011-06-09 | 2012-06-08 | Internal bit depth increase in video coding |
Country Status (7)
Country | Link |
---|---|
US (1) | US9521434B2 (en) |
EP (1) | EP2719177A1 (en) |
JP (1) | JP5778339B2 (en) |
KR (2) | KR20140019474A (en) |
CN (1) | CN103609112B (en) |
IN (1) | IN2014MN00016A (en) |
WO (1) | WO2012170833A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493506A (en) * | 2013-07-15 | 2016-04-13 | 高通股份有限公司 | Signaling of view id bit depth in parameter sets |
CN105580372A (en) * | 2013-09-20 | 2016-05-11 | 高通股份有限公司 | Combined bi-predictive merging candidates for 3d video coding |
US11375219B2 (en) * | 2019-09-24 | 2022-06-28 | Tencent America LLC | Coding method and system with improved dynamic internal bit depth |
Families Citing this family (56)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9055304B2 (en) * | 2011-07-01 | 2015-06-09 | Qualcomm Incorporated | Reduced resolution pixel interpolation |
US9762899B2 (en) * | 2011-10-04 | 2017-09-12 | Texas Instruments Incorporated | Virtual memory access bandwidth verification (VMBV) in video coding |
JP6064249B2 (en) | 2012-07-09 | 2017-01-25 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Dynamic adaptive streaming over hypertext transfer protocol client behavior framework and session management implementation |
US9485506B2 (en) * | 2012-09-11 | 2016-11-01 | Texas Instruments Incorporated | Method and system for constraining slice header processing overhead in video coding |
US10785482B2 (en) * | 2012-09-24 | 2020-09-22 | Texas Instruments Incorporated | Method and system for constraining tile processing overhead in video coding |
WO2014084564A1 (en) * | 2012-11-27 | 2014-06-05 | 엘지전자 주식회사 | Signal transceiving apparatus and signal transceiving method |
WO2014162736A1 (en) * | 2013-04-05 | 2014-10-09 | Sharp Kabushiki Kaisha | Video compression with color bit depth scaling |
CN105379294A (en) * | 2013-07-15 | 2016-03-02 | 华为技术有限公司 | Just-in-time dereferencing of remote elements in dynamic adaptive streaming over hypertext transfer protocol |
US9866608B2 (en) * | 2014-03-24 | 2018-01-09 | Qualcomm Incorporated | Processing continuous multi-period content |
US20170048552A1 (en) * | 2014-05-05 | 2017-02-16 | Jicheng An | Method and apparatus for determining residue transform tree representation |
US10474317B2 (en) * | 2014-06-25 | 2019-11-12 | Oracle International Corporation | Dynamic node grouping in grid-based visualizations |
US9787751B2 (en) | 2014-08-06 | 2017-10-10 | At&T Intellectual Property I, L.P. | Method and apparatus for delivering media content utilizing segment and packaging information |
US10735755B2 (en) | 2015-04-21 | 2020-08-04 | Arris Enterprises Llc | Adaptive perceptual mapping and signaling for video coding |
KR101770300B1 (en) * | 2015-06-09 | 2017-08-22 | 삼성전자주식회사 | Method and apparatus for video encoding, method and apparatus for video decoding |
US20180359468A1 (en) * | 2015-10-01 | 2018-12-13 | Lg Electronics Inc. | Image processing method on basis of inter prediction mode and apparatus therefor |
EP3185556A1 (en) * | 2015-12-21 | 2017-06-28 | Thomson Licensing | Method and apparatus for combined adaptive resolution and internal bit-depth increase coding |
EP3472806A4 (en) | 2016-06-17 | 2020-02-26 | Immersive Robotics Pty Ltd | Image compression method and apparatus |
CN110495107A (en) | 2017-02-08 | 2019-11-22 | 因默希弗机器人私人有限公司 | Day line traffic control for mobile device communication |
WO2018174591A1 (en) * | 2017-03-22 | 2018-09-27 | 김기백 | Image encoding/decoding method using pixel value range constituting image |
EP3635952B1 (en) | 2017-06-05 | 2024-07-03 | Immersive Robotics Pty Ltd | Digital content stream compression |
US11818401B2 (en) | 2017-09-14 | 2023-11-14 | Apple Inc. | Point cloud geometry compression using octrees and binary arithmetic encoding with adaptive look-up tables |
US10861196B2 (en) | 2017-09-14 | 2020-12-08 | Apple Inc. | Point cloud compression |
US10897269B2 (en) | 2017-09-14 | 2021-01-19 | Apple Inc. | Hierarchical point cloud compression |
US10909725B2 (en) | 2017-09-18 | 2021-02-02 | Apple Inc. | Point cloud compression |
US11113845B2 (en) | 2017-09-18 | 2021-09-07 | Apple Inc. | Point cloud compression using non-cubic projections and masks |
US10609372B2 (en) | 2017-09-29 | 2020-03-31 | Dolby Laboratories Licensing Corporation | Up-conversion to content adaptive perceptual quantization video signals |
AU2018372561B2 (en) | 2017-11-21 | 2023-01-05 | Immersive Robotics Pty Ltd | Image compression for digital reality |
EP3714598A4 (en) | 2017-11-21 | 2021-03-31 | Immersive Robotics Pty Ltd | Frequency component selection for image compression |
US10607373B2 (en) | 2017-11-22 | 2020-03-31 | Apple Inc. | Point cloud compression with closed-loop color conversion |
US10699444B2 (en) | 2017-11-22 | 2020-06-30 | Apple Inc | Point cloud occupancy map compression |
CN109963176B (en) | 2017-12-26 | 2021-12-07 | 中兴通讯股份有限公司 | Video code stream processing method and device, network equipment and readable storage medium |
US11356701B2 (en) | 2018-02-14 | 2022-06-07 | Sony Corporation | Image processing apparatus and image processing method |
US11010928B2 (en) | 2018-04-10 | 2021-05-18 | Apple Inc. | Adaptive distance based point cloud compression |
US10909727B2 (en) | 2018-04-10 | 2021-02-02 | Apple Inc. | Hierarchical point cloud compression with smoothing |
US10867414B2 (en) | 2018-04-10 | 2020-12-15 | Apple Inc. | Point cloud attribute transfer algorithm |
US10909726B2 (en) | 2018-04-10 | 2021-02-02 | Apple Inc. | Point cloud compression |
US10939129B2 (en) | 2018-04-10 | 2021-03-02 | Apple Inc. | Point cloud compression |
US11017566B1 (en) | 2018-07-02 | 2021-05-25 | Apple Inc. | Point cloud compression with adaptive filtering |
US11044478B2 (en) * | 2018-07-02 | 2021-06-22 | Apple Inc. | Compression with multi-level encoding |
US11202098B2 (en) | 2018-07-05 | 2021-12-14 | Apple Inc. | Point cloud compression with multi-resolution video encoding |
US11012713B2 (en) | 2018-07-12 | 2021-05-18 | Apple Inc. | Bit stream structure for compressed point cloud data |
US11386524B2 (en) | 2018-09-28 | 2022-07-12 | Apple Inc. | Point cloud compression image padding |
US11367224B2 (en) | 2018-10-02 | 2022-06-21 | Apple Inc. | Occupancy map block-to-patch information compression |
US11430155B2 (en) | 2018-10-05 | 2022-08-30 | Apple Inc. | Quantized depths for projection point cloud compression |
US11057564B2 (en) | 2019-03-28 | 2021-07-06 | Apple Inc. | Multiple layer flexure for supporting a moving image sensor |
US11218700B2 (en) * | 2019-07-01 | 2022-01-04 | Qualcomm Incorporated | Minimum allowed quantization parameter for transform skip mode and palette mode in video coding |
US11562507B2 (en) | 2019-09-27 | 2023-01-24 | Apple Inc. | Point cloud compression using video encoding with time consistent patches |
US11627314B2 (en) | 2019-09-27 | 2023-04-11 | Apple Inc. | Video-based point cloud compression with non-normative smoothing |
US11538196B2 (en) | 2019-10-02 | 2022-12-27 | Apple Inc. | Predictive coding for point cloud compression |
US11895307B2 (en) | 2019-10-04 | 2024-02-06 | Apple Inc. | Block-based predictive coding for point cloud compression |
US11798196B2 (en) | 2020-01-08 | 2023-10-24 | Apple Inc. | Video-based point cloud compression with predicted patches |
US11475605B2 (en) | 2020-01-09 | 2022-10-18 | Apple Inc. | Geometry encoding of duplicate points |
US11615557B2 (en) | 2020-06-24 | 2023-03-28 | Apple Inc. | Point cloud compression using octrees with slicing |
US11620768B2 (en) | 2020-06-24 | 2023-04-04 | Apple Inc. | Point cloud geometry compression using octrees with multiple scan orders |
US11948338B1 (en) | 2021-03-29 | 2024-04-02 | Apple Inc. | 3D volumetric content encoding using 2D videos and simplified 3D meshes |
US12094141B2 (en) * | 2022-03-03 | 2024-09-17 | Qualcomm Incorporated | Bandwidth efficient image processing |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470051B1 (en) * | 1999-01-25 | 2002-10-22 | International Business Machines Corporation | MPEG video decoder with integrated scaling and display functions |
US20070230572A1 (en) * | 2006-03-28 | 2007-10-04 | Shinichiro Koto | Video decoding method and apparatus |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6097843A (en) | 1997-01-27 | 2000-08-01 | Sony Corporation | Compression encoding apparatus, encoding method, decoding apparatus, and decoding method |
JP3918263B2 (en) | 1997-01-27 | 2007-05-23 | ソニー株式会社 | Compression encoding apparatus and encoding method |
EP1243141B1 (en) | 1999-12-14 | 2011-10-19 | Scientific-Atlanta, LLC | System and method for adaptive decoding of a video signal with coordinated resource allocation |
CN100542289C (en) | 2004-07-13 | 2009-09-16 | 杜比实验室特许公司 | The nothing of video compression rounds off partially |
KR100668324B1 (en) * | 2005-01-21 | 2007-01-12 | 삼성전자주식회사 | Method and apparatus for controlling bit rate on coding of an image data |
WO2007116551A1 (en) * | 2006-03-30 | 2007-10-18 | Kabushiki Kaisha Toshiba | Image coding apparatus and image coding method, and image decoding apparatus and image decoding method |
WO2007114368A1 (en) | 2006-03-30 | 2007-10-11 | Kabushiki Kaisha Toshiba | Image coding apparatus and method, and image decoding apparatus and method |
US7898550B2 (en) * | 2006-06-09 | 2011-03-01 | Via Technologies, Inc. | System and method for memory bandwidth compressor |
KR101365597B1 (en) | 2007-10-24 | 2014-02-20 | 삼성전자주식회사 | Video encoding apparatus and method and video decoding apparatus and method |
HUE024173T2 (en) | 2008-04-16 | 2016-05-30 | Ge Video Compression Llc | Bit-depth scalability |
JP5519654B2 (en) * | 2008-06-12 | 2014-06-11 | トムソン ライセンシング | Method and apparatus for video coding and decoding using reduced bit depth update mode and reduced chromaticity sampling update mode |
EP2222087A1 (en) | 2009-02-19 | 2010-08-25 | Thomson Licensing | Bit depth upscaling in RGB colour space for reducing propagation of errors due to transformation to YUV colour space |
KR101196920B1 (en) | 2009-04-08 | 2012-11-05 | 한국전자통신연구원 | Method and apparatus for encoding and decoding using adaptive bit depth decreasing |
WO2011126283A2 (en) * | 2010-04-05 | 2011-10-13 | Samsung Electronics Co., Ltd. | Method and apparatus for encoding video based on internal bit depth increment, and method and apparatus for decoding video based on internal bit depth increment |
-
2012
- 2012-06-07 US US13/491,227 patent/US9521434B2/en active Active
- 2012-06-08 KR KR1020147000562A patent/KR20140019474A/en active Application Filing
- 2012-06-08 KR KR1020167018503A patent/KR20160086978A/en not_active Application Discontinuation
- 2012-06-08 IN IN16MUN2014 patent/IN2014MN00016A/en unknown
- 2012-06-08 EP EP12727575.8A patent/EP2719177A1/en not_active Withdrawn
- 2012-06-08 WO PCT/US2012/041575 patent/WO2012170833A1/en active Search and Examination
- 2012-06-08 CN CN201280029510.0A patent/CN103609112B/en not_active Expired - Fee Related
- 2012-06-08 JP JP2014514885A patent/JP5778339B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470051B1 (en) * | 1999-01-25 | 2002-10-22 | International Business Machines Corporation | MPEG video decoder with integrated scaling and display functions |
US20070230572A1 (en) * | 2006-03-28 | 2007-10-04 | Shinichiro Koto | Video decoding method and apparatus |
Non-Patent Citations (7)
Title |
---|
CHEN Y ET AL: "AHG8: Bit depth of output pictures", 7. JCT-VC MEETING; 98. MPEG MEETING; 21-11-2011 - 30-11-2011; GENEVA; (JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/, no. JCTVC-G328, 9 November 2011 (2011-11-09), XP030110312 * |
CHONO K ET AL: "Rounding-error conscious memory compression method for IBDI", 4. JCT-VC MEETING; 95. MPEG MEETING; 20-1-2011 - 28-1-2011; DAEGU;(JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11AND ITU-T SG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/, no. JCTVC-D045, 15 January 2011 (2011-01-15), XP030008086, ISSN: 0000-0015 * |
CHUJOH (TOSHIBA) T: "Tool Experiment 2: Internal bit-depth increase (IBDI) and memory compression", 1. JCT-VC MEETING; 15-4-2010 - 23-4-2010; DRESDEN; (JOINTCOLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11 AND ITU-TSG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/, no. JCTVC-A302, 9 May 2010 (2010-05-09), XP030007588, ISSN: 0000-0049 * |
HOANG (ZENVERGE) D: "Unified scaling for 10-bit to 8-bit reference frame compression", 96. MPEG MEETING; 21-3-2011 - 25-3-2011; GENEVA; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11), no. m19978, 20 March 2011 (2011-03-20), XP030048545 * |
TAKESHI CHUJOH ET AL: "Internal bit depth increase except frame memory", 32. VCEG MEETING; 80. MPEG MEETING; 23-4-2007 - 27-4-2007; SAN JOSE;(VIDEO CODING EXPERTS GROUP OF ITU-T SG.16), no. VCEG-AF07, 19 April 2007 (2007-04-19), XP030003528, ISSN: 0000-0068 * |
THOMAS STOCKHAMMER ET AL: "DASH: Updates to Media Segments for ISO base media file format", 95. MPEG MEETING; 24-1-2011 - 28-1-2011; DAEGU; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11), no. m19478, 26 January 2011 (2011-01-26), XP030048045 * |
WIEGAND T ET AL: "High Efficiency Video Coding (HEVC) text specification Working Draft 1", 3. JCT-VC MEETING; 95. MPEG MEETING; 7-10-2010 - 15-10-2010;GUANGZHOU; (JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IECJTC1/SC29/WG11 AND ITU-T SG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/, no. JCTVC-C403, 6 January 2011 (2011-01-06), XP030008032, ISSN: 0000-0018 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493506A (en) * | 2013-07-15 | 2016-04-13 | 高通股份有限公司 | Signaling of view id bit depth in parameter sets |
US10075729B2 (en) | 2013-07-15 | 2018-09-11 | Qualcomm Incorporated | Signaling of view ID bit depth in parameter sets |
CN105580372A (en) * | 2013-09-20 | 2016-05-11 | 高通股份有限公司 | Combined bi-predictive merging candidates for 3d video coding |
CN105580372B (en) * | 2013-09-20 | 2019-05-28 | 高通股份有限公司 | Combined bidirectional for 3D video coding predicts combined bidirectional |
US11375219B2 (en) * | 2019-09-24 | 2022-06-28 | Tencent America LLC | Coding method and system with improved dynamic internal bit depth |
Also Published As
Publication number | Publication date |
---|---|
KR20160086978A (en) | 2016-07-20 |
JP2014517631A (en) | 2014-07-17 |
JP5778339B2 (en) | 2015-09-16 |
US20120314026A1 (en) | 2012-12-13 |
KR20140019474A (en) | 2014-02-14 |
CN103609112A (en) | 2014-02-26 |
US9521434B2 (en) | 2016-12-13 |
EP2719177A1 (en) | 2014-04-16 |
IN2014MN00016A (en) | 2015-06-12 |
CN103609112B (en) | 2018-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9521434B2 (en) | Internal bit depth increase in video coding | |
KR101547743B1 (en) | Frame splitting in video coding | |
CN107079176B (en) | Design of HRD descriptor and buffer model for data stream of HEVC extended bearer | |
TWI556630B (en) | Method and device for processing video data and computer-readable storage medium | |
JP6538727B2 (en) | System and method for signaling information for layer set in parameter set | |
JP6077124B2 (en) | Virtual reference decoder parameter syntax structure | |
US9521393B2 (en) | Non-nested SEI messages in video coding | |
RU2566972C2 (en) | Methods of video coding for coding of dependable images after arbitrary access | |
CN110506421B (en) | System and method for signaling scalable video in media application format | |
EP2904799B1 (en) | File format for video data | |
TWI543593B (en) | Supplemental enhancement information (sei) messages having a fixed-length coded video parameter set (vps) id | |
TW201421997A (en) | Indication and activation of parameter sets for video coding | |
KR20220124168A (en) | Storage and delivery of video data for video coding | |
CA3025466A1 (en) | Systems and methods for signaling scalable video in a media application format |
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: 12727575 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) | ||
ENP | Entry into the national phase |
Ref document number: 2014514885 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: 20147000562 Country of ref document: KR Kind code of ref document: A |