Palette mode coding with specified bit-depth precision

By introducing palette_bit_depth and palette_bit_offset in the AV1 codec to control the bit depth of palette mode coding, the problem of excessive bit consumption is solved, and the compression efficiency of video encoding is improved.

CN116830574BActive Publication Date: 2026-12-01GOOGLE LLC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202180093207.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-09
Publication Date
2026-12-01
Estimated Expiration
2041-02-09

AI Technical Summary

Technical Problem

The existing AV1 codec suffers from excessive bit consumption overhead in intra-frame prediction in palette mode, which leads to a decrease in overall compression efficiency after improving bit depth accuracy.

Method used

The syntax elements palette_bit_depth and palette_bit_offset are introduced to control the bit depth precision of palette mode coding. By limiting the bit depth of the palette color set, unnecessary bit consumption is avoided.

Benefits of technology

It effectively reduces bitstream overhead, improves the coding efficiency of intra-frame prediction in palette mode, and enhances overall compression performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116830574B_ABST
    Figure CN116830574B_ABST
Patent Text Reader

Abstract

Syntax elements are written to the bitstream to specify the bit depth precision for palette pattern coding of the video block. During encoding, the bit depth used for palette pattern coding of the current block can be based on the input video signal including the current block or on some variation of the bit depth precision. The prediction residual of the current block is encoded into the bitstream along with the syntax elements indicating the bit depth for palette pattern coding of the current block. Specifically, the syntax elements include a first element indicating the palette pattern coding bit depth used and a second element indicating whether a bit offset is applied to the palette pattern coding bit depth. During decoding, the values ​​of the syntax elements are read from the bitstream and used to determine the bit depth for palette pattern coding of the coded block.
Need to check novelty before this filing date? Find Prior Art

Description

Background Technology

[0001] Digital video streams can represent video using sequences of frames or still images. Digital video can be used in a variety of applications, including video conferencing, high-definition video entertainment, video advertising, or user-generated video sharing. Digital video streams can contain large amounts of data and consume significant computing or communication resources used by computing devices to process, transmit, or store video data. Various methods have been proposed to reduce the amount of data in video streams, including encoding or decoding techniques. Summary of the Invention

[0002] A method for decoding an encoded block from a bitstream according to embodiments of the present disclosure includes: reading a first value from the bitstream, the first value indicating a palette pattern coding bit depth for encoding the encoded block; further reading a second value from the bitstream, the second value indicating whether a bit offset is applied to the palette pattern coding bit depth; generating a palette pattern prediction block for the encoded block using a palette color set determined based on the first and second values; generating a reconstructed block using the palette pattern prediction block; and outputting the reconstructed block for storage or display.

[0003] In some implementations of the method, when the second value indicates the applied bit offset, the palette color set is limited based on the maximum palette pattern coding bit depth.

[0004] In some implementations of the method, the method further includes: shifting the palette pattern coding bit depth according to a bit offset to determine the bit depth of the coded block, wherein the palette color set is limited based on the bit depth being greater than the maximum palette pattern coding bit depth.

[0005] In some implementations of the method, the maximum palette mode coding bit depth is 8 bits.

[0006] In some implementations of the method, when the second value indicates that no bit offset is applied, the palette color set is coded based on the palette pattern bit depth.

[0007] In some implementations of the method, the first and second values ​​are encoded into a sequence header within the bitstream.

[0008] In some implementations of the method, the first and second values ​​are encoded into the frame header within the bitstream.

[0009] In some implementations of the method, the first value is written into the bitstream using three bits, and the second value is written into the bitstream using one bit.

[0010] An apparatus for decoding an encoded block from a bitstream according to an embodiment of the present disclosure includes: a memory; and a processor configured to execute instructions stored in the memory. The instructions include instructions for performing the following operations: reading a first value from the bitstream, the first value indicating a palette pattern coding bit depth for encoding the encoded block; reading a second value from the bitstream, the second value indicating whether a bit offset is applied to the palette pattern coding bit depth; generating a palette pattern prediction block for the encoded block using a palette color set determined based on the first and second values; generating a reconstructed block using the palette pattern prediction block; and outputting the reconstructed block for storage or display. When the second value indicates that a bit offset is applied, the palette color set is limited based on a maximum palette pattern coding bit depth. When the second value indicates that no bit offset is applied, the palette color set is based on the palette pattern coding bit depth.

[0011] In some embodiments of the device, the instructions include instructions for performing the following operations: when a second value indicates the application of a bit offset, shifting the palette pattern coding bit depth according to the bit offset to determine the bit depth of the coded block, wherein the palette color set is limited based on a bit depth greater than the maximum palette pattern coding bit depth.

[0012] In some implementations of the device, the maximum palette mode coding bit depth is 8 bits.

[0013] In some implementations of the device, the first and second values ​​are encoded into a sequence header within the bitstream.

[0014] In some implementations of the device, the first and second values ​​are encoded into the frame header within the bitstream.

[0015] A non-transitory computer-readable storage device according to an embodiment of the present disclosure includes program instructions executable by one or more processors, which, when executed, cause the one or more processors to perform operations for decoding coded blocks from a bitstream, wherein the operations include: reading from the bitstream a first value indicating a palette pattern coding bit depth for encoding the coded blocks and a second value indicating whether a bit offset is applied to the palette pattern coding bit depth; generating a prediction block for the coded blocks using a palette color set determined based on the first and second values; and outputting a reconstructed block generated using the prediction block for storage or display.

[0016] In some implementations of non-transitory computer-readable storage devices, the palette color set is limited based on the maximum palette pattern coding bit depth when the second value indicates the applied bit offset.

[0017] In some embodiments of a non-transitory computer-readable storage device, the operation further includes: offsetting the palette pattern coding bit depth according to a bit offset to determine the bit depth of a coded block, wherein the palette color set is limited based on a bit depth greater than a maximum palette pattern coding bit depth.

[0018] In some implementations of non-transitory computer-readable storage devices, the maximum palette pattern coding bit depth is 8 bits.

[0019] In some implementations of non-transitory computer-readable storage devices, when the second value indicates that no bit offset is applied, the palette color set is coded based on the palette pattern bit depth.

[0020] In some implementations of non-transitory computer-readable storage devices, the first and second values ​​are encoded into a sequence header within the bitstream.

[0021] In some implementations of non-transitory computer-readable storage devices, the first and second values ​​are encoded into a frame header within the bitstream.

[0022] These and other aspects of this disclosure are disclosed in the following detailed description of embodiments, the appended claims, and the accompanying drawings. Attached Figure Description

[0023] The description in this document refers to the accompanying drawings described below, wherein in several views, the same reference numerals refer to the same parts.

[0024] Figure 1 This is a schematic diagram of an example video encoding and decoding system.

[0025] Figure 2 This is a block diagram of an example computing device that can implement a sending station or a receiving station.

[0026] Figure 3 This is a diagram of an example video stream that is to be encoded and decoded.

[0027] Figure 4 This is a block diagram of an example encoder.

[0028] Figure 5 This is a block diagram of an example decoder.

[0029] Figure 6 This is a block diagram of the prediction level of the encoder used for palette pattern coding of the current block.

[0030] Figure 7 This is a block diagram of the prediction level of the decoder used for palette pattern coding of the current block.

[0031] Figure 8This is a flowchart illustrating an example of a technique for encoding the current block using a palette pattern coding with specified bit depth precision.

[0032] Figure 9 This is a flowchart illustrating an example of a technique for decoding coded blocks using a palette pattern coding with specified bit depth precision. Detailed Implementation

[0033] Video compression schemes may include breaking down a corresponding image or video frame into smaller parts such as video blocks, and using techniques to generate coded bitstreams that limit the information contained in each video block. The coded bitstreams can be decoded to recreate the source image based on the limited information. Encoding or decoding video blocks may include predicting motion within the video block, such as relative to one or more other video blocks in the same or different video frames.

[0034] For certain types of video content, such as screen captures or video game videos, a relatively small amount of color prediction block information can be used. The AV1 codec introduced palette-mode intra-frame prediction to address these use cases, where a few pixel values, known as primary colors, are used to represent the pixel values ​​in each pixel of a given block. Specifically, the palette predictor for each plane of the block is specified by a palette with two to eight colors and color indices for the pixels of the block. Using palette-mode intra-frame prediction in video content with relatively few unique colors generally results in improved coding efficiency compared to using other prediction methods.

[0035] AV1 supports 8-bit, 10-bit, and 12-bit coding of input video signals. It also supports internal high-bit-depth coding of low-bit-depth input signals, where the input 8-bit signal is converted to a 10-bit or 12-bit signal. Generally, internal high-bit-depth achieves higher compression efficiency and greater color fidelity with greater accuracy, but at a higher computational cost. Therefore, the coding efficiency of palette-mode intra-prediction within the internal high-bit-depth pipeline can be considered unsatisfactory. For example, when the input signal is 8-bit and converted to 10-bit or 12-bit, the coding performance (e.g., measured using peak signal-to-noise ratio (PSNR)) may be significantly worse measurably than if the 8-bit signal were encoded without first being converted to a higher bit depth.

[0036] This performance degradation is due to bitstream overhead. Specifically, the inadequate coding performance is caused by the way palette colors are written to the bitstream in AV1. In AV1, for each block, the selected colors are sorted in ascending order, and the first color is written to the bitstream, consuming N bits, where N is the converted bit depth. Then, the increments of two adjacent colors are written to subsequent bits of the bitstream, where each increment consumes M bits, where the value of M depends on the difference between the current color and the maximum value equal to 2^N-1. Assuming that the color value increases during coding, the difference between the current color and the maximum value decreases during coding, so that the value of M does not increase.

[0037] Because AV1 literally encodes palette color information into a bitstream (i.e., without entropy encoding), 10-bit and 12-bit converted palette colors will consume more bits than an 8-bit signal. This is because the primary colors have a larger range and require more bits. Therefore, even though bit depth precision improves the overall accuracy of block prediction using the AV1 palette mode intra-frame prediction tool, the bit consumption overhead ultimately results in worse overall compression efficiency.

[0038] The embodiments of this disclosure address problems such as the use of specified bit depth precision techniques for palette pattern coding. This disclosure introduces the syntax elements `palette_bit_depth` and `palette_bit_offset` and encodes them into a sequence-level or frame-level bitstream to indicate the bit depth precision for palette pattern coding of a coded block. Specifically, the value of `palette_bit_depth` indicates the palette pattern coding bit depth used to encode the coded block, and the value of `palette_bit_offset` indicates whether a bit offset is applied to the palette pattern coding bit depth. The set of palette colors that can be used to generate a palette pattern coding prediction block during the decoding of the coded block is then determined based on the values ​​of those syntax elements.

[0039] In some cases, the value of `palette_bit_depth` can be the same as the current encoded bit depth, in which case palette pattern coding can be performed as described in AV1. However, in other cases, such as when the value of `palette_bit_offset` indicates the application of a bit offset, the value of `palette_bit_depth` can be lower than the current encoded bit depth. In this case, an 8-bit representation of the palette colors can be forced in the bitstream to limit or prevent unnecessary overhead. For example, with an encoded bit depth of 12, the value of `palette_bit_depth` can be set to 8. This will require the palette colors to be scaled down to an 8-bit range instead of the original bit depth range. Therefore, when the value of `palette_bit_offset` indicates the application of a bit offset, the set of palette colors that can be used to generate palette pattern coding prediction blocks is limited.

[0040] Examples of how to use embodiments of this disclosure will now be described. In a first example, the original input signal may be 8 bits and converted to 10 or 12 bits for encoding. In this case, performance degradation is unavoidable when the syntax elements palette_bit_depth and palette_bit_offset are not used. Therefore, when it is determined that the original input signal is 8 bits and is converted to a higher bit depth, the value of palette_bit_depth can be set to 8, and the value of palette_bit_offset can be set to 1 to indicate a shift of three bits to achieve the value of palette_bit_depth of 8 (e.g., making palette_bit_offset the leftmost fourth bit of palette_bit_depth). This ensures that the selected palette color can be represented by an 8-bit integer, and 8-bit precision is used accordingly for encoding the palette colors of one or more corresponding blocks. In a second example, the original input signal may be 10 bits or 12 bits. In this case, an 8-bit color representation may or may not be sufficient to accurately represent the signal value. Encoder-specific methods can be used to determine whether to use the syntax element palette_bit_depth to help improve coding efficiency.

[0041] This article first describes further details of the techniques for codifying palette patterns with specified bit depth precision by referring to systems in which such techniques can be implemented. Figure 1 This is a schematic diagram of an example of a video encoding and decoding system 100. For example, the transmitting station 102 may have features such as Figure 2The internal configuration of the hardware described herein is that of a computer. However, other implementations of the transmitting station 102 are also possible. For example, the processing of the transmitting station 102 can be distributed among multiple devices.

[0042] Network 104 can connect sending station 102 and receiving station 106 for encoding and decoding video streams. Specifically, the video stream can be encoded in sending station 102 and decoded in receiving station 106. Network 104 can be, for example, the Internet. Network 104 can also be a local area network (LAN), wide area network (WAN), virtual private network (VPN), cellular telephone network, or any other means of transmitting video streams from sending station 102 to receiving station 106 in this example.

[0043] In one example, receiving station 106 may have features such as Figure 2 The internal configuration of the hardware described herein is that of a computer. However, other suitable implementations of the receiving station 106 are also possible. For example, the processing of the receiving station 106 can be distributed among multiple devices.

[0044] Other implementations of the video encoding and decoding system 100 are also possible. For example, one implementation may omit network 104. In another implementation, the video stream may be encoded and then stored for later transmission to receiving station 106 or any other device with memory. In one implementation, receiving station 106 receives (e.g., via network 104, a computer bus, and / or some communication path) the encoded video stream and stores it for later decoding. In an example implementation, the encoded video may be transmitted via network 104 using the Real-Time Transport Protocol (RTP). In another implementation, a transport protocol other than RTP may be used (e.g., a video streaming protocol based on Hypertext Transfer Protocol (HTTP)).

[0045] When used in a video conferencing system, for example, sending station 102 and / or receiving station 106 may include the ability to encode and decode video streams as described below. For example, receiving station 106 may be a video conferencing participant who receives an encoded video bitstream from a video conferencing server (e.g., sending station 102) for decoding and viewing, and further encodes his or her own video bitstream and sends it to the video conferencing server for other participants to decode and view.

[0046] In some implementations, the video encoding and decoding system 100 may alternatively be used to encode and decode data other than video data. For example, the video encoding and decoding system 100 may be used to process image data. Image data may include data blocks from an image. In such implementations, the transmitting station 102 may be used to encode the image data, and the receiving station 106 may be used to decode the image data.

[0047] Alternatively, receiving station 106 may refer to a computing device, such as one that stores encoded image data for later use after receiving encoded or pre-encoded image data from transmitting station 102. As another alternative, transmitting station 102 may refer to a computing device that decodes image data before sending decoded image data to receiving station 106 for display.

[0048] Figure 2 This is a block diagram illustrating an example of a computing device 200 that can be implemented as a transmitting station or a receiving station. For example, the computing device 200 can be implemented... Figure 1 One or both of the transmitting station 102 and the receiving station 106. The computing device 200 may be in the form of a computing system including multiple computing devices, or in the form of a single computing device such as a mobile phone, tablet computer, laptop computer, notebook computer, desktop computer, etc.

[0049] The processor 202 in computing device 200 can be a conventional central processing unit. Alternatively, the processor 202 can be another type of device, or multiple devices, capable of manipulating or processing information that is currently existing or will be developed later. For example, although the disclosed implementation can be practiced with a single processor (e.g., processor 202) as shown, advantages in speed and efficiency can be achieved by using more than one processor.

[0050] In one embodiment, the memory 204 in the computing device 200 may be a read-only memory (ROM) device or a random access memory (RAM) device. However, other suitable types of storage devices may be used as memory 204. Memory 204 may include code and data 206 accessed by the processor 202 using bus 212. Memory 204 may further include an operating system 208 and an application program 210, which includes at least one program that allows the processor 202 to perform the techniques described herein. For example, application program 210 may include applications 1 to N, which further include encoding and / or decoding software that performs some or all of the techniques described herein.

[0051] The computing device 200 may also include auxiliary storage 214, which may be, for example, a memory card used with a mobile computing device. Because video communication sessions may contain a large amount of information, it may be stored, in whole or in part, in the auxiliary storage 214 and loaded into the memory 204 for processing as needed.

[0052] The computing device 200 may also include one or more output devices, such as a display 218. In one example, the display 218 may be a touch-sensitive display that combines a display with a touch-sensitive element that can be used to sense touch input. The display 218 may be coupled to the processor 202 via a bus 212. In addition to or as an alternative to the display 218, other output devices may be provided that allow the user to program or otherwise use the computing device 200. When the output device is or includes a display, the display may be implemented in a variety of ways, including by means of a liquid crystal display (LCD), a cathode ray tube (CRT) display, or a light-emitting diode (LED) display such as an organic LED (OLED) display.

[0053] The computing device 200 may also include or communicate with an image sensing device 220, such as a camera, or any other image sensing device 220, existing or developed in the future, capable of sensing images such as those of a user operating the computing device 200. The image sensing device 220 may be positioned such that it is pointed toward the user operating the computing device 200. In one example, the position and optical axis of the image sensing device 220 may be configured such that the field of view includes the area directly adjacent to and visible from the display 218.

[0054] The computing device 200 may also include or communicate with a sound sensing device 222, such as a microphone or any other existing or future sound sensing device capable of sensing sound in the vicinity of the computing device 200. The sound sensing device 222 may be positioned such that it is directed toward a user operating the computing device 200, and may be configured to receive sounds, such as speech or other words, emitted by the user when operating the computing device.

[0055] although Figure 2The processor 202 and memory 204 of computing device 200 are depicted as integrated into a single unit, but other configurations may also be used. The operation of processor 202 can be distributed across multiple machines (each machine may have one or more processors), which may be directly coupled or coupled across a local area network or other network. Memory 204 can be distributed across multiple machines, such as network-based memory or memory across multiple machines performing the operations of computing device 200.

[0056] Although described herein as a single bus, the bus 212 of computing device 200 can consist of multiple buses. Furthermore, auxiliary storage 214 can be directly coupled to other components of computing device 200 or accessed via a network, and can include integrated units such as memory cards or multiple units such as multiple memory cards. Therefore, computing device 200 can be implemented in a wide variety of configurations.

[0057] Figure 3 This is a diagram illustrating an example of a video stream 300 to be encoded and decoded. The video stream 300 includes a video sequence 302. At the next level, the video sequence 302 includes multiple adjacent frames 304. While three frames are depicted as adjacent frames 304, the video sequence 302 can include any number of adjacent frames 304. The adjacent frames 304 can then be further subdivided into individual frames, such as frame 306.

[0058] At the next level, frame 306 can be divided into a series of planes or segments 308. Segments 308 can be, for example, subsets of frames that allow for parallel processing. Segments 308 can also be subsets of frames that can separate video data into individual colors. For example, frame 306 of color video data can include a luma plane and two chroma planes. Segments 308 can be sampled at different resolutions.

[0059] Regardless of whether frame 306 is divided into segments 308, frame 306 can be further subdivided into blocks 310. Block 310 can contain data corresponding to, for example, NxM pixels in frame 306, where N and M can refer to the same integer value or different integer values. Block 310 can also be arranged to include data from one or more segments 308 of pixel data. Block 310 can be any suitable size, such as 4x4 pixels, 8x8 pixels, 16x8 pixels, 8x16 pixels, 16x16 pixels, or larger up to a maximum block size of 128x128 pixels or another NxM pixel size.

[0060] Figure 4This is a block diagram of an example encoder 400. As described above, encoder 400 can be implemented in transmitting station 102, for example, by providing a computer software program stored in memory (e.g., memory 204). The computer software program may include machine instructions that, when executed by a processor such as processor 202, cause transmitting station 102 to... Figure 4 The video data is encoded in the manner described herein. Encoder 400 can also be implemented as dedicated hardware included, for example, in transmitting station 102. In some embodiments, encoder 400 is a hardware encoder.

[0061] Encoder 400 has the following levels that perform various functions in the forward path (shown by solid connecting lines) to produce an encoded or compressed bitstream 420 using video stream 300 as input: intra / inter-frame prediction level 402, transform level 404, quantization level 406, and entropy coding level 408. Encoder 400 may also include a reconstruction path (shown by dashed connecting lines) to reconstruct frames for encoding future blocks. Figure 4 In this encoder 400, the following stages perform various functions in the reconstruction path: dequantization stage 410, inverse transform stage 412, reconstruction stage 414, and loop filtering stage 416. Other structural variations of the encoder 400 can be used to encode the video stream 300.

[0062] In some cases, the functions performed by encoder 400 can occur after filtering of video stream 300. That is, before encoder 400 receives video stream 300, video stream 300 may be preprocessed according to one or more embodiments of this disclosure. Alternatively, before continuing to perform functions related to... Figure 4 Prior to the functions described, such as the processing of the video stream 300 at the intra / inter-frame prediction level 402, the encoder 400 itself may perform such preprocessing on the video stream 300.

[0063] When the video stream 300 is encoded after preprocessing, adjacent frames 304, such as frame 306, can be processed in blocks. At the intra / inter-frame prediction level 402, the corresponding blocks can be encoded using either intra-frame prediction (also known as intra-prediction) or inter-frame prediction (also known as inter-prediction). In either case, prediction blocks can be formed. In the case of intra-frame prediction, prediction blocks can be formed from samples in the current frame that have been previously encoded and reconstructed. In the case of inter-frame prediction, prediction blocks can be formed from samples in one or more previously constructed reference frames.

[0064] Next, the prediction block can be subtracted from the current block in the intra / inter-frame prediction stage 402 to produce a residual block (also called the residual). The transform stage 404 uses a block-based transform to convert the residual into transform coefficients in, for example, the frequency domain. The quantization stage 406 uses a quantizer value or quantization level to convert the transform coefficients into discrete quantum values, referred to as quantized transform coefficients. For example, the transform coefficients can be divided by the quantizer value and truncated.

[0065] The quantized transform coefficients are then entropy-coded using entropy coding level 408. The entropy-coded coefficients, along with other information for decoding the blocks (which may include, for example, syntax elements such as indications of the prediction type, transform type, motion vector, quantizer values, etc.), are output to compressed bitstream 420. Compressed bitstream 420 can be formatted using various techniques such as variable-length coding or arithmetic coding. Compressed bitstream 420 may also be referred to as an encoded video stream or encoded video bitstream, and these terms will be used interchangeably herein.

[0066] The reconstruction path (shown by the dashed connecting line) can be used to ensure the encoder 400 and decoder 500 (see below) Figure 5 (Description) The compressed bitstream 420 is decoded using the same reference frame. The reconstruction path execution and decoding process (see below) Figure 5 Similar functions occur in the description, including dequantizing the quantized transform coefficients in dequantization stage 410 and inverse transforming the dequantized transform coefficients in inverse transform stage 412 to produce a derivative residual block (also known as derivative residual).

[0067] At reconstruction stage 414, the predicted blocks from intra / inter-frame prediction stage 402 can be added to the derivative residuals to create reconstruction blocks. Loop filtering stage 416 can apply intra-loop filters or other filters to the reconstruction blocks to reduce distortions such as block artifacts. Examples of filters that can be applied at loop filtering stage 416 include, but are not limited to, deblocking filters, directional enhancement filters, and loop recovery filters.

[0068] Other variations of encoder 400 can be used to encode compressed bitstream 420. In some implementations, a non-transform-based encoder can directly quantize the residual signal without requiring a transform stage 404 for certain blocks or frames. In some implementations, the encoder may have a quantization stage 406 and a dequantization stage 410 combined in a common stage.

[0069] Figure 5This is a block diagram of an example decoder 500. Decoder 500 can be implemented in receiving station 106, for example, by providing a computer software program stored in memory 204. The computer software program may include machine instructions that, when executed by a processor such as processor 202, cause receiving station 106 to... Figure 5 The video data is decoded in the manner described herein. Decoder 500 can also be implemented using hardware included in, for example, transmitting station 102 or receiving station 106. In some embodiments, decoder 500 is a hardware decoder.

[0070] Similar to the reconstruction path of encoder 400 discussed above, decoder 500, in one example, includes the following stages that perform various functions to produce output video stream 516 from compressed bitstream 420: entropy decoding stage 502, dequantization stage 504, inverse transform stage 506, intra / inter-frame prediction stage 508, reconstruction stage 510, loop filtering stage 512, and post-filtering stage 514. Other structural variations of decoder 500 can be used to decode compressed bitstream 420.

[0071] When the compressed bitstream 420 is decoded, the entropy decoding stage 502 can decode the data elements within the compressed bitstream 420 to produce a set of quantized transform coefficients. The dequantization stage 504 dequantizes the quantized transform coefficients (e.g., by multiplying the quantized transform coefficients by a quantizer value), and the inverse transform stage 506 performs an inverse transform on the dequantized transform coefficients to produce derivative residuals, which can be the same as the derivative residuals created by the inverse transform stage 412 in the encoder 400. Using the header information decoded from the compressed bitstream 420, the decoder 500 can use the intra / inter-frame prediction stage 508 to create the same prediction blocks created in the encoder 400 (e.g., in the intra / inter-frame prediction stage 402).

[0072] At reconstruction stage 510, a prediction block can be added to the derivative residual to create a reconstruction block. A loop filtering stage 512 can be applied to the reconstruction block to reduce block artifacts. Examples of filters that can be applied at loop filtering stage 512 include, but are not limited to, deblocking filters, directional enhancement filters, and loop recovery filters. Other filters can be applied to the reconstruction block. In this example, a post-filtering stage 514 is applied to the reconstruction block to reduce block distortion, and the result is output as an output video stream 516. The output video stream 516 may also be referred to as the decoded video stream, and these terms will be used interchangeably herein.

[0073] Other variations of decoder 500 can be used to decode compressed bitstream 420. In some implementations, decoder 500 can produce output video stream 516 without post-filtering stage 514 or by otherwise omitting post-filtering stage 514.

[0074] Figure 6 This is a block diagram of prediction level 600 of the encoder used for palette pattern coding of the current block. Prediction level 600 could be, for example, a... Figure 4 The encoder 400 shown includes an intra / inter-frame prediction stage 402. Prediction stage 600 includes functionality for palette pattern coding of the current block of the input video stream. As shown, prediction stage 600 includes a prediction pattern coding bit depth determination tool 602, a palette color determination tool 604, and a palette pattern coding prediction tool 606.

[0075] The palette pattern coding bit depth determination tool 602 uses bit depth information 608 associated with the input video signal to determine the bit depth of the palette pattern coding for the current block. For example, the palette pattern coding bit depth determination tool 602 can determine an initial bit depth based on the bit depth information 608. For example, the initial bit depth can be the bit precision used to represent the color of the current block. The bit depth of the palette pattern coding for the current block can be the same as or different from the initial bit depth. Specifically, the maximum palette pattern coding bit depth can be defined, for example, as 8 bits. If the initial bit depth is greater than the maximum palette pattern coding bit depth, the initial bit depth can be limited to, for example, the maximum bit depth of 8 bits based on the maximum palette pattern coding bit depth. However, if the initial bit depth is less than or equal to the maximum palette pattern coding bit depth, the initial bit depth can be used as the bit depth of the palette pattern coding.

[0076] The palette color determination tool 604 determines the set of palette colors available for the current block based on the bit depth determined by the palette pattern coding bit depth determination tool 602. Specifically, the palette color set is limited to the range of colors associated with the maximum palette pattern coding bit depth. The palette color determination tool 604 determines the set of palette colors for the current block from the color palettes determined for other blocks in the neighborhood of the current block.

[0077] The palette pattern coding prediction tool 606 receives a palette color set determined by the palette color determination tool 604 and block information 610 representing the current block, and uses these to generate a palette pattern prediction block for the current block. Specifically, the palette pattern coding prediction tool 606 uses the block information 610 and the palette color set to perform palette pattern prediction to generate a palette pattern prediction block, which is the prediction block for the current block. The prediction residual 612 can then be determined using the palette pattern prediction block. The prediction residual 612 can be further processed at the encoder to prepare it for writing into the bitstream.

[0078] Syntax information 614, including syntax elements indicating the bit depth used for palette pattern coding at prediction level 600, is also written to the bitstream to which the prediction residual 612 is written once encoded. The syntax elements include a first value indicating the palette pattern coding bit depth of the block and a second value indicating whether a bit offset is applied to the palette pattern coding bit depth. For example, the first value could be the value of the variable `palette_bit_depth`, and the second value could be the value of the variable `palette_bit_offset`.

[0079] The first value consumes three bits of the bitstream, and the second value consumes one bit of the bitstream. Possible values ​​for the first value include 000, 001, 010, 011, 100, 101, 110, and 111, which can themselves signal bit depths of 0, 1, 2, 3, 4, 5, 6, and 7, respectively. Possible values ​​for the second value include 0 and 1. When the second value has a value of 0, the value of the first value is used as the bit depth of the current block. However, when the second value has a value of 1, the value of the second value is shifted by 8. Therefore, when the second value has a value of 1, possible values ​​for the first value include 000, 001, 010, 011, 100, 101, 110, and 111, which, when shifted by the second value, can signal bit depths of 8, 9, 10, 11, 12, 13, 14, and 15, respectively. In some implementations, certain values ​​of the first value may not be used. For example, the valid range of bit depths can be defined for palette mode coding. In some such implementations, the bit depth that can be defined as valid for the palette pattern coding of the current block can include 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. For example, bit depths below 2 and above 12 can be disregarded.

[0080] The first value can be written before the second value. Alternatively, the first value can be written after the second value. Syntax elements can be written to a header within the bitstream. In one example, syntax elements can be written to a sequence header. In this case, syntax elements can be used for palette pattern coding of blocks within a series of consecutive frames associated with the sequence header. In this way, the same palette pattern value can be reused for multiple frames. In another example, syntax elements can be written to a frame header. In this case, syntax elements can be used for palette pattern coding of blocks within a frame associated with the frame header. In this way, palette pattern values ​​are determined for each frame.

[0081] The palette pattern coding bit depth determination tool 602 can represent a function that is executed once for an entire frame of the input video stream or once for a sequence of frames of the input video stream. For example, the bit depth and palette color set used for a palette pattern coding block can be determined at the frame level or sequence level. For example, the initial bit depth and the bit depth determined at the palette pattern coding bit depth determination tool 602 can be determined for a frame or frame sequence rather than for a block. For example, the initial bit depth can represent the bit precision used to represent the colors of a frame or frame sequence.

[0082] Figure 7 This is a block diagram of prediction level 700 of the decoder used for palette mode coding of the current block. Prediction level 700 could be, for example, a... Figure 5 The decoder 500 shown includes an intra / inter-frame prediction stage 508. Prediction stage 700 includes functions for palette pattern coding of coded blocks from the bitstream. As shown, prediction stage 700 includes a prediction pattern coding bit depth determination tool 702, a palette color determination tool 704, and a palette pattern coding prediction tool 706.

[0083] The palette pattern coding bit depth determination tool 702 receives syntax information 708 representing syntax elements written to the bitstream and reads the values ​​of those syntax elements to determine the bit depth of the palette pattern coding for the encoded block. Specifically, the palette pattern coding bit depth determination tool 702 reads the values ​​of those syntax elements from the bitstream and uses those values ​​to determine the bit depth. These values ​​include a first value indicating the palette pattern coding bit depth of the block and a second value indicating whether a bit offset is applied to the palette pattern coding bit depth. For example, the first value could be the value of the variable `palette_bit_depth`, and the second value could be the value of the variable `palette_bit_offset`.

[0084] The palette pattern coding bit depth determination tool 702 determines whether to apply a bit offset based on a second value, and then uses a first value based on that determination. Specifically, if the second value indicates that a bit offset should be applied, the palette pattern coding bit depth determination tool 702 shifts the bit depth according to the bit offset to determine the bit depth of the coded block. As mentioned above, the application of the bit offset is based on the bit depth of the palette pattern coding, which has been limited by, for example, a maximum palette pattern coding bit depth of 8 bits. The first value can be read before the second value. Alternatively, the second value can be read before the first value.

[0085] An example of pseudocode that can be used to determine the bit depth of the palette pattern coding of a coded block at the predictive pattern coding bit depth determination tool 702 is as follows:

[0086]

[0087] In the pseudocode example above, the function `color_config()` refers to the functionality described in this document regarding the palette pattern coding bit depth determination tool 702, and `high_bitdepth`, `twelve_bit`, and `palette_bit_depth` are all variables written to the bitstream. The variables `high_bitdepth` and `twelve_bit` each consume one bit of the bitstream, and the variable `palette_bit_depth` consumes three bits of the bitstream. The `if` clause checks if the bit depth of the coded block is 12 bits. If so, the bit depth of the coded block is interpreted as 12 bits. Otherwise, the bit depth of the coded block is assumed to be 10 bits. The `else if` clause checks whether the variable `high_bitdepth` is signaled for use in the coded block. For example, the variable `high_bitdepth` can be signaled where the encoding of the coded block uses a bit depth greater than, for example, the maximum palette pattern coding bit depth. If the variable `high_bitdepth` is not signaled for use in the coded block, the bit depth of the coded block is assumed to be 8 bits.

[0088] The variable `seq_profile` refers to the decoder's ability to process certain types of video data. Different values ​​of `seq_profile` may require the support of certain features, with higher values ​​typically requiring more features. In some implementations, the variable `seq_profile` can be omitted from the pseudocode above.

[0089] The palette color determination tool 704 determines the palette color set available for encoding the block based on the bit depth determined by the palette pattern coding bit depth determination tool 702. Specifically, the palette color set is limited to a range of colors associated with the maximum palette pattern coding bit depth. The palette color determination tool 704 determines the palette color set for encoding the block from the palettes determined for other blocks in the neighborhood of the current block.

[0090] The palette pattern coding prediction tool 706 receives the palette color set determined by the palette color determination tool 704 and the prediction residual 710 of the coded block, and uses those to generate a palette pattern prediction block for the current block. Specifically, the palette pattern coding prediction tool 706 uses the prediction residual 710 and the palette color set to perform palette pattern prediction to generate a palette pattern prediction block, which is a prediction block for the coded block. The palette pattern prediction block can then be used to determine the reconstructed block 612. The reconstructed block 612 can be further processed at the decoder to prepare its output for storage or display.

[0091] The palette pattern coding bit depth determination tool 702 can represent a function that is performed once for the entire encoded frame written to the bitstream or once for the sequence of encoded frames written to the bitstream. For example, the bit depth and palette color set for a palette pattern coding block can be determined at the frame level or sequence level. For example, the initial bit depth and the bit depth determined at the palette pattern coding bit depth determination tool 702 can be determined for a frame or frame sequence rather than for a block. For example, syntax information 708 can represent the value used to determine the bit depth of palette pattern coding for the entire frame or frame sequence.

[0092] Further details are now described regarding the techniques used for codifying palette patterns with specified bit depth precision. Figure 8 This is a flowchart illustrating an example of a technique 800 for encoding the current block using a palette pattern coding method with specified bit depth precision. Figure 9 This is a flowchart illustrating an example of technique 900 for decoding coded blocks using a palette pattern coding with specified bit depth precision.

[0093] Technology 800 and / or Technology 900 can be implemented as software programs, for example, executable by a computing device such as transmitting station 102 or receiving station 106. For example, the software program may include machine-readable instructions that can be stored in a memory such as memory 204 or auxiliary storage device 214, and when executed by a processor such as processor 202, can cause the computing device to perform technology 800 and / or Technology 900. Technology 800 and / or Technology 900 can be implemented using dedicated hardware or firmware. For example, hardware components configured to perform technology 800 and / or Technology 900. As described above, some computing devices may have multiple memories or processors, and the operations described in technology 800 and / or Technology 900 can be distributed using multiple processors, memories, or both.

[0094] For the sake of simplicity, techniques 800 and 900 are depicted and described herein as a series of steps or operations. However, the steps or operations according to this disclosure may occur in various orders and / or simultaneously. Furthermore, other steps or operations not presented and described herein may be used. Moreover, not all illustrated steps or operations are necessary to implement the techniques according to the disclosed subject matter.

[0095] First refer to Figure 8The diagram illustrates a technique 800 for encoding the current block using palette pattern coding with a specified bit depth precision. At 802, an initial bit depth for the current block is determined based on an input video signal including the current block. The initial bit depth is the bit precision used to represent the color of the current block. For example, the input video signal may include video data having colors expressed using a specific bit precision. This specific bit precision is detected based on information within the input video signal and is determined as the initial bit depth of the current block. For example, the input video signal may indicate the use of a palette color set of 8 bits, 10 bits, 12 bits, or other bit ranges to represent the color of the current block.

[0096] At 804, the bit depth for palette mode coding of the current block is determined. If the initial bit depth is equal to or less than, for example, the maximum palette mode coding bit depth of 8 bits, the initial bit depth can be used as the bit depth for palette mode coding of the current block. Alternatively, if the initial bit depth is greater than the maximum palette mode coding bit depth, the bit depth for palette mode coding of the current block can be set to be equal to the maximum palette mode coding bit depth.

[0097] In some implementations, the initial bit depth may be less than or equal to the maximum palette pattern coding bit depth, but is expanded to a higher bit depth for processing before prediction using palette pattern coding begins. In such cases, the bit depth of the current block's palette pattern coding is determined based on whether the expanded bit depth is greater than the maximum palette pattern coding bit depth. For example, if the expanded bit depth is equal to or less than the maximum palette pattern coding bit depth, the expanded bit depth can be used as the bit depth of the current block's palette pattern coding. Alternatively, if the expanded bit depth is greater than the maximum palette pattern coding bit depth, the bit depth of the current block's palette pattern coding can be set to be equal to the maximum palette pattern coding bit depth. In other such cases, the bit depth of the current block's palette pattern coding can be the expanded bit depth even if the expanded bit depth is greater than the maximum palette pattern coding bit depth.

[0098] In 806, a palette pattern prediction block is generated using a palette color set determined based on bit depth. Therefore, the palette color set includes colors within a bit range for the determined bit depth. Given a constraint on the bit depth based on the maximum palette pattern coding bit depth, the palette color set is constrained based on the maximum palette pattern coding bit depth. Constraining the palette color set based on the maximum palette pattern coding bit depth involves reducing the palette color set to an 8-bit range, rather than using a palette color set with an initial or expanded bit depth range. For example, the palette color set to be written to the bitstream of the current block can use an 8-bit bit depth to indicate its first primary color. Other colors from the palette color set of the current block can be written to the bitstream using incremental values ​​with a maximum possible value of 255. In this way, a strategy of using 8 bits to represent the palette color set of blocks in the bitstream can be implemented to reduce overhead.

[0099] Then, as described in AV1, but using a palette color set determined based on the bit depth of the current block, palette pattern coding is performed. The output of palette pattern coding is a palette pattern prediction block. At 808, prediction residuals are generated using the palette pattern prediction block. For example, prediction residuals can be generated to represent the difference between the current block and the palette pattern prediction block.

[0100] At 810, the prediction residual and a syntax element indicating the bit depth are encoded into a bitstream. Encoding the prediction residual may include performing one or more of a transform, quantization, or entropy encoding operation on the prediction residual to prepare it for writing to the bitstream. The syntax element includes a first value, such as the variable `palette_bit_depth`, indicating the bit depth determined for the palette pattern coding of the block, and a second value, such as the variable `palette_bit_offset`, indicating whether a bit offset is applied to the palette pattern coding bit depth. The bit offset is applied when the bit depth differs from an initial or expanded bit depth.

[0101] Syntax elements can be written into the sequence header associated with the current block. Alternatively, syntax elements can be written into the frame header associated with the current block. Syntax elements can further identify one or more palette colors for use in decoding the encoded block, for example, as described above.

[0102] In some implementations, the first and second values ​​can be written as a single value to the bitstream. For example, the single value could be four bits that identify both the bit depth and bit offset of the palette pattern encoding.

[0103] First refer to Figure 9The diagram illustrates a technique 900 for decoding a coded block using palette pattern coding with a specified bit depth precision. At 902, a first value, such as the variable `palette_bit_depth`, indicating the palette pattern coding bit depth used to encode the coded block, is read from the bitstream comprising the coded block. For example, the first value could be written to the bitstream using three bits. At 904, a second value, such as the variable `palette_bit_offset`, indicating whether a bit offset is applied to the palette pattern coding bit depth, is read from the bitstream. For example, the second value could be written to the bitstream using one bit.

[0104] In some implementations, the first and second values ​​can be encoded into a sequence header within the bitstream. For example, syntax elements can be used for palette pattern coding of blocks within a series of consecutive frames associated with the sequence header. In this way, the same palette pattern value can be reused for multiple frames. In some implementations, the first and second values ​​can be encoded into a frame header within the bitstream. For example, syntax elements can be used for palette pattern coding of blocks of frames associated with the frame header. In this way, palette pattern values ​​are determined for each frame. In some implementations, the first value is read from the bitstream before the second value. In some implementations, the second value is read from the bitstream before the first value.

[0105] In some implementations, the first and second values ​​can be read from the bitstream as a single value. For example, the single value could be four bits that identify the bit depth and bit offset of the palette pattern coding.

[0106] In 906, a palette pattern prediction block is generated using the palette color set determined based on a first value and a second value. Specifically, the palette color set is determined based on whether the bit depth of the coded block is greater than the maximum palette pattern coded bit depth. The bit depth of the coded block can be determined by shifting the palette pattern coded bit depth according to a bit offset. When the second value indicates that a bit offset is applied, this means that the bit depth is greater than the maximum palette pattern coded bit depth. In such cases, the palette color set is limited based on the maximum palette pattern coded bit depth. For example, when the maximum palette pattern coded bit depth is 8 bits, the palette color set is limited to a palette with 8-bit precision. However, when the second value indicates that no bit offset is applied, the palette color set can instead be based on the palette pattern coded bit depth. This is because when no bit offset is applied, the bit depth of the coded block is equal to or less than the maximum palette pattern coded bit depth.

[0107] Then, as described in AV1, but using a palette color set determined based on the first and second values, palette pattern coding is performed. The output of palette pattern coding is a palette pattern prediction block. At 908, a reconstructed block is generated using the palette pattern prediction block. For example, a reconstructed block can be generated by reconstructing the prediction residuals associated with the coded block using the palette pattern prediction block. At 910, the reconstructed block is output for storage or display.

[0108] The encoding and decoding aspects described above illustrate some examples of encoding and decoding techniques. However, it should be understood that, as used in the claims, encoding and decoding can mean compression, decompression, transformation, or any other processing or alteration of the data.

[0109] The term “example” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as an “example” is not necessarily to be construed as being more preferred or advantageous than other aspects or designs. Rather, the term “example” is used to present a concept in a specific manner. As used in this application, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless the context otherwise specifies or expressly indicates, the statement “X comprises A or B” is intended to refer to any natural inclusion arrangement thereof. That is, if X comprises A; X comprises B; or X comprises A and B, then “X comprises A or B” is satisfied in any of the foregoing cases. Furthermore, the articles “a” and “an” used in this application and the appended claims should generally be interpreted as “one or more” unless the context otherwise specifies or expressly indicates that they are in the singular form. In addition, unless so described, the use of the terms “implementation” or “an embodiment” throughout this disclosure does not imply the same implementation.

[0110] Implementations of transmitting station 102 and / or receiving station 106 (and the algorithms, methods, instructions, etc. stored thereon and / or executed thereon, including those executed by encoder 400 and decoder 500, or another encoder or decoder as disclosed herein) may be implemented in hardware, software, or any combination thereof. Hardware may include, for example, a computer, intellectual property (IP) core, application-specific integrated circuit (ASIC), programmable logic array, optical processor, programmable logic controller, microcode, microcontroller, server, microprocessor, digital signal processor, or any other suitable circuitry. In the claims, the term "processor" should be understood to include any of the foregoing hardware, whether alone or in combination. The terms "signal" and "data" are used interchangeably. Furthermore, portions of transmitting station 102 and receiving station 106 do not necessarily have to be implemented in the same manner.

[0111] Furthermore, in one aspect, for example, transmitting station 102 or receiving station 106 may be implemented using a general-purpose computer or general-purpose processor with a computer program that, when executed, performs any of the corresponding methods, algorithms, and / or instructions described herein. Additionally or alternatively, for example, a dedicated computer / processor may be used, which may contain additional hardware for performing any of the methods, algorithms, or instructions described herein.

[0112] Sending station 102 and receiving station 106 can be implemented, for example, on a computer in a video conferencing system. Alternatively, sending station 102 can be implemented on a server, and receiving station 106 can be implemented on a device such as a handheld communication device, separate from the server. In this case, sending station 102 can encode content into an encoded video signal and send the encoded video signal to the communication device. The communication device can then decode the encoded video signal. Alternatively, the communication device can decode content stored locally on the communication device, such as content not sent by sending station 102. Other suitable sending and receiving implementations are available. For example, receiving station 106 can be a generally fixed personal computer instead of a portable communication device.

[0113] Furthermore, all or part of the embodiments of this disclosure may take the form of a computer program product accessible from, for example, a computer-usable or computer-readable medium. A computer-usable or computer-readable medium may be, for example, any device that can tangibly contain, store, transmit, or transport a program for use by or in conjunction with any processor. The medium may be, for example, an electronic, magnetic, optical, electromagnetic, or semiconductor device. Other suitable media are also available.

[0114] The above-described embodiments and other aspects have been provided to facilitate understanding of this disclosure, without limiting it. Rather, this disclosure is intended to cover various modifications and equivalent arrangements included within the scope of the appended claims, which should be given the broadest interpretation permitted by law to cover all such modifications and equivalent arrangements.

Claims

1. A method for decoding a coded block from a bitstream, the method comprising: A first value is read from the bitstream, the first value indicating the palette pattern coding bit depth used to encode the coded block; A second value is read from the bitstream, the second value indicating whether an offset is applied to the coded bit depth of the palette pattern; A palette pattern prediction block for the coded block is generated using a palette color set determined based on the first value and the second value. The palette pattern prediction block is used to generate the reconstruction block; and The reconstructed block is output for storage or display. Wherein, when the second value indicates the application of the offset, the palette color set is restricted to a color range associated with the maximum palette mode coding bit depth.

2. The method according to claim 1, further comprising: The palette pattern coding bit depth is shifted according to the offset to determine the bit depth of the coding block, wherein the palette color set is restricted to a color range associated with the maximum palette pattern coding bit depth based on the fact that the palette pattern coding bit depth is greater than the maximum palette pattern coding bit depth.

3. The method according to claim 1, wherein, The maximum palette pattern coding bit depth is 8 bits.

4. The method according to claim 1, wherein, When the second value indicates that the offset is not applied, the palette color set is based on the palette pattern coding bit depth.

5. The method according to claim 1, wherein, The first value and the second value are encoded into a sequence header within the bitstream.

6. The method according to claim 1, wherein, The first value and the second value are encoded into the frame header within the bitstream.

7. The method according to claim 1, wherein, The first value is written into the bit stream using three bits, and the second value is written into the bit stream using one bit.

8. An apparatus for decoding a coded block from a bitstream, the apparatus comprising: Memory; as well as A processor, configured to execute instructions stored in the memory for: A first value is read from the bitstream, the first value indicating the palette pattern coding bit depth used to encode the coded block; A second value is read from the bitstream, the second value indicating whether an offset is applied to the coded bit depth of the palette pattern; A palette pattern prediction block for the coded block is generated using a palette color set determined based on the first value and the second value. The palette pattern prediction block is used to generate the reconstruction block; and The reconstructed block is output for storage or display. Wherein, when the second value indicates the application of the offset, the palette color set is restricted to a color range associated with the maximum palette mode coding bit depth, and Wherein, when the second value indicates that the offset is not applied, the palette color set is based on the palette pattern coding bit depth.

9. The apparatus according to claim 8, wherein, The instructions include instructions for performing the following operations: When the second value indicates the application of the offset, the palette pattern coding bit depth is shifted according to the offset to determine the bit depth of the coded block. Specifically, the palette color set is restricted to a color range associated with the maximum palette pattern code bit depth based on the fact that the palette pattern code bit depth is greater than the maximum palette pattern code bit depth.

10. The apparatus according to claim 8, wherein, The maximum palette pattern coding bit depth is 8 bits.

11. The apparatus according to claim 8, wherein, The first value and the second value are encoded into a sequence header within the bitstream.

12. The apparatus according to claim 8, wherein, The first value and the second value are encoded into the frame header within the bitstream.

13. A non-transitory computer-readable storage device, the non-transitory computer-readable storage device comprising program instructions executable by one or more processors, the program instructions, when executed, causing the one or more processors to perform operations for decoding coded blocks from a bitstream, the operations including: A first value and a second value are read from the bit stream, the first value indicating the palette pattern coding bit depth used to encode the coded block, and the second value indicating whether an offset is applied to the palette pattern coding bit depth; A prediction block for the coded block is generated using a palette color set determined based on the first value and the second value; as well as The output is a reconstructed block generated using the predicted block for storage or display. Wherein, when the second value indicates the application of the offset, the palette color set is restricted to a color range associated with the maximum palette mode coding bit depth.

14. The non-transitory computer-readable storage device of claim 13, wherein the operation further comprises: The palette pattern coding bit depth is shifted according to the offset to determine the bit depth of the coding block, wherein the palette color set is restricted to a color range associated with the maximum palette pattern coding bit depth based on the fact that the palette pattern coding bit depth is greater than the maximum palette pattern coding bit depth.

15. The non-transitory computer-readable storage device according to claim 13, wherein, The maximum palette pattern coding bit depth is 8 bits.

16. The non-transitory computer-readable storage device according to claim 13, wherein, When the second value indicates that the offset is not applied, the palette color set is based on the palette pattern coding bit depth.

17. The non-transitory computer-readable storage device according to claim 13, wherein, The first value and the second value are encoded into a sequence header within the bitstream.

18. The non-transitory computer-readable storage device according to claim 13, wherein, The first value and the second value are encoded into the frame header within the bitstream.

Citation Information

Patent Citations

  • Entry construction for palette mode coding

    WO2020207421A1