CN112104876A - Data compression method and device for performing multi-set coefficient component conversion on prediction residual error - Google Patents
Data compression method and device for performing multi-set coefficient component conversion on prediction residual error Download PDFInfo
- Publication number
- CN112104876A CN112104876A CN202010556415.2A CN202010556415A CN112104876A CN 112104876 A CN112104876 A CN 112104876A CN 202010556415 A CN202010556415 A CN 202010556415A CN 112104876 A CN112104876 A CN 112104876A
- Authority
- CN
- China
- Prior art keywords
- component
- coefficient
- coefficients
- sets
- conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 173
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 165
- 238000013144 data compression Methods 0.000 title abstract description 9
- 230000009466 transformation Effects 0.000 claims description 136
- 238000004364 calculation method Methods 0.000 claims description 18
- 238000013139 quantization Methods 0.000 description 147
- 238000007906 compression Methods 0.000 description 132
- 230000006835 compression Effects 0.000 description 130
- 230000003190 augmentative effect Effects 0.000 description 11
- 239000011449 brick Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 108091026890 Coding region Proteins 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
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/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/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/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/184—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 bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
本发明提供了对预测残差进行多套系数分量转换的数据压缩方法和装置。在本方法和装置中,对多分量残差数据,按照预定规则,根据其特性,选择预定的至少三套系数之一进行分量转换,所述预定的至少三套系数中,允许包括恒等转换即实际上不做分量转换的一套系数。The present invention provides a data compression method and device for converting multiple sets of coefficient components to prediction residuals. In the present method and apparatus, for multi-component residual data, according to a predetermined rule and according to its characteristics, one of the predetermined at least three sets of coefficients is selected for component conversion, and the predetermined at least three sets of coefficients are allowed to include identity conversion. That is, a set of coefficients that do not actually do component conversion.
Description
技术领域technical field
本发明涉及一种对数据进行有损或无损压缩的编码及解码系统,特别是对预测残差数据的编码及解码的方法和装置。The present invention relates to an encoding and decoding system for lossy or lossless compression of data, in particular to a method and device for encoding and decoding prediction residual data.
背景技术Background technique
随着进入人工智能、大数据、云-边缘计算、5G时代,对包括图像和视频数据以及各种新形态的数据,进行超高压缩比和极高质量的数据压缩成为必不可少的技术。With the entry into the era of artificial intelligence, big data, cloud-edge computing, and 5G, ultra-high compression ratio and high-quality data compression have become an indispensable technology for data including image and video data and various new forms of data.
数据集是由数据元素(例如:字节、比特、像素、像素分量、空间采样点、变换域系数)组成的集合。A dataset is a collection of data elements (eg: bytes, bits, pixels, pixel components, spatial samples, transform domain coefficients).
对数据集进行编码或解码(简称为编解码)时,通常将数据元素按照预定规则排序即规定前后顺序,依前后顺序进行编解码。When encoding or decoding a data set (referred to as encoding and decoding), the data elements are usually sorted according to predetermined rules, that is, the order is specified, and the encoding and decoding are performed in the order.
对排列成一定空间(一维、二维、或多维)形状的数据集(例如:一个一维数据队列、一个二维数据文件、一帧图像、一个视频序列、一个变换域、一个变换块、多个变换块、一个三维场景、一个持续变化的三维场景的序列),特别是二维或以上数据集进行数据压缩的编码(以及相应的解码)时,有时还把此数据集划分成若干具有预定形状和/或大小(即元素数目)的子集,称为整压缩单元,以整压缩单元为单位,以预定的顺序,一个一个整压缩单元地进行编码或者解码。在任一时刻,正在编码或者解码中的整压缩单元称为当前整压缩单元。正在编码或者解码中的数据元素(有时也简称为元素)称为当前编码数据元素或者当前解码数据元素,统称为当前数据元素,简称为当前元素。元素由N个分量(通常1≤N≤5)组成,因此数据集和整压缩单元也都由N个分量组成。For datasets arranged in a certain spatial (one-, two-, or multi-dimensional) shape (for example: a one-dimensional data queue, a two-dimensional data file, a frame of image, a video sequence, a transform domain, a transform block, Multiple transform blocks, a 3D scene, a sequence of continuously changing 3D scenes), especially when two-dimensional or more data sets are encoded (and correspondingly decoded) for data compression, sometimes the data set is divided into several A subset of a predetermined shape and/or size (ie, the number of elements) is called an integer compression unit, and is encoded or decoded one by one in a predetermined order with the integer compression unit as a unit. At any time, the integer compression unit that is being encoded or decoded is called the current integer compression unit. The data element that is being encoded or decoded (sometimes referred to simply as element) is referred to as the current encoded data element or the currently decoded data element, collectively referred to as the current data element, or referred to as the current element for short. An element consists of N components (usually 1≤N≤5), so both datasets and integer compression units also consist of N components.
在数据集划分成整压缩单元的情形,排序的一种预定规则是首先对整压缩单元排序,再对每个整压缩单元内的元素排序。In the case where the data set is divided into integer compression units, a predetermined rule for sorting is to first sort the integer compression units, and then sort the elements within each integer compression unit.
若干个预定数目的整压缩单元构成一个压缩区块。一个压缩区块内的所有整压缩单元通常具有一种或若干种共同的特征。A predetermined number of integral compression units constitute a compression block. All integral compression units within a compression block usually have one or several characteristics in common.
数据压缩中的编码通常由至少下列阶段的一部分或全体组成:Coding in data compression usually consists of at least some or all of the following stages:
1)预测,主要包括相邻预测、串预测、块预测等,产生预测值和预测残差,简称残差;预测也称匹配,特别是,串预测也称串匹配,块预测也称块匹配;1) Prediction, mainly including adjacent prediction, string prediction, block prediction, etc., generating prediction values and prediction residuals, referred to as residuals; prediction is also called matching, especially, string prediction is also called string matching, and block prediction is also called block matching. ;
2)变换,主要是对预测残差进行变换,产生变换系数,简称系数;当变换是恒等变换即实际上不做变换时,系数与残差完全相等;2) Transformation, which is mainly to transform the prediction residual to generate transformation coefficients, referred to as coefficients; when the transformation is an identity transformation, that is, no transformation is actually performed, the coefficients and residuals are exactly equal;
3)量化,主要是对系数进行量化,产生量化残差;当量化是恒等量化即实际上不做量化时,量化残差等于系数;当变换是恒等变换时,量化残差是对预测残差进行量化的结果;当量化是恒等量化并且变换是恒等变换时,量化残差等于系数也等于残差;3) Quantization, mainly quantizing the coefficients to generate quantization residuals; when the quantization is identity quantization, that is, when quantization is not actually done, the quantization residuals are equal to the coefficients; when the transformation is identity transformation, the quantization residuals are used to predict The result of quantization of the residual; when the quantization is an identity quantization and the transformation is an identity transformation, the quantization residual is equal to the coefficient and equal to the residual;
4)熵编码,主要包括对量化残差进行至少包括二值化在内的熵编码,产生压缩数据码流。4) Entropy coding, which mainly includes entropy coding at least including binarization on the quantized residual to generate a compressed data stream.
以上的2)、3)、4)通常统称为残差编码。The above 2), 3), and 4) are generally collectively referred to as residual coding.
数据压缩中的解码通常由至少下列阶段的一部分或全体组成:Decoding in data compression usually consists of at least some or all of the following stages:
1)熵解码,主要是对压缩数据码流进行解析和至少包括反二值化在内的熵解码,产生量化残差;1) Entropy decoding, mainly to parse the compressed data stream and entropy decoding at least including inverse binarization to generate quantized residuals;
2)反量化,主要是对量化残差进行反量化,产生重构系数;当量化是恒等量化即实际上不做量化时,反量化也是恒等反量化即实际上不做反量化,从而重构系数等于量化残差;2) Inverse quantization, mainly inverse quantization of the quantization residuals to generate reconstruction coefficients; when quantization is identity quantization, that is, no quantization is actually performed, inverse quantization is also identity inverse quantization, that is, inverse quantization is not actually performed, so The reconstruction coefficient is equal to the quantization residual;
3)反变换,主要是对重构系数进行反变换,产生重构残差;当变换是恒等变换即实际上不做变换时,反变换也是恒等变换即实际上不做反变换,从而重构残差与重构系数完全相等;当量化是恒等量化并且变换是恒等变换时,反量化也是恒等反量化并且反变换也是恒等反变换,从而重构残差等于重构系数也等于量化残差;3) Inverse transformation, mainly inverse transformation of the reconstruction coefficient, to generate a reconstruction residual; when the transformation is an identity transformation, that is, no transformation is actually performed, the inverse transformation is also an identity transformation, that is, no inverse transformation is actually performed, so The reconstruction residual is exactly equal to the reconstruction coefficient; when the quantization is identity quantization and the transform is an identity transform, the inverse quantization is also the identity inverse quantization and the inverse transform is also the identity inverse transform, so the reconstruction residual is equal to the reconstruction coefficient Also equal to the quantized residual;
4)预测补偿,主要包括相邻预测补偿、串预测补偿、块预测补偿等,产生预测值和重构数据也称重建数据或称复原数据。4) Prediction compensation, which mainly includes adjacent prediction compensation, string prediction compensation, block prediction compensation, etc. The prediction value and reconstruction data are also called reconstruction data or restoration data.
以上的1)、2)、3)通常统称为残差解码。The above 1), 2), and 3) are generally collectively referred to as residual decoding.
编码各阶段中的预测残差、变换系数、量化残差和解码各阶段中的量化残差、重构系数、重构残差,都统称为残差或称为残差数据。一般通过上下文确定残差究竟是预测残差还是变换系数还是量化残差还是重构系数还是重构残差。如果从上下文不能确定,残差就是指预测残差和/或变换系数和/或量化残差和/或重构系数和/或重构残差。The prediction residuals, transform coefficients, and quantized residuals in each stage of encoding and the quantized residuals, reconstruction coefficients, and reconstruction residuals in each stage of decoding are collectively referred to as residuals or residual data. Generally, it is determined by context whether the residual is a prediction residual, a transform coefficient, a quantization residual, a reconstruction coefficient or a reconstruction residual. If it cannot be determined from the context, the residuals refer to prediction residuals and/or transform coefficients and/or quantization residuals and/or reconstruction coefficients and/or reconstruction residuals.
编解码各阶段中涉及的输入数据,原始数据,残差数据以及各种中间数据中的单个数据称为数据样本简称样本或称样值。The input data, original data, residual data and various intermediate data involved in each stage of encoding and decoding are called data samples or samples for short.
在多分量即N>1数据的情形,残差数据的各分量之间通常具有较强的相关性。数据压缩中的一种常用手段是使用分量空间转换(简称分量转换)将数据从一种分量间相关性较强的分量空间转换成另一种分量间相关性较弱的分量空间,以提高后续熵编码的编码效率。In the case of multi-component data, that is, N>1 data, there is usually a strong correlation between the components of the residual data. A common method in data compression is to use component space transformation (referred to as component transformation) to convert data from a component space with strong correlation between components to another component space with weak correlation between components, so as to improve the subsequent performance. Coding efficiency of entropy coding.
残差数据的分量转换正操作的一个例是:An example of a component transformation positive operation for residual data is:
转换后分量1=(转换前分量1 + 转换前分量2)/2;Component 1 after conversion = (Component 1 before conversion + Component 2 before conversion)/2;
转换后分量2=(转换前分量1 - 转换前分量2)/2;Component 2 after conversion = (Component 1 before conversion - Component 2 before conversion)/2;
对应的分量转换逆操作是:The corresponding inverse component transformation operation is:
转换前分量1=(转换后分量1 + 转换后分量2);pre-conversion component 1 = (post-conversion component 1 + post-conversion component 2);
转换前分量2=(转换后分量1 - 转换后分量2);pre-conversion component 2 = (post-conversion component 1 - post-conversion component 2);
现有技术中,通常使用单一固定系数进行多分量残差数据的分量转换,不能适应各种新形态的数据具有各种各样的相关性,甚至同一个数据集的不同部分也具有不同的相关性的新特点。In the prior art, a single fixed coefficient is usually used for component transformation of multi-component residual data, and data that cannot adapt to various new forms have various correlations, and even different parts of the same data set have different correlations. new features of sex.
发明内容SUMMARY OF THE INVENTION
为了解决现有技术中的这一问题,本发明提供了一种对多分量残差数据使用多套系数进行分量转换的数据压缩方法和装置。在本方法和装置中,对多分量残差数据,按照预定规则,根据其特性,选择预定的至少三套系数之一进行分量转换,所述预定的至少三套系数中,允许包括恒等转换即实际上不做分量转换的一套系数。In order to solve this problem in the prior art, the present invention provides a data compression method and device for performing component transformation on multi-component residual data using multiple sets of coefficients. In the present method and apparatus, for multi-component residual data, according to a predetermined rule and according to its characteristics, one of the predetermined at least three sets of coefficients is selected for component conversion, and the predetermined at least three sets of coefficients are allowed to include identity conversion. That is, a set of coefficients that do not actually do component conversion.
根据本发明的一个方面,提供了一种多分量数据编码方法或装置,至少包括完成下列功能和操作的步骤或模块:According to one aspect of the present invention, there is provided a multi-component data encoding method or device, comprising at least steps or modules for completing the following functions and operations:
1)分析当前多分量残差数据的特性,依据预定的规则,选择分量转换用的预定的多套系数之一作为当前编码的选定系数;1) Analyze the characteristics of the current multi-component residual data, and according to a predetermined rule, select one of the predetermined sets of coefficients for component conversion as the selected coefficient of the current encoding;
2)至少使用所述选定系数对当前残差进行分量转换正操作;2) at least use the selected coefficients to perform a component transformation forward operation on the current residual;
3)将当前编码的结果写入压缩数据码流,压缩数据码流中至少包括被称为选定信息的表示所述选定系数是哪套系数所需要的部分或全部信息。3) Write the result of the current encoding into the compressed data code stream, and the compressed data code stream includes at least part or all of the information called selected information which is required to indicate which set of coefficients the selected coefficient is.
图1(a)是本发明的编码方法或装置的一个示意图。Fig. 1(a) is a schematic diagram of the encoding method or apparatus of the present invention.
从第一个角度,本发明提供了一种对多分量数据进行压缩的编码方法,其特征在于至少包括下列步骤:From a first perspective, the present invention provides an encoding method for compressing multi-component data, which is characterized by at least comprising the following steps:
1)分析当前多分量残差数据的特性,依据预定的规则,选择分量转换用的预定的多套系数之一作为当前编码的选定系数;1) Analyze the characteristics of the current multi-component residual data, and according to a predetermined rule, select one of the predetermined sets of coefficients for component conversion as the selected coefficient of the current encoding;
2)至少使用所述选定系数对当前残差进行分量转换正操作;2) at least use the selected coefficients to perform a component transformation forward operation on the current residual;
3)将当前编码的结果写入压缩数据码流,压缩数据码流中至少包括被称为选定信息的表示所述选定系数是哪套系数所需要的部分或全部信息。3) Write the result of the current encoding into the compressed data code stream, and the compressed data code stream includes at least part or all of the information called selected information which is required to indicate which set of coefficients the selected coefficient is.
从第二个角度,本发明提供了一种对多分量数据进行压缩的编码装置,其特征在于至少包括下列模块:From a second perspective, the present invention provides an encoding device for compressing multi-component data, which is characterized by at least including the following modules:
系数选择模块:分析当前多分量残差数据的特性,依据预定的规则,选择分量转换用的预定的多套系数之一作为当前编码的选定系数;Coefficient selection module: analyzes the characteristics of the current multi-component residual data, and selects one of the predetermined multiple sets of coefficients for component conversion as the selected coefficient of the current encoding according to a predetermined rule;
分量转换正操作模块:至少使用所述选定系数对当前残差进行分量转换正操作;Component transformation forward operation module: use at least the selected coefficient to perform a component transformation forward operation on the current residual;
码流产生模块:将当前编码的结果写入压缩数据码流,压缩数据码流中至少包括被称为选定信息的表示所述选定系数是哪套系数所需要的部分或全部信息。Code stream generation module: write the result of the current encoding into the compressed data code stream, the compressed data code stream includes at least part or all of the information called selected information which is required to indicate which set of coefficients the selected coefficients are.
根据本发明的另一个方面,提供了一种多分量数据解码方法或装置,至少包括完成下列功能和操作的步骤或模块:According to another aspect of the present invention, there is provided a multi-component data decoding method or device, comprising at least steps or modules for completing the following functions and operations:
1)解析压缩数据码流,至少获取被称为选定信息的表示选用预定的多套系数中的哪套系数作为选定系数对当前残差进行分量转换所需要的部分或全部信息;1) Parse the compressed data stream, and obtain at least part or all of the information called selection information that indicates which set of coefficients in the predetermined sets of coefficients are selected as the selected coefficients to perform component conversion on the current residual;
2)至少根据所述信息和/或预定的解码所涉及的参数和/或预定的解码所涉及的变量,选用预定的多套系数之一作为当前解码的选定系数;2) At least according to the information and/or the parameters involved in the predetermined decoding and/or the variables involved in the predetermined decoding, select one of the predetermined sets of coefficients as the selected coefficient for the current decoding;
3)至少使用所述选定系数对残差进行分量转换逆操作,获得复原或重建或重构的多分量残差数据。3) at least use the selected coefficients to perform an inverse component transformation operation on the residual to obtain restored or reconstructed or reconstructed multi-component residual data.
图1(b)是本发明的解码方法或装置的一个示意图。FIG. 1(b) is a schematic diagram of the decoding method or apparatus of the present invention.
从第三个角度,本发明提供了一种对多分量数据进行压缩的解码方法,其特征在于至少包括下列步骤:From a third angle, the present invention provides a decoding method for compressing multi-component data, which is characterized by at least comprising the following steps:
1)解析压缩数据码流,至少获取被称为选定信息的表示选用预定的多套系数中的哪套系数作为选定系数对当前残差进行分量转换所需要的部分或全部信息;1) Parse the compressed data stream, and obtain at least part or all of the information called selection information that indicates which set of coefficients in the predetermined sets of coefficients are selected as the selected coefficients to perform component conversion on the current residual;
2)至少根据所述信息和/或预定的解码所涉及的参数和/或预定的解码所涉及的变量,选用预定的多套系数之一作为当前解码的选定系数;2) At least according to the information and/or the parameters involved in the predetermined decoding and/or the variables involved in the predetermined decoding, select one of the predetermined sets of coefficients as the selected coefficient for the current decoding;
3)至少使用所述选定系数对残差进行分量转换逆操作,获得复原或重建或重构的多分量残差数据。3) at least use the selected coefficients to perform an inverse component transformation operation on the residual to obtain restored or reconstructed or reconstructed multi-component residual data.
从第四个角度,本发明提供了一种对多分量数据进行压缩的解码装置,其特征在于至少包括下列模块:From a fourth perspective, the present invention provides a decoding device for compressing multi-component data, which is characterized by at least including the following modules:
码流解析模块:解析压缩数据码流,至少获取被称为选定信息的表示选用预定的多套系数中的哪套系数作为选定系数对当前残差进行分量转换所需要的部分或全部信息;Code stream parsing module: parses the compressed data stream, and obtains at least some or all of the information, called selected information, which indicates which set of coefficients among the predetermined sets of coefficients is selected as the selected coefficient to perform component conversion on the current residual. ;
系数选用模块:至少根据所述信息和/或预定的解码所涉及的参数和/或预定的解码所涉及的变量,选用预定的多套系数之一作为当前解码的选定系数;Coefficient selection module: selects one of the predetermined sets of coefficients as the selected coefficient for current decoding at least according to the information and/or the parameters involved in the predetermined decoding and/or the variables involved in the predetermined decoding;
分量转换逆操作模块:至少使用所述选定系数对残差进行分量转换逆操作,获得复原或重建或重构的多分量残差数据。Component transformation inverse operation module: at least use the selected coefficients to perform an inverse component transformation operation on the residual to obtain restored or reconstructed or reconstructed multi-component residual data.
本发明适用于对数据进行有损压缩的编码和解码,本发明也同样适用于对数据进行无损压缩的编码和解码。本发明适用于一维数据如字符串数据或字节串数据或一维图形或分维图形的编码和解码,本发明也同样适用于二维或以上数据如图像或视频数据的编码和解码。The present invention is applicable to encoding and decoding for lossy compression of data, and the present invention is also applicable to encoding and decoding for lossless compression of data. The present invention is applicable to encoding and decoding of one-dimensional data such as character string data or byte string data or one-dimensional graphics or fractal graphics, and is also applicable to encoding and decoding of two-dimensional or more data such as image or video data.
本发明中,数据压缩所涉及的数据包括下列类型的数据之一或其组合:In the present invention, the data involved in data compression includes one or a combination of the following types of data:
1)一维数据;2)二维数据;3)多维数据;4)图形;5)分维图形;6)图像;7)图像的序列;8)视频;9)音频;10)文件;11)字节;12)比特;13)像素;14)三维场景;15)持续变化的三维场景的序列;16)虚拟现实的场景;17)持续变化的虚拟现实的场景的序列;18)像素形式的图像;19)图像的变换域数据;20)二维或二维以上字节的集合;21)二维或二维以上比特的集合;22)像素的集合;23)单分量像素的集合;24)三分量像素(R,G,B,A)的集合;25)三分量像素(Y,U,V)的集合;26)三分量像素(Y,Cb,Cr)的集合;27)三分量像素(Y,Cg,Co)的集合;28)四分量像素(C,M,Y,K)的集合;29)四分量像素(R,G,B,A)的集合;30)四分量像素(Y,U,V,A)的集合;31)四分量像素(Y,Cb,Cr,A)的集合;32)四分量像素(Y,Cg,Co,A)的集合。1) one-dimensional data; 2) two-dimensional data; 3) multi-dimensional data; 4) graphics; 5) fractal graphics; 6) images; 7) sequences of images; 8) videos; 9) audios; 10) documents; 11 ) bytes; 12) bits; 13) pixels; 14) three-dimensional scenes; 15) sequences of continuously changing three-dimensional scenes; 16) virtual reality scenes; 17) continuously changing sequences of virtual reality scenes; 18) pixel form 19) Transform domain data of the image; 20) A collection of two-dimensional or more bytes; 21) A collection of two-dimensional or more bits; 22) A collection of pixels; 23) A collection of single-component pixels; 24) A set of three-component pixels (R, G, B, A); 25) A set of three-component pixels (Y, U, V); 26) A set of three-component pixels (Y, Cb, Cr); 27) Three set of component pixels (Y, Cg, Co); 28) set of four-component pixels (C, M, Y, K); 29) set of four-component pixels (R, G, B, A); 30) set of four-component pixels set of pixels (Y, U, V, A); 31) set of four-component pixels (Y, Cb, Cr, A); 32) set of four-component pixels (Y, Cg, Co, A).
本发明中,在原始数据是图像、图像的序列、视频等的情形,整压缩单元是图像或序列的一个编码区域或者一个解码区域,包括以下情形:图像的子图像、条带slice、片块tile、片块组tile group、砖块brick、宏块、最大编码单元LCU、编码树单元CTU、编码单元CU、CU的子区域、子编码单元SubCU、预测块、预测单元PU、PU的子区域、子预测单元SubPU、变换块、变换单元TU、TU的子区域、子变换单元SubTU。在这种情形,压缩区块是图像或序列中若干个预定数目的编码区域或者若干个预定数目的解码区域,包括以下情形:序列、图像的序列、图像、图像的子图像、条带slice、片块tile、片块组tile group、砖块brick、最大编码单元LCU、编码树单元CTU、编码单元CU、变换块、变换单元TU、一个或若干个预定数目的条带slice或片块tile或片块组tile group或砖块brick或最大编码单元LCU或编码树单元CTU或编码单元CU或变换块或变换单元TU。In the present invention, in the case where the original data is an image, a sequence of images, a video, etc., the integral compression unit is an encoding area or a decoding area of the image or sequence, including the following situations: a sub-image, a slice, a slice of an image tile, tile group, brick brick, macroblock, largest coding unit LCU, coding tree unit CTU, coding unit CU, sub-region of CU, sub-coding unit SubCU, prediction block, prediction unit PU, sub-region of PU , sub-prediction unit SubPU, transform block, transform unit TU, sub-region of TU, sub-transform unit SubTU. In this case, a compressed block is a predetermined number of coding regions or a predetermined number of decoding regions in a picture or sequence, including the following situations: a sequence, a sequence of pictures, a picture, a sub-picture of a picture, a slice, slice tile, slice group tile group, brick brick, largest coding unit LCU, coding tree unit CTU, coding unit CU, transform block, transform unit TU, one or several predetermined number of slices or slice tiles or tile group or brick brick or largest coding unit LCU or coding tree unit CTU or coding unit CU or transform block or transform unit TU.
以上通过若干特定的具体实例说明本发明的技术特征。本领域技术人员可由本说明书所揭示的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在不背离本发明的精神下进行各种修饰或改变。The technical features of the present invention are described above through some specific specific examples. Those skilled in the art can easily understand other advantages and functions of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention.
附图说明Description of drawings
图1(a)是本发明的编码方法或装置的一个示意图。Fig. 1(a) is a schematic diagram of the encoding method or apparatus of the present invention.
图1(b)是本发明的解码方法或装置的一个示意图。FIG. 1(b) is a schematic diagram of the decoding method or apparatus of the present invention.
具体实施方式Detailed ways
以下是本发明的更多的实施细节或变体。The following are further implementation details or variants of the invention.
实施或变体例1Implementation or Variation 1
所述编码方法或装置或者解码方法或装置中,所述多套系数至少包括两套非恒等转换的系数。In the encoding method or apparatus or decoding method or apparatus, the multiple sets of coefficients include at least two sets of coefficients of non-identity transformation.
实施或变体例2Implementation or Variation 2
所述编码方法或装置或者解码方法或装置中,压缩数据码流中存在被称为整压缩单元分量转换选定信息的表示一个整压缩单元使用所述多套系数中哪一套系数或哪几套系数所需要的部分或全部信息。In the encoding method or device or decoding method or device, there is information called integral compression unit component conversion selection information in the compressed data code stream, which indicates which set of coefficients or which coefficients of the multiple sets of coefficients are used by an integral compression unit. Some or all of the information required for the set of coefficients.
实施或变体例3Implementation or Variation 3
所述编码方法或装置或者解码方法或装置中,对N(N≥3)个分量中的M(2≤M<N)个分量进行分量转换,对其余的N-M个分量不进行分量转换。In the encoding method or apparatus or decoding method or apparatus, component conversion is performed on M (2≤M<N) components among the N (N≥3) components, and component conversion is not performed on the remaining N-M components.
实施或变体例4Implementation or Variation 4
所述编码方法或装置或者解码方法或装置中,对N(N≥3)个分量中的2个分量进行分量转换,对其余的N-2个分量不进行分量转换;所述编码方法或装置中的所述分量转换正操作是将分量w和x转换为分量y和z的线性转换F,具有I(I≥3)套系数;所述解码方法或装置中的所述分量转换逆操作是将分量和转换为分量和的线性转换G,具有I套系数。In the encoding method or device or decoding method or device, component conversion is performed on 2 of the N (N≥3) components, and component conversion is not performed on the remaining N-2 components; the encoding method or device The component transformation forward operation in is a linear transformation F that transforms components w and x into components y and z, with I (I ≥ 3) sets of coefficients; the component transformation inverse operation in the decoding method or apparatus is the component and convert to component and The linear transformation G of , with I set of coefficients.
在无损压缩的场合,以上解码方法或装置中的,,,通常分别等于编码方法或装置中的w,x,y和z。在有损压缩的场合,以上解码方法或装置中的,,,通常或者分别等于编码方法或装置中的w,x,y,z经过变换、量化、反量化、反变换后的重构值或者经过量化、反量化后的重构值或者经过变换、反变换后的重构值。In the case of lossless compression, the above decoding method or device , , , Usually equal to w, x, y and z in the encoding method or device, respectively. In the case of lossy compression, the above decoding method or device , , , Usually or respectively equal to w, x, y, z in the encoding method or device after transformation, quantization, inverse quantization, inverse transformation reconstruction value or reconstruction value after quantization, inverse quantization or after transformation, inverse transformation the reconstructed value.
实施或变体例5Implementation or Variation 5
实施或变体例4所述编码方法或装置或者解码方法或装置中,In the encoding method or device or the decoding method or device described in the implementation or variant 4,
所述线性转换F的I套系数是o[i],p[i],q[i],r[i],s[i],t[i],u[i],v[i],0 ≤ i <I,所述线性转换F由下列方式计算:The I sets of coefficients of the linear transformation F are o[i], p[i], q[i], r[i], s[i], t[i], u[i], v[i], 0 ≤ i < I, the linear transformation F is calculated by:
y = (o[i]*w + p[i]*x + q[i])/r[i],z = (s[i]*w + t[i]*x + u[i])/v[i];y = (o[i]*w + p[i]*x + q[i])/r[i], z = (s[i]*w + t[i]*x + u[i]) /v[i];
所述线性转换G的I套系数是a[i],b[i],c[i],d[i],e[i],f[i],g[i],h[i],0 ≤ i <I,所述线性转换G由下列方式计算:The I set of coefficients of the linear transformation G are a[i], b[i], c[i], d[i], e[i], f[i], g[i], h[i], 0 ≤ i < I, the linear transformation G is calculated by:
= (a[i]*+ b[i]*+ c[i])/d[i],= (e[i]*+ f[i]*+ g[i])/h[i]。 = (a[i]* + b[i]* + c[i])/d[i], = (e[i]* + f[i]* + g[i])/h[i].
实施或变体例6Implementation or Variation 6
实施或变体例5所述编码方法或装置或者解码方法或装置中,将分量转换的正操作的第i(0 ≤ i < I)套系数o[i],p[i],q[i],r[i],s[i],t[i],u[i],v[i]简记为[o, p, q,r, s, t, u, v],将分量转换的逆操作的第i(0 ≤ i < I)套系数a[i],b[i],c[i],d[i],e[i],f[i],g[i],h[i]简记为[a, b, c, d, e, f, g, h],所述多套系数至少包括下列七套系数中的若干套或全部套:In the encoding method or device or the decoding method or device described in the implementation or variant 5, the i-th (0 ≤ i < I) set of coefficients o[i], p[i], q[i] of the forward operation of the component conversion , r[i], s[i], t[i], u[i], v[i] are abbreviated as [o, p, q, r, s, t, u, v], the Inverse operation of the ith (0 ≤ i < I) set of coefficients a[i], b[i], c[i], d[i], e[i], f[i], g[i], h [i] is abbreviated as [a, b, c, d, e, f, g, h], and the multiple sets of coefficients include at least some or all of the following seven sets of coefficients:
1)系数#1:[o, p, q, r, s, t, u, v] = [1, 0, 0, 0, 0, 1, 0, 0],[a, b, c, d,e, f, g, h] = [1, 0, 0, 0, 0, 1, 0, 0]即线性转换是恒等转换,使用本套系数的分量转换正操作的计算公式是:1) Coefficient #1: [o, p, q, r, s, t, u, v] = [1, 0, 0, 0, 0, 1, 0, 0], [a, b, c, d ,e, f, g, h] = [1, 0, 0, 0, 0, 1, 0, 0] That is, the linear transformation is an identity transformation, and the calculation formula of the forward operation using the component transformation of this set of coefficients is:
y = w,z = x;y = w, z = x;
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= ,= ; = , = ;
2)系数#2a:[o, p, q, r, s, t, u, v] = [1, 1,δ, 2, 1, –1,λ, 2],[a, b, c, d,e, f, g, h] = [1, 1, 0, 1, 1, –1, 0, 1],其中δ=0或1或–1以及λ=0或1或–1都是四舍五入方式控制参数,使用本套系数的分量转换正操作的计算公式是:2) Coefficient #2a: [o, p, q, r, s, t, u, v] = [1, 1, δ, 2, 1, –1, λ, 2], [a, b, c, d,e, f, g, h] = [1, 1, 0, 1, 1, –1, 0, 1], where δ=0 or 1 or –1 and λ=0 or 1 or –1 are both The rounding method controls the parameters, and the calculation formula of the forward operation using the component conversion of this set of coefficients is:
y = (w + x +δ)/2,其中δ=0或1或–1,z = (w - x +λ)/2,其中λ=0或1或–1;y = (w + x +δ)/2, where δ=0 or 1 or –1, z = (w - x +λ)/2, where λ=0 or 1 or –1;
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= + ,= - ; = + , = - ;
3)系数#2b:[o, p, q, r, s, t, u, v] = [1, –1,δ, 2, 1, 1,λ, 2],[a, b, c, d,e, f, g, h] = [1, 1, 0, 1, –1, 1, 0, 1],其中δ=0或1以及λ=0或1都是四舍五入方式控制参数,使用本套系数的分量转换正操作的计算公式是:3) Coefficient #2b: [o, p, q, r, s, t, u, v] = [1, –1,δ, 2, 1, 1,λ, 2], [a, b, c, d,e,f,g,h] = [1, 1, 0, 1, –1, 1, 0, 1], where δ=0 or 1 and λ=0 or 1 are rounding control parameters, use The formula for calculating the forward operation of the component conversion of this set of coefficients is:
y = (w - x +δ)/2,其中δ=0或1或–1,z = (w + x +λ)/2,其中λ=0或1或–1;y = (w - x + δ)/2, where δ=0 or 1 or –1, z = (w + x +λ)/2, where λ=0 or 1 or –1;
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= + ,= -+ ; = + , = - + ;
可见,系数#2b与系数#2a的差别是两套系数的p互为相反数,t互为相反数,e互为相反数,f互为相反数;It can be seen that the difference between coefficient #2b and coefficient #2a is that the p of the two sets of coefficients are opposite numbers, t are opposite numbers, e are opposite numbers, and f are opposite numbers;
4)系数#3a:[o, p, q, r, s, t, u, v] = [A, 2,δ, A+1, 1, –2,λ, A+1],[a, b,c, d, e, f, g, h] = [1, 1, 0, 1, 1, –A,ε, 2],其中A=1或4或其他满足1≤A≤10的预定整数常数,而δ、λ、ε都是四舍五入方式控制参数:δ=0或1或–1或A/2或–A/2或其他满足–A/2≤δ≤A/2的预定整数常数、λ=0或1或–1或A/2或–A/2或其他满足–A/2≤λ≤A/2的预定整数常数、ε=0或1或–1,使用本套系数的分量转换正操作的计算公式是:4) Coefficient #3a: [o, p, q, r, s, t, u, v] = [A, 2, δ, A+1, 1, –2, λ, A+1], [a, b, c, d, e, f, g, h] = [1, 1, 0, 1, 1, –A,ε, 2], where A=1 or 4 or other predetermined conditions satisfying 1≤A≤10 Integer constant, while δ, λ, ε are all rounding control parameters: δ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants that satisfy –A/2≤δ≤A/2 , λ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants satisfying –A/2≤λ≤A/2, ε=0 or 1 or –1, using this set of coefficients The formula for calculating the forward operation of the component transformation is:
y = (Aw + 2x +δ)/(A+1),z = (w - 2x +λ)/(A+1);y = (Aw + 2x +δ)/(A+1), z = (w - 2x +λ)/(A+1);
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= + ,= (- A+ε)/2,其中ε=0或1或–1; = + , = ( -A +ε)/2, where ε=0 or 1 or –1;
5)系数#3b:[o, p, q, r, s, t, u, v] = [A, –2,δ, A+1, 1, 2,λ, A+1],[a, b,c, d, e, f, g, h] = [1, 1, 0, 1, –1, A,ε, 2],其中A=1或4或其他满足1≤A≤10的预定整数常数,而δ、λ、ε都是四舍五入方式控制参数:δ=0或1或–1或A/2或–A/2或其他满足–A/2≤δ≤A/2的预定整数常数、λ=0或1或–1或A/2或–A/2或其他满足–A/2≤λ≤A/2的预定整数常数、ε=0或1或–1,使用本套系数的分量转换正操作的计算公式是:5) Coefficient #3b: [o, p, q, r, s, t, u, v] = [A, –2,δ, A+1, 1, 2,λ, A+1], [a, b, c, d, e, f, g, h] = [1, 1, 0, 1, –1, A,ε, 2], where A=1 or 4 or other predetermined conditions satisfying 1≤A≤10 Integer constant, while δ, λ, ε are all rounding control parameters: δ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants that satisfy –A/2≤δ≤A/2 , λ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants that satisfy –A/2≤λ≤A/2, ε=0 or 1 or –1, use this set of coefficients The formula for calculating the forward operation of the component transformation is:
y = (Aw - 2x +δ)/(A+1),z = (w + 2x +λ)/(A+1);y = (Aw - 2x +δ)/(A+1), z = (w + 2x +λ)/(A+1);
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= + ,= (-+ A+ε)/2,其中ε=0或1或–1; = + , = (- + A +ε)/2, where ε=0 or 1 or –1;
可见,系数#3b与系数#3a的差别是两套系数的p互为相反数,t互为相反数,e互为相反数,f互为相反数;It can be seen that the difference between coefficient #3b and coefficient #3a is that the p of the two sets of coefficients are opposite numbers, t are opposite numbers, e are opposite numbers, and f are opposite numbers;
6)系数#4a:[o, p, q, r, s, t, u, v] = [2, A,δ, A+1, –2, 1,λ, A+1],[a, b,c, d, e, f, g, h] = [1, –A,ε, 2, 1, 1, 0, 1],其中A=1或4或其他满足1≤A≤10的预定整数常数,而δ、λ、ε都是四舍五入方式控制参数:δ=0或1或–1或A/2或–A/2或其他满足–A/2≤δ≤A/2的预定整数常数、λ=0或1或–1或A/2或–A/2或其他满足–A/2≤λ≤A/2的预定整数常数、ε=0或1或–1,使用本套系数的分量转换正操作的计算公式是:6) Coefficient #4a: [o, p, q, r, s, t, u, v] = [2, A, δ, A+1, –2, 1, λ, A+1], [a, b, c, d, e, f, g, h] = [1, –A,ε, 2, 1, 1, 0, 1], where A=1 or 4 or other predetermined conditions satisfying 1≤A≤10 Integer constant, while δ, λ, ε are all rounding control parameters: δ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants that satisfy –A/2≤δ≤A/2 , λ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants that satisfy –A/2≤λ≤A/2, ε=0 or 1 or –1, use this set of coefficients The formula for calculating the forward operation of the component transformation is:
y = (2w + Ax +δ)/(A+1),z = (-2w + x +λ)/(A+1);y = (2w + Ax +δ)/(A+1), z = (-2w + x +λ)/(A+1);
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= (- A+ε)/2,其中ε=0或1或–1,= + ; = ( -A +ε)/2, where ε=0 or 1 or –1, = + ;
可见,系数#4a是系数#3a中对调o和p,对调s和t,对调a和e,对调b和f,对调c和g,对调d和h的结果;It can be seen that coefficient #4a is the result of swapping o and p, swapping s and t, swapping a and e, swapping b and f, swapping c and g, and swapping d and h in coefficient #3a;
7)系数#4b:[o, p, q, r, s, t, u, v] = [–2, A,δ, A+1, 2, 1,λ, A+1],[a, b,c, d, e, f, g, h] = [–1, A,ε, 2, 1, 1, 0, 1],其中A=1或4或其他满足1≤A≤10的预定整数常数,而δ、λ、ε都是四舍五入方式控制参数:δ=0或1或–1或A/2或–A/2或其他满足–A/2≤δ≤A/2的预定整数常数、λ=0或1或–1或A/2或–A/2或其他满足–A/2≤λ≤A/2的预定整数常数、ε=0或1或–1,使用本套系数的分量转换正操作的计算公式是:7) Coefficient #4b: [o, p, q, r, s, t, u, v] = [–2, A, δ, A+1, 2, 1, λ, A+1], [a, b,c, d, e, f, g, h] = [–1, A,ε, 2, 1, 1, 0, 1], where A=1 or 4 or other predetermined conditions satisfying 1≤A≤10 Integer constant, while δ, λ, ε are all rounding control parameters: δ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants that satisfy –A/2≤δ≤A/2 , λ=0 or 1 or –1 or A/2 or –A/2 or other predetermined integer constants satisfying –A/2≤λ≤A/2, ε=0 or 1 or –1, using this set of coefficients The formula for calculating the forward operation of the component transformation is:
y = (-2w + Ax +δ)/(A+1),z = (2w + x +λ)/(A+1);y = (-2w + Ax +δ)/(A+1), z = (2w + x +λ)/(A+1);
而分量转换逆操作的计算公式是The formula for calculating the inverse operation of component transformation is
= (-+ A+ε)/2,其中ε=0或1或–1,= + ; = (- + A +ε)/2, where ε=0 or 1 or –1, = + ;
可见,系数#4b与系数#4a的差别是两套系数的o互为相反数,s互为相反数,a互为相反数,b互为相反数;It can be seen that the difference between coefficient #4b and coefficient #4a is that the o of the two sets of coefficients are mutually opposite numbers, s are mutually opposite numbers, a are mutually opposite numbers, and b are mutually opposite numbers;
也可见,系数#4b是系数#3b中对调o和p,对调s和t,对调a和e,对调b和f,对调c和g,对调d和h的结果。It can also be seen that coefficient #4b is the result of swapping o and p, swapping s and t, swapping a and e, swapping b and f, swapping c and g, and swapping d and h in coefficient #3b.
实施或变体例7(多套系数被划分为允许重叠的K个系数组,一个压缩区块使用一个系数组)Implementation or Variant 7 (multiple sets of coefficients are divided into K coefficient groups allowing overlapping, one compression block using one coefficient group)
所述编码方法或装置或者解码方法或装置中,所述多套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,第k(0 ≤ k < K)组系数即第k个系数组有Jk套系数,两个系数组允许有同样的一套或若干套系数(例如,通常每个系数组都包括表示恒等转换的那套系数);一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用哪个系数组所需要的部分或全部信息。In the encoding method or apparatus or decoding method or apparatus, the multiple sets of coefficients are divided into predetermined K (2≤K≤6) groups of coefficients, that is, K coefficient groups, and the kth (0≤k<K) group of coefficients That is, the k-th coefficient group has J k sets of coefficients, and two coefficient groups are allowed to have the same set or several sets of coefficients (for example, usually each coefficient group includes the set of coefficients representing the identity transformation); one uses the component transformation A compressed block can only use coefficients in one coefficient group: there is part or all of the information needed to indicate which coefficient group a compressed block uses, called compressed block component conversion selection information, in the compressed data stream.
实施或变体例8(多套系数被划分为允许重叠的K个系数组,一个压缩区块使用一个系数组)Implementation or Variation 8 (multiple sets of coefficients are divided into K coefficient groups allowing overlapping, one compression block using one coefficient group)
实施或变体例7所述编码方法或装置或者解码方法或装置中,压缩数据码流中还存在被称为压缩区块内整压缩单元分量转换选定信息的表示所述压缩区块内的一个整压缩单元使用所述压缩区块所使用的那一个系数组内哪套系数所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in the implementation or variant example 7, there is also in the compressed data code stream an information that is referred to as integral compression unit component conversion selection information within the compressed block and represents an item within the compressed block. The whole compression unit uses part or all of the information required by which set of coefficients in the coefficient group used by the compression block.
实施或变体例9(多套系数被划分为允许重叠的K个系数组,一个压缩区块使用一个系数组)Implementation or Variation 9 (Multiple sets of coefficients are divided into K coefficient groups allowing overlapping, one coefficient group is used for one compression block)
实施或变体例4、5、6所述编码方法或装置或者解码方法或装置中,所述多套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,第k(0 ≤ k < K)组系数即第k个系数组有Jk套系数,两个系数组允许有同样的一套或若干套系数(例如,通常每个系数组都包括表示恒等转换的那套系数);一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用哪个系数组所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in Implementation or Variation Examples 4, 5, and 6, the multiple sets of coefficients are divided into predetermined K (2≤K≤6) sets of coefficients, that is, K coefficient sets, and the kth set of coefficients is (0 ≤ k < K) group of coefficients, that is, the k-th coefficient group has J k sets of coefficients, and the two coefficient groups are allowed to have the same set or several sets of coefficients (for example, usually each coefficient group includes an identity transformation. that set of coefficients); a compressed block using component transform can only use coefficients within one set of coefficients: there is a set of coefficients in the compressed data stream called compressed block component transform selection information that indicates which set of coefficients a compressed block uses some or all of the information required.
实施或变体例10(多套系数被划分为允许重叠的K个系数组,一个压缩区块使用一个系数组)Implementation or Variation 10 (multiple sets of coefficients are divided into K coefficient groups allowing overlapping, one coefficient group is used for one compression block)
实施或变体例9所述编码方法或装置或者解码方法或装置中,压缩数据码流中还存在被称为压缩区块内整压缩单元分量转换选定信息的表示所述压缩区块内的一个整压缩单元使用所述压缩区块所使用的那一个系数组内哪套系数所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in Implementation or Variation Example 9, the compressed data code stream also exists in the compressed data stream, which is referred to as the selected information for the conversion of integral compression unit components in the compressed block. The whole compression unit uses part or all of the information required by which set of coefficients in the coefficient group used by the compression block.
实施或变体例11(多套系数被划分为允许重叠的K个系数组,一个压缩区块使用一个系数组)Implementation or Variation 11 (multiple sets of coefficients are divided into K coefficient groups allowing overlapping, one compression block using one coefficient group)
实施或变体例6所述编码方法或装置或者解码方法或装置中,所述七套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,每个系数组有4套系数,所述4套系数包括系数#1;一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用哪个系数组所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in Implementation or Variation Example 6, the seven sets of coefficients are divided into predetermined K (2≤K≤6) sets of coefficients, that is, K coefficient sets, each coefficient set has 4 sets of coefficients set of coefficients, the 4 sets of coefficients include coefficient #1; a compressed block using component transform can only use coefficients within one coefficient group: there is a representation in the compressed data bitstream called compressed block component transform selected information Part or all of the information required for which coefficient group a compression block uses.
实施或变体例12(多套系数被划分为允许重叠的K个系数组,一个压缩区块使用一个系数组)Implementation or Variation 12 (multiple sets of coefficients are divided into K coefficient groups allowing overlapping, one compression block using one coefficient group)
实施或变体例11所述编码方法或装置或者解码方法或装置中,所述七套系数被划分为下列2组系数即2个系数组:In the encoding method or device or the decoding method or device described in the implementation or variant 11, the seven sets of coefficients are divided into the following two sets of coefficients, that is, two coefficient groups:
系数组1:系数#1、系数#2a、系数#3a、系数#4a;Coefficient group 1: coefficient #1, coefficient #2a, coefficient #3a, coefficient #4a;
系数组2:系数#1、系数#2b、系数#3b、系数#4b。Coefficient group 2: coefficient #1, coefficient #2b, coefficient #3b, coefficient #4b.
实施或变体例13(分量转换与基于能量的量化以及反量化程度的调整)Implementation or Variation 13 (Component Transformation and Energy-Based Quantization and Adjustment of Inverse Quantization Degree)
所述编码方法或装置或者解码方法或装置中,根据分量转换的能量,对转换后分量的量化程度以及相应的反量化程度进行调整,以加大量化以及相应的反量化程度或减小量化以及相应的反量化程度。In the encoding method or device or decoding method or device, according to the energy of the component conversion, the quantization degree of the converted component and the corresponding inverse quantization degree are adjusted to increase the quantization and the corresponding inverse quantization degree or reduce the quantization and the corresponding inverse quantization degree. Corresponding inverse quantization degree.
实施或变体例14(分量转换与基于能量的量化以及反量化程度的调整)Implementation or Variation 14 (Component Transformation and Energy-Based Quantization and Adjustment of Inverse Quantization Degree)
所述编码方法或装置或者解码方法或装置中,根据分量转换的能量,对转换后分量的量化程度以及相应的反量化程度进行调整,量化以及相应的反量化程度的加大量与分量转换的能量的增益量成正比,量化以及相应的反量化程度的减小量与分量转换的能量的衰减量成正比。In the encoding method or device or the decoding method or device, according to the energy of the component conversion, the quantization degree of the converted component and the corresponding inverse quantization degree are adjusted, and the increased amount of the quantization and the corresponding inverse quantization degree and the energy of the component conversion are adjusted. The amount of gain is proportional to the amount of quantization and the corresponding reduction in inverse quantization is proportional to the amount of attenuation of the energy of the component conversion.
实施或变体例15(分量转换与非仅基于能量的量化以及反量化程度的控制)Implementation or Variation 15 (Component Transformation and Non-Energy-Based Quantization and Control of Inverse Quantization Degree)
所述编码方法或装置或者解码方法或装置中,量化以及相应的反量化程度用量化参数QP来表示和控制;增加QP起到加大量化以及相应的反量化程度的作用,减小QP起到减小量化以及相应的反量化程度的作用;所述编码方法或装置基于分量转换的能量和/或包括提高编码效率和/或降低编解码复杂度在内的其他预定的因素来控制量化参数QP的大小。In the encoding method or device or decoding method or device, the quantization and the corresponding inverse quantization degree are represented and controlled by the quantization parameter QP; increasing the QP plays a role in increasing the quantization and the corresponding inverse quantization degree, and reducing the QP plays the role of increasing the quantization and the corresponding inverse quantization degree. Reduce the effect of quantization and corresponding inverse quantization degree; the encoding method or device controls the quantization parameter QP based on the energy of component conversion and/or other predetermined factors including improving encoding efficiency and/or reducing encoding and decoding complexity the size of.
实施或变体例16(分量转换与非仅基于能量的量化以及反量化程度的通过QP的调整)Implementation or Variation 16 (Component Transformation and Non-Energy-Based Quantization and Inverse Quantization Degree Adjustment by QP)
实施或变体例15所述编码方法或装置或者解码方法或装置中, QP的调整量用QP偏移量或称QP增量来表示。In the encoding method or device or the decoding method or device described in the implementation or variant 15, the adjustment amount of QP is represented by a QP offset or QP increment.
实施或变体例17(分量转换与量化以及反量化结合后分为正常量化分量和强化量化分量)Implementation or variant 17 (component conversion combined with quantization and inverse quantization into normal quantization components and enhanced quantization components)
所述编码方法或装置或者解码方法或装置中,经过非恒等转换后获得的各分量被划分为正常量化分量和强化量化分量,对所述强化量化分量的量化程度以及相应的反量化程度比对所述正常量化分量的量化程度以及相应的反量化程度大预定的若干倍。In the encoding method or device or decoding method or device, each component obtained after non-identity conversion is divided into a normal quantization component and an enhanced quantization component, and the quantization degree of the enhanced quantization component and the corresponding inverse quantization degree are compared. The quantization degree of the normal quantization component and the corresponding inverse quantization degree are several times larger than predetermined.
实施或变体例18 (分量转换与量化以及反量化的QP结合后分为正常量化分量和强化量化分量)Implementation or variant 18 (component conversion is combined with quantized and inverse quantized QP into normal quantized components and enhanced quantized components)
实施或变体例17所述编码方法或装置或者解码方法或装置中,量化以及相应的反量化程度用量化参数QP来表示和控制,增加QP起到加大量化以及相应的反量化程度的作用,减小QP起到减小量化以及相应的反量化程度的作用,对所述强化量化分量进行量化以及相应的反量化所使用的QP值比对所述正常量化分量进行量化以及相应的反量化所使用的QP值大至少6。In the encoding method or device or the decoding method or device described in the implementation or variant 17, the quantization and the corresponding inverse quantization degree are represented and controlled by the quantization parameter QP, and increasing the QP plays a role in increasing the quantization and the corresponding inverse quantization degree, Reducing the QP plays a role in reducing the degree of quantization and corresponding inverse quantization, and the QP value used for quantizing the enhanced quantization component and corresponding inverse quantization is higher than that used for quantizing the normal quantization component and corresponding inverse quantization. Use a QP value greater than at least 6.
实施或变体例19(分量转换与量化以及反量化的QP结合后分为正常量化分量和强化量化分量)Implementation or variant 19 (component conversion combined with quantized and inverse quantized QP is divided into normal quantized components and enhanced quantized components)
实施或变体例4、5、6所述编码方法或装置或者解码方法或装置中,经过非恒等转换后获得的分量y是正常量化分量,而分量z是强化量化分量;对z进行量化以及相应的反量化所使用的QP值比对y进行量化以及相应的反量化所使用的QP值大至少6。In the encoding method or device or the decoding method or device described in the implementation or variant examples 4, 5 and 6, the component y obtained after the non-identity transformation is a normal quantization component, and the component z is an enhanced quantization component; quantizing z and The QP value used for the corresponding inverse quantization is at least 6 larger than the QP value used to quantize y and the corresponding inverse quantization.
实施或变体例20(分量转换的能量计算的例)Implementation or Variation Example 20 (Example of Energy Calculation for Component Transformation)
实施或变体例5、6所述编码方法或装置或者解码方法或装置中,经过线性转换后获得的分量y的能量Ey是o[i]2 + p[i]2的平方根,分量z的能量Ex是s[i]2 + t[i]2的平方根。In the encoding method or device or the decoding method or device described in the implementation or variant examples 5 and 6, the energy Ey of the component y obtained after linear transformation is the square root of o[i] 2 + p[i] 2 , the energy of the component z Ex is the square root of s[i] 2 + t[i] 2 .
实施或变体例21(对QP进行调整的QP偏移值)Implementation or Variation 21 (QP offset value for QP adjustment)
实施或变体例6所述编码方法或装置或者解码方法或装置中,In the encoding method or device or the decoding method or device described in the implementation or variant 6,
以对不进行分量转换的分量或经恒等转换的分量进行量化或者进行反量化所使用的QP值为基本QPbase,With the QP value used for quantization or inverse quantization of components not subject to component conversion or identity-converted components, the base QP base ,
对经具有第i套系数的非恒等转换获得的分量y进行量化或者进行反量化所使用的QP值为The QP value used for quantizing or inverse quantizing the component y obtained by the non-identity transformation with the i-th set of coefficients is
QPy[i] = QPbase + DQPy[i],QPy[i] = QP base + DQPy[i],
对经具有第i套系数的非恒等转换获得的分量z进行量化或者进行反量化所使用的QP值为The QP value used for quantizing or inverse quantizing the component z obtained by the non-identity transformation with the i-th set of coefficients is
QPz[i] = QPbase + DQPz[i],QPz[i] = QP base + DQPz[i],
其中,各第i套系数有各自独立的QP偏移值DQPy[i]和DQPz[i]。Wherein, each i-th set of coefficients has its own independent QP offset values DQPy[i] and DQPz[i].
实施或变体例22(QP偏移值与平等量化分量系数、正常强化量化分量系数的关系)Implementation or Variation Example 22 (Relationship between QP Offset Value and Equal Quantization Component Coefficient, Normal Enhanced Quantization Component Coefficient)
实施或变体例21所述编码方法或装置或者解码方法或装置中,In the encoding method or device or the decoding method or device described in the implementation or variant 21,
DQPy[i]的值是–4或–3或–2或–1或0或1或2或3;The value of DQPy[i] is –4 or –3 or –2 or –1 or 0 or 1 or 2 or 3;
DQPz[i]的值是DQPy[i]或DQPy[i]±1或DQPy[i]±2或DQPy[i]±3或Q,其中Q ≥(DQPy[i] + 6);The value of DQPz[i] is DQPy[i] or DQPy[i]±1 or DQPy[i]±2 or DQPy[i]±3 or Q, where Q ≥ (DQPy[i] + 6);
具有DQPz[i]的值为DQPy[i]或DQPy[i]±1或DQPy[i]±2或DQPy[i]±3的第i套系数被称为具有平等QP偏移值的平等量化分量系数,The ith set of coefficients with the value of DQPz[i] as DQPy[i] or DQPy[i]±1 or DQPy[i]±2 or DQPy[i]±3 is called equal quantization with equal QP offset value component coefficients,
而具有DQPz[i]的值为Q,其中Q ≥ (DQPy[i] + 6)的第i套系数被称为具有正常强化QP偏移值的正常强化量化分量系数,这时,分量y和分量z分别被称为正常量化分量和强化量化分量。And the value of Q with DQPz[i], where Q ≥ (DQPy[i] + 6), the i-th set of coefficients is called the normal-enhanced quantized component coefficients with the normal-enhanced QP offset value, in this case, the components y and The components z are referred to as normal quantization components and enhanced quantization components, respectively.
实施或变体例23(平等量化分量系数、正常强化量化分量系数的例)Implementation or Variation Example 23 (Example of Equal Quantization Component Coefficient, Normal Enhanced Quantization Component Coefficient)
实施或变体例22所述编码方法或装置或者解码方法或装置中,所述七套系数中的若干套系数与QP偏移值结合起来扩展成为下列所述编码方法或装置或者解码方法或装置所使用的所述多套系数:In the encoding method or device or decoding method or device described in the implementation or variant 22, several sets of coefficients in the seven sets of coefficients are combined with the QP offset value to expand into the following encoding method or device or decoding method or device. The sets of coefficients used:
1)所述七套系数中的I1套系数与平等QP偏移值结合起来成为I1套平等量化分量系数,1) I 1 sets of coefficients in the seven sets of coefficients are combined with equal QP offset values to become I 1 sets of equal quantized component coefficients,
2)所述七套系数中的I2套系数与正常强化QP偏移值结合起来成为I2套正常强化量化分量系数,2) The I 2 sets of coefficients in the seven sets of coefficients are combined with the normal enhancement QP offset value to become the I 2 sets of normal enhancement quantized component coefficients,
由此,所述编码方法或装置或者解码方法或装置使用总共I1 + I2套系数进行分量转换正操作或者逆操作。Thus, the encoding method or apparatus or the decoding method or apparatus uses a total of I 1 + I 2 sets of coefficients to perform a component transformation forward operation or an inverse operation.
实施或变体例24(含平等量化分量系数和正常强化量化分量系数的系数组)Implementation or Variation 24 (Coefficient group with equal quantized component coefficients and normal enhanced quantized component coefficients)
实施或变体例23所述编码方法或装置或者解码方法或装置中,所述I1 + I2套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,第k(0 ≤ k < K)组系数即第k个系数组有Jk套系数,两个系数组允许有同样的一套或若干套系数(例如,通常每个系数组都包括表示恒等转换的那套系数);一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用所述K个系数组中哪个系数组所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in the implementation or variant 23, the I 1 + I 2 sets of coefficients are divided into predetermined K (2≤K≤6) sets of coefficients, that is, K coefficient sets, and the kth set of coefficients is (0 ≤ k < K) group of coefficients, that is, the k-th coefficient group has J k sets of coefficients, and the two coefficient groups are allowed to have the same set or several sets of coefficients (for example, usually each coefficient group includes an identity transformation. that set of coefficients); a compressed block using component transform can only use coefficients within one set of coefficients: the presence of information in the compressed data stream called compressed block component transform selection information indicates that a compressed block uses the K Part or all of the information required for which coefficient group among the coefficient groups.
实施或变体例25(含平等量化分量系数和正常强化量化分量系数的系数组,每个系数组有3套系数)Implementation or Variation 25 (Coefficient groups with equal quantized component coefficients and normal enhanced quantized component coefficients, each with 3 sets of coefficients)
实施或变体例23所述编码方法或装置或者解码方法或装置中,所述I1 + I2套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,每个系数组有3套系数,所述3套系数包括系数#1;一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用所述K个系数组中哪个系数组所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in the implementation or variant 23, the set of coefficients I 1 + I 2 is divided into predetermined K (2≤K≤6) sets of coefficients, that is, K coefficient sets, each The coefficient group has 3 sets of coefficients, the 3 sets of coefficients include coefficient #1; a compressed block using component transform can only use the coefficients in one coefficient group: there is an option called the compressed block component transform in the compressed data stream. The fixed information indicates part or all of the information required for a compression block to use which coefficient group among the K coefficient groups.
实施或变体例26(含平等量化分量系数和正常强化量化分量系数的系数组,每个系数组有4套系数)Implementation or Variation 26 (Coefficient groups with equal quantized component coefficients and normal enhanced quantized component coefficients, each with 4 sets of coefficients)
实施或变体例23所述编码方法或装置或者解码方法或装置中,所述I1 + I2套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,每个系数组有4套系数,所述4套系数包括系数#1;一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用所述K个系数组中哪个系数组所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in the implementation or variant 23, the set of coefficients I 1 + I 2 is divided into predetermined K (2≤K≤6) sets of coefficients, that is, K coefficient sets, each The coefficient group has 4 sets of coefficients, which include coefficient #1; a compressed block using component transform can only use coefficients in one coefficient group: there is an option called the compressed block component transform in the compressed data stream. The fixed information indicates part or all of the information required for a compression block to use which coefficient group among the K coefficient groups.
实施或变体例27(含平等量化分量系数和正常强化量化分量系数的系数组,每个系数组有5套系数)Implementation or Variation 27 (Coefficient groups with equal quantized component coefficients and normal enhanced quantized component coefficients, each with 5 sets of coefficients)
实施或变体例23所述编码方法或装置或者解码方法或装置中,所述I1 + I2套系数被划分为预定的K(2≤K≤6)组系数即K个系数组,每个系数组有5套系数,所述5套系数包括系数#1;一个使用分量转换的压缩区块仅能使用一个系数组内的系数:压缩数据码流中存在被称为压缩区块分量转换选定信息的表示一个压缩区块使用所述K个系数组中哪个系数组所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in the implementation or variant 23, the set of coefficients I 1 + I 2 is divided into predetermined K (2≤K≤6) sets of coefficients, that is, K coefficient sets, each The coefficient group has 5 sets of coefficients, which include coefficient #1; a compressed block using component transform can only use coefficients in one coefficient group: there is an option called the compressed block component transform in the compressed data stream. The fixed information indicates part or all of the information required for a compression block to use which coefficient group among the K coefficient groups.
实施或变体例28(含平等量化分量系数和正常强化量化分量系数的系数组,每个系数组有3套系数)Implementation or Variation 28 (Coefficient groups with equal quantized component coefficients and normal enhanced quantized component coefficients, each with 3 sets of coefficients)
实施或变体例24、25、26、27所述编码方法或装置或者解码方法或装置中,压缩数据码流中还存在被称为压缩区块内整压缩单元分量转换选定信息的表示所述压缩区块内的一个整压缩单元使用所述压缩区块所使用的那一个系数组内哪套系数所需要的部分或全部信息。In the encoding method or device or the decoding method or device described in the implementation or variant 24, 25, 26, and 27, there is also a representation of the selected information called integral compression unit component conversion within the compressed block in the compressed data stream. An integral compression unit within a compression block uses some or all of the information required by which set of coefficients within that coefficient set used by the compression block.
实施或变体例29(含平等量化分量系数和正常强化量化分量系数的系数组的例)Implementation or Variation Example 29 (Example of Coefficient Group Containing Equal Quantization Component Coefficients and Normal Enhanced Quantization Component Coefficients)
实施或变体例24所述编码方法或装置或者解码方法或装置中,所述K个系数组是从下列系数组中选取的K个系数组:In the encoding method or apparatus or the decoding method or apparatus described in the implementation or variant 24, the K coefficient groups are K coefficient groups selected from the following coefficient groups:
系数组1:系数#1、与平等QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#3a、与平等QP偏移值结合的系数#4a;Coefficient group 1: coefficient #1, coefficient #2a combined with equal QP offset value, coefficient #3a combined with equal QP offset value, coefficient #4a combined with equal QP offset value;
系数组2:系数#1、与平等QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#3b、与平等QP偏移值结合的系数#4b;Coefficient group 2: coefficient #1, coefficient #2b combined with equal QP offset value, coefficient #3b combined with equal QP offset value, coefficient #4b combined with equal QP offset value;
系数组3:系数#1、与正常强化QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a、与正常强化QP偏移值结合的系数#4a;Coefficient group 3: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #3a combined with normal enhancement QP offset value, coefficient #4a combined with normal enhancement QP offset value;
系数组4:系数#1、与正常强化QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b、与正常强化QP偏移值结合的系数#4b;Coefficient group 4: coefficient #1, coefficient #2b combined with normal enhancement QP offset value, coefficient #3b combined with normal enhancement QP offset value, coefficient #4b combined with normal enhancement QP offset value;
系数组5:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a;Coefficient group 5: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #2a combined with equal QP offset value, coefficient #3a combined with normal enhancement QP offset value;
系数组6:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#4a;Coefficient Group 6: Coefficient #1, Coefficient #2a combined with Normal Augmented QP Offset, Coefficient #2a coupled with Equal QP Offset, Coefficient #4a coupled with Normal Augmented QP Offset;
系数组7:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b;Coefficient group 7: coefficient #1, coefficient #2b combined with normal enhanced QP offset value, coefficient #2b combined with equal QP offset value, coefficient #3b combined with normal enhanced QP offset value;
系数组8:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#4b;Coefficient group 8: coefficient #1, coefficient #2b combined with normal enhanced QP offset value, coefficient #2b combined with equal QP offset value, coefficient #4b combined with normal enhanced QP offset value;
系数组9:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a、与正常强化QP偏移值结合的系数#4a;Coefficient Set 9: Coefficient #1, Coefficient #2a combined with Normal Enhancement QP Offset, Coefficient #2a combined with Equal QP Offset, Coefficient #3a combined with Normal Enhanced QP Offset, and Normal Enhanced QP Coefficient #4a of the offset value combination;
系数组10:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b、与正常强化QP偏移值结合的系数#4b;Coefficient set 10: Coefficient #1, Coefficient #2b combined with Normal Enhancement QP Offset, Coefficient #2b combined with Equal QP Offset, Coefficient #3b combined with Normal Enhanced QP Offset, and Normal Enhanced QP Coefficient #4b of offset value combination;
系数组11:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a、与平等QP偏移值结合的系数#3a、与正常强化QP偏移值结合的系数#4a、与平等QP偏移值结合的系数#4a;Coefficient Set 11: Coefficient #1, Coefficient #2a combined with Normal Enhanced QP Offset, Coefficient #2a combined with Equal QP Offset, Coefficient #3a combined with Normal Enhanced QP Offset, and Equal QP Offset Coefficient #3a combined with shift value, Coefficient #4a combined with normal enhanced QP offset value, Coefficient #4a combined with equal QP offset value;
系数组12:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b、与平等QP偏移值结合的系数#3b、与正常强化QP偏移值结合的系数#4b、与平等QP偏移值结合的系数#4b。Coefficient set 12: Coefficient #1, Coefficient #2b combined with Normal Enhanced QP Offset, Coefficient #2b combined with Equal QP Offset, Coefficient #3b combined with Normal Enhanced QP Offset, and Equal QP Offset Coefficient #3b combined with shift value, coefficient #4b combined with normal enhanced QP offset value, coefficient #4b combined with equal QP offset value.
实施或变体例30(含平等量化分量系数和正常强化量化分量系数的系数组的例,各系数组有4套系数)Implementation or Variation Example 30 (Example of a coefficient group including equal quantization component coefficients and normal enhanced quantization component coefficients, each coefficient group has 4 sets of coefficients)
实施或变体例26所述编码方法或装置或者解码方法或装置中,所述K个系数组是从下列系数组中选取的K个系数组:In the encoding method or device or the decoding method or device described in implementation or variant 26, the K coefficient groups are K coefficient groups selected from the following coefficient groups:
系数组1:系数#1、与平等QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#3a、与平等QP偏移值结合的系数#4a;Coefficient group 1: coefficient #1, coefficient #2a combined with equal QP offset value, coefficient #3a combined with equal QP offset value, coefficient #4a combined with equal QP offset value;
系数组2:系数#1、与平等QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#3b、与平等QP偏移值结合的系数#4b;Coefficient group 2: coefficient #1, coefficient #2b combined with equal QP offset value, coefficient #3b combined with equal QP offset value, coefficient #4b combined with equal QP offset value;
系数组3:系数#1、与正常强化QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a、与正常强化QP偏移值结合的系数#4a;Coefficient group 3: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #3a combined with normal enhancement QP offset value, coefficient #4a combined with normal enhancement QP offset value;
系数组4:系数#1、与正常强化QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b、与正常强化QP偏移值结合的系数#4b;Coefficient group 4: coefficient #1, coefficient #2b combined with normal enhancement QP offset value, coefficient #3b combined with normal enhancement QP offset value, coefficient #4b combined with normal enhancement QP offset value;
系数组5:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a;Coefficient group 5: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #2a combined with equal QP offset value, coefficient #3a combined with normal enhancement QP offset value;
系数组6:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#4a;Coefficient Group 6: Coefficient #1, Coefficient #2a combined with Normal Augmented QP Offset, Coefficient #2a coupled with Equal QP Offset, Coefficient #4a coupled with Normal Augmented QP Offset;
系数组7:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b;Coefficient group 7: coefficient #1, coefficient #2b combined with normal enhanced QP offset value, coefficient #2b combined with equal QP offset value, coefficient #3b combined with normal enhanced QP offset value;
系数组8:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#4b。Coefficient set 8: Coefficient #1, Coefficient #2b combined with normal enhancement QP offset value, Coefficient #2b combined with Equal QP offset value, Coefficient #4b combined with normal enhancement QP offset value.
实施或变体例31(含平等量化分量系数和正常强化分量系数的系数组的例,各系数组有4套系数)Implementation or Variation Example 31 (Example of a coefficient group including equal quantization component coefficients and normal enhancement component coefficients, each coefficient group has 4 sets of coefficients)
实施或变体例26所述编码方法或装置或者解码方法或装置中,所述K个系数组是下列2个系数组:In the encoding method or apparatus or the decoding method or apparatus described in the implementation or variant 26, the K coefficient groups are the following 2 coefficient groups:
系数组A:系数#1、与正常强化QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a、与正常强化QP偏移值结合的系数#4a;Coefficient group A: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #3a combined with normal enhancement QP offset value, coefficient #4a combined with normal enhancement QP offset value;
系数组B:系数#1、与正常强化QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b、与正常强化QP偏移值结合的系数#4b。Coefficient set B: coefficient #1, coefficient #2b combined with normal enhancement QP offset value, coefficient #3b combined with normal enhancement QP offset value, coefficient #4b combined with normal enhancement QP offset value.
实施或变体例32(含平等量化分量系数和正常强化量化分量系数的系数组的例,各系数组有4套系数)Implementation or Variation Example 32 (Example of a coefficient group including equal quantization component coefficients and normal enhanced quantization component coefficients, each coefficient group has 4 sets of coefficients)
实施或变体例26所述编码方法或装置或者解码方法或装置中,所述K个系数组是下列4个系数组:In the encoding method or apparatus or the decoding method or apparatus described in the implementation or variant 26, the K coefficient groups are the following 4 coefficient groups:
系数组I:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a;Coefficient Group I: Coefficient #1, Coefficient #2a combined with Normal Augmented QP Offset, Coefficient #2a coupled with Equal QP Offset, Coefficient #3a coupled with Normal Augmented QP Offset;
系数组II:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#4a;Coefficient group II: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #2a combined with equal QP offset value, coefficient #4a combined with normal enhancement QP offset value;
系数组III:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b;Coefficient group III: coefficient #1, coefficient #2b combined with normal enhancement QP offset value, coefficient #2b combined with equal QP offset value, coefficient #3b combined with normal enhancement QP offset value;
系数组IV:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#4b。Coefficient set IV: Coefficient #1, Coefficient #2b combined with normal enhancement QP offset value, Coefficient #2b combined with Equal QP offset value, Coefficient #4b combined with normal enhancement QP offset value.
实施或变体例33(强化量化分量的量化和反量化的QP很大,故量化和反量化后的强化量化分量为零)Implementation or Variation Example 33 (The QP of quantization and inverse quantization of the enhanced quantization component is large, so the enhanced quantization component after quantization and inverse quantization is zero)
实施或变体例4、5、6、8、10、11、12、16、18、21、22、23、24、25、26、27、29、30、31、32所述编码方法或装置或者解码方法或装置中,量化以及相应的反量化程度用量化参数QP来表示和控制;增加QP起到加大量化以及相应的反量化程度的作用,减小QP起到减小量化以及相应的反量化程度的作用;经过非恒等转换后获得的各分量被划分为正常量化分量和强化量化分量,对所述强化量化分量进行量化以及相应的反量化所使用的QP值比对所述正常量化分量进行量化以及相应的反量化所使用的QP值大至少20,因而所述强化量化分量经过量化后全部为零,再经过至少反量化后获得的残差数据的重构值也全部为零,因此,在分量变换的逆操作中,强化量化分量的值都是零,仅从正常量化分量计算获得分量和分量。Implement or variant 4, 5, 6, 8, 10, 11, 12, 16, 18, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32 The encoding method or apparatus described in or In the decoding method or device, the quantization and the corresponding inverse quantization degree are represented and controlled by the quantization parameter QP; increasing the QP can increase the quantization and the corresponding inverse quantization degree, and reducing the QP can reduce the quantization and the corresponding inverse quantization degree. The function of quantization degree; the components obtained after non-identity transformation are divided into normal quantization components and enhanced quantization components, and the QP values used for quantizing the enhanced quantization components and corresponding inverse quantization are compared with the normal quantization components. The QP value used for the quantization of the components and the corresponding inverse quantization is at least 20, so the enhanced quantization components are all zero after quantization, and the reconstructed values of the residual data obtained after at least inverse quantization are also all zero, Therefore, in the inverse operation of the component transform, the quantized components are strengthened The values are all zero, only from the normal quantization component Calculate the weight and weight .
实施或变体例34(强化量化分量的量化和反量化的QP很大,故量化和反量化后的强化量化分量为零)Implementation or Variation Example 34 (The QP of quantization and inverse quantization of the enhanced quantization component is large, so the enhanced quantization component after quantization and inverse quantization is zero)
实施或变体例6、11、12、21、22、23、24、25、26、27、29、30、31、32所述解码方法或装置中,对所述强化量化分量进行反量化所使用的QP值比对所述正常量化分量进行反量化所使用的QP值大至少20,因而对应的强化量化分量z在对应的编码方法或装置中经过量化后全部为零,因此,所述强化量化分量的值都是零,在分量变换的逆操作中,仅从正常量化分量计算获得分量和分量。In the implementation or variant 6, 11, 12, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32 of the decoding method or device, the enhanced quantization component is The QP value used for inverse quantization is compared with the normal quantization component The QP value used for inverse quantization is at least 20, so the corresponding enhanced quantization component z is all zero after being quantized in the corresponding encoding method or device. Therefore, the enhanced quantized component z is The values of are all zero, and in the inverse operation of the component transform, only the normal quantized components are Calculate the weight and weight .
实施或变体例35(强化量化分量的量化和反量化的QP很大,故量化和反量化后的强化量化分量为零)Implementation or Variation Example 35 (The QP of quantization and inverse quantization of the enhanced quantization component is large, so the enhanced quantization component after quantization and inverse quantization is zero)
实施或变体例34所述解码方法或装置中,所述七套系数中分量转换逆操作的计算公式分别是:In the decoding method or device described in the implementation or variant 34, the calculation formulas for the inverse operation of the component transformation in the seven sets of coefficients are respectively:
1)系数#1:仍然是恒等转换;1) Coefficient #1: still identity transformation;
2)系数#2a:= ,= ;2) Coefficient #2a: = , = ;
3)系数#2b:= ,= -;3) Coefficient #2b: = , = - ;
4)系数#3a:= ,= (+ε)/2,其中ε=0或1或–1;4) Coefficient #3a: = , = ( +ε)/2, where ε=0 or 1 or –1;
5)系数#3b:= ,= (-+ε)/2,其中ε=0或1或–1;5) Coefficient #3b: = , = (- +ε)/2, where ε=0 or 1 or –1;
6)系数#4a:= (+ε)/2,其中ε=0或1或–1,= ;6) Coefficient #4a: = ( +ε)/2, where ε=0 or 1 or –1, = ;
7)系数#4b:= (-+ε)/2,其中ε=0或1或–1,= 。7) Coefficient #4b: = (- +ε)/2, where ε=0 or 1 or –1, = .
实施或变体例36(关于选定信息的实施或变体例)Implementation or Variation 36 (Implementation or Variation on Selected Information)
所述编码方法或装置或者解码方法或装置中,所述选定信息以直接形式或间接形式或直接间接混合形式存在于压缩区块头和/或整压缩单元头中;所述直接形式的选定信息由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接形式的选定信息是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的信息,所述直接间接混合的选定信息是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的选定信息。In the encoding method or device or the decoding method or device, the selected information exists in the compressed block header and/or the entire compressed unit header in a direct form, an indirect form, or a mixed form of direct and indirect; The information consists of one or more bit strings (bit strings) in the compressed data code stream, the selected information in the indirect form is derived from other encoding parameters and/or codec variables and/or other syntax of the compressed data code stream element-derived information, the selected information of the direct-indirect mix is partially direct (that is, consists of one or more bit strings in the compressed data codestream) and partially indirect (that is, from other encoding parameters and/or codec variables and and/or other syntax elements derived from the compressed data codestream) selected information for mixing.
实施或变体例37(关于选定信息的实施或变体例)Implementation or Variation 37 (Implementation or Variation on Selected Information)
实施或变体例36所述编码方法或装置或者解码方法或装置中,所述压缩区块头是序列参数集或图像参数集或序列头或图像头或条带头或片块头或砖块头或最大编码单元LCU头或编码树单元CTU头或编码单元CU头。In the encoding method or device or the decoding method or device of the implementation or variant 36, the compressed block header is a sequence parameter set or a picture parameter set or a sequence header or a picture header or a slice header or a slice header or a brick header or a maximum coding unit LCU header or Coding Tree Unit CTU header or Coding Unit CU header.
实施或变体例38(关于选定信息的实施或变体例)Implementation or Variation 38 (Implementation or Variation on Selected Information)
所述编码方法或装置或者解码方法或装置中,从至少所述选定信息获得下列以斜体字表示的直接或间接或直接间接混合的一个或多个标志位和/或一个或多个标识码及关联语法元素:In the encoding method or device or the decoding method or device, one or more flag bits and/or one or more identification codes, which are directly or indirectly or directly mixed in italics, are obtained from at least the selected information: and associated syntax elements:
分量转换选定系数标志位和/或 分量转换选定系数标识码;component conversion selected coefficient flag bit and/or component conversion selected coefficient identification code;
所述直接的标志位和/或标识码由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接的标志位和/或标识码是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的标志位和/或标识码,所述直接间接混合的标志位和/或标识码是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的标志位和/或标识码。The direct flag bits and/or identification codes are composed of one or more bit strings (bit strings) in the compressed data stream, and the indirect flag bits and/or identification codes are obtained from other encoding parameters and/or Codec variables and/or flags and/or identification codes derived from other syntax elements of the compressed data codestream, the directly and indirectly mixed or multiple bit strings) partially indirectly (ie derived from other encoding parameters and/or codec variables and/or other syntax elements of the compressed data stream) mixed flag bits and/or identification codes.
实施或变体例39(关于选定信息的实施或变体例)Implementation or Variation 39 (Implementation or Variation on Selected Information)
实施或变体例38所述编码方法或装置或者解码方法或装置中,所述多套系数是I(I≥3)套系数,分别被称为第i(0 ≤ i < I)套系数;所述分量转换和/或分量转换选定系数标识码取预定的II(II ≥ I)个值,分别被称为第ii(0 ≤ ii < II)个值;每一个所述第ii个值对应于所述I套系数中预定的一套系数,称其为第i(ii)套系数,不同的ii允许对应于相同的i(ii),如:i(0)=i(1)=i(2)=i(3)=0,即所述分量转换选定系数标识码的第0、1、2、3个值这四个值都对应于第0套系数;至少根据所述分量转换选定系数标志位和/或分量转换选定系数标识码的值,进行下列相应的分量转换:In the encoding method or device or the decoding method or device described in the implementation or variant 38, the multiple sets of coefficients are I (I ≥ 3) sets of coefficients, which are respectively referred to as the i-th (0 ≤ i < I) set of coefficients; The component conversion and/or component conversion selected coefficient identification codes take predetermined II (II ≥ I) values, which are respectively referred to as the iith (0 ≤ ii < II) value; each of the iith values corresponds to A set of coefficients predetermined in the I set of coefficients is called the i(ii) set of coefficients, and different ii are allowed to correspond to the same i(ii), such as: i(0)=i(1)=i (2)=i(3)=0, that is, the 0th, 1st, 2nd, and 3rd values of the component conversion selected coefficient identification code all correspond to the 0th set of coefficients; at least according to the component conversion Selected coefficient flags and/or component transforms the value of the selected coefficient identification code, performing the following corresponding component transforms:
如果所述分量转换选定系数标志位和/或分量转换选定系数标识码的值等于所述第ii个值,则{使用所述第i(ii)套系数对残差进行分量转换正操作或者分量转换逆操作}。If the value of the component transformation selected coefficient flag bit and/or the component transformation selected coefficient identification code is equal to the iith value, then {use the i(ii)th set of coefficients to perform a component transformation positive operation on the residual Or the inverse of component transformation}.
实施或变体例40(关于压缩区块分量转换选定信息的实施或变体例)Implementation or Variation 40 (Implementation or Variation on Compressed Block Component Conversion Selected Information)
实施或变体例11、24、25、26、27所述编码方法或装置或者解码方法或装置中,所述压缩区块分量转换选定信息以直接形式或间接形式或直接间接混合形式存在于压缩区块头中;所述直接形式的选定信息由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接形式的选定信息是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的信息,所述直接间接混合的选定信息是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的选定信息。In the encoding method or device or the decoding method or device described in the implementation or variant 11, 24, 25, 26, 27, the compressed block component conversion selected information exists in the compressed form in direct form or indirect form or direct-indirect mixed form In the block header; the selected information in the direct form consists of one or more bit strings (bit strings) in the compressed data stream, and the selected information in the indirect form is derived from other encoding parameters and/or codecs Information derived from variables and/or other syntax elements of the compressed data codestream, the selected information for the direct-indirect mix is part direct (i.e. consisting of one or more bit strings in the compressed data codestream) part indirect (i.e. derived from other coding parameters and/or codec variables and/or other syntax elements of the compressed data codestream) mixed selected information.
实施或变体例41(关于压缩区块分量转换选定信息的实施或变体例)Implementation or Variation 41 (Implementation or Variation on Compressed Block Component Conversion Selection Information)
实施或变体例40所述编码方法或装置或者解码方法或装置中,所述压缩区块头是序列参数集或图像参数集或序列头或图像头或条带头或片块头或砖块头或最大编码单元LCU头或编码树单元CTU头或编码单元CU头。In the encoding method or device or the decoding method or device of the implementation or variant 40, the compressed block header is a sequence parameter set or a picture parameter set or a sequence header or a picture header or a slice header or a slice header or a brick header or a maximum coding unit LCU header or Coding Tree Unit CTU header or Coding Unit CU header.
实施或变体例42(关于压缩区块分量转换选定信息的实施或变体例)Implementation or Variation 42 (Implementation or Variation on Compressed Block Component Conversion Selection Information)
实施或变体例11、24、25、26、27所述编码方法或装置或者解码方法或装置中,从至少所述压缩区块分量转换选定信息获得下列以斜体字表示的直接或间接或直接间接混合的一个或多个标志位和/或一个或多个标识码及关联语法元素:In implementations or variants 11, 24, 25, 26, 27 of the encoding method or device or decoding method or device, the following direct or indirect or direct representations in italics are obtained from at least the compressed block component conversion selection information: One or more flag bits and/or one or more identifiers and associated syntax elements mixed in indirectly:
压缩区块分量转换选定系数标志位和/或 压缩区块分量转换选定系数标识码;compressed block component conversion selected coefficient flag bit and/or compressed block component conversion selected coefficient identification code;
所述直接的标志位和/或标识码由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接的标志位和/或标识码是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的标志位和/或标识码,所述直接间接混合的标志位和/或标识码是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的标志位和/或标识码。The direct flag bits and/or identification codes are composed of one or more bit strings (bit strings) in the compressed data stream, and the indirect flag bits and/or identification codes are obtained from other encoding parameters and/or Codec variables and/or flags and/or identification codes derived from other syntax elements of the compressed data codestream, the directly and indirectly mixed or multiple bit strings) partially indirectly (ie derived from other encoding parameters and/or codec variables and/or other syntax elements of the compressed data stream) mixed flag bits and/or identification codes.
实施或变体例43(关于压缩区块分量转换选定信息的实施或变体例)Implementation or Variation 43 (Implementation or Variation on Compressed Block Component Conversion Selection Information)
实施或变体例42所述编码方法或装置或者解码方法或装置中,所述K个系数组分别被称为第k(1 ≤ k ≤ K)个系数组;所述压缩区块分量转换选定系数标志位和/或压缩区块分量转换选定系数标识码取预定的K个值,分别被称为第k(0 ≤ k < K)个值;至少根据所述压缩区块分量转换选定系数标志位和/或压缩区块分量转换选定系数标识码的值,进行下列相应的分量转换:In the encoding method or device or the decoding method or device described in Implementation or Variation 42, the K coefficient groups are respectively referred to as the kth (1 ≤ k ≤ K) coefficient group; the compressed block component conversion selects The coefficient flag bit and/or the coefficient identification code selected for the conversion of the compressed block components takes predetermined K values, which are respectively referred to as the kth (0 ≤ k < K) value; at least according to the compressed block component conversion and selected The coefficient flags and/or the compressed block component transforms the value of the selected coefficient identification code, performing the following corresponding component transforms:
如果所述压缩区块分量转换选定系数标志位和/或标识码的值等于所述第k个值,则If the value of the compressed block component transform selected coefficient flag and/or the identification code is equal to the k th value, then
{使用属于所述第k个系数组的系数对残差进行分量转换正操作或者分量转换逆操作}。{Use the coefficients belonging to the k-th coefficient group to perform a forward component transformation operation or an inverse component transformation operation on the residuals}.
实施或变体例44(关于压缩区块内整压缩单元分量转换选定信息的实施或变体例)Implementation or Variation 44 (Implementation or Variation of Selected Information on Integral Compression Unit Component Conversion within a Compressed Block)
实施或变体例43所述编码方法或装置或者解码方法或装置中,压缩数据码流中还存在被称为压缩区块内整压缩单元分量转换选定信息的表示所述压缩区块(即使用所述第k个系数组的压缩区块)内的一个整压缩单元使用所述压缩区块所使用的那一个系数组内哪套系数所需要的部分或全部信息,从至少所述压缩区块内整压缩单元分量转换选定信息获得下列以斜体字表示的直接或间接或直接间接混合的一个或多个标志位和/或一个或多个标识码及关联语法元素:In the encoding method or device or the decoding method or device described in the implementation or variant 43, there is also information in the compressed data code stream that represents the compressed block (that is, using An integral compression unit in the compression block of the k-th coefficient group) uses part or all of the information required for which set of coefficients in that coefficient group used by the compression block, from at least the compression block Intra-integration of compression unit components transforms the selected information to obtain one or more flag bits and/or one or more identification codes and associated syntax elements, directly or indirectly or directly mixed, in italics:
压缩区块内整压缩单元分量转换选定系数标志位Integral Compression Unit Component Transform Selected Coefficient Flags in Compression Block
和/或and / or
压缩区块内整压缩单元分量转换选定系数标识码Integer Compression Unit Component Conversion Selected Coefficient Identification Code in the Compression Block
所述直接的标志位和/或标识码由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接的标志位和/或标识码是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的标志位和/或标识码,所述直接间接混合的标志位和/或标识码是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的标志位和/或标识码。The direct flag bits and/or identification codes are composed of one or more bit strings (bit strings) in the compressed data stream, and the indirect flag bits and/or identification codes are obtained from other encoding parameters and/or Codec variables and/or flags and/or identification codes derived from other syntax elements of the compressed data codestream, the directly and indirectly mixed or multiple bit strings) partially indirectly (ie derived from other encoding parameters and/or codec variables and/or other syntax elements of the compressed data stream) mixed flag bits and/or identification codes.
实施或变体例45(关于压缩区块内整压缩单元分量转换选定信息的实施或变体例)Implementation or Variation 45 (Implementation or Variation of Selected Information on Integral Compression Unit Component Conversion within a Compressed Block)
实施或变体例44所述编码方法或装置或者解码方法或装置中,所述第k个系数组有Jk套系数,分别被称为第j(0 ≤ j < Jk)套系数;所述压缩区块内整压缩单元分量转换选定系数标志位和/或压缩区块内整压缩单元分量转换选定系数标识码取预定的JJk(JJk≥ Jk)个值,分别被称为第jj(0 ≤ jj < JJk)个值;每一个所述第jj个值对应于所述Jk套系数中预定的一套系数,称其为第j(jj)套系数,不同的jj允许对应于相同的j(jj),如:j(0)=j(1)=j(2)=j(3)=0,即所述压缩区块内整压缩单元分量转换选定系数标识码的第0、1、2、3个值这四个值都对应于第0套系数;至少根据所述压缩区块内整压缩单元分量转换选定系数标志位和/或压缩区块内整压缩单元分量转换选定系数标识码的值,进行下列相应的分量转换:In the encoding method or device or the decoding method or device described in the implementation or variant 44, the k th coefficient group has J k sets of coefficients, which are respectively referred to as the j th (0 ≤ j < J k ) set of coefficients; the The flag bits of the coefficients selected for the conversion of the integral compression unit components in the compression block and/or the identification codes of the coefficients selected for the conversion of the integral compression unit components in the compression block take predetermined values of JJ k (JJ k ≥ J k ), which are respectively referred to as The jjth (0 ≤ jj < JJ k ) value; each of the jjth values corresponds to a predetermined set of coefficients in the Jk set of coefficients, which is called the j(jj)th set of coefficients, different jj It is allowed to correspond to the same j(jj), such as: j(0)=j(1)=j(2)=j(3)=0, that is, the selected coefficient identifier of the integral compression unit component conversion in the compression block The four values of the 0th, 1st, 2nd, and 3rd values of the code all correspond to the 0th set of coefficients; at least according to the integral compression unit component conversion in the compression block, the selected coefficient flag bit and/or the integral in the compression block The compression unit component transforms the value of the selected coefficient identification code, performing the following corresponding component transforms:
如果所述压缩区块内整压缩单元分量转换选定系数标志位和/或标识码的值等于所述第jj个值,则{使用所述第j(jj)套系数对残差进行分量转换正操作或者分量转换逆操作}。If the value of the selected coefficient flag bit and/or the identification code of the integral compression unit component transform in the compressed block is equal to the jjth value, then {use the j(jj)th set of coefficients to component transform the residual Forward operation or inverse operation of component transformation}.
实施或变体例46 (压缩区块内整压缩单元分量转换选定信息的例,K=2,Jk=4)Implementation or Variation Example 46 (Example of Integer Compression Unit Component Conversion Selected Information in Compression Block, K=2, Jk= 4)
实施或变体例45所述编码方法或装置或者解码方法或装置中,所述K个系数组是下列2个系数组:In the encoding method or apparatus or the decoding method or apparatus described in the implementation or variant 45, the K coefficient groups are the following 2 coefficient groups:
系数组A:系数#1、与正常强化QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a、与正常强化QP偏移值结合的系数#4a;Coefficient group A: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #3a combined with normal enhancement QP offset value, coefficient #4a combined with normal enhancement QP offset value;
系数组B:系数#1、与正常强化QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b、与正常强化QP偏移值结合的系数#4b。Coefficient set B: coefficient #1, coefficient #2b combined with normal enhancement QP offset value, coefficient #3b combined with normal enhancement QP offset value, coefficient #4b combined with normal enhancement QP offset value.
实施或变体例47(压缩区块内整压缩单元分量转换选定信息的例,K=2,Jk=4)Implementation or Variation Example 47 (Example of Integer Compression Unit Component Conversion Selected Information in Compression Block, K=2, Jk= 4)
实施或变体例46所述编码方法或装置或者解码方法或装置中,所述压缩区块分量转换选定信息是所述压缩区块分量转换选定系数标志位或正负号标志位(名称来自于系数#2a、系数#3a、系数#4a与系数#2b、系数#3b、系数#4b的差别分别在于若干系数相差一个正负号即互为相反数);所述压缩区块分量转换选定系数标志位或所述正负号标志位以直接形式或间接形式或直接间接混合形式存在于压缩区块头中;所述直接形式的压缩区块分量转换选定系数标志位或正负号标志位由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接形式的压缩区块分量转换选定系数标志位或正负号标志位是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的压缩区块分量转换选定系数标志位或正负号标志位,所述直接间接混合的压缩区块分量转换选定系数标志位或正负号标志位是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的压缩区块分量转换选定系数标志位或正负号标志位。In the encoding method or device or the decoding method or device described in the implementation or variant 46, the compressed block component conversion selection information is the compressed block component conversion selected coefficient flag or the sign flag (name from The difference between coefficient #2a, coefficient #3a, coefficient #4a and coefficient #2b, coefficient #3b, coefficient #4b is that several coefficients differ by a sign, that is, they are opposite numbers); The fixed coefficient flag or the sign flag exists in the compressed block header in a direct form or an indirect form or a direct-indirect mixed form; the compressed block component in the direct form converts the selected coefficient flag or the sign flag The bits consist of one or more bit strings (bit strings) in the compressed data stream, and the indirect form of the compressed block component conversion selected coefficient flag or sign flag is derived from other encoding parameters and/or Compressed block components derived from codec variables and/or other syntax elements of the compressed data codestream convert the selected coefficient flag or sign flag, and the directly-indirectly mixed compressed block component converts the selected coefficient flag or The sign flag is partially direct (that is, consisting of one or more bit strings in the compressed data stream) and partially indirect (that is, derived from other encoding parameters and/or codec variables and/or other syntax of the compressed data stream Element export) mixed compressed block component transforms the selected coefficient flag or the sign flag.
实施或变体例48(压缩区块内整压缩单元分量转换选定信息的例,K=2,Jk=4)Implementation or Variation Example 48 (Example of Integral Compression Unit Component Conversion Selected Information in Compression Block, K=2, Jk= 4)
实施或变体例47所述编码方法或装置或者解码方法或装置中,所述压缩区块分量转换选定系数标志位或所述正负号标志位取两个预定值:第一预定值和第二预定值;至少根据所述压缩区块分量转换选定系数标志位或所述正负号标志位的值,进行下列相应的分量转换:In the encoding method or device or decoding method or device described in the implementation or variant 47, the compressed block component conversion selected coefficient flag or the sign flag takes two predetermined values: a first predetermined value and a first predetermined value. Two predetermined values; at least according to the value of the selected coefficient flag bit or the sign flag bit of the compressed block component conversion, perform the following corresponding component conversion:
如果所述压缩区块分量转换选定系数标志位或所述正负号标志位等于所述第一预定值,则{使用属于所述系数组A的系数对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component-transform selected coefficient flag or the sign flag is equal to the first predetermined value, then {use the coefficients belonging to the coefficient group A to perform a component-transform positive operation or component on the residual Convert inverse operation}
如果所述压缩区块分量转换选定系数标志位或所述正负号标志位等于所述第二预定值,则{使用属于所述系数组B的系数对残差进行分量转换正操作或者分量转换逆操作}。If the compressed block component transform selected coefficient flag or the sign flag is equal to the second predetermined value, then {use the coefficients belonging to the coefficient group B to perform a component transform positive operation or component on the residual Convert inverse operation}.
实施或变体例49(压缩区块内整压缩单元分量转换选定信息的例,K=2,Jk=4)Implementation or Variation Example 49 (Example of Integer Compression Unit Component Conversion Selected Information in Compression Block, K=2, Jk= 4)
实施或变体例48所述编码方法或装置或者解码方法或装置中,所述压缩区块内整压缩单元分量转换选定信息是所述压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型;所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型以直接形式或间接形式或直接间接混合形式存在于整压缩单元头中;所述直接形式的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接形式的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型,所述直接间接混合的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型。In the encoding method or device or the decoding method or device described in the embodiment or variant 48, the selected information for the conversion of the integral compression unit component in the compression block is the selected coefficient identification code for the conversion of the integral compression unit component in the compression block or The chroma residual coding and component conversion type; the integral compression unit component conversion selected coefficient identification code in the compression block or the chroma residual coding and component conversion type exists in direct form or indirect form or direct indirect mixed form In the integral compression unit header; the integral compression unit component conversion selected coefficient identification code or chroma residual coding and component conversion type in the compression block of the direct form is determined by one or more bit strings in the compressed data code stream ( bit string), the indirect form of the compression block within the integral compression unit component conversion selected coefficient identification code or chroma residual coding and the component conversion type is from other coding parameters and/or codec variables and/or compression Intra-compressed unit component conversion in compressed blocks derived from other syntax elements of the data stream selects the coefficient identification code or chroma residual coding and component conversion type, and the directly-indirectly mixed intra-compressed intra-compression unit component conversion selects Fixed coefficient identification codes or chroma residual coding and component conversion types are partially direct (that is, composed of one or more bit strings in the compressed data stream) and partially indirect (that is, derived from other encoding parameters and/or codec variables and / or other syntax elements derived from the compressed data codestream) mixed compressed intra-block integral compression unit component transform selected coefficient identification code or chroma residual coding and component transform type.
实施或变体例50(压缩区块内整压缩单元分量转换选定信息的例,K=2,Jk=4)Implementation or Variation Example 50 (Example of Integral Compression Unit Component Conversion Selected Information in Compression Block, K=2, Jk= 4)
实施或变体例49所述编码方法或装置或者解码方法或装置中,所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型取七个预定值:预定值1、预定值2、预定值3、预定值4、预定值5、预定值6、预定值7;至少根据所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型的值,进行下列相应的分量转换:In the encoding method or device or the decoding method or device described in Implementation or Variation 49, the selected coefficient identification code for integral compression unit component conversion in the compression block or the chrominance residual coding and component conversion type are selected from seven predetermined values. Value: Predetermined value 1, Predetermined value 2, Predetermined value 3, Predetermined value 4, Predetermined value 5, Predetermined value 6, Predetermined value 7; The values of the chroma residual coding and component transform types described above, perform the following corresponding component transforms:
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值1,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 1, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量和分量都为零,因此,实际上不需要对分量和分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component and weight are all zero, so there is really no need for and weight do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值2,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 2, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量为零而分量不为零,因此,实际上不需要对分量进行残差解码而仅需要对分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component zero and component is not zero, so there is actually no need for perform residual decoding and only need to do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值3,则If the Intra Compression Unit Component Transform Selected Coefficient Identification Code or the Chroma Residual Coding and Component Transform Type is equal to the predetermined value of 3, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量不为零而分量为零,因此,实际上仅需要对分量进行残差解码而不需要对分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component non-zero but component is zero, so in practice only the component perform residual decoding without do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值4,则If the Intra Compression Unit Component Transform Selected Coefficient Identification Code or the Chroma Residual Coding and Component Transform Type is equal to the predetermined value of 4, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量和分量都不为零,因此,实际上需要对分量和分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component and weight are not zero, so it is actually necessary to and weight do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值5,则If the Intra Compression Unit Component Transform Selected Coefficient Identification Code or the Chroma Residual Coding and Component Transform Type is equal to the predetermined value of 5, then
{{
如果所述压缩区块分量转换选定系数标志位或所述正负号标志位等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#2a对残差进行分量转换正操作或者分量转换逆操作};否则{使用与正常强化QP偏移值结合的系数#2b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component transform selected coefficient flag or the sign flag is equal to the first predetermined value, then {component transform the residual using coefficient #2a combined with the normal enhanced QP offset value Forward or Component Transform Inverse }; else {Component Transform Forward or Component Transform Inverse on Residual Using Coefficient #2b Combined with Normal Augmented QP Offset Value}
}}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值6,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 6, then
{{
如果所述压缩区块分量转换选定系数标志位或所述正负号标志位等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#3a对残差进行分量转换正操作或者分量转换逆操作};否则{使用与正常强化QP偏移值结合的系数#3b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component transform selected coefficient flag or the sign flag is equal to the first predetermined value, then {component transform the residual using coefficient #3a combined with the normal enhanced QP offset value Forward or Component Transform Inverse }; else {Component Transform Forward or Component Transform Inverse on Residual Using Coefficient #3b Combined with Normal Augmented QP Offset Value}
}}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值7,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 7, then
{{
如果所述压缩区块分量转换选定系数标志位或所述正负号标志位等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#4a对残差进行分量转换正操作或者分量转换逆操作};否则{使用与正常强化QP偏移值结合的系数#4b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component transform selected coefficient flag or the sign flag is equal to the first predetermined value, then {component transform the residual using coefficient #4a combined with the normal enhanced QP offset value Forward or Component Transform Inverse }; else {Component Transform Forward or Component Transform Inverse on Residual Using Coefficient #4b Combined with Normal Augmented QP Offset Value}
}。}.
实施或变体例51(压缩区块内整压缩单元分量转换选定信息的例,K=4,Jk=4)Implementation or Variation Example 51 (Example of Integer Compression Unit Component Conversion Selection Information in Compression Block, K=4, Jk =4)
实施或变体例45所述编码方法或装置或者解码方法或装置中,所述K个系数组是下列4个系数组:In the encoding method or apparatus or the decoding method or apparatus described in the implementation or variant 45, the K coefficient groups are the following 4 coefficient groups:
系数组I:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#3a;Coefficient Group I: Coefficient #1, Coefficient #2a combined with Normal Augmented QP Offset, Coefficient #2a coupled with Equal QP Offset, Coefficient #3a coupled with Normal Augmented QP Offset;
系数组II:系数#1、与正常强化QP偏移值结合的系数#2a、与平等QP偏移值结合的系数#2a、与正常强化QP偏移值结合的系数#4a;Coefficient group II: coefficient #1, coefficient #2a combined with normal enhancement QP offset value, coefficient #2a combined with equal QP offset value, coefficient #4a combined with normal enhancement QP offset value;
系数组III:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#3b;Coefficient group III: coefficient #1, coefficient #2b combined with normal enhancement QP offset value, coefficient #2b combined with equal QP offset value, coefficient #3b combined with normal enhancement QP offset value;
系数组IV:系数#1、与正常强化QP偏移值结合的系数#2b、与平等QP偏移值结合的系数#2b、与正常强化QP偏移值结合的系数#4b。Coefficient set IV: Coefficient #1, Coefficient #2b combined with normal enhancement QP offset value, Coefficient #2b combined with Equal QP offset value, Coefficient #4b combined with normal enhancement QP offset value.
实施或变体例52(压缩区块内整压缩单元分量转换选定信息的例,K=4,Jk=4)Implementation or Variation Example 52 (Example of Integer Compression Unit Component Conversion Selection Information in Compression Block, K=4, Jk =4)
实施或变体例51所述编码方法或装置或者解码方法或装置中,所述压缩区块分量转换选定信息是所述压缩区块分量转换选定系数标识码或正负号标志位(名称来自于系数#2a、系数#3a、系数#4a与系数#2b、系数#3b、系数#4b的差别分别在于若干系数相差一个正负号即互为相反数)以及对调标志位(名称来自于系数#3a、系数#3b与系数#4a、系数#4b的差别分别在于对调o和p,对调s和t,对调a和e,对调b和f,对调c和g,对调d和h);所述压缩区块分量转换选定系数标识码或所述正负号标志位以及对调标志位以直接形式或间接形式或直接间接混合形式存在于压缩区块头中;所述直接形式的压缩区块分量转换选定系数标识码或正负号标志位以及对调标志位由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接形式的压缩区块分量转换选定系数标识码或正负号标志位以及对调标志位是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的压缩区块分量转换选定系数标识码或正负号标志位以及对调标志位,所述直接间接混合的压缩区块分量转换选定系数标识码或正负号标志位以及对调标志位是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的压缩区块分量转换选定系数标识码或正负号标志位以及对调标志位。In the encoding method or device or the decoding method or device described in the implementation or variant 51, the compressed block component conversion selection information is the compressed block component conversion selected coefficient identification code or sign flag (name from The difference between coefficient #2a, coefficient #3a, coefficient #4a and coefficient #2b, coefficient #3b, coefficient #4b is that some coefficients differ by a sign, that is, they are opposite to each other) and the swap flag (the name comes from the coefficient The difference between #3a and coefficient #3b and coefficient #4a and coefficient #4b lies in swapping o and p, swapping s and t, swapping a and e, swapping b and f, swapping c and g, swapping d and h); The compressed block component conversion selected coefficient identification code or the sign flag and the swap flag exist in the compressed block header in direct form or indirect form or direct-indirect mixed form; the direct form of the compressed block component The conversion selected coefficient identification code or the sign flag and the swap flag are composed of one or more bit strings (bit strings) in the compressed data code stream, and the compression block component in the indirect form converts the selected coefficient identification The code or sign flag and the swap flag are the compressed block component transform selected coefficient flag or sign flag derived from other encoding parameters and/or codec variables and/or other syntax elements of the compressed data codestream bit and the swap flag, the directly-indirectly mixed compressed block component conversion selected coefficient identification code or sign flag and the swap flag are partially direct (i.e. by one or more bit strings in the compressed data stream Compressed block components that are mixed in part indirectly (i.e. derived from other coding parameters and/or codec variables and/or other syntax elements of the compressed data codestream) convert the selected coefficient identification code or sign flag and swap flag bit.
实施或变体例53(压缩区块内整压缩单元分量转换选定信息的例,K=4,Jk=4)Implementation or Variation Example 53 (Example of Integral Compression Unit Component Conversion Selected Information in Compression Block, K=4, Jk =4)
实施或变体例52所述编码方法或装置或者解码方法或装置中,所述压缩区块分量转换选定系数标识码取四个预定值:预定值一、预定值二、预定值三、预定值四,或所述正负号标志位以及对调标志位分别互相独立地取两个预定值:第一预定值和第二预定值;至少根据所述压缩区块分量转换选定系数标识码或所述正负号标志位以及对调标志位的值,进行下列相应的分量转换:In the encoding method or device or the decoding method or device described in the implementation or variant 52, the compression block component conversion selected coefficient identification code takes four predetermined values: predetermined value one, predetermined value two, predetermined value three, predetermined value Four, or the sign flag bit and the swap flag bit take two predetermined values independently of each other: a first predetermined value and a second predetermined value; at least according to the compression block component conversion selected coefficient identification code or all According to the value of the sign flag and the swap flag, the following corresponding component conversions are performed:
如果所述压缩区块分量转换选定系数标识码等于所述预定值一或所述正负号标志位等于所述第一预定值以及所述对调标志位也等于所述第一预定值,则If the compressed block component conversion selected coefficient identification code is equal to the predetermined value one or the sign flag is equal to the first predetermined value and the swap flag is also equal to the first predetermined value, then
{使用属于所述系数组I的系数对残差进行分量转换正操作或者分量转换逆操作}{Use the coefficients belonging to the coefficient group I to perform a component transformation forward operation or a component transformation inverse operation on the residuals}
如果所述压缩区块分量转换选定系数标识码等于所述预定值二或所述正负号标志位等于所述第一预定值以及所述对调标志位等于所述第二预定值,则If the compressed block component conversion selected coefficient identification code is equal to the predetermined value of two or the sign flag is equal to the first predetermined value and the swap flag is equal to the second predetermined value, then
{使用属于所述系数组II的系数对残差进行分量转换正操作或者分量转换逆操作}{Use the coefficients belonging to the coefficient group II to perform a forward component transformation operation or an inverse component transformation operation on the residuals}
如果所述压缩区块分量转换选定系数标识码等于所述预定值三或所述正负号标志位等于所述第二预定值以及所述对调标志位等于所述第一预定值,则If the compressed block component conversion selected coefficient identification code is equal to the predetermined value three or the sign flag is equal to the second predetermined value and the swap flag is equal to the first predetermined value, then
{使用属于所述系数组III的系数对残差进行分量转换正操作或者分量转换逆操作}{Use the coefficients belonging to the coefficient group III to perform a forward component transformation operation or an inverse component transformation operation on the residuals}
如果所述压缩区块分量转换选定系数标识码等于所述预定值四或所述正负号标志位等于所述第二预定值以及所述对调标志位也等于所述第二预定值,则If the compressed block component conversion selected coefficient identification code is equal to the predetermined value four or the sign flag is equal to the second predetermined value and the swap flag is also equal to the second predetermined value, then
{使用属于所述系数组IV的系数对残差进行分量转换正操作或者分量转换逆操作}。{Use the coefficients belonging to the coefficient group IV to perform a forward component transformation operation or an inverse component transformation operation on the residuals}.
实施或变体例54(压缩区块内整压缩单元分量转换选定信息的例,K=4,Jk=4)Implementation or Variation Example 54 (Example of Integral Compression Unit Component Conversion Selected Information in Compression Block, K=4, Jk =4)
实施或变体例53所述编码方法或装置或者解码方法或装置中,所述压缩区块内整压缩单元分量转换选定信息是所述压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型;所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型以直接形式或间接形式或直接间接混合形式存在于整压缩单元头中;所述直接形式的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型由压缩数据码流中的一个或多个位串(比特串)所组成,所述间接形式的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型是从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型,所述直接间接混合的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型是部分直接(即由压缩数据码流中的一个或多个位串所组成)部分间接(即从其他编码参数和/或编解码变量和/或压缩数据码流的其他语法元素导出)混合的压缩区块内整压缩单元分量转换选定系数标识码或色度残差编码与分量转换类型。In the encoding method or device or the decoding method or device described in the implementation or variant 53, the selected information for the conversion of the integral compression unit component in the compression block is the selected coefficient identification code for the conversion of the integral compression unit component in the compression block or The chroma residual coding and component conversion type; the integral compression unit component conversion selected coefficient identification code in the compression block or the chroma residual coding and component conversion type exists in direct form or indirect form or direct indirect mixed form In the integral compression unit header; the integral compression unit component conversion selected coefficient identification code or chroma residual coding and component conversion type in the compression block of the direct form is determined by one or more bit strings in the compressed data code stream ( bit string), the indirect form of the compression block within the integral compression unit component conversion selected coefficient identification code or chroma residual coding and the component conversion type is from other coding parameters and/or codec variables and/or compression Intra-compressed unit component conversion in compressed blocks derived from other syntax elements of the data stream selects the coefficient identification code or chroma residual coding and component conversion type, and the directly-indirectly mixed intra-compressed intra-compression unit component conversion selects Fixed coefficient identification codes or chroma residual coding and component conversion types are partially direct (that is, composed of one or more bit strings in the compressed data stream) and partially indirect (that is, derived from other encoding parameters and/or codec variables and / or other syntax elements derived from the compressed data codestream) mixed compressed intra-block integral compression unit component transform selected coefficient identification code or chroma residual coding and component transform type.
实施或变体例55(压缩区块内整压缩单元分量转换选定信息的例,K=4,Jk=4)Implementation or Variation Example 55 (Example of Integer Compression Unit Component Conversion Selected Information in Compression Block, K=4, Jk =4)
实施或变体例54所述编码方法或装置或者解码方法或装置中,所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型取七个预定值:预定值1、预定值2、预定值3、预定值4、预定值5、预定值6、预定值7;至少根据所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型的值,进行下列相应的分量转换:In the encoding method or device or the decoding method or device described in the implementation or variant 54, the selected coefficient identification code for the component conversion of the integral compression unit in the compression block or the chroma residual coding and component conversion type are selected from seven predetermined values. Value: Predetermined value 1, Predetermined value 2, Predetermined value 3, Predetermined value 4, Predetermined value 5, Predetermined value 6, Predetermined value 7; The values of the chroma residual coding and component transform types described above, perform the following corresponding component transforms:
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值1,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 1, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量和分量都为零,因此,实际上不需要对分量和分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component and weight are all zero, so there is really no need for and weight do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值2,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 2, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量为零而分量不为零,因此,实际上不需要对分量进行残差解码而仅需要对分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component zero and component is not zero, so there is actually no need for perform residual decoding and only need to do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值3,则If the Intra Compression Unit Component Transform Selected Coefficient Identification Code or the Chroma Residual Coding and Component Transform Type is equal to the predetermined value of 3, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量不为零而分量为零,因此,实际上仅需要对分量进行残差解码而不需要对分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component not zero but component is zero, so in practice only the component Perform residual decoding without the need for component do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值4,则If the Intra Compression Unit Component Transform Selected Coefficient Identification Code or the Chroma Residual Coding and Component Transform Type is equal to the predetermined value of 4, then
{使用系数#1对残差进行分量转换正操作或者分量转换逆操作,分量和分量都不为零,因此,实际上需要对分量和分量进行残差解码}{Use coefficient #1 to perform component transformation forward operation or component transformation inverse operation on residual, component and weight are not zero, so it is actually necessary to and weight do residual decoding}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值5,则If the Intra Compression Unit Component Transform Selected Coefficient Identification Code or the Chroma Residual Coding and Component Transform Type is equal to the predetermined value of 5, then
{{
如果所述压缩区块分量转换选定系数标识码等于所述预定值一或所述正负号标志位等于所述第一预定值以及所述对调标志位也等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#2a对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value one or the sign flag is equal to the first predetermined value and the swap flag is also equal to the first predetermined value, then {Use the coefficient #2a combined with the normal enhancement QP offset value to perform a component transformation forward operation or a component transformation inverse operation on the residual}
如果所述压缩区块分量转换选定系数标识码等于所述预定值二或所述正负号标志位等于所述第一预定值以及所述对调标志位等于所述第二预定值,则{使用与正常强化QP偏移值结合的系数#2a对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value of two or the sign flag is equal to the first predetermined value and the swap flag is equal to the second predetermined value, then { Component transform forward operation or component transform inverse operation on residuals using coefficient #2a combined with normal enhancement QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值三或所述正负号标志位等于所述第二预定值以及所述对调标志位等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#2b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value three or the sign flag is equal to the second predetermined value and the swap flag is equal to the first predetermined value, then { Component transform forward operation or component transform inverse operation on residual using coefficient #2b combined with normal enhancement QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值四或所述正负号标志位等于所述第二预定值以及所述对调标志位也等于所述第二预定值,则{使用与正常强化QP偏移值结合的系数#2b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value four or the sign flag is equal to the second predetermined value and the swap flag is also equal to the second predetermined value, then {Use the coefficient #2b combined with the normal enhancement QP offset value to perform a component transformation forward operation or a component transformation inverse operation on the residual}
}}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值6,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 6, then
{{
如果所述压缩区块分量转换选定系数标识码等于所述预定值一或所述正负号标志位等于所述第一预定值以及所述对调标志位也等于所述第一预定值,则{使用与平等QP偏移值结合的系数#2a对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value one or the sign flag is equal to the first predetermined value and the swap flag is also equal to the first predetermined value, then {component transform forward operation or component transform inverse operation on residual using coefficient #2a combined with equal QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值二或所述正负号标志位等于所述第一预定值以及所述对调标志位等于所述第二预定值,则{使用与平等QP偏移值结合的系数#2a对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value of two or the sign flag is equal to the first predetermined value and the swap flag is equal to the second predetermined value, then { Component transform forward operation or component transform inverse operation on residual using coefficient #2a combined with equal QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值三或所述正负号标志位等于所述第二预定值以及所述对调标志位等于所述第一预定值,则{使用与平等QP偏移值结合的系数#2b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value three or the sign flag is equal to the second predetermined value and the swap flag is equal to the first predetermined value, then { Component transform forward operation or component transform inverse operation on residual using coefficient #2b combined with equal QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值四或所述正负号标志位等于所述第二预定值以及所述对调标志位也等于所述第二预定值,则{使用与平等QP偏移值结合的系数#2b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value four or the sign flag is equal to the second predetermined value and the swap flag is also equal to the second predetermined value, then {component transform forward operation or component transform inverse operation on residual using coefficient #2b combined with equal QP offset value}
}}
如果所述压缩区块内整压缩单元分量转换选定系数标识码或所述色度残差编码与分量转换类型等于所述预定值7,则If the integer compression unit component transform selected coefficient identification code within the compressed block or the chroma residual coding and component transform type is equal to the predetermined value of 7, then
{{
如果所述压缩区块分量转换选定系数标识码等于所述预定值一或所述正负号标志位等于所述第一预定值以及所述对调标志位也等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#3a对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value one or the sign flag is equal to the first predetermined value and the swap flag is also equal to the first predetermined value, then {Use the coefficient #3a combined with the normal enhancement QP offset value to perform a component transformation forward operation or a component transformation inverse operation on the residual}
如果所述压缩区块分量转换选定系数标识码等于所述预定值二或所述正负号标志位等于所述第一预定值以及所述对调标志位等于所述第二预定值,则{使用与正常强化QP偏移值结合的系数#4a对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value of two or the sign flag is equal to the first predetermined value and the swap flag is equal to the second predetermined value, then { Component transform forward operation or component transform inverse operation on residuals using coefficient #4a combined with normal enhancement QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值三或所述正负号标志位等于所述第二预定值以及所述对调标志位等于所述第一预定值,则{使用与正常强化QP偏移值结合的系数#3b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value three or the sign flag is equal to the second predetermined value and the swap flag is equal to the first predetermined value, then { Component transform forward operation or component transform inverse operation on residual using coefficient #3b combined with normal enhancement QP offset value}
如果所述压缩区块分量转换选定系数标识码等于所述预定值四或所述正负号标志位等于所述第二预定值以及所述对调标志位也等于所述第二预定值,则{使用与正常强化QP偏移值结合的系数#4b对残差进行分量转换正操作或者分量转换逆操作}If the compressed block component conversion selected coefficient identification code is equal to the predetermined value four or the sign flag is equal to the second predetermined value and the swap flag is also equal to the second predetermined value, then {Use the coefficient #4b combined with the normal enhancement QP offset value to perform a component transformation forward operation or a component transformation inverse operation on the residual}
}。}.
实施或变体例56(第一预定值和第二预定值的例)Implementation or Variation Example 56 (Example of First Predetermined Value and Second Predetermined Value)
实施或变体例48或50或53或55所述编码方法或装置或者解码方法或装置中,In the implementation or variant 48 or 50 or 53 or 55 of the encoding method or device or the decoding method or device,
所述第一预定值是0,所述第二预定值是1,the first predetermined value is 0, the second predetermined value is 1,
或者or
所述第一预定值是1,所述第二预定值是0。The first predetermined value is 1 and the second predetermined value is 0.
实施或变体例57(预定值1~7的例)Implementation or Variation Example 57 (Examples of Predetermined Values 1 to 7)
实施或变体例50或55所述编码方法或装置或者解码方法或装置中,In the implementation or variant 50 or 55, the encoding method or device or the decoding method or device,
所述预定值1是00,The predetermined value 1 is 00,
所述预定值2是010,The predetermined value 2 is 010,
所述预定值3是100,The predetermined value 3 is 100,
所述预定值4是110,The predetermined value 4 is 110,
所述预定值5是011,The predetermined value 5 is 011,
所述预定值6是101,The predetermined value 6 is 101,
所述预定值7是111;the predetermined value 7 is 111;
或者or
所述预定值1是00,The predetermined value 1 is 00,
所述预定值2是010,The predetermined value 2 is 010,
所述预定值3是011,The predetermined value 3 is 011,
所述预定值4是100,The predetermined value 4 is 100,
所述预定值5是101,The predetermined value 5 is 101,
所述预定值6是110,The predetermined value 6 is 110,
所述预定值7是111。The predetermined value 7 is 111.
实施或变体例58(预定值一、预定值二、预定值三、预定值四的例)Implementation or Variation Example 58 (Examples of Predetermined Value One, Predetermined Value Two, Predetermined Value Three, Predetermined Value Four)
实施或变体例53或55所述编码方法或装置或者解码方法或装置中,In the implementation or variant 53 or 55, the encoding method or device or the decoding method or device,
所述预定值一是00,The predetermined value one is 00,
所述预定值二是01,The predetermined value two is 01,
所述预定值三是10,The predetermined value three is 10,
所述预定值四是11。The predetermined value four is 11.
实施或变体例59(除了分量转换,还进行色彩空间变换)Implementation or Variation 59 (in addition to component conversion, also color space conversion)
实施或变体例1至8、10至18、21至27、29至32、35至39、41、43至55中任一实施或变体例所述编码方法或装置或者解码方法或装置中,所述多分量是3分量,在对所述3分量中的2个分量进行分量转换正操作之前或者进行分量转换逆操作之后,对所述3分量进行色彩空间正变换或者对所述3分量进行色彩空间逆变换。In any implementation or variant 1 to 8, 10 to 18, 21 to 27, 29 to 32, 35 to 39, 41, 43 to 55 of the encoding method or device or decoding method or device, the The multi-component is 3 components, and before performing the component conversion forward operation on the 2 components of the 3 components or after performing the component conversion inverse operation, the color space forward transformation is performed on the 3 components or the color space is performed on the 3 components. Spatial inverse transform.
实施或变体例60(除了分量转换,还进行色彩空间变换)Implementation or variant 60 (in addition to component conversion, also color space conversion)
实施或变体例59所述编码方法或装置或者解码方法或装置中,所述3分量是R、S、T,所述色彩空间正变换是将R、S、T变换为Y、Cg、Co的正变换;所述色彩空间逆变换是将Y、Cg、Co的经过变换、量化、反量化、反变换后的重构值或者经过量化、反量化后的重构值或者经过变换、反变换后的重构值、、变换为R、S、T的重构值、、的逆变换。In the encoding method or device or the decoding method or device described in the implementation or variant 59, the 3 components are R, S, T, and the color space forward transformation is to transform R, S, T into Y, Cg, Co Forward transformation; the color space inverse transformation is to transform, quantize, inversely quantize, and inversely transform the reconstructed values of Y, Cg, and Co, or quantize and inversely quantize the reconstructed values, or transform and inversely transform them. The reconstructed value of , , Transform into reconstructed values of R, S, T , , inverse transformation of .
实施或变体例61(除了分量转换,还进行色彩空间变换)Implementation or Variation 61 (In addition to component conversion, color space conversion is also performed)
实施或变体例60所述编码方法或装置或者解码方法或装置中,In the encoding method or device or the decoding method or device described in the implementation or variant 60,
所述将R、S、T变换为Y、Cg、Co的正变换是:The forward transformation that transforms R, S, T into Y, Cg, and Co is:
Y = (2R + S + T)/4Y = (2R + S + T)/4
Cg = (2R - S - T)/4Cg = (2R - S - T)/4
Co = (- S + T)/2;Co = (-S + T)/2;
所述将、、变换为、、的逆变换是:said will , , transform to , , The inverse transform of is:
= + = +
= - - = - -
= - + ; = - + ;
或者,or,
另一种更简单的形式,所述将R、S、T变换为Y、Cg、Co的正变换是:Another simpler form, the forward transformation of R, S, T to Y, Cg, Co is:
Co = T - SCo = T - S
tmp = S + (Co >> 1)tmp = S + (Co >> 1)
Cg = R - tmpCg = R - tmp
Y = tmp + (Cg >> 1);Y = tmp + (Cg >> 1);
所述将、、变换为、、的逆变换是:said will , , transform to , , The inverse transform of is:
tmp = – (>> 1)tmp = – ( >> 1)
= + tmp = + tmp
= tmp –(>> 1) = tmp –( >> 1)
= + ; = + ;
以上逆变换中,将、、分别重新命名为新的、、,逆变换就变为:In the above inverse transformation, the , , Renamed separately as new , , , the inverse transformation becomes:
tmp = – (>> 1)tmp = – ( >> 1)
= + tmp = + tmp
= tmp – (>> 1) = tmp – ( >> 1)
= + 。 = + .
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910520935 | 2019-06-17 | ||
CN2019105209355 | 2019-06-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112104876A true CN112104876A (en) | 2020-12-18 |
Family
ID=73750442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010556415.2A Pending CN112104876A (en) | 2019-06-17 | 2020-06-17 | Data compression method and device for performing multi-set coefficient component conversion on prediction residual error |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112104876A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101057506A (en) * | 2004-12-30 | 2007-10-17 | 三星电子株式会社 | Color image encoding and decoding method and apparatus using a correlation between chrominance components |
CN101658043A (en) * | 2007-04-17 | 2010-02-24 | 高通股份有限公司 | directional transforms for intra-coding |
CN105723706A (en) * | 2013-10-18 | 2016-06-29 | Ge视频压缩有限责任公司 | Multi-component picture or video coding concept |
CN107483961A (en) * | 2016-06-08 | 2017-12-15 | 上海天荷电子信息有限公司 | Predict and go here and there position encoded data compression method and device using arcuate scanning string |
US20180131938A1 (en) * | 2015-04-22 | 2018-05-10 | Dolby Laboratories Licensing Corporation | Signal reshaping and coding in the ipt-pq color space |
-
2020
- 2020-06-17 CN CN202010556415.2A patent/CN112104876A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101057506A (en) * | 2004-12-30 | 2007-10-17 | 三星电子株式会社 | Color image encoding and decoding method and apparatus using a correlation between chrominance components |
CN101658043A (en) * | 2007-04-17 | 2010-02-24 | 高通股份有限公司 | directional transforms for intra-coding |
CN105723706A (en) * | 2013-10-18 | 2016-06-29 | Ge视频压缩有限责任公司 | Multi-component picture or video coding concept |
US20180131938A1 (en) * | 2015-04-22 | 2018-05-10 | Dolby Laboratories Licensing Corporation | Signal reshaping and coding in the ipt-pq color space |
CN107483961A (en) * | 2016-06-08 | 2017-12-15 | 上海天荷电子信息有限公司 | Predict and go here and there position encoded data compression method and device using arcuate scanning string |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4113114B2 (en) | DCT compression using GOLOMB-RICE coding | |
JP4800571B2 (en) | Apparatus and method for encoding digital images in a lossless manner | |
RU2417518C2 (en) | Efficient coding and decoding conversion units | |
Srinivasan et al. | HD Photo: a new image coding technology for digital photography | |
JP4927888B2 (en) | Lossless intraframe coding using Golomb-Rice | |
JP2004531995A5 (en) | ||
WO2011083599A1 (en) | Video encoding device, and video decoding device | |
CN102378991B (en) | Compressed domain system and method for compression gains in encoded data | |
JP2008527789A (en) | Entropy encoding method | |
WO2023020560A1 (en) | Video coding and decoding method and apparatus, electronic device and storage medium | |
CN111641827B (en) | Data compression method and device for predictive residual entropy coding by switching multiple schemes | |
CN111385555B (en) | Data compression method and device using inter-component prediction for original and residual data | |
CN110290382A (en) | A method for encoding and decoding residual data | |
CN108989819B (en) | Data compression method and device adopting respective corresponding color spaces for modes | |
CN112104876A (en) | Data compression method and device for performing multi-set coefficient component conversion on prediction residual error | |
TW202406335A (en) | Encode and decode methods, apparatuses and devices | |
JP2020184702A (en) | Decoding device and control method of decoding device | |
CN115486070A (en) | Entropy encoded transform coefficient ordering | |
CN108989820B (en) | Data compression method and device adopting respective corresponding chroma sampling formats at all stages | |
CN119172543A (en) | Inter-component self-prediction video decoding method and device capable of reducing number of components by multiple weights | |
JP7622302B1 (en) | Coefficient decoding method, apparatus, image decoder, and electronic device | |
Krishna et al. | Incorporation of DCT and MSVQ to Enhance Image Compression Ratio of an image | |
CN112911312B (en) | Encoding and decoding method, device and equipment | |
CN111757114B (en) | Data coding and decoding method for multi-layer two-to-four division of designated component conversion mode | |
Chithra | A Novel Lossy Image Compression Based On Color Prediction Technique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |