WO2016007832A1 - Advanced palette prediction and signaling - Google Patents
Advanced palette prediction and signaling Download PDFInfo
- Publication number
- WO2016007832A1 WO2016007832A1 PCT/US2015/039904 US2015039904W WO2016007832A1 WO 2016007832 A1 WO2016007832 A1 WO 2016007832A1 US 2015039904 W US2015039904 W US 2015039904W WO 2016007832 A1 WO2016007832 A1 WO 2016007832A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- palette
- predictor list
- palette predictor
- candidate
- current block
- 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/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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for 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/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
-
- 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/167—Position within a video image, e.g. region of interest [ROI]
-
- 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/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/182—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 a pixel
-
- 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/186—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 a colour or a chrominance component
-
- 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/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
-
- 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/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/56—Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
-
- 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/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- 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
Definitions
- This disclosure relates to video encoding and video decoding.
- 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, 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.
- 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 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 as reference frames.
- 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 indicates 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 coefficients, which then may be quantized.
- the quantized coefficients initially arranged in a two-dimensional array, may be scanned in order to produce a one-dimensional vector of coefficients, and entropy coding may be applied to achieve even more compression.
- a video coder may determine a palette predictor list that includes one or more candidate entries. Each of the candidate entries may specify at least one sample value of a different, respective reconstructed pixel neighboring a current block.
- the video coder may include one or more candidate entries of the palette predictor list in a palette of the current block.
- this disclosure describes a method of decoding video data, the method comprising: determining a palette predictor list comprising one or more candidates, each respective candidate in the palette predictor list specifying at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more
- this disclosure describes a method of encoding video data, the method comprising: determining a palette predictor list comprising one or more candidates, each respective candidate in the palette predictor list specifying at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more
- reconstructed neighboring pixels is in a line above or a column left of a current block of the video data; including, in a palette for the current block, at least one candidate in the palette predictor list; and signaling, in a bitstream, one or more syntax elements indicating an index value for a pixel of the current block, the index value corresponding to an entry in the palette.
- this disclosure describes a device configured to code video data, the device comprising: a memory configured to store the video data; and one or more processors configured to: determine a palette predictor list comprising one or more candidates, each respective candidate in the palette predictor list specifying at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data; and include, in a palette for the current block, at least one candidate in the palette predictor list.
- this disclosure describes a device configured to decode video data, the device comprising: means for determining a palette predictor list comprising one or more candidates, each respective candidate in the palette predictor list specifying at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data; and means for including, in a palette for the current block, at least one candidate in the palette predictor list.
- this disclosure describes a data storage medium having instructions stored thereon that when executed cause a device for coding video data to: determine a palette predictor list comprising one or more candidates, each respective candidate in the palette predictor list specifying at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data; and include, in a palette for the current block, at least one candidate in the palette predictor list.
- FIG. 1 is a block diagram illustrating an example video coding system that may utilize the techniques described in this disclosure.
- FIG. 2 is a conceptual diagram illustrating an example palette stuffing process.
- FIG. 3 is a conceptual diagram illustrating example prediction flags.
- FIG. 4 is a conceptual diagram illustrating candidate pixels for an extra palette predictor list.
- FIG. 5 is a block diagram illustrating an example video encoder that may implement the techniques described in this disclosure.
- FIG. 6 is a block diagram illustrating an example video decoder that may implement the techniques described in this disclosure.
- FIG. 7 is a flowchart illustrating an example decoding operation, in accordance with a technique of this disclosure.
- FIG. 8 is a flowchart illustrating an example encoding operation, in accordance with a technique of this disclosure.
- FIG. 9 is a flowchart illustrating an example operation for generating a palette, in accordance with a technique of this disclosure.
- FIG. 10 is a flowchart illustrating an example operation of a video decoder to generate an original palette predictor list, in accordance with a technique of this disclosure.
- FIG. 11 is a flowchart illustrating an example operation of a video decoder to generate an extra palette predictor list, in accordance with a technique of this disclosure.
- FIG. 12 is a flowchart illustrating an example operation of a video encoder to generate an original palette predictor list, in accordance with a technique of this disclosure.
- FIG. 13 is a flowchart illustrating an example operation of a video encoder to generate an extra palette predictor list, in accordance with a technique of this disclosure.
- aspects of this disclosure are directed to techniques for video coding and video data compression.
- this disclosure describes techniques for palette-based coding of video data.
- images are assumed to be continuous- tone and spatially smooth. Based on these assumptions, various tools have been developed such as block-based transform, filtering, and other coding tools and such tools have shown good performance for natural content videos.
- palette -based coding which may be particularly suitable for screen content coding or other content where one or more traditional coding tools are inefficient.
- Palette-based coding of video data may be used with one or more other coding techniques, such as techniques for inter- or intra-predictive coding.
- an encoder or decoder, or combined encoder-decoder (codec) may be configured to perform inter- and intra-predictive coding, as well as palette-based coding.
- a palette in palette mode coding, includes or consists of entries numbered by an index representing color component values, which can be used as predictor for block samples or as final reconstructed block samples.
- Each entry in the palette may contain one color component (for example, a luma value) or two components (for example, two chroma values) or a triplet of three color components (for example, RGB, YUV, or components of other color spaces).
- Four or more color components might also be used in other situations, such as with four-component color spaces like "CMYK.”
- a block of video data may be coded by indicating, for each sample of the block, an index to a corresponding entry in the palette. Further efficiency is achieved by indicating runs of indexes to the same entry in the palette instead of individually signaling indexes.
- Samples in the palette mode block may be coded using run-length coding with run-modes, e.g., 'copy-left' (which may also be referred to herein as 'index- copy'), and 'copy-above.'
- entries in the palette are predicted using previously decoded palette entries.
- the previous decoded palette entries (after pruning out duplicate entries) form a list, referred to as a palette predictor list.
- a palette predictor list For each entry in the palette predictor list, one bin is used to indicate whether the corresponding entry is re-used in the current palette or not. These bins may form a binary vector. This vector corresponds to the syntax elements of previous_palette_entry_flag[i].
- the entries in the palette predictor list whose corresponding previous_palette_entry_flag equals to 1 are placed at the beginning of the current block's palette.
- the current palette can be logically divided into two zones.
- the first zone (named as ZONE P hereafter, placed at the beginning) is composed of re-used entries from the palette predictor list.
- the second zone (named as ZONE T hereafter, placed after the first zone) is composed of new palette entries, which are not in the palette predictor list and directly signaled in the bitstream.
- the palette predictor list does not include so-called "escape pixels" used in a previously-coded block. Escape pixels are pixels present in a palette-coded block, but not included in the palette for the block. There may be an elevated probability the escape pixels of the previously coded block are also used in the current block, especially if those escape pixels are adjacent to the current block. Hence, it may be advantageous to include at least some of the escape pixels of the previously-coded block in the palette predictor list for the current block.
- This disclosure describes techniques using neighboring reconstructed pixels, such as pixels from the line above a current block and the line to the left of the current block as additional candidate palette predictors to predict the current block's palette.
- a video coder may use neighboring reconstructed pixels to construct another palette prediction list, referred to herein as the "extra palette predictor list.”
- a video coder may use pixels in the "extra palette predictor list" in the same way the video coder would use other pixels in a palette.
- the bitstream may include an index to an entry in the "extra palette predictor list" to indicate that a corresponding pixel of a current block has the sample value specified by the entry.
- a video coder may determine a palette predictor list comprising or consisting of one or more candidates.
- each respective candidate in the palette predictor list specifies at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels.
- each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data.
- the neighboring pixels may be adjacent to the current block.
- the neighboring pixels may come from the above row or two or more rows above the current block.
- the neighboring pixels may also come from the left column or left two or more columns of the current block.
- the video coder includes, in a palette for the current block, at least one candidate in the palette predictor list.
- FIG. 1 is a block diagram illustrating an example video coding system 10 that may utilize the techniques of this disclosure.
- video coder refers generically to both video encoders and video decoders.
- video coding or “coding” may refer generically to video encoding or video decoding.
- video coding system 10 includes a source device 12 and a destination device 14.
- Source device 12 generates encoded video data. Accordingly, source device 12 may be referred to as a video encoding device or a video encoding apparatus.
- Destination device 14 may decode the encoded video data generated by source device 12. Accordingly, destination device 14 may be referred to as a video decoding device or a video decoding apparatus.
- Source device 12 and destination device 14 may be examples of video coding devices or video coding apparatuses.
- Decoding denotes reconstructing sample values from encoded video data.
- Source device 12 and destination device 14 may comprise a wide range of devices, including desktop computers, mobile computing devices, notebook (e.g., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called “smart" phones, televisions, cameras, display devices, digital media players, video gaming consoles, in-car computers, video conferencing devices, or other types of media-enabled devices.
- Destination device 14 may receive encoded video data from source device 12 via a channel 16.
- Channel 16 may comprise one or more media or devices capable of moving the encoded video data from source device 12 to destination device 14.
- channel 16 may comprise one or more communication media that enable source device 12 to transmit encoded video data directly to destination device 14 in realtime.
- source device 12 may modulate the encoded video data according to a communication standard, such as a wireless communication protocol, and may transmit the modulated video data to destination device 14.
- a communication standard such as a wireless communication protocol
- the communication media may include wireless and/or wired communication media, such as a radio frequency (RF) spectrum or one or more physical transmission lines.
- the one or more communication media may form part of a packet-based network, such as a local area network, a wide-area network, or a global network (e.g., the Internet).
- the one or more communication media may include routers, switches, base stations, or other equipment that facilitate communication from source device 12 to destination device 14.
- channel 16 may include a storage medium that stores encoded video data generated by source device 12.
- destination device 14 may access the storage medium via disk access or card access.
- the storage medium may include a variety of locally-accessed data storage media such as Blu-ray discs, DVDs, CD-ROMs, flash memory, or other suitable digital storage media for storing encoded video data.
- channel 16 may include a file server or another
- destination device 14 may access encoded video data stored at the file server or other intermediate storage device via streaming or download.
- the file server may be a type of server capable of storing encoded video data and transmitting the encoded video data to destination device 14.
- Example file servers include web servers (e.g., for a website), file transfer protocol (FTP) servers, network attached storage (NAS) devices, and local disk drives.
- Destination device 14 may access the encoded video data through a standard data connection, such as an Internet connection.
- Example types of data connections may include wireless channels (e.g., Wi-Fi connections), wired connections (e.g., DSL, cable modem, etc.), or combinations of both that are suitable for accessing encoded video data stored on a file server.
- the transmission of encoded video data from the file server may be a streaming transmission, a download transmission, or a combination of both.
- the techniques of this disclosure are not limited to wireless applications or settings.
- the techniques may be applied to video coding in support 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 video data for storage on a data storage medium, decoding of video data stored on a data storage medium, or other applications.
- video coding 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.
- FIG. 1 is merely an example and the techniques of this disclosure may apply to video coding settings (e.g., video encoding or video decoding) that do not necessarily include any data communication between the encoding and decoding devices.
- data e.g., video data
- a video encoding device may encode and store data (e.g., video data) to memory, and/or a video decoding device may retrieve and decode data (e.g., video data) from memory.
- the encoding and decoding is performed by devices that do not communicate with one another, but simply encode data (e.g., video data) to memory and/or retrieve and decode data (e.g., video data) from memory.
- source device 12 includes a video source 18, a video encoder 20, and an output interface 22.
- output interface 22 may include a modulator/demodulator (modem) and/or a transmitter.
- Video source 18 may include a video capture device, e.g., a video camera, a video archive containing previously-captured video data, a video feed interface to receive video data from a video content provider, and/or a computer graphics system for generating video data, or a combination of such sources of video data.
- Video encoder 20 may encode video data from video source 18.
- source device 12 directly transmits the encoded video data to destination device 14 via output interface 22.
- the encoded video data may also be stored onto a storage medium or a file server for later access by destination device 14 for decoding and/or playback.
- destination device 14 includes an input interface 28, a video decoder 30, and a display device 32.
- input interface 28 includes a receiver and/or a modem.
- Input interface 28 may receive encoded video data from channel 16.
- Display device 32 may be integrated with or may be external to destination device 14. In general, display device 32 displays decoded video data.
- Display device 32 may comprise 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
- plasma display a plasma display
- OLED organic light emitting diode
- This disclosure may generally refer to video encoder 20 "signaling" or
- signaling may generally refer to the communication of syntax elements and/or other data used to decode the compressed video data.
- communication may occur in real- or near-real-time. Alternately, such communication may occur over a span of time, such as might occur when storing syntax elements to a computer-readable storage medium in an encoded bitstream at the time of encoding, which then may be retrieved by a decoding device at any time after being stored to this medium.
- video decoder 30 may be referred to as "receiving" certain information, the receiving of information does not necessarily occur in real- or near- real-time and may be retrieved from a medium at some time after storage.
- Video encoder 20 and video decoder 30 each may be implemented as any of a variety of suitable circuitry, such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, hardware, or any combinations thereof. If the techniques are implemented partially in software, a device may store instructions for the software in a suitable, non-transitory computer-readable storage medium and may execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Any of the foregoing (including hardware, software, a combination of hardware and software, etc.) may be considered to be one or more processors. 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 video decoder 30 operate according to a video compression standard, such as HEVC.
- HEVC Version 1 A version of the HEVC, referred to as "HEVC Version 1" hereinafter, is available from HEVC.
- palette-based coding modes e.g., as described in this disclosure, may be provided for extension of HEVC.
- the techniques described in this disclosure for palette -based coding may be applied to encoders and decoders configured to operate according to other video coding standards, such as the ITU-T-H.264/AVC standard or future standards. Accordingly, application of a palette-based coding mode for coding of coding units (CUs) or prediction units (PUs) in an HEVC codec is described for purposes of example.
- Video encoder 20 and video decoder 30 of video coding system 10 represent examples of devices that may be configured to perform techniques for palette-based video coding in accordance with various examples described in this disclosure.
- video encoder 20 and video decoder 30 may be configured to selectively code various blocks of video data, such as CUs or PUs in HEVC coding, using either palette- based coding or non-palette based coding.
- Non-palette based coding modes may refer to various inter-predictive temporal coding modes or intra-predictive spatial coding modes, such as the various coding modes specified by HEVC Version 1.
- a video sequence typically includes a series of pictures. Pictures may also be referred to as "frames.”
- a picture may include three sample arrays, denoted S L , Scb and So S L is a two-dimensional array (i.e., a block) of luma samples.
- Scb is a two-dimensional array of Cb chrominance samples.
- Sc r is a two-dimensional array of Cr chrominance samples.
- Chrominance samples may also be referred to herein as "chroma" samples.
- a picture may be monochrome and may only include an array of luma samples.
- video encoder 20 may generate a set of coding tree units (CTUs).
- Each of the CTUs may be a coding tree block of luma samples, two corresponding coding tree blocks of chroma samples, and syntax structures used to code the samples of the coding tree blocks.
- a coding tree block may be an NxN block of samples.
- a CTU may also be referred to as a "tree block” or a "largest coding unit” (LCU).
- the CTUs of HEVC may be broadly analogous to the macroblocks of other standards, such as H.264/AVC. However, a CTU is not necessarily limited to a particular size and may include one or more coding units (CUs).
- a slice may include an integer number of CTUs ordered consecutively in the raster scan.
- video encoder 20 may recursively perform quad-tree partitioning on the coding tree blocks of a CTU to divide the coding tree blocks into coding blocks, hence the name "coding tree units."
- a coding block is an NxN block of samples.
- a CU may be a coding block of luma samples and two corresponding coding blocks of chroma samples of a picture that has a luma sample array, a Cb sample array and a Cr sample array, and syntax structures used to code the samples of the coding blocks.
- a CU may comprise a single coding block and syntax structures used to code the samples of the coding block.
- Video encoder 20 may partition a coding block of a CU into one or more prediction blocks.
- a prediction block may be a rectangular (i.e., square or non-square) block of samples on which the same prediction is applied.
- a prediction unit (PU) of a CU may be a prediction block of luma samples, two corresponding prediction blocks of chroma samples of a picture, and syntax structures used to predict the prediction block samples.
- Video encoder 20 may generate predictive luma, Cb and Cr blocks for luma, Cb and Cr prediction blocks of each PU of the CU.
- a PU may comprise a single prediction block and syntax structures used to predict the prediction block.
- Video encoder 20 may use intra prediction or inter prediction to generate the predictive blocks for a PU. Predictive blocks may also be referred to as "predictive sample blocks.” If video encoder 20 uses intra prediction to generate the predictive blocks of a PU, video encoder 20 may generate the predictive blocks of the PU based on decoded samples of the picture associated with the PU. In this disclosure, "based on” may, in some instances, be interpreted as "based at least in part on.”
- video encoder 20 may generate the predictive blocks of the PU based on decoded samples of one or more pictures other than the picture associated with the PU.
- Video encoder 20 may use uni-prediction or bi-prediction to generate the predictive blocks of a PU.
- uni-prediction to generate the predictive blocks for a PU
- the PU may have a single motion vector.
- video encoder 20 uses bi-prediction to generate the predictive blocks for a PU, the PU may have two motion vectors.
- video encoder 20 may generate a residual block for the CU.
- Each sample in the residual block indicates a difference between a sample in one of the CU's predictive blocks and a corresponding sample in one of the CU's original coding blocks.
- video encoder 20 may generate a luma residual block for the CU.
- Each sample in the CU's luma residual block indicates a difference between a luma sample in one of the CU's predictive luma blocks and a corresponding sample in the CU's original luma coding block.
- video encoder 20 may generate a Cb residual block for the CU.
- Each sample in the CU's Cb residual block may indicate a difference between a Cb sample in one of the CU's predictive Cb blocks and a corresponding sample in the CU's original Cb coding block.
- Video encoder 20 may also generate a Cr residual block for the CU.
- Each sample in the CU's Cr residual block may indicate a difference between a Cr sample in one of the CU's predictive Cr blocks and a corresponding sample in the CU's original Cr coding block.
- video encoder 20 may use quad-tree partitioning to decompose the residual blocks (e.g., luma, Cb and Cr residual blocks) of a CU into one or more transform blocks (e.g., luma, Cb and Cr transform blocks).
- a transform block may be a rectangular block of samples on which the same transform is applied.
- a transform unit (TU) of a CU may be a transform block of luma samples, two corresponding transform blocks of chroma samples, and syntax structures used to transform the transform block samples.
- each TU of a CU may correspond to a luma transform block, a Cb transform block, and a Cr transform block.
- the luma transform block associated with the TU may be a sub-block of the CU's luma residual block.
- the Cb transform block may be a sub-block of the CU's Cb residual block.
- the Cr transform block may be a sub-block of the CU's Cr residual block.
- a TU may comprise a single transform block and syntax structures used to transform the samples of the transform block.
- Video encoder 20 may apply one or more transforms to a transform block to generate a coefficient block for the TU.
- a coefficient block may be a two-dimensional array of transform coefficients.
- a transform coefficient may be a scalar quantity.
- video encoder 20 may apply one or more transforms to a luma transform block of a TU to generate a luma coefficient block for the TU.
- Video encoder 20 may apply one or more transforms to a Cb transform block of a TU to generate a Cb coefficient block for the TU.
- Video encoder 20 may apply one or more transforms to a Cr transform block of a TU to generate a Cr coefficient block for the TU.
- video encoder 20 may quantize the coefficient block. Quantization generally refers to a process in which transform coefficients are quantized to possibly reduce the amount of data used to represent the transform coefficients, providing further compression.
- video encoder 20 may entropy encode syntax elements indicating the quantized transform coefficients. For example, video encoder 20 may perform Context- Adaptive Binary Arithmetic Coding (CAB AC) on the syntax elements indicating the quantized transform coefficients.
- Video encoder 20 may output the entropy-encoded syntax elements in a bitstream. The bitstream may also include syntax elements that are not entropy encoded.
- CAB AC Context- Adaptive Binary Arithmetic Coding
- Video encoder 20 may output a bitstream that includes the entropy-encoded syntax elements.
- the bitstream may include a sequence of bits that forms a
- the bitstream may comprise an encoded representation of video data.
- the bitstream may comprise a sequence of network abstraction layer (NAL) units.
- NAL network abstraction layer
- Each of the NAL units includes a NAL unit header and encapsulates a raw byte sequence payload (RBSP).
- the NAL unit header may include a syntax element indicating a NAL unit type code.
- the NAL unit type code specified by the NAL unit header of a NAL unit indicates the type of the NAL unit.
- a RBSP is a syntax structure containing an integer number of bytes that is encapsulated within a NAL unit. In some instances, an RBSP includes zero bits.
- NAL units may encapsulate different types of RBSPs.
- a first type of NAL unit may encapsulate an RBSP for a picture parameter set (PPS)
- a second type of NAL unit may encapsulate an RBSP for a coded slice
- a third type of NAL unit may encapsulate an RBSP for Supplemental Enhancement
- SEI Video coding layer
- VCL video coding layer
- SEI may contain (e.g., consist of) information that is not necessary to decode the samples of coded pictures from VCL NAL units.
- An SEI RBSP may contain one or more SEI messages.
- a VPS is a syntax structure comprising syntax elements applying to zero or more entire coded video sequences (CVSs).
- a sequence parameter set (SPS) is also a syntax structure comprising syntax elements applying to zero or more entire CVSs.
- An SPS may include a syntax element identifying a VPS active when the SPS is active.
- the syntax elements of a VPS may be more generally applicable than the syntax elements of an SPS.
- a picture parameter set (PPS) is a syntax structure comprising syntax elements applying to zero or more coded pictures.
- a PPS may include a syntax element identifying an SPS active when the PPS is active.
- a slice header of a slice may include a syntax element that indicates a PPS active when the slice is being coded.
- Video decoder 30 may receive a bitstream generated by video encoder 20.
- video decoder 30 may parse the bitstream to obtain (e.g., decode) syntax elements from the bitstream.
- Video decoder 30 may reconstruct the pictures of the video data based at least in part on the syntax elements decoded from the bitstream. The process to reconstruct the video data may be generally reciprocal to the process performed by video encoder 20.
- video decoder 30 may use motion vectors of PUs to determine predictive blocks for the PUs of a current CU.
- video decoder 30 may inverse quantize transform coefficient blocks associated with TUs of the current CU.
- Video decoder 30 may perform inverse transforms on the transform coefficient blocks to reconstruct transform blocks associated with the TUs of the current CU.
- Video decoder 30 may reconstruct the coding blocks of the current CU by adding the samples of the predictive sample blocks for PUs of the current CU to corresponding samples of the transform blocks of the TUs of the current CU. By reconstructing the coding blocks for each CU of a picture, video decoder 30 may reconstruct the picture.
- video encoder 20 and video decoder 30 may be configured to perform palette -based coding.
- video encoder 20 and video decoder 30 may code a so-called palette as a table of colors for representing the video data of the particular area (e.g., a given block).
- Each pixel may be associated with an entry in the palette that represents at least one sample of the pixel.
- video encoder 20 and video decoder 30 may code an index for a pixel identifying a palette entry specifying one or more samples of the pixel.
- a "pixel value" is a single sample value of a single color component (e.g., luma, Cb, Cr).
- a "pixel value" is a plurality of sample values (e.g., a luma sample value, a Cb sample value, and a Cr sample value).
- Video encoder 20 may signal palette-related syntax elements at a CU level. For instance, if a CU is encoded using palette mode, the CU may include one or more palette coding component syntax structures. A syntax of the
- palette coding component syntax structure is reproduced in Table 1 , below.
- nCbS ( 1 « log2CbSize )
- palette entries[ cidx ][ numPredPreviousPalette ]
- palette num signalled entries ae(v) for ( cidx compOffset; cidx ⁇ NumComp + compOffset; cldx++ )
- palette_entries[ cidx ][ numPredPreviousPalette + i ] ae(v) palette size numPredPreviousPalette + palette num signalled entries
- paletteMap[ xC ][ yC ] palette_index
- paletteMap[ xC ][ yC ] paletteMap[ xC ][ yC - 1 ]
- previousPaletteEntries[ cldx ][ i ] palette_entries[ cldx ][ i ]
- previous_palette_entry_flag[ i ] 1 specifies that the palette entry from the previous used palette is copied.
- previous_palette_entry_flag [ i ] 0 specifies that the palette entry from the previous used palette is not copied.
- the previousPaletteSize is the size of the palette of the previous CU decoded in palette mode.
- the variable previousPaletteSize is set equal to 0 for the first decoded palette CU of each CTB line as well as slice.
- palette_num_signalled_entries specifies the number of entries in the palette that are explicitly signalled for the current CU. When palette num signalled entries is not present, it is inferred to be equal to 0.
- palette_entries[ cldx ][ i ] specifies the i-th element in the palette for the color component cldx.
- the array previousPaletteEntries is equal to the array palette entries of the last CU decoded in palette mode.
- palette_escape_val specifies the escape pixel value.
- palette_run_type_flag 1 specifies that the decoding process is
- palette run type flag 0 specifies that the decoding process mode is INDEX MODE where the pixel's palette index is coded in the bitstream. When palette run type flag is not present, it is inferred to be equal to
- palette_index is an index to the palette entries. If palette index is equal to palette size, the pixel is coded as ESCAPE PIXEL. [0076] palette_run indicates the number of consecutive locations minus 1 with the same palette index as the position in the above row when palette run type flag is equal to COPY ABOVE MODE or represents the number of consecutive locations minus 1 with the same palette index when palette run type flag is equal to INDEX MODE.
- a palette may consist of entries numbered by an index representing color component values which can be used as a predictor for block samples or as final reconstructed block samples.
- Each entry in the palette may contain one color component (for example, luma value) or two components (for example, two chroma values) or a triplet of three color components (for example, RGB, YUV etc.).
- Samples in the palette mode block are coded using run-length coding.
- run-modes may be used, including 'copy-left' (which may also be referred to herein as 'index-copy'), 'copy-above', and 'escape.
- 'copy-left' which may also be referred to herein as 'index-copy'
- 'copy-above' and 'escape.
- JCT-VC Joint Collaborative Team on Video Coding
- video encoder 20 may encode a block of video data by determining a palette for the block, locating an entry in the palette to represent the value of each pixel, and encoding the palette with index values for the pixels relating the pixel value to the palette.
- Video decoder 30 may obtain, from an encoded bitstream, a palette for a block, as well as index values for the pixels of the block.
- Video decoder 30 may relate the index values of the pixels to entries of the palette to reconstruct the pixel values of the block.
- entries in the palette may be predicted using previously decoded palette entries ⁇ See e.g., JCTVC-R0306-WD and Gisquet et al, "SCCE3 Test A.3: palette stuffing," Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 18 th Meeting, Sapporo, JP, 30 June - 9 July 2014, document JCTVC-R0082 (hereinafter, "JCTVC- R0082").
- JCT-VC Joint Collaborative Team on Video Coding
- JCT-VC Joint Collaborative Team on Video Coding
- JCTVC-Q0063 Joint Collaborative Team on Video Coding
- FIG. 2 is a conceptual diagram illustrating an example palette stuffing process.
- a predictor is made available to CU2.
- CU2 palette of CUl .
- Bit flags indicating the reuse of the predictor elements are generated and coded.
- CU2 palette would normally be used as the predictor of CU3. By checking the bit flags from the palette predictor of CU2, it is possible to determine which elements have not been reused. Those elements are added to the end of the predictor.
- Including the additional elements in the predictor may be beneficial because those elements have actually occurred in the past, and may still occur. However, the probability of those additional elements occurring again is lower. By this recursive construction, a predictor is generated, where elements are somewhat ordered by probability. In addition, it may be possible and beneficial to increase the size of the predictor, due to the high compression ratio a valid prediction offers.
- FIG. 3 is a conceptual diagram illustrating example prediction flags.
- the prediction scheme may have a limited efficiency. A typical improvement would be CABAC coding of the elements, but this would require frequent updating for at least 32 flags.
- JCTVC-Q0063 proposed instead to add intermediate flags, called "end-of-prediction," to indicate when elements can be no longer predicted. However, because this adds more flags, it may cause an expansion of the bitmap of flags. Therefore, it may be better to insert flags at specific locations in the bitmap.
- end-of-prediction intermediate flags
- previous_palette_entry_flag syntax elements the entries in the palette predictor list whose corresponding previous_palette_entry_flag equals to 1 are placed at the beginning of the palette of the current block.
- the current palette can be logically divided into two zones.
- the first zone (named as ZONE_P hereafter, which is placed at the beginning) is composed of re -used entries from the palette predictor list.
- the second zone (named as ZONE_T hereafter, which is placed after the first zone) is composed of new palette entries which are not in the palette predictor list and directly signaled in the bitstream.
- Palette predictor list does not include so-called "escape pixels" used in a previously-coded block.
- Escape pixels are pixels present in a palette-coded block, but not included in the palette for the block.
- escape pixels may be directly signaled and, in some examples, are not predictively coded.
- This disclosure proposes the use of neighboring reconstructed pixels (e.g., pixels from one or more lines immediately above the current block, if available, and one or more lines immediately to the left of the current block, if available) as additional candidate palette predictors to predict the current block's palette.
- this disclosure refers to the palette predictor list based on a palette of a previous block, such as the palette predictor list used in JCTVC-Q0063, as the "original palette predictor list.”
- This disclosure proposes the use of neighboring reconstructed pixels to construct another palette prediction list, referred to herein as an "extra palette predictor list.” For example, if the neighboring reconstructed pixels specify sample values 3, 5, and 7, a video coder may determine an extra palette predictor list that includes candidates (i.e., entries) specifying sample values 3, 5, and 7.
- video encoder 20 may determine a palette predictor list consisting one or more candidates.
- each respective candidate in the palette predictor list specifies at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels.
- each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data.
- video encoder 20 may include, in a palette for the current block, at least one candidate in the palette predictor list.
- video encoder 20 may signal, in a bitstream, one or more syntax elements indicating an index value for a pixel of the current block, the index value corresponding to an entry in the palette.
- video decoder 30 may determine a palette predictor list comprising or consisting of one or more candidates.
- each respective candidate in the palette predictor list specifies at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels.
- each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data.
- video decoder 30 may include, in a palette for the current block, at least one candidate in the palette predictor list. In some instances, video decoder 30 does not include any of the candidates in the palette for the current block. Video decoder 30 may also obtain, based on one or more syntax elements signaled in a bitstream, an index value for a pixel of the current block. For example, the one or more syntax elements may specify the index value. In another example, video decoder 30 may obtain the index value by inferring, based on the one or more syntax elements and a particular rule, the index value for the pixel of the current block. In this example, video decoder 30 may identify a palette entry in the palette that corresponds to the index value for the pixel. Video decoder 30 may also determine, based on the at least one sample value specified by the identified palette entry, at least one reconstructed sample value of the pixel.
- video encoder 20 may signal a binary vector (e.g., an array of binary values) whose size is equal to TV in the bitstream to indicate whether each individual entry in the "extra palette predictor list" is re-used by the current block or not. For example, if N is equal to 5, video encoder 20 may signal a binary vector 11101 to indicate that the first, second, third, and fifth candidates in the extra palette predictor list are reused in the current block. If a candidate is not reused in the current block, a video coder may omit the candidate from the palette of the current block.
- the binary vector may be transmitted directly in the bitstream or compressed using the method used to compress the original palette predictor list.
- video encoder 20 may determine a palette predictor list that comprises one or more candidates. Each respective candidate in the palette predictor list may specify a value of a different reconstructed neighboring pixel from among one or more reconstructed neighboring pixels. Each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block (e.g., CU, macroblock, etc.) of the video data. Furthermore, video encoder 20 may signal, in a bitstream, a binary vector comprising one or more syntax elements. Each of the one or more syntax elements corresponds to a different candidate in the palette predictor list.
- the palette For each respective candidate in the palette predictor list, if the syntax element corresponding to the respective candidate indicates that a palette for a current block of the video data includes the value specified by the respective candidate, the palette includes a palette entry specifying the value specified by the respective candidate. If the syntax element corresponding to the respective candidate indicates that the palette does not include the value specified by the respective candidate, the palette omits the palette entry specifying the value specified by the respective candidate.
- video encoder 20 may signal, in the bitstream, one or more syntax elements indicating an index value for a sample of the current block, the index value corresponding to an entry in the palette.
- the palette entries in the palette for the current block may specify residual pixel values. In other examples, the palette entries for the current block may specify non-residual pixel values.
- video decoder 30 may determine a palette predictor list that comprises one or more candidates, each respective candidate in the palette predictor list specifying a value of a different reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block (e.g., CU, macroblock, etc.) of the video data.
- Video decoder 30 may obtain, from a bitstream, a binary vector comprising one or more syntax elements, wherein each of the one or more syntax elements corresponds to a different candidate in the palette predictor list. For each respective candidate in the palette predictor list, if the syntax element
- video decoder 30 may include, in the palette, a palette entry specifying the value specified by the respective candidate. If the syntax element corresponding to the respective candidate indicates that the palette does not include the value specified by the respective candidate, video decoder 30 may omit, from the palette, the palette entry specifying the value specified by the respective candidate. Furthermore, video decoder 30 may obtain, based on one or more additional syntax elements signaled in a bitstream, an index value for a sample of the current block. Additionally, video decoder 30 may identify a palette entry in the palette that corresponds to the index value for the sample.
- Video decoder 30 may determine, based on a pixel value specified by the identified palette entry, a reconstructed value of the sample. For instance, in some examples, the reconstructed value of the sample may match the pixel value specified by the identified palette entry. In other example, the pixel value specified by the identified palette entry is a residual pixel value and video decoder 30 may determine the reconstructed value of the sample such that the reconstructed value of the sample is equal to a sum of the pixel value specified by the palette entry and a pixel value of a predictive block.
- a video coder may perform an "extra palette predictor list" construction method.
- a video coder picks up to K (where K > 0) neighboring
- FIG. 4 is a conceptual diagram illustrating candidate pixels for an extra palette predictor list. For example, if pixels A 0 , A ls B 0 , B ls and B 2 specify sample values 5, 10, 15, 20, and 25, respectively, the video coder may determine an extra palette predictor list including candidates specifying sample values 5, 10, 15, 20, and 25, respectively.
- the reconstructed neighboring pixels used in the extra palette prediction list may include at least one of: a below-left reconstructed neighboring pixel (i.e., A 0 ), a left reconstructed neighboring pixel (i.e., Ai), an above-left reconstructed neighboring pixel (i.e., B 2 ), an above reconstructed neighboring pixel (i.e., Bi), or an above-right reconstructed neighboring pixel (i.e., Bo).
- An order is defined to rank the K candidates. As an example, the candidates may be ordered as (B 2 , A 0 , B 0 , A ls Bi).
- a pruning process may be applied to remove duplicate candidates.
- the video coder may remove redundant candidates from the list.
- a candidate close to another candidate before itself in the list may also be removed from the list.
- the video coder may remove a particular candidate from the extra palette predictor list if another candidate in the extra palette predictor list is close to the particular candidate.
- the video coder may remove either the first or second candidates from the extra palette predictor list.
- the 'closeness' can be measured using metrics such as sum of absolute differences (SAD) or sum of squared error (SSE).
- a video coder ranks the pixels in the above line and left column or a subset of the pixels coming from the above line and left column according to their number of occurrence. High frequency pixels are placed in front of the low frequency pixels in the extra palette predictor list.
- the video coder may rank, within the extra palette predictor list, two or more of the plurality of reconstructed neighboring pixels according to frequency of sample values of the plurality of the reconstructed neighboring pixels.
- the video coder may rank, within the extra palette predictor list, the candidates such that candidate D precedes candidates A, B, and C.
- This ranking may be based on the assumption that if a sample value is used more frequently among the neighboring pixels, the sample value is more likely to be used in the current block. Furthermore, because index values indicating palette entries may be represented as unary codes, associating more likely sample values with smaller index values may reduce bitstream size. Hence, ranking more likely candidates at the beginning of the extra palette predictor list may reduce bitstream size.
- the video coder may apply a list truncation process to cut the candidate list size to TV if there are more than TV candidates in the extra palette predictor list.
- the video coder may truncate the extra palette predictor list such that a size of the extra palette predictor list is limited to a particular number of candidates. For example, if N is 4 and the extra palette predictor list includes candidates A, B, C, D, E, and F, the video coder may truncate the extra palette predictor list such that the extra palette predictor list only includes candidates A, B, C, and D.
- the reconstructed neighboring pixels may be 'before in-loop filtering' values to reduce decoding delay.
- a video coder may apply in-loop filtering to the one or more reconstructed neighboring pixels after determining the palette predictor list.
- the video coder may apply a pruning process.
- the video coder may construct the extra palette predictor list on per block basis. For example, an entry in the extra palette predictor list is removed if the entry is also contained in original palette predictor list. Furthermore, in some examples, an entry in the extra palette predictor list is removed if the minimum distance between this entry and any entry in the original palette predictor list is within a threshold.
- the video coder may remove either the candidate in the original palette predictor list or the candidate in the extra palette predictor list.
- the threshold may depend on quantization parameters.
- the distance can be SAD, SSE, or other metrics.
- the entries in the extra palette predictor list may not be merged into the original palette predictor list after decoding the current block.
- candidates of the palette predictor list are not included in a palette predictor list used to determine a palette for a block of the video data processed after the current block.
- a video coder may order the three zones in accordance with one or more of the following examples.
- the video coder puts the entries coming from the extra palette predictor list to the beginning of the current block's palette, then the palette entries coming from the original palette predictor list.
- the three zones are ordered as ZONE_E, ZONE_P, ZONE_T.
- the video coder puts the entries coming from the original palette predictor list to the beginning of the current block's palette, then the palette entries coming from the extra palette predictor list.
- the three zones are ordered as ZONE_P, ZONE_E, ZONE_T.
- Other orders, such as ZONE_P, ZONE_T, ZONE_E may also be used.
- FIG. 5 is a block diagram illustrating an example video encoder 20 that may implement the techniques of this disclosure.
- FIG. 5 is provided for purposes of explanation and should not be considered limiting of the techniques as broadly exemplified and described in this disclosure.
- this disclosure describes video encoder 20 in the context of HEVC coding.
- the techniques of this disclosure may be applicable to other coding standards or methods.
- Video encoder 20 represents an example of a device that may be configured to perform techniques for palette-based video coding in accordance with various examples described in this disclosure.
- video encoder 20 may be configured to selectively code various blocks of video data, such as CUs or PUs in HEVC coding, using either palette-based coding or non-palette based coding.
- Non-palette based coding modes may refer to various inter-predictive temporal coding modes or intra-predictive spatial coding modes, such as the various coding modes specified by HEVC Version 1.
- Video encoder 20 may be configured to generate a palette having entries indicating pixel values, select pixel values in a palette to represent pixels values of at least some positions of a block of video data, and signal information associating at least some of the positions of the block of video data with entries in the palette corresponding, respectively, to the selected pixel values.
- the signaled information may be used by video decoder 30 to decode video data.
- video encoder 20 includes a video data memory 101, a prediction processing unit 100, a residual generation unit 102, a transform processing unit 104, a quantization unit 106, an inverse quantization unit 108, an inverse transform processing unit 110, a reconstruction unit 112, a filter unit 114, a decoded picture buffer 116, and an entropy encoding unit 118.
- Prediction processing unit 100 includes an inter- prediction processing unit 120 and an intra-prediction processing unit 126.
- Inter- prediction processing unit 120 may include a motion estimation unit and a motion compensation unit (not shown).
- Video encoder 20 also includes a palette-based encoding unit 122 configured to perform various aspects of the palette-based coding techniques described in this disclosure.
- Video data memory 101 may store video data to be encoded by the components of video encoder 20.
- the video data stored in video data memory 101 may be obtained, for example, from video source 18.
- Decoded picture buffer 116 may be a reference picture memory that stores reference video data for use in encoding video data by video encoder 20, e.g., in intra- or inter-coding modes.
- Video data memory 101 and decoded picture buffer 116 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices.
- Video data memory 101 and decoded picture buffer 116 may be provided by the same memory device or separate memory devices.
- video data memory 101 may be on-chip with other components of video encoder 20, or off-chip relative to those components.
- Video encoder 20 may receive video data. Video encoder 20 may encode each CTU in a slice of a picture of the video data. Each of the CTUs may be associated with equally-sized luma coding tree blocks (CTBs) and corresponding CTBs of the picture. As part of encoding a CTU, prediction processing unit 100 may perform quad-tree partitioning to divide the CTBs of the CTU into progressively-smaller blocks. The smaller blocks may be coding blocks of CUs. For example, prediction processing unit 100 may partition a CTB associated with a CTU into four equally-sized sub-blocks, partition one or more of the sub-blocks into four equally-sized sub-sub-blocks, and so on.
- CTBs luma coding tree blocks
- Video encoder 20 may encode CUs of a CTU to generate encoded
- prediction processing unit 100 may partition the coding blocks associated with the CU among one or more PUs of the CU. Thus, each PU may be associated with a luma prediction block and corresponding chroma prediction blocks.
- Video encoder 20 and video decoder 30 may support PUs having various sizes. As indicated above, the size of a CU may refer to the size of the luma coding block of the CU and the size of a PU may refer to the size of a luma prediction block of the PU.
- video encoder 20 and video decoder 30 may support PU sizes of 2Nx2N or NxN for intra prediction, and symmetric PU sizes of 2Nx2N, 2NxN, Nx2N, NxN, or similar for inter prediction.
- Video encoder 20 and video decoder 30 may also support asymmetric partitioning for PU sizes of 2NxnU, 2NxnD, nLx2N, and nRx2N for inter prediction.
- Inter-prediction processing unit 120 may generate predictive data for a PU by performing inter prediction on each PU of a CU.
- the predictive data for the PU may include predictive blocks of the PU and motion information for the PU.
- Inter-prediction processing unit 120 may perform different operations for a PU of a CU depending on whether the PU is in an I slice, a P slice, or a B slice. In an I slice, all PUs are intra predicted. Hence, if the PU is in an I slice, inter-prediction processing unit 120 does not perform inter prediction on the PU. Thus, for blocks encoded in I-mode, the predicted block is formed using spatial prediction from previously-encoded neighboring blocks within the same frame.
- the motion estimation unit of inter-prediction processing unit 120 may search the reference pictures in a list of reference pictures (e.g.,
- RefPicListO for a reference region for the PU.
- the reference region for the PU may be a region, within a reference picture, containing sample blocks that most closely corresponds to the prediction blocks of the PU.
- Inter-prediction processing unit 120 may generate a reference index indicating a position in RefPicListO of the reference picture containing the reference region for the PU.
- inter-prediction processing unit 120 may generate a motion vector indicating a spatial displacement between a prediction block of the PU and a reference location associated with the reference region.
- the motion vector may be a two-dimensional vector indicating an offset from the coordinates in the current decoded picture to coordinates in a reference picture.
- Inter-prediction processing unit 120 may output the reference index and the motion vector as the motion information of the PU.
- Inter-prediction processing unit 120 of inter-prediction processing unit 120 may generate the predictive blocks of the PU based on actual or interpolated samples at the reference location indicated by the motion vector of the PU.
- inter-prediction processing unit 120 may perform uni- prediction or bi-prediction for the PU. To perform uni-prediction for the PU, inter- prediction processing unit 120 may search the reference pictures of RefPicListO or a second reference picture list ("RefPicListl") for a reference region for the PU. Inter- prediction processing unit 120 may output, as the motion information of the PU, a reference index indicating a position in RefPicListO or RefPicListl of the reference picture containing the reference region, a motion vector indicating a spatial
- Inter-prediction processing unit 120 may generate the predictive blocks of the PU based at least in part on actual or interpolated samples at the reference region indicated by the motion vector of the PU.
- inter-prediction processing unit 120 may search the reference pictures in RefPicListO for a reference region for the PU and may also search the reference pictures in RefPicListl for another reference region for the PU.
- Inter-prediction processing unit 120 may generate reference picture indexes indicating positions in RefPicListO and RefPicListl of the reference pictures containing the reference regions.
- inter-prediction processing unit 120 may generate motion vectors indicating spatial displacements between the reference locations associated with the reference regions and a prediction block of the PU.
- the motion information of the PU may include the reference indexes and the motion vectors of the PU.
- Inter-prediction processing unit 120 may generate the predictive blocks of the PU based at least in part on actual or interpolated samples at the reference region indicated by the motion vector of the PU.
- video encoder 20 may be configured to perform palette-based coding.
- the palette-based coding techniques may be configured to be used as a CU mode.
- the palette-based coding techniques may be configured to be used as a PU mode in the framework of HEVC.
- the disclosed processes described herein (throughout this disclosure) in the context of a CU mode may, additionally or alternatively, apply to PUs.
- these HEVC-based examples should not be considered a restriction or limitation of the palette-based coding techniques described herein, as such techniques may be applied to work independently or as part of other existing or yet to be developed systems/standards.
- the unit for palette coding can be square blocks, rectangular blocks or even regions of non- rectangular shape.
- Palette-based encoding unit 122 may perform palette-based encoding, e.g., for a CU or PU.
- palette -based encoding unit 122 may be configured to generate a palette including entries, each indicating at least one sample value, select sample values in a palette to represent sample values of at least some positions of a block of video data, and signal information associating at least some of the positions of the block of video data with entries in the palette corresponding, respectively, to the selected sample values.
- various functions are described as being performed by palette-based encoding unit 122, some or all of such functions may be performed by other processing units, or a combination of different processing units.
- palette-based encoding unit 122 may be outside prediction processing unit 100.
- palette-based encoding unit 122 may determine a palette predictor list including or consisting of one or more candidates. Each respective candidate in the palette predictor list may specify at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels. Each of the one or more reconstructed neighboring pixels may be in a line above or a column left of a current block of the video data.
- Palette-based encoding unit 122 may include, in a palette for the current block, at least one candidate in the palette predictor list.
- palette-based encoding unit 122 may signal, in a bitstream, one or more syntax elements indicating an index value for a pixel location within the current block, the index value corresponding to an entry in the palette.
- Intra-prediction processing unit 126 may generate predictive data for a PU by performing intra prediction on the PU.
- the predictive data for the PU may include predictive blocks for the PU and various syntax elements.
- Intra-prediction processing unit 126 may perform intra prediction on PUs in I slices, P slices, and B slices.
- intra-prediction processing unit 126 may use multiple intra prediction modes to generate multiple sets of predictive data for the PU.
- intra-prediction processing unit 126 may determine samples of a predictive block based on values of reference samples in neighboring blocks. The neighboring blocks may be above, above and to the right, above and to the left, or to the left of the PU, assuming a left-to-right, top-to-bottom encoding order for PUs, CUs, and CTUs.
- Intra-prediction processing unit 126 may use various numbers of intra prediction modes, e.g., 33 directional intra prediction modes. In some examples, the number of intra prediction modes may depend on the size of the region associated with the PU.
- Prediction processing unit 100 may select the predictive data for PUs of a CU from among the predictive data generated by inter-prediction processing unit 120 for the PUs or the predictive data generated by intra-prediction processing unit 126 for the PUs. In some examples, prediction processing unit 100 selects the predictive data for the PUs of the CU based on rate/distortion metrics of the sets of predictive data. The predictive blocks of the selected predictive data may be referred to herein as the selected predictive blocks.
- Residual generation unit 102 may generate, based on the coding blocks (e.g., luma, Cb and Cr coding blocks) of a CU and the selected predictive blocks (e.g., predictive luma, Cb and Cr blocks) of the PUs of the CU, residual blocks (e.g., luma, Cb and Cr residual blocks) of the CU. For instance, residual generation unit 102 may generate the residual blocks of the CU such that each sample in the residual blocks has a value equal to a difference between a sample in a coding block of the CU and a corresponding sample in a corresponding selected predictive sample block of a PU of the CU.
- residual blocks e.g., luma, Cb and Cr residual blocks
- Transform processing unit 104 may perform quad-tree partitioning to partition the residual blocks associated with a CU into transform blocks associated with TUs of the CU.
- a TU may be associated with a luma transform block and two chroma transform blocks.
- the sizes and positions of the luma and chroma transform blocks of TUs of a CU may or may not be based on the sizes and positions of prediction blocks of the PUs of the CU.
- a quad-tree structure known as a "residual quad-tree" (RQT) may include nodes associated with each of the regions.
- the TUs of a CU may correspond to leaf nodes of the RQT.
- Transform processing unit 104 may generate transform coefficient blocks for each TU of a CU by applying one or more transforms to the transform blocks of the TU. Transform processing unit 104 may apply various transforms to a transform block of a TU. For example, transform processing unit 104 may apply a discrete cosine transform (DCT), a directional transform, or a conceptually similar transform to a transform block. In some examples, transform processing unit 104 does not apply transforms to a transform block. In such examples, the transform block may be treated as a transform coefficient block.
- DCT discrete cosine transform
- Quantization unit 106 may quantize the transform coefficients in a coefficient block. The quantization process may reduce the bit depth associated with some or all of the transform coefficients. For example, an n-bit transform coefficient may be rounded down to an m-bit transform coefficient during quantization, where n is greater than m.
- Quantization unit 106 may quantize a coefficient block associated with a TU of a CU based on a quantization parameter (QP) value associated with the CU.
- QP quantization parameter
- Video encoder 20 may adjust the degree of quantization applied to the coefficient blocks associated with a CU by adjusting the QP value associated with the CU. Quantization may introduce loss of information, thus quantized transform coefficients may have lower precision than the original ones.
- Inverse quantization unit 108 and inverse transform processing unit 110 may apply inverse quantization and inverse transforms to a coefficient block, respectively, to reconstruct a residual block from the coefficient block.
- Reconstruction unit 112 may add the reconstructed residual block to corresponding samples from one or more predictive sample blocks generated by prediction processing unit 100 to produce a reconstructed transform block associated with a TU. By reconstructing transform blocks for each TU of a CU in this way, video encoder 20 may reconstruct the coding blocks of the CU.
- Filter unit 114 may perform one or more deblocking operations to reduce blocking artifacts in the coding blocks associated with a CU.
- Decoded picture buffer 116 may store the reconstructed coding blocks after filter unit 114 performs the one or more deblocking operations on the reconstructed coding blocks.
- Inter-prediction processing unit 120 may use a reference picture containing the reconstructed coding blocks to perform inter prediction on PUs of other pictures.
- intra-prediction processing unit 126 may use reconstructed coding blocks in decoded picture buffer 116 to perform intra prediction on other PUs in the same picture as the CU.
- Entropy encoding unit 118 may receive data from other functional components of video encoder 20. For example, entropy encoding unit 118 may receive coefficient blocks from quantization unit 106 and may receive syntax elements from prediction processing unit 100. Entropy encoding unit 118 may perform one or more entropy encoding operations on the data to generate entropy-encoded data.
- entropy encoding unit 118 may perform a C ABAC operation, a context-adaptive variable length coding (CAVLC) operation, a variable-to-variable (V2V) length coding operation, a syntax-based context-adaptive binary arithmetic coding (SBAC) operation, a Probability Interval Partitioning Entropy (PIPE) coding operation, an Exponential-Golomb encoding operation, or another type of entropy encoding operation on the data.
- Video encoder 20 may output a bitstream that includes entropy-encoded data generated by entropy encoding unit 118.
- the bitstream may include data that represents a RQT for a CU.
- FIG. 6 is a block diagram illustrating an example video decoder 30 that is configured to implement the techniques of this disclosure.
- FIG. 6 is provided for purposes of explanation and is not limiting on the techniques as broadly exemplified and described in this disclosure.
- this disclosure describes video decoder 30 in the context of HEVC coding.
- the techniques of this disclosure may be applicable to other coding standards or methods.
- Video decoder 30 represents an example of a device configured to perform techniques for palette -based video coding in accordance with various examples described in this disclosure.
- video decoder 30 may be configured to selectively decode various blocks of video data, such as CUs or PUs in HEVC coding, using either palette-based coding or non-palette based coding.
- Non-palette based coding modes may refer to various inter-predictive temporal coding modes or intra-predictive spatial coding modes, such as the various coding modes specified by HEVC Version 1.
- Video decoder 30 may be configured to generate a palette having entries indicating pixel values, receive information associating at least some positions of a block of video data with entries in the palette, select pixel values in the palette based on the information, and reconstruct pixel values of the block based on the selected pixel values.
- video decoder 30 includes an entropy decoding unit 150, video data memory 151, a prediction processing unit 152, an inverse quantization unit 154, an inverse transform processing unit 156, a reconstruction unit 158, a filter unit 160, and a decoded picture buffer 162.
- Prediction processing unit 152 includes a motion compensation unit 164 and an intra-prediction processing unit 166.
- Video decoder 30 also includes a palette -based decoding unit 165 configured to perform various aspects of the palette-based coding techniques described in this disclosure. In other examples, video decoder 30 may include more, fewer, or different functional components.
- Video data memory 151 may store video data, such as an encoded video bitstream, to be decoded by the components of video decoder 30.
- the video data stored in video data memory 151 may be obtained, for example, from channel 16, e.g., from a local video source, such as a camera, via wired or wireless network communication of video data, or by accessing physical data storage media.
- Video data memory 151 may form a coded picture buffer (CPB) that stores encoded video data from an encoded video bitstream.
- Decoded picture buffer 162 may be a reference picture memory that stores reference video data for use in decoding video data by video decoder 30, e.g., in intra- or inter-coding modes.
- Video data memory 151 and decoded picture buffer 162 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. Video data memory 151 and decoded picture buffer 162 may be provided by the same memory device or separate memory devices. In various examples, video data memory 151 may be on-chip with other components of video decoder 30, or off-chip relative to those components.
- DRAM dynamic random access memory
- SDRAM synchronous DRAM
- MRAM magnetoresistive RAM
- RRAM resistive RAM
- Video data memory 151 and decoded picture buffer 162 may be provided by the same memory device or separate memory devices. In various examples, video data memory 151 may be on-chip with other components of video decoder 30, or off-chip relative to those components.
- a coded picture buffer may receive and store encoded video data (e.g., NAL units) of a bitstream.
- Entropy decoding unit 150 may receive encoded video data (e.g., NAL units) from the CPB and may parse the NAL units to decode syntax elements. Entropy decoding unit 150 may entropy decode entropy-encoded syntax elements in the NAL units.
- Prediction processing unit 152, inverse quantization unit 154, inverse transform processing unit 156, reconstruction unit 158, and filter unit 160 may generate decoded video data based on the syntax elements extracted from the bitstream.
- the NAL units of the bitstream may include coded slice NAL units.
- entropy decoding unit 150 may extract and entropy decode syntax elements from the coded slice NAL units.
- Each of the coded slices may include a slice header and slice data.
- the slice header may contain syntax elements pertaining to a slice.
- the syntax elements in the slice header may include a syntax element that identifies a PPS associated with a picture that contains the slice.
- video decoder 30 may perform a reconstruction operation on a non-partitioned CU. To perform the reconstruction operation on a non-partitioned CU, video decoder 30 may perform a reconstruction operation on each TU of the CU. By performing the reconstruction operation for each TU of the CU, video decoder 30 may reconstruct residual blocks of the CU.
- inverse quantization unit 154 may inverse quantize, i.e., de-quantize, coefficient blocks associated with the TU.
- Inverse quantization unit 154 may use a QP value associated with the CU of the TU to determine a degree of quantization and, likewise, a degree of inverse quantization for inverse quantization unit 154 to apply. That is, the compression ratio, i.e., the ratio of the number of bits used to represent original sequence and the compressed one, may be controlled by adjusting the value of the QP used when quantizing transform coefficients.
- the compression ratio may also depend on the method of entropy coding employed.
- inverse transform processing unit 156 may apply one or more inverse transforms to the coefficient block in order to generate a residual block associated with the TU.
- inverse transform processing unit 156 may apply an inverse DCT, an inverse integer transform, an inverse Karhunen-Loeve transform (KLT), an inverse rotational transform, an inverse directional transform, or another inverse transform to the coefficient block.
- KLT Karhunen-Loeve transform
- intra-prediction processing unit 166 may perform intra prediction to generate predictive blocks for the PU.
- Intra-prediction processing unit 166 may use an intra prediction mode to generate the predictive blocks (e.g., predictive luma, Cb and Cr blocks) for the PU based on the prediction blocks of spatially-neighboring PUs.
- Intra-prediction processing unit 166 may determine the intra prediction mode for the PU based on one or more syntax elements decoded from the bitstream.
- Prediction processing unit 152 may construct a first reference picture list (RefPicListO) and a second reference picture list (RefPicListl) based on syntax elements extracted from the bitstream. Furthermore, if a PU is encoded using inter prediction, entropy decoding unit 150 may extract motion information for the PU. Motion compensation unit 164 may determine, based on the motion information of the PU, one or more reference regions for the PU. Motion compensation unit 164 may generate, based on samples blocks at the one or more reference blocks for the PU, predictive blocks (e.g., predictive luma, Cb and Cr blocks) for the PU.
- predictive blocks e.g., predictive luma, Cb and Cr blocks
- Reconstruction unit 158 may use the transform blocks (e.g., luma, Cb and Cr transform blocks) of TUs of a CU and the predictive blocks (e.g., predictive luma, Cb and Cr blocks) of the PUs of the CU, i.e., either intra-prediction data or inter-prediction data, as applicable, to reconstruct the coding blocks (e.g., luma, Cb and Cr coding blocks) of the CU.
- the transform blocks e.g., luma, Cb and Cr transform blocks
- the predictive blocks e.g., predictive luma, Cb and Cr blocks
- reconstruction unit 158 may add samples of the transform blocks (e.g., luma, Cb and Cr transform blocks) to corresponding samples of the predictive blocks (e.g., predictive luma, Cb and Cr blocks) to reconstruct the coding blocks (e.g., luma, Cb and Cr coding blocks) of the CU.
- transform blocks e.g., luma, Cb and Cr transform blocks
- predictive blocks e.g., predictive luma, Cb and Cr blocks
- Filter unit 160 may perform a deblocking operation to reduce blocking artifacts associated with the coding blocks (e.g., luma, Cb and Cr coding blocks) of the CU.
- Video decoder 30 may store the coding blocks (e.g., luma, Cb and Cr coding blocks) of the CU in decoded picture buffer 162.
- Decoded picture buffer 162 may provide reference pictures for subsequent motion compensation, intra prediction, and
- video decoder 30 may perform, based on the blocks (e.g., luma, Cb and Cr blocks) in decoded picture buffer 162, intra prediction or inter prediction operations on PUs of other CUs. In this way, video decoder 30 may extract, from the bitstream, transform coefficient levels of a significant coefficient block, inverse quantize the transform coefficient levels, apply a transform to the transform coefficient levels to generate a transform block, generate, based at least in part on the transform block, a coding block, and output the coding block for display.
- blocks e.g., luma, Cb and Cr blocks
- intra prediction or inter prediction operations on PUs of other CUs.
- video decoder 30 may extract, from the bitstream, transform coefficient levels of a significant coefficient block, inverse quantize the transform coefficient levels, apply a transform to the transform coefficient levels to generate a transform block, generate, based at least in part on the transform block, a coding block, and output the coding block for display.
- Palette-based decoding unit 165 may perform palette-based decoding when a palette -based decoding mode is selected, e.g., for a CU or PU.
- palette-based decoding unit 165 may be configure to generate a palette having entries indicating pixel values, receive information associating at least some positions of a block of video data with entries in the palette, select pixel values in the palette based on the information, and reconstruct pixel values of the block based on the selected pixel values.
- various functions are described as being performed by palette -based decoding unit 165, some or all of such functions may be performed by other processing units, or a combination of different processing units.
- palette-based decoding unit 165 may determine a palette predictor list including or consisting of one or more candidates. Each respective candidate in the palette predictor list may specify at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels. Each of the one or more reconstructed neighboring pixels may be in a line above or a column left of a current block of the video data. Furthermore, palette-based decoding unit 165 may include, in a palette for the current block, at least one candidate in the palette predictor list. Palette-based decoding unit 165 may obtain, based on one or more syntax elements signaled in a bitstream, an index value for a pixel of the current block.
- palette-based decoding unit 165 may identify a palette entry in the palette that corresponds to the index value for the pixel. Additionally, palette -based decoding unit 165 may determine, based on the at least one sample value specified by the identified palette entry, at least one reconstructed sample value of the pixel. By determining reconstructed sample values of pixels of the current block, palette -based decoding unit 165 may reconstruct the current block.
- FIG. 7 is a flowchart illustrating an example decoding operation, in accordance with a technique of this disclosure. The flowcharts of this disclosure are provided as examples. In other examples, the operations shown in the flowcharts may include more, fewer, or different actions. Moreover, in other examples, actions may be performed in different orders or in parallel. FIG. 7 is described from the context of video decoder 30, although other types of devices or decoders may also be used to perform the actions shown in FIG. 7.
- video decoder 30 determines a palette predictor list comprising or consisting of one or more candidates (700). Each respective candidate in the palette predictor list may specify at least one sample value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels. Each of the one or more reconstructed neighboring pixels is in a line above or a column left of a current block of the video data. Video decoder 30 may include, in a palette for the current block, at least one candidate in the palette predictor list (702).
- video decoder 30 may obtain, based on one or more syntax elements (e.g., a palette_index syntax element) signaled in a bitstream, an index value for a pixel of the current block (704). Additionally, video decoder 30 may identify a palette entry in the palette that corresponds to the index value for the pixel (706). Video decoder 30 may determine, based on the at least one sample value specified by the identified palette entry, at least one reconstructed sample value of the pixel (708).
- syntax elements e.g., a palette_index syntax element
- FIG. 8 is a flowchart illustrating an example encoding operation, in accordance with a technique of this disclosure.
- FIG. 7 is described from the context of video encoder 20, although other types of devices or encoders may also be used to perform the actions shown in FIG. 8.
- video encoder 20 determines a palette predictor list comprising or consisting one or more candidates (800).
- each respective candidate in the palette predictor list specifies at least one value of a different respective reconstructed neighboring pixel from among one or more reconstructed neighboring pixels.
- each of the one or more reconstructed neighboring pixels is adjacent to a current block of the video data.
- video encoder 20 includes, in a palette for the current block, at least one candidate in the palette predictor list (802).
- Video encoder 20 signals, in a bitstream, one or more syntax elements indicating an index value for a pixel of the current block, the index value corresponding to an entry in the palette (804).
- FIG. 9 is a flowchart illustrating an example operation for generating a palette, in accordance with a technique of this disclosure.
- a video coder e.g., a video encoder or a video decoder
- FIG. 10 described in detail elsewhere in this disclosure, is an example operation a video decoder may use to generate the original palette predictor list.
- FIG.12 described in detail elsewhere in this disclosure, is an example operation a video encoder may use to generate the original palette predictor list.
- the video coder generates an extra palette predictor list (902).
- FIG. 13, described in detail elsewhere in this disclosure is an example operation of a video encoder to generate the extra palette predictor list.
- FIG. 11 described in detail elsewhere in this disclosure, is an example operation of a video decoder to generate the extra palette predictor list.
- the video coder applies a pruning process to the original palette predictor list and the extra palette predictor list (904). In other examples, the video coder does not perform the pruning process.
- the pruning process may remove, from the extra palette predictor list, a particular candidate in the extra palette predictor list if the particular candidate matches a candidate in the original palette predictor list.
- the video coder determines, based on a metric of similarity of a first candidate in the extra palette predictor list and a second candidate in the original palette predictor list, whether to remove the first candidate from the extra palette predictor list.
- the video coder may remove the first candidate from the extra palette predictor list responsive to the determination.
- the video coder obtains, from the bitstream, syntax elements (e.g., palette_entries syntax elements) specifying one or more additional palette entries (906).
- syntax elements e.g., palette_entries syntax elements
- the video coder includes, in the palette for the current block, palette entries corresponding to remaining candidates in the original palette predictor list, the extra palette predictor list, and the additional palette entries (908).
- the video coder does not obtain any syntax elements specifying additional palette entries or include such additional palette entries in the palette.
- the video coder orders the palette entries in the palette for the current block as follows: palette entries specifying candidates in the extra palette predictor list, palette entries specifying candidates in the original palette predictor list, and the additional palette entries.
- the video coder orders the palette entries in the palette for the current block as follows: palette entries specifying candidates in the original palette predictor list, palette entries specifying candidates in the extra palette predictor list, and the additional palette entries.
- FIG. 10 is a flowchart illustrating an example operation of video decoder 30 to generate an original palette predictor list, in accordance with a technique of this disclosure.
- FIG. 10 is described from the context of video decoder 30, although other types of devices or decoders may also be used to perform the actions shown in FIG. 10.
- the operation of FIG. 10 may be an instance of action 900 of FIG. 9 to determine an original palette predictor list.
- video decoder 30 for each respective palette entry of a previously-coded block, video decoder 30 includes a respective candidate in the original palette predictor list (1000).
- the respective candidate specifies the same pixel as the respective palette entry.
- video decoder 30 may determine the original palette predictor list such that the original palette predictor list comprises one or more candidates, each respective candidate in the original palette predictor list specifying a palette entry in a palette for the previously-coded block of the video data.
- the original palette predictor list may also include one or more candidates based on entries in a palette for a block coded prior to the previously-coded block, as described in JCTVC-R0082.
- video decoder 30 may obtain, from the bitstream, a binary vector for the original palette predictor list (1002).
- the binary vector for the original palette predictor list comprises one or more binary vector syntax elements (e.g., previous_palette_entry_flag syntax elements). Each of the one or more binary vector syntax elements corresponds to a different candidate in the original palette predictor list.
- video decoder 30 may perform actions (1004)-(1008) for each respective candidate in the original palette predictor list. Particularly, video decoder 30 may determine whether the binary vector syntax element corresponding to the respective candidate in the original palette predictor list indicates the respective candidate is reused in the current block (1004). Responsive to determining the binary vector syntax element corresponding to the respective candidate in the original palette predictor list indicates the respective candidate is reused in the current block ("YES" of 1004), video decoder 30 retains, in the original palette predictor list, the respective candidate (1006).
- video decoder 30 omits, from the original palette predictor list, the respective candidate (1008).
- the binary vector "01001" indicates that the second and fifth candidates in the original palette predictor list are retained in the original palette predictor list and the first, third, and fourth candidates in the original palette predictor list are ultimately omitted from the original palette predictor list.
- video decoder 30 omits the respective candidate from the original palette predictor list, video decoder 30 effectively determines that the respective candidate is not included in the palette of the current block.
- video decoder 30 may determine, based on the binary vector syntax element corresponding to the respective candidate in the original palette predictor list, the respective candidate in the original palette predictor list is not included in the palette for the current block.
- FIG. 11 is a flowchart illustrating an example operation of video decoder 30 to generate an extra palette predictor list, in accordance with a technique of this disclosure.
- FIG. 11 is described from the context of video decoder 30, other types of devices or decoders may also be used to perform the actions shown in FIG. 11.
- the operation of FIG. 11 may be an instance of action 902 of FIG. 9 to determine an extra palette predictor list.
- video decoder 30 For each respective neighbor pixel of a predefined set of neighbor pixels in a line above or a column left of a current block, video decoder 30 generates, in the extra palette predictor list, a respective candidate specifying the value of the respective neighbor pixel (1100).
- video decoder 30 may remove redundant candidates from the extra palette predictor list (1102). For instance, video decoder 30 may remove matching candidates from the extra palette predictor list. In one example, as part of removing redundant candidates from the extra palette predictor list, video decoder 30 may determine, based on a metric of similarity of a first candidate in the palette predictor list and a second candidate in the palette predictor list, whether to remove the first candidate from the palette predictor list. In this example, video decoder 30 may remove the first candidate from the palette predictor list responsive to the determination.
- video decoder 30 may determine whether a number of candidates in the extra palette predictor list exceeds a threshold (1104). Responsive to determining the number of candidates in the extra palette predictor list exceeds the threshold ("YES" of 1104), video decoder 30 may truncate the extra palette predictor list such that a size of the extra palette predictor list is limited to a particular number of candidates (e.g., the threshold) (1106). Responsive to determining the number of candidates in the extra palette predictor list does not exceed the threshold (“NO" of 1104), video decoder 30 may refrain from truncating the extra palette predictor list (1108).
- video decoder 30 may obtain, from a bitstream, a binary vector for the extra palette predictor list (1110).
- the binary vector for the extra palette predictor list includes one or more syntax elements. Each of the one or more syntax elements corresponds to a different candidate in the palette predictor list.
- video decoder 30 may perform actions (1112) through (1116) for each respective candidate in the extra palette predictor list. Particularly, video decoder 30 determines whether the syntax element corresponding to the respective candidate indicates the respective candidate is reused in the current block (1112). Responsive to determining the syntax element corresponding to the respective candidate indicates the respective candidate is reused in the current block ("YES" of 1112), video decoder 30 retains, in the extra palette predictor list, the respective candidate (1114). Responsive to determining the syntax element corresponding to the respective candidate indicates the candidate is not reused in the current block ("NO" of 1112), video decoder 30 may omit, from the extra palette predictor list, the respective candidate (1116).
- the binary vector "01001" indicates the second and fifth candidates in the extra palette predictor list (e.g., the second and fifth neighboring reconstructed pixels) are retained in the extra palette predictor list and the first, third, and fourth candidates in the extra palette predictor list (e.g., the first, third, and fourth neighboring reconstructed pixels) are ultimately omitted from the extra palette predictor list.
- FIG. 12 is a flowchart illustrating an example operation of video encoder 20 to generate an original palette predictor list, in accordance with a technique of this disclosure.
- FIG. 12 is described from the context of video encoder 20, other types of devices or decoders may also be used to perform the actions shown in FIG. 12.
- the operation of FIG. 12 may be an instance of action 900 of FIG. 9 to determine an original palette predictor list.
- video encoder 20 for each respective palette entry of a previously-coded block, video encoder 20 includes a respective candidate in the original palette predictor list (1200). The respective candidate specifies the same pixel as the respective palette entry.
- video encoder 20 may determine the original palette predictor list such that the original palette predictor list comprises one or more candidates, each respective candidate in the original palette predictor list specifying a palette entry in the palette for the previously-coded block of the video data.
- the original palette predictor list may also include one or more candidates based on entries in a palette for a block coded prior to the previously-coded block, as described in JCTVC-R0082.
- the video encoder 20 may signal, in the bitstream, a binary vector for the original palette predictor list (1202).
- the binary vector for the original palette predictor list comprises one or more binary vector syntax elements. Each of the one or more binary vector syntax elements corresponds to a different candidate in the original palette predictor list.
- video encoder 20 may perform actions (1204)-(1208) for each respective candidate in the original palette predictor list. Particularly, video encoder 20 may determine whether the binary vector syntax element corresponding to the respective candidate in the original palette predictor list indicates respective candidate is reused in the current block (1204). Responsive to determining the binary vector syntax element corresponding to the respective candidate in the original palette predictor list indicates that the candidate is reused in the current block ("YES" of 1204), video encoder 20 retains, in the original palette predictor list, the respective candidate (1206).
- video encoder 20 omits, from the original palette predictor list, the respective candidate (1208). Because video encoder 20 omits the respective candidate from the original palette predictor list, video encoder 20 effectively determines the respective candidate is not included in the palette of the current block. Thus, in the example of FIG. 12, for each respective candidate in the original palette predictor list, video encoder 20 may determine, based on the binary vector syntax element corresponding to the respective candidate in the original palette predictor list, the respective candidate in the original palette predictor list is not included in the palette for the current block.
- FIG. 13 is a flowchart illustrating an example operation of video encoder 20 to generate an extra palette predictor list, in accordance with a technique of this disclosure.
- FIG. 13 is described from the context of video encoder 20, other types of devices or decoders may also be used to perform the actions shown in FIG. 13.
- the operation of FIG. 13 may be an instance of action 902 of FIG. 9 to determine an extra palette predictor list.
- video encoder 20 For each respective neighbor pixel of a predefined set of neighbor pixels in a line above or a column left of a current block, video encoder 20 generates, in the extra palette predictor list, a respective candidate specifying the value of the respective neighbor pixel (1300).
- video encoder 20 may remove redundant candidates from the extra palette predictor list (1302). For instance, video encoder 20 may remove matching candidates from the extra palette predictor list. In one example, as part of removing redundant candidates from the extra palette predictor list, video encoder 20 may determine, based on a metric of similarity of a first candidate in the palette predictor list and a second candidate in the palette predictor list, whether to remove the first candidate from the palette predictor list. In this example, video encoder 20 may remove the first candidate from the palette predictor list responsive to the determination.
- video encoder 20 may determine whether a number of candidates in the extra palette predictor list exceeds a threshold (1304). Responsive to determining the number of candidates in the extra palette predictor list exceeds the threshold ("YES" of 1304), video encoder 20 may truncate the extra palette predictor list such that a size of the extra palette predictor list is limited to a particular number of candidates (e.g., the threshold) (1306). Responsive to determining the number of candidates in the extra palette predictor list does not exceed the threshold (“NO" of 1304), video encoder 20 may refrain from truncating the extra palette predictor list (1308).
- a threshold (1304). Responsive to determining the number of candidates in the extra palette predictor list exceeds the threshold (“YES" of 1304), video encoder 20 may truncate the extra palette predictor list such that a size of the extra palette predictor list is limited to a particular number of candidates (e.g., the threshold) (1306). Responsive to determining the number
- video encoder 20 may signal, in a bitstream, a binary vector for the extra palette predictor list (1310).
- the binary vector for the extra palette predictor list includes one or more syntax elements. Each of the one or more syntax elements corresponds to a different candidate in the palette predictor list.
- video encoder 20 may perform actions (1312) through (1316) for each respective candidate in the extra palette predictor list. Particularly, video encoder 20 determines whether the syntax element corresponding to the respective candidate indicates the respective candidate is re -used in the current block (1312). Responsive to determining the syntax element corresponding to the respective candidate indicates the respective candidate is reused in the current block ("YES" of 1312), video encoder 20 retains, in the extra palette predictor list, the respective candidate (1314).
- video encoder 20 may omit, from the extra palette predictor list, the respective candidate (1316). Because video encoder 20 omits the respective candidate from the extra palette predictor list, video encoder 20 effectively determines the respective candidate is not included in the palette of the current block. Thus, in the example of FIG. 13, for each respective candidate in the extra palette predictor list, video encoder 20 may determine, based on the binary vector syntax element corresponding to the respective candidate in the extra palette predictor list, the respective candidate in the extra palette predictor list is not included in the palette for the current block.
- Example 1 A method of decoding video data, the method comprising:
- determining a palette predictor list that comprises one or more candidates, each respective candidate in the palette predictor list specifying a value of a different reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more reconstructed neighboring pixels is adjacent to a current block of the video data; obtaining, from a bitstream, a binary vector comprising one or more syntax elements, wherein each of the one or more syntax elements corresponds to a different candidate in the palette predictor list; for each respective candidate in the palette predictor list: if the syntax element corresponding to the respective candidate indicates that a palette for a current block of the video data includes the value specified by the respective candidate, including, in the palette, a palette entry specifying the value specified by the respective candidate; and if the syntax element corresponding to the respective candidate indicates that the palette does not include the value specified by the respective candidate, omitting, from the palette, the palette entry specifying the value specified by the respective candidate; obtaining, based on one or more additional syntax elements signaled in
- Example 2 The method of example 1, wherein the reconstructed neighboring pixels include reconstructed neighboring pixels from a line above the current block.
- Example 3 The method of examples 1 or 2, wherein the reconstructed neighboring pixels include reconstructed neighboring pixels from a column left of the current block.
- Example 4 The method of example 1, wherein the reconstructed neighboring pixels include at least one of: a below-left reconstructed neighboring pixel, a left reconstructed neighboring pixel, and above-left reconstructed neighboring pixel, an above reconstructed neighboring pixel, or an above-right reconstructed neighboring pixel.
- Example 5 The method of example 1, wherein the reconstructed neighboring pixels include each of: a below-left reconstructed neighboring pixel, a left reconstructed neighboring pixel, and above-left reconstructed neighboring pixel, an above
- Example 6 The method of any of examples 1-5, wherein generating the first palette predictor list comprises: removing one or more redundant candidates from the first palette predictor list.
- Example 7 The method of any of examples 1-6, wherein generating the first palette predictor list comprises: determining, based on a metric of similarity of a first candidate in the palette predictor list and a second candidate in the palette predictor list, whether to remove the first candidate from the palette predictor list; and removing the first candidate from the palette predictor list responsive to the determination.
- Example 8 The method of any of examples 1-7, wherein the one or more neighboring pixels include a plurality of neighboring pixels, and generating the first palette predictor list comprises: ranking two or more of the plurality of reconstructed neighboring pixels according to frequency of values of the plurality of the reconstructed neighboring pixels.
- Example 9 The method of any of examples 1-8, wherein determining the palette predictor list comprises: truncating the palette predictor list such that a size of the palette predictor list is limited to a particular number of candidates.
- Example 10 The method of any of examples 1-9, wherein in-loop filtering is not applied to the values of the one or more reconstructed neighboring pixels specified by the candidates in the palette predictor list.
- Example 11 The method of any of examples 1-10, wherein the palette predictor list is a first palette predictor list and the binary vector is a first binary vector, the method further comprising: determining a second palette predictor list that comprises one or more candidates, each respective candidate in the second palette predictor list specifying a palette entry in a palette for a previously-coded block of the video data; obtaining a second binary vector from the bitstream, the second binary vector comprising one or more second binary vector syntax elements, wherein each of the one or more second binary vector syntax elements corresponds to a different candidate in the second palette predictor list; and for each respective candidate in the second palette predictor list: if the second binary vector syntax element corresponding to the respective candidate in the second palette predictor list indicates that the palette for the current block includes the palette entry specified by the respective candidate, including, in the palette for the current block, the palette entry specified by the respective candidate; and if the second binary vector syntax element corresponding to the respective candidate in the second palette predictor list indicates that the palette for the current block does not include
- Example 12 The method of example 11, further comprising: applying a pruning process to the first and second palette predictor lists.
- Example 13 The method of example 12, wherein applying the pruning process to the first and second palette predictor lists comprises: removing, from the first palette predictor list, a particular candidate in the first palette predictor list if the particular candidate matches a candidate in the second palette predictor list.
- Example 14 The method of examples 12 or 13, wherein applying the pruning process to the first and second palette predictor lists comprises: determining, based on a metric of similarity of a first candidate in the first palette predictor list and a second candidate in the second palette predictor list, whether to remove the first candidate from the first palette predictor list; and removing the first candidate from the first palette predictor list responsive to the determination.
- Example 15 The method of any of examples 11-14, further comprising:
- Example 16 The method of example 15, wherein the palette entries in the palette for the current block are ordered as follows: palette entries that specify values specified by candidates in the first palette predictor list, the additional palette entries, and palette entries specified by the second palette predictor list.
- Example 17 The method of example 15, wherein the palette entries in the palette for the current block are ordered as follows: palette entries that specify values specified by candidates in the first palette predictor list, palette entries specified by the second palette predictor list, and the additional palette entries.
- Example 18 The method of any of examples 1-17, wherein candidates of the palette predictor list are not included in a palette predictor list used to determine a palette for a block of the video data processed after the current block.
- Example 19 A method of encoding video data, the method comprising:
- determining a palette predictor list that comprises one or more candidates, each respective candidate in the palette predictor list specifying a value of a different reconstructed neighboring pixel from among one or more reconstructed neighboring pixels, wherein each of the one or more reconstructed neighboring pixels is adjacent to a current block of the video data; signaling, in a bitstream, a binary vector comprising one or more syntax elements, wherein each of the one or more syntax elements corresponds to a different candidate in the palette predictor list; for each respective candidate in the palette predictor list: if the syntax element corresponding to the respective candidate indicates that a palette for a current block of the video data includes the value specified by the respective candidate, the palette includes a palette entry specifying the value specified by the respective candidate; and if the syntax element corresponding to the respective candidate indicates that the palette does not include the value specified by the respective candidate, the palette omits the palette entry specifying the value specified by the respective candidate; and signaling, in the bitstream, one or more syntax elements indicating an index value for a sample
- Example 20 The method of example 19, wherein the reconstructed neighboring pixels include reconstructed neighboring pixels from a line above the current block.
- Example 21 The method of examples 19 or 20, wherein the reconstructed neighboring pixels include reconstructed neighboring pixels from a column left of the current block.
- Example 22 The method of example 19, wherein the reconstructed neighboring pixels include at least one of: a below-left reconstructed neighboring pixel, a left reconstructed neighboring pixel, and above-left reconstructed neighboring pixel, an above reconstructed neighboring pixel, or an above -right reconstructed neighboring pixel.
- Example 23 The method of example 19, wherein the reconstructed neighboring pixels include each of: a below-left reconstructed neighboring pixel, a left reconstructed neighboring pixel, and above-left reconstructed neighboring pixel, an above reconstructed neighboring pixel, and an above-right reconstructed neighboring pixel.
- Example 24 The method of any of examples 19-23, wherein generating the first palette predictor list comprises: removing one or more redundant candidates from the first palette predictor list.
- Example 25 The method of any of examples 19-24, wherein generating the first palette predictor list comprises: determining, based on a metric of similarity of a first candidate in the palette predictor list and a second candidate in the palette predictor list, whether to remove the first candidate from the palette predictor list; and removing the first candidate from the palette predictor list responsive to the determination.
- Example 26 The method of any of examples 19-25, wherein the one or more neighboring pixels include a plurality of neighboring pixels, and generating the first palette predictor list comprises: ranking two or more of the plurality of reconstructed neighboring pixels according to frequency of values of the plurality of the reconstructed neighboring pixels.
- Example 27 The method of any of examples 19-26, wherein determining the palette predictor list comprises: truncating the palette predictor list such that a size of the palette predictor list is limited to a particular number of candidates.
- Example 28 The method of any of examples 19-27, wherein in-loop filtering is not applied to the values of the one or more reconstructed neighboring pixels specified by the candidates in the palette predictor list.
- Example 29 The method of any of examples 19-28, wherein the palette predictor list is a first palette predictor list and the binary vector is a first binary vector, the method further comprising: determining a second palette predictor list that comprises one or more candidates, each respective candidate in the second palette predictor list specifying a palette entry in a palette for a previously-coded block of the video data; signaling a second binary vector in the bitstream, the second binary vector comprising one or more second binary vector syntax elements, wherein each of the one or more second binary vector syntax elements corresponds to a different candidate in the second palette predictor list; and for each respective candidate in the second palette predictor list: if the second binary vector syntax element corresponding to the respective candidate in the second palette predictor list indicates that the palette for the current block includes the palette entry specified by the respective candidate, the palette for the current block includes the palette entry specified by the respective candidate; and if the second binary vector syntax element corresponding to the respective candidate in the second palette predictor list indicates that the palette for the current block does not include the
- Example 30 The method of example 29, further comprising: applying a pruning process to the first and second palette predictor lists.
- Example 31 The method of example 30, wherein applying the pruning process to the first and second palette predictor lists comprises: removing, from the first palette predictor list, a particular candidate in the first palette predictor list if the particular candidate matches a candidate in the second palette predictor list.
- Example 32 The method of examples 30 or 31, wherein applying the pruning process to the first and second palette predictor lists comprises: determining, based on a metric of similarity of a first candidate in the first palette predictor list and a second candidate in the second palette predictor list, whether to remove the first candidate from the first palette predictor list; and removing the first candidate from the first palette predictor list responsive to the determination.
- Example 33 The method of any of examples 29-32, further comprising:
- Example 34 The method of example 33, wherein the palette entries in the palette for the current block are ordered as follows: palette entries that specify values specified by candidates in the first palette predictor list, the additional palette entries, and palette entries specified by the second palette predictor list.
- Example 35 The method of example 33, wherein the palette entries in the palette for the current block are ordered as follows: palette entries that specify values specified by candidates in the first palette predictor list, palette entries specified by the second palette predictor list, and the additional palette entries.
- Example 36 The method of any of examples 19-35, wherein candidates of the palette predictor list are not included in a palette predictor list used to determine a palette for a block of the video data processed after the current block.
- Example 37 A device configured to decode video data, the device comprising: a memory configured to store the video data; and one or more processors configured to perform the methods of any of examples 1-18.
- Example 38 A device configured to encode video data, the device comprising: a memory configured to store the video data; and one or more processors configured to perform the methods of any of examples 19-36.
- Example 39 A device configured to decode video data, the device comprising means for performing the methods of any of examples 1-18.
- Example 40 A device configured to encode video data, the device comprising means for performing the methods of any of examples 19-36.
- Example 41 A computer-readable storage medium having instructions stored thereon that when executed cause one or more processors of a device to perform the methods of any of examples 1-18.
- Example 42 A computer-readable storage medium having instructions stored thereon that when executed cause one or more processors of a device to perform the methods of any of examples 19-36.
- video encoder 20 (FIGS. 1 and 5) and/or video decoder 30 (FIGS. 1 and 6), both of which may be generally referred to as a video coder.
- video decoder 30 (FIGS. 1 and 6), both of which may be generally referred to as a video coder.
- video coding may refer to video encoding or video decoding, as applicable.
- 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, a computer-readable medium and executed by a hardware-based processing unit.
- Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol.
- computer-readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave.
- Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure.
- a computer program product may include a computer-readable medium.
- such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. 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 are included in the definition of medium.
- DSL digital subscriber line
- 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 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 gate arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
- DSPs digital signal processors
- ASICs application specific integrated circuits
- FPGAs field programmable gate 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)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020177000528A KR20170031133A (en) | 2014-07-11 | 2015-07-10 | Advanced palette prediction and signaling |
JP2017500903A JP2017527168A (en) | 2014-07-11 | 2015-07-10 | Advanced palette prediction and signaling |
CN201580036989.4A CN106664429A (en) | 2014-07-11 | 2015-07-10 | Advanced palette prediction and signaling |
EP15745032.1A EP3167615A1 (en) | 2014-07-11 | 2015-07-10 | Advanced palette prediction and signaling |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201462023436P | 2014-07-11 | 2014-07-11 | |
US62/023,436 | 2014-07-11 | ||
US14/795,734 | 2015-07-09 | ||
US14/795,734 US9955157B2 (en) | 2014-07-11 | 2015-07-09 | Advanced palette prediction and signaling |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016007832A1 true WO2016007832A1 (en) | 2016-01-14 |
Family
ID=53765550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2015/039904 WO2016007832A1 (en) | 2014-07-11 | 2015-07-10 | Advanced palette prediction and signaling |
Country Status (6)
Country | Link |
---|---|
US (1) | US9955157B2 (en) |
EP (1) | EP3167615A1 (en) |
JP (1) | JP2017527168A (en) |
KR (1) | KR20170031133A (en) |
CN (1) | CN106664429A (en) |
WO (1) | WO2016007832A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3759689A4 (en) * | 2018-09-14 | 2022-03-16 | Tencent America LLC | Method and device for decoding with palette mode |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015194187A1 (en) | 2014-06-20 | 2015-12-23 | Sharp Kabushiki Kaisha | Harmonized palette coding |
US9986248B2 (en) * | 2015-01-29 | 2018-05-29 | Qualcomm Incorporated | Palette mode coding for video coding |
US10506244B2 (en) | 2015-03-06 | 2019-12-10 | Qualcomm Incorporated | Method and apparatus for video coding using adaptive tile sizes |
CN107534782B (en) * | 2015-04-08 | 2020-09-08 | 寰发股份有限公司 | Palette mode coding and decoding method in video coding and decoding |
US10924750B2 (en) * | 2019-03-01 | 2021-02-16 | Alibaba Group Holding Limited | Palette size constraint in palette mode for video compression system |
JP7359936B2 (en) | 2019-07-20 | 2023-10-11 | 北京字節跳動網絡技術有限公司 | Conditional Encoding of Instructions for Use of Palette Mode |
CN114145013B (en) * | 2019-07-23 | 2023-11-14 | 北京字节跳动网络技术有限公司 | Mode determination for palette mode coding and decoding |
WO2021018166A1 (en) | 2019-07-29 | 2021-02-04 | Beijing Bytedance Network Technology Co., Ltd. | Scanning order improvements for palette mode coding |
US11770535B2 (en) * | 2021-02-19 | 2023-09-26 | Samsung Display Co., Ltd. | Systems and methods for joint color channel entropy encoding with positive reconstruction error |
WO2023090616A1 (en) * | 2021-11-19 | 2023-05-25 | 현대자동차주식회사 | Lidar point cloud coding method and apparatus using point-unit prediction |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6898313B2 (en) | 2002-03-06 | 2005-05-24 | Sharp Laboratories Of America, Inc. | Scalable layered coding in a multi-layer, compound-image data transmission system |
KR100856411B1 (en) | 2006-12-01 | 2008-09-04 | 삼성전자주식회사 | Method and apparatus for compensating illumination compensation and method and apparatus for encoding moving picture based on illumination compensation, and method and apparatus for encoding moving picture based on illumination compensation |
CN100576921C (en) * | 2008-01-14 | 2009-12-30 | 浙江大学 | Mixed image compression method based on block sort |
US9654777B2 (en) | 2013-04-05 | 2017-05-16 | Qualcomm Incorporated | Determining palette indices in palette-based video coding |
US9558567B2 (en) | 2013-07-12 | 2017-01-31 | Qualcomm Incorporated | Palette prediction in palette-based video coding |
US20150110181A1 (en) | 2013-10-18 | 2015-04-23 | Samsung Electronics Co., Ltd. | Methods for palette prediction and intra block copy padding |
US10291827B2 (en) | 2013-11-22 | 2019-05-14 | Futurewei Technologies, Inc. | Advanced screen content coding solution |
CN106031171B (en) * | 2013-12-27 | 2019-08-30 | 联发科技股份有限公司 | Method and apparatus with the palette coding predicted across block |
JP6328262B2 (en) * | 2014-03-14 | 2018-05-23 | 寰發股▲ふん▼有限公司HFI Innovation Inc. | Color index coding method by palette stuffing |
AU2014202921B2 (en) * | 2014-05-29 | 2017-02-02 | Canon Kabushiki Kaisha | Method, apparatus and system for de-blocking a block of video samples |
US10021418B2 (en) * | 2014-06-19 | 2018-07-10 | Hfi Innovation Inc. | Method and apparatus of candidate generation for single sample mode in video coding |
US9900617B2 (en) * | 2014-06-20 | 2018-02-20 | Qualcomm Incorporated | Single color palette mode in video coding |
US20150381994A1 (en) * | 2014-06-27 | 2015-12-31 | Futurewei Technologies, Inc. | Advanced screen content coding with improved palette table and index map coding methods |
US9544607B2 (en) | 2014-08-25 | 2017-01-10 | Hfi Innovation Inc. | Method of palette index signaling for image and video coding |
-
2015
- 2015-07-09 US US14/795,734 patent/US9955157B2/en not_active Expired - Fee Related
- 2015-07-10 EP EP15745032.1A patent/EP3167615A1/en not_active Ceased
- 2015-07-10 CN CN201580036989.4A patent/CN106664429A/en active Pending
- 2015-07-10 WO PCT/US2015/039904 patent/WO2016007832A1/en active Application Filing
- 2015-07-10 KR KR1020177000528A patent/KR20170031133A/en unknown
- 2015-07-10 JP JP2017500903A patent/JP2017527168A/en not_active Ceased
Non-Patent Citations (8)
Title |
---|
GISQUET C ET AL: "SCCE3: Test A.3 - Palette stuffing", 18. JCT-VC MEETING; 30-6-2014 - 9-7-2014; SAPPORO; (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-R0082, 20 June 2014 (2014-06-20), XP030116334 * |
GISQUET ET AL.: "AhGlO: palette predictor stuffing", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, 18TH MEETING, 30 June 2014 (2014-06-30) |
GISQUET ET AL.: "SCCE3 Test A.3: palette stuffing", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, 18TH MEETING, 30 June 2014 (2014-06-30) |
JIN G ET AL: "Non-RCE4: Palette prediction for palette coding", 16. JCT-VC MEETING; 9-1-2014 - 17-1-2014; SAN JOSE; (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-P0160, 4 January 2014 (2014-01-04), XP030115679 * |
KARCZEWICZ ET AL.: "SCCE3: Test A.8 - Improvements on palette prediction vector signaling", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, 18TH MEETING, 30 June 2014 (2014-06-30) |
PU ET AL.: "SCCE3 base Software Bugfix Report", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, 18TH MEETING, 30 June 2014 (2014-06-30) |
XIU X ET AL: "Description of screen content coding technology proposal by InterDigital", 17. JCT-VC MEETING; 27-3-2014 - 4-4-2014; VALENCIA; (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-Q0037, 18 March 2014 (2014-03-18), XP030115927 * |
ZHU J ET AL: "Non-SCCE3: Modified Escaped pixel mode in palette based coding", 18. JCT-VC MEETING; 30-6-2014 - 9-7-2014; SAPPORO; (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-R0080-v2, 2 July 2014 (2014-07-02), XP030116331 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3759689A4 (en) * | 2018-09-14 | 2022-03-16 | Tencent America LLC | Method and device for decoding with palette mode |
Also Published As
Publication number | Publication date |
---|---|
EP3167615A1 (en) | 2017-05-17 |
JP2017527168A (en) | 2017-09-14 |
US20160014407A1 (en) | 2016-01-14 |
KR20170031133A (en) | 2017-03-20 |
CN106664429A (en) | 2017-05-10 |
US9955157B2 (en) | 2018-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3308542B1 (en) | Grouping palette bypass bins for video coding | |
EP3350997B1 (en) | Restriction of escape pixel signaled values in palette mode video coding | |
EP3158747B1 (en) | Single color palette mode in video coding | |
AU2016219428B2 (en) | Restriction on palette block size in video coding | |
KR102352642B1 (en) | Determining palette size, palette entries and filtering of palette coded blocks in video coding | |
US9826242B2 (en) | Palette-based video coding | |
AU2016211272B2 (en) | Coding escape pixels for palette coding | |
US9955157B2 (en) | Advanced palette prediction and signaling | |
WO2015191838A1 (en) | Determining quantization parameter (qp) values and delta qp values for palette coded blocks in video coding | |
WO2015191834A1 (en) | Determining application of deblocking filtering to palette coded blocks in video coding | |
WO2014165789A1 (en) | Determining palettes in palette-based video coding | |
EP3205102A1 (en) | Palette run hiding in palette-based video coding | |
US20160150234A1 (en) | Palette mode coding | |
WO2016057534A2 (en) | Diagonal copy for palette mode coding | |
NZ737096B2 (en) | Grouping palette bypass bins for video coding | |
OA18393A (en) | Restriction on palette block size in video coding. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
DPE2 | Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101) | ||
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15745032 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2017500903 Country of ref document: JP Kind code of ref document: A Ref document number: 20177000528 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2015745032 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2015745032 Country of ref document: EP |