In-loop reshaping Adaptive reshaping direction
By carrying the pivot point of the in-loop reshaping curve in video encoding and decoding, the reverse reshaping process is simplified, the problem of reverse mapping complexity in intra prediction mode segmentation is solved, and the video decoding efficiency is improved.
Patent Information
- Application Number
- CN202080020782.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-06-19
- Filing Date
- 2020-03-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-03-12
AI Technical Summary
In existing video encoding and decoding technology, the complexity of the reverse mapping in the intra prediction mode segmentation process leads to a reduction in decoding efficiency, and the connection between the forward LUT and the approximate reverse LUT is not close to the identity function, increasing the reconstruction error and drift. .
Simplify the inverse reshaping process by carrying in the bitstream the pivot points representing the forward or inverse in-loop reshaping curves, applying the uniform inverse LUT directly only in intra-frame decoded pictures or slices/tiles, and between frames Non-uniform forward LUT is used in decoding pictures to reduce the computational complexity of reverse reshaping.
It reduces the complexity of intra-frame decoding, improves the efficiency of reverse reshaping calculations, reduces reconstruction errors, and improves the performance of video encoding and decoding.
Smart Images

Figure CN113647111B_ABST
Abstract
Description
Technical Field
[0001] At least one embodiment of the present invention generally relates to a method or apparatus for video encoding or decoding. Background Art
[0002] In order to achieve high compression efficiency, image and video decoding schemes usually use prediction (including spatial and / or motion vector prediction) and transformation to exploit spatial and temporal redundancy in video content. Typically, intra-frame or inter-frame prediction is used to exploit intra-frame or inter-frame correlation, and then the difference between the original image and the predicted image, which is usually represented as a prediction error or prediction residual, is transformed, quantized and entropy decoded. In order to reconstruct the video, the compressed data is decoded by the inverse process corresponding to entropy coding, quantization, transformation and prediction. Mapping and inverse mapping processes can be used in encoders and decoders to achieve improved decoding performance. In fact, for better decoding efficiency, signal mapping can be used. Mapping aims to better utilize the distribution of sample codeword values of video pictures. Summary of the invention
[0003] The shortcomings and disadvantages of the prior art may be addressed by the general aspects described herein, which relate to intra-prediction mode partitioning in encoding and decoding.
[0004] According to a first aspect, a method is provided. The method comprises the steps of inserting parameters in a bitstream of compressed video data, the parameters representing an in-loop reshaping filter operating on prediction data, and encoding a block of video data using the prediction data for inclusion in the bitstream together with the parameters.
[0005] According to a second aspect, a method is provided. The method comprises the steps of receiving parameters in a bitstream of compressed video data, the parameters representing an in-loop reshaping filter operating on reconstructed data, and decoding a block of video data using the reconstructed data and the parameters from the bitstream.
[0006] According to another aspect, a device is provided. The device includes a processor. The processor can be configured to encode a video block or decode a bit stream by executing any one of the above methods.
[0007] According to another general aspect of at least one embodiment, there is provided an apparatus comprising an apparatus according to any one of the decoding embodiments; and at least one of: (i) an antenna configured to receive a signal comprising a video block; (ii) a band limiter configured to limit the received signal to a frequency band comprising the video block; or (iii) a display configured to display an output representing the video block.
[0008] According to another general aspect of at least one embodiment, there is provided a non-transitory computer-readable medium containing data content generated according to any of the described encoding embodiments or variations.
[0009] According to another general aspect of at least one embodiment, there is provided a signal comprising video data generated according to any of the described encoding embodiments or variations.
[0010] According to another general aspect of at least one embodiment, a bitstream is formatted to include data content generated according to any of the described encoding embodiments or variations.
[0011] According to another general aspect of at least one embodiment, there is provided a computer program product comprising instructions which, when executed by a computer, cause the computer to perform any one of the described decoding embodiments or variations.
[0012] These and other aspects, features and advantages of the general aspects will become apparent from the following detailed description of illustrative embodiments, which is to be read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 In-loop reshaping of the prediction signal for (a) the encoder and (b) the decoder is shown.
[0014] Figure 2 The construction of an example forward mapping function is shown.
[0015] Figure 3 The construction of an example inverse mapping function is shown.
[0016] Figure 4 An example of using inverse reshaping and forward reshaping in a hybrid decoder is shown.
[0017] Figure 5 An example of an in-loop reshaping decoding process for an intra picture is shown.
[0018] Figure 6 A general video compression encoder is shown.
[0019] Figure 7 A general video decompression decoder is shown.
[0020] Figure 8 An example of the proposed in-loop reshaping decoding process for intra pictures is shown.
[0021] Fig. 9 An example of a uniformly sampled inverse reshaping lookup table carried in the bitstream from an encoder is shown.
[0022] Fig.10 The process of simplification of the inverse mapping function is shown.
[0023] Fig.10b An embodiment of a simplified encoding method of an inverse mapping function is shown. Fig.11 An embodiment of an encoding method according to the described general aspects is shown.
[0024] Fig.12 One embodiment of a decoding method according to the described general aspects is shown.
[0025] Fig.13 One embodiment of an apparatus for encoding or decoding using intra-prediction mode extension is shown.
[0026] Fig.14 A general standard encoding scheme is shown.
[0027] Fig.15 A general standard decoding scheme is shown.
[0028] Fig.16 A typical processor arrangement is shown in which the described embodiments may be implemented. DETAILED DESCRIPTION
[0029] The embodiments described herein belong to the field of video compression and relate to video compression and video encoding and decoding. The present invention can be generally applied to decoded video content (e.g., standard dynamic range (SDR), high dynamic range (HDR)), but the present invention is particularly applicable when mapping and inverse mapping processes are used in encoders and decoders to achieve improved decoding performance. In fact, for better decoding efficiency, signal mapping can be used. Mapping is intended to better utilize the sample codeword value distribution of video pictures. Mapping and inverse mapping can be outside the decoding loop. In this case, before core encoding, mapping is directly applied to the input sampling of the encoder. The inverse mapping process is applied to the output sampling from the decoder on the decoder side. Mapping and inverse mapping can also be in the decoding loop, as proposed in the first JVET (Joint Video Experts Team) contribution.
[0030] This contribution and the second one describe in-loop reshaping solutions to improve decoding efficiency. In these solutions, the mapping (reshaping) of the luminance or chrominance signal is implemented inside the decoding loop. The reshaping is applied to the predicted / reconstructed signal and in the encoder or decoder, additional blocks for reshaping and inverse reshaping are added to the conventional encoder and decoder block diagram. This is in Figure 1, where the reshaping is applied to predict the luma or chroma signal. Note that the reshaping is documented in detail in the JVET document "Algorithm Description for Generic Video Coding and Test Model 4 (VTM 4) Clause 3.7.3 - Luma Mapping and Chroma Scaling (LMCS)".
[0031] At the encoder, the residual signal Res_source before quantization is generated according to the following formula:
[0032] Res_source(p)=map[Orig(p)]–map[Pred(p)] (Equation 1)
[0033] where Orig(p) is the value of the source sample (to be decoded) at position p(x, y) in the picture, Pred(p) is the value of the prediction sample, and Res_source(p) is the value of the prediction residual sample before quantization, and map[.] is the reshaping function.
[0034] Then, Res_source(p) is transformed and quantized. The residual signal after inverse quantization and inverse transformation is denoted as Res(p).
[0035] At the decoder, according to the following formula ( Figure 1 (b) to reconstruct the signal:
[0036] Rec(p) = invmap[map[Pred(p)] + Res(p)] (Equation 2) This is preferably achieved in 3 steps:
[0037] Step 1108:
[0038] Rec0(p)=map[Pred(p)] (Equation 3)
[0039] Step 1103:
[0040] Rec1(p)=Rec0(p)+Res(p) (Equation 4)
[0041] Step 1104:
[0042] Rec(p) = invmap[Rec1(p)] (Equation 5)
[0043] where Rec(p) is the value of the reconstructed sample and invmap[.] is the inverse reshaping function (the inverse of map[.], such that invmap[map[x]] = x). In the above JVET contribution, this process is performed for each sample of the processed block. The mapping and inverse mapping functions are global for the entire picture or a region of a picture. In different blocks or regions of a block of a picture, the same function is used.
[0044] The mapping function implementation in the above JVET contribution is based on a table of scales, scale[k], with k=0 to N-1, where N is a power of 2 (usually 16 or 32). Each scale applies to a range of luminance values. The range R is fixed and is a power of 2 (R=2 K ), and is equal to the full brightness range (rangeY) divided by N. For example, for a 10-bit brightness signal, and for N=16, R=1024 / N=64=2 6 (K=6). The mapping function FwdMap is conceptually defined as follows:
[0045] -FwdMap[0]=0
[0046] - Then, for k=0~N, the value at each k*R index is calculated as follows: FwdMap[(k+1)*R]=FwdMap[k*R]+R*scale[k]
[0047] - For the intermediate values of index x = (k*R+1) to ((k+1)*R-1), perform the following linear interpolation from its surrounding values FwdMap[(k+1)*R] and FwdMap[k*R] respectively: FwdMap[x] = FwdMap[k*R]+(x-k*R)*(FwdMap[(k+1)*R]-FwdMap[k*R]) / R
[0048] Note that this process requires LUT FwdMap to have (rangeY+1) elements, from Y=0 to rangeY, that is, to make the actual maximum sample value Y equal to (rangeY-1). Figure 2 Each scale is associated with a segment of a piecewise linear mapping function. Each segment is specified over a brightness range of the same length (R).
[0049] The advantage of using intervals of length R with uniform sampling (same interval length) is that the mapping of sampled values Y can be easily performed on the fly by simple access to a lookup table of finite size (size N) using an index calculated from the value Y shifted by K bits. The process is conceptually as follows:
[0050] - Calculation of index k = Y / R = Y>>K
[0051] -Ymap=scale[k]*Y+A[k]
[0052] Where A is a pre-established lookup table of size (N+1), derived as follows (for k=0~N):
[0053] -A[k]=FwdMap[k*R]–k*R*scale[k]
[0054] Based on the second JVET contribution, the current core syntax is as follows:
[0055]
[0056] in:
[0057] reshaper_model_min_bin_idx indicates the bitstream carries Figure 2 The horizontal coordinate (x) of scale[i] on .
[0058] reshaper_model_delta_max_bin_idx indicates the number of bins carried in the bitstream. Figure 2 The horizontal coordinate (x) up to scale[i] on the reshaper_model_min_bin_idx. This is decoded relative to reshaper_model_min_bin_idx.
[0059] reshaper_model_bin_delta_abs_cw_prec_minus1 represents Figure 2 The number of bits used to decode scale[i] or FwdMap[i].
[0060] reshape_model_bin_delta_abs_CW[i] represents Figure 2 The absolute scale[i] or FwMap[i] on the map.
[0061] reshaper_model_bin_delta_sign_CW_flag[i] means Figure 2 The sign of scale[i] or FwdMap[i] on the .
[0062] The forward mapping function FwdMap can be applied quite directly, but it requires carrying a specific number of pivot points representing the piecewise linear (PWL) sections in the bitstream, for which there is no flexibility in the size of each section when the forward mapping lookup table (LUT) reconstruction process (in the case where the LUT is pre-computed before the per-sample remapping process) or on-the-fly reconstruction operates on 16 PWLs with uniform sampling. Additionally, the first stage consists of determining the section to which the samples will be remapped (although this can be a simple shift operation).
[0063] In addition, the inverse mapping function InvMap is established as the inverse function of the forward mapping function. Figure 3As shown in , it is mathematically established as a symmetric function of FwdMap with respect to the line defined by y=x. The problem with this inverse mapping is that it cannot be applied on the fly as easily as the forward mapping. In fact, even if the inverse mapping function remains piecewise linear, the identification of the index of the segment to which the value Y belongs is not direct. In contrast to the forward mapping, which requires a simple shift operation, the situation is further complicated here by the fact that the index of the segment of the inverse mapping function is not a multiple of a predetermined length such as a power of 2. Figure 3 As shown, due to the design idx k =fwpMap[k*R], the indices of the segments of the inverse mapping function (idx0-idx4) are non-uniformly distributed along the horizontal axis. This index search operation is called "binary search" and has a complexity of O(log2(n)).
[0064] From the following solution of the second aforementioned JVET contribution, it can be seen that as far as intra mode prediction is concerned, only the inverse reshaper is used in the decoder (see Figure 4 ).
[0065] This means that in current implementations, for each intra picture, or to some extent across all intra profiles, a forward in-loop reshaping curve is performed, which then needs to be restored after the binary search has been performed. This represents additional computation and additional complexity.
[0066] Several simplifications of intra-ring reshaping have been proposed.
[0067] Prior art suggests simplifying the inverse reshaping design by implementing an inverse lookup table built from an equal-length (uniformly sampled) piecewise linear model. The inverse LUT is computed at the decoder and then approximated by an equal-length PWL, or the equal length is explicitly signaled in the stream.
[0068] The proposal aims to simplify the inverse mapping process by converting the inverse mapping function into a piecewise linear function with equal length intervals, where the length is a power of 2. Therefore, it will be possible to perform the inverse mapping on the fly by a simple process, as for the forward mapping. The technique can be generally applied to decoded video content (e.g., SDR, HDR), but it is particularly suitable when using mapping and inverse mapping processes in encoders and decoders to achieve improved decoding performance.
[0069] Advantageously, the process can achieve a simple implementation of the per-sample inverse mapping process using simple shift operations and access to a lookup table of limited size (e.g., less than 64 elements). Therefore, the proposed technique can simplify the design of the inverse mapping process while retaining most of the potential decoding gain from reshaping (i.e., mapping, inverse mapping of the signal).
[0070] The inverse mapping function generation process according to the embodiment is Fig.10 . It uses data characterizing the forward mapping function as input. This can be composed of a function fwdMap or a scaling table Scale[]. In step 401, an inverse mapping function invMap is established from the input data. This can be achieved by the mathematical symmetry of the forward mapping function fwdMap relative to the line y=x. An approximation of the inverse mapping function invMap is generated in step 402. The approximation can use a piecewise linear model of the function, in which each segment is defined by equal length intervals having the same length equal to a power of 2.
[0071] In another embodiment of the prior proposal, an approximate inverse mapping function is derived at the decoder. The number of segments of the function is signaled in the bitstream. This is indicated in the following syntax table (in italics).
[0072]
[0073]
[0074] The rest of the syntax corresponds to the signaling of the forward mapping function. A new syntax element, reshaper_model_inv_log2_size, is introduced to specify the number of segments of the inverse mapping function. With reference to the notation used, M is derived as follows:
[0075] M=2 reshaper_model_inv_log2_size =(1< <reshaper_model_inv_log2_size)
[0076] In another embodiment, the parameter is a factor applied to the number of segments N used to model the forward mapping function:
[0077] M=N*2 reshaper_model_inv_log2_size= (N< <reshaper_model_inv_log2_size)
[0078] The value of the number of segments (M) is determined at the encoder. For example, it can be determined to ensure that the above distortion is below a given threshold (e.g., T*rangeY 2 , where T = 0.02). This can be done iteratively, starting from M = N. An approximate inverse mapping function is generated using this value M. If the distortion obtained using the obtained approximate inverse mapping function is higher than a threshold value (T*rangeY 2 ), then M is doubled (M is set to (M*2)), and the process is iterated again until the distortion dist is below the threshold (T*rangeY 2), or until M reaches a maximum value Mmax (e.g., 128). Alternatively, M can be set arbitrarily based on actual experiments. In many cases, a value of 32 is relevant.
[0079] From the number of segments (M), an approximate inverse function can be derived at the decoder as described above.
[0080] In another embodiment of the prior proposal, the approximate inverse mapping function is explicitly signaled in the stream. This is indicated in the following syntax table (in italics). The rest of the syntax corresponds to the signaling of the forward mapping function and is known.
[0081]
[0082]
[0083] On the encoder side, the table invScale, its size M and the first value of invMapBis (invMapBis[0]) are derived from the forward mapping function fwdMap. This is typically achieved according to the above process, for example, by: 1) deriving the inverse mapping function invMap from the forward mapping function fwdMap; 2) generating an approximate inverse mapping function invMapBis from the inverse mapping function invMap (in this step, M can be selected arbitrarily or calculated adaptively as described above); 3) deriving the table invScale from the approximate inverse mapping function invMapBis. invMapBis is used to perform inverse mapping in the encoder. Then, following the syntax described in the table, the encoder encodes the parameters characterizing the approximate mapping function, i.e., M, invMapBis[0], table invScale, in the bitstream.
[0084] At the decoder side, the parameters characterizing the approximate inverse mapping function are decoded from the bitstream following the syntax described in the table. The approximate inverse mapping function invMapBis is then derived from these parameters. invMapBis is used to perform the inverse mapping in the decoder. Alternatively, there is no need to establish invMapBis, and the inverse mapping is performed on the fly as described in the "Simplified On-the-Fly Inverse Mapping" section.
[0085] The main disadvantage of this prior art approach is reduced decoding efficiency because the approximate inverse LUT causes more reconstruction error or drift since the connection between the forward LUT and the approximate inverse LUT is less close to the identity function than when a non-approximate inverse LUT is used.
[0086] An alternative track for reducing the complexity of in-loop reshaping is to strongly limit the number of components used to model the forward and inverse LUTs (typically 8 instead of 16 or 32). This can therefore reduce the number of checks to be done to identify the segment to which a luma value belongs when performing on-the-fly inverse mapping. However, this has a significant negative impact on decoding efficiency.
[0087] Under the general aspects described herein, the following solution is proposed to reduce the complexity of the inverse reshaping process by carrying a pivot point representing either a forward in-loop reshaping curve or an inverse in-loop reshaping curve. Typically, only the pivot point representing the inverse in-loop reshaping curve (pre-computed at the encoder) is directly conveyed in the bitstream for intra-predicted pictures, and the pivot point representing the forward in-loop reshaping is carried in the bitstream associated with non-intra pictures. Different means of retrieving the forward and corresponding inverse in-loop reshaping (mapping) functions are documented below.
[0088] According to a variant of the invention, Figure 6 The affected codec modules are placed after prediction (160, 170, 175, 275). A step before loop filtering (165, 265) may also be added.
[0089] One main idea is to signal a forward or inverse LUT (representing the in-loop reshaping curve). Embodiments may differ in implementation. In the following, a uniform LUT means a LUT whose input entries are uniformly sampled. The term "LUT direction" represents the qualification of whether the transmitted in-loop reshaping curve is forward or inverse. The main advantage is to simplify the inverse reshaping calculations for intra-coded pictures or intra-slices / tiles.
[0090] A common feature of the invention is to perform inverse or forward in-loop reshaping of curve parameters simultaneously. Different implementations are described with respect to the mutual behavior of forward and inverse LUTs.
[0091] In one embodiment, a uniformly sampled reshaped look-up table (LUT) is carried, and an indicator indicates that the carried LUT is an inverse LUT. Fig.10b The same two first stages (steps 401 and 402) as described in the prior art are implemented. Step 403 corresponds to deriving a non-uniformly sampled forward reshaping LUT from a uniformly sampled inverse reshaping LUT. Step 404 is deriving a chroma residual scaling LUT from a uniformly sampled inverse reshaping LUT according to the embodiments described below.
[0092] Advantageously, the uniformly sampled inverse reshaping LUT is carried by the corresponding intra-coded picture / slice / tile.The non-uniformly sampled forward reshaping LUT is derived from the uniformly sampled inverse reshaping LUT for inter-coded pictures / slices / tiles.
[0093] Typically, the encoder computes the non-uniformly sampled inverse reshaping LUT InvMap from the uniformly sampled forward reshaping LUT FwdMap, such as described in existing proposals. Then, InvMapBis, after uniform regression, such as described in existing proposals, generates a uniformly sampled version of InvMap. Finally, FwdMapBis is derived as the inverse function of InvMapBis and represents the non-uniformly sampled forward reshaping LUT ( Fig.10b Step 403).
[0094] Typically, the number of pivot points carried is the same as the number of pivot points used for FwdMap (8 or 16).
[0095] As an example, the syntax of the prior art is changed to add signaling of the nature of the LUT carried, i.e., reverse or forward. One suggested syntax is:
[0096]
[0097]
[0098] When set to 0, tile_group_reshaper_direction_flag indicates that the carried LUT represents a forward LUT. When set to 1, it indicates that the carried LUT represents a reverse LUT.
[0099] Advantageously, the reshaper_min_bin_idx semantics are adjusted compared to the prior art. When tile_group_reshaper_direction_flag is set to 0, it indicates the minimum bin index carried by the carried forward LUT (same as the prior art). When tile_group_reshaper_direction_flag is set to 1, it indicates the minimum bin index carried by the carried reverse LUT.
[0100] As a variant, compared with the prior art, regardless of the value of tile_group_reshaper_direction_flag, the semantics of reshaper_min_bin_idx do not change. In this case, when tile_group_reshaper_direction_flag is set to 1, the minimum bin index of the carried reverse LUT is determined as a fixed number. For example, this fixed number is 0, that is, the minimum bin index of the carried reverse LUT is set to be equal to 0. In addition, (when tile_group_reshaper_direction_flag is set to 1), reshaper_min_bin_idx can represent the vertical coordinate value offset (y-offset) to be applied at the origin of the reverse LUT, that is, it represents that the first pivot point of the carried reverse LUT can be equal to reshaper_min_bin_idx * OrgCW, where, for example, OrgCW = (1 << BitdepthY) / 16. OrgCW represents the uniform sampling step of the piecewise linear mapping function. As an example, OrgCW = 64. BitdepthY represents the bit depth of the content or the precision of the mapping LUT. As an example, BitdepthY = 10.
[0101] Advantageously, compared with the prior art, the semantics of reshaper_delta_max_bin_idx are adjusted. When tile_group_reshaper_direction_flag is set to 0, it represents the maximum bin index of the carried forward LUT. When tile_group_reshaper_direction_flag is set to 1, it represents the maximum bin index of the carried reverse LUT.
[0102] Typically, the maximum bin index of the reverse reshaping LUT (reshaperModelMaxBinIdxInv) is derived from the maximum bin index of the forward reshaping LUT (reshaperModelMaxBinIdx) as follows: reshaperModelMaxBinIdxInv = reshapePivotInv[reshaperModelMaxBinIdx + 1] >>
[0103] log2PwlInvBinLen
[0104] Where log2PwlInvBinLen is the base 2 of the logarithm of the uniform sampling step. As an example, log2PwlInvBinLen is equal to 6. reshapePivotInv[i] is the i-th pivot point that makes up the inverse reshape LUT.
[0105] Advantageously, FwdMapBis is clipped so that the boundaries of InvMapBis and FwdMapBis match together or inversely to each other as follows:
[0106] for(i=reshapePivotInv[reshaperModelMaxBinIdxInv+1];i <lutSize;i++)
[0107] FwdMapBis[i]=FwdMapBis[reshapePivotInv[reshaperModelMaxBinIdxInv+1]];
[0108] Where lutSize is equal to the size of the FwdMapBis LUT. As an example, lutSize=1024.
[0109] Reshaping, also known as Luma Mapping and Chroma Scaling (LMCS), may also include a Chroma Residual Scaling (CRS) stage. Typically, this stage operates on the chroma residuals of inter-pictures. CRA can also be applied to intra-picture chroma residuals, for example when dual intra tree mode is disabled, in order to avoid chroma sample availability delay issues. CRS is represented by a chroma scaling LUT. Typically, in the prior art, when a forward reshaping LUT is performed, the CRS LUT is calculated as the slope of each linear section that constitutes the forward LUT.
[0110] As an example, the CRS LUT is derived using integer implementation as follows:
[0111]
[0112] Where CSCALE_FP_PREC is the precision of the LUT. As an example, CSCALE_FP_PREC = 11. CRS_LUT[i] is the CRS LUT and index i specifies the i-th part of the abscissa divided in the uniformly sampled part of PIC_CODE_CW_BINS. Index i = 0 starts at 0. PIC_CODE_CW_BINS can be equal to 16. binCW[i] represents the difference in the ordinate values representing the pivot points of the reshaped curve. The disadvantage of this method is that it requires integer division. Integer implementations prefer shifting.
[0113] When performing an inverse reshaping LUT as proposed, the computation of the CRS LUT is simplified because the inverse reshaping LUT slopes are computed from uniformly sampled pivot points ( Fig.10b Step 404).
[0114]
[0115] where log2PwlInvBinLen is the base 2 of the logarithm of the uniform sampling step. As an example, log2PwlInvBinLen is equal to 6. This implementation is integer friendly.
[0116] Advantageously, the calculation of the scale of the chroma residual (CRS_TU) of a transform unit (TU) is highly simplified due to the reliance on the index position of the mapped chroma residual in the uniformly sampled inverse reshaping LUT. Thus, when invoking the inverse reshaping LUT index location, no binary search is required and the per-pixel calculation of the scale of the chroma residual is performed thanks to a simple right shift operation.
[0117] CRS_TU=CRS_LUT[lumaIdx>>log2PwlInvBinLen]
[0118] Where lumaIdx represents the average (mapped) brightness in the current TU.
[0119] As a variant, a uniformly sampled reshaped LUT is carried, and an indicator (flag) indicates whether the carried LUT is an inverse LUT or a forward LUT.
[0120] Advantageously, a uniform inverse LUT is carried with a corresponding intra-coded picture / slice / tile (i.e., within the same slice / tile / coded picture or with a corresponding valid parameter set), while a uniform forward LUT is carried with at least a subsequent non-intra (i.e., inter) coded picture. It should be noted that a uniform inverse LUT corresponding to an intra-coded picture may be derived from a non-uniform forward LUT.
[0121] In order to avoid the disadvantage of existing proposals, namely that the uniform forward LUT and the corresponding uniform inverse LUT are not exactly reciprocal, resulting in important losses in decoding gain due to reconstruction approximation, this embodiment variant proposes that the reshaped LUT is only applied to the associated decoded picture until it is replaced by a new LUT.
[0122] As an example, the first intra-coded picture (I1) is utilized to carry an inverse reshaping LUT (InvMapBis). InvMapBis is applied to I1. Then, the first non-intra (inter) coded picture (B1) is utilized to carry a forward reshaping LUT (FwdMap) in decoding order. FwdMap is applied to inter mode in B1, and the inverse of FwdMap is calculated, inv(FwdMap) = InvMap, which is applied to the intra mode of B1. InvMapBis can be applied to all following intra-coded pictures I2, except when the coded picture I2 carries a second inverse LUT InvMapBis2. Therefore, there is an inverse LUT dedicated to all intra-coded pictures, and a forward LUT for inter pictures (using the derived inverse non-uniform LUT).
[0123] exist Figure 8 In the example above, it is expected that for intra pictures (0 / no, corresponding to the current process), the reshaping LUT direction flag is set to 1 in order to simplify the inverse reshaping process (when compared with the "no" branch). This is particularly interesting for, for example, all intra bitstreams that are typically present in a contributing network, or all intra profiles (as employed by high-quality consumer cameras).
[0124] Typically, InvMapBis is computed by the encoder as a uniform regression of inv(FwdMap) from FwdMap, such as documented in prior proposals. Typically, the number of pivot points carried is the same as the number of pivot points used for FwdMap (8 or 16). Unlike prior proposals, no additional precision is needed in this case, since the inverse is not needed during intra decoding; moreover, the non-uniform inverse of InvMapBis can be used as a forward LUT applied to intra pictures at the encoder.
[0125] In the case of all intra-coded picture bitstreams (as used in the contributing network), the proposed method is simpler since only the uniform inverse LUT is carried and directly applied during decoding of the intra-coded pictures (computed on the fly).
[0126] One suggested syntax is:
[0127]
[0128] When set to 0, sps_reshaper_inv_direction_flag indicates that the carried LUT represents a forward LUT. When set to 1, it indicates that the carried LUT represents an inverse LUT.
[0129] Alternatively, the indicator may be present in tile_group_header() or tile_group_reshaper_model().
[0130]
[0131] Typically, the actual LUT is carried in a structure such as tile_group_reshaper_model() documented in the second aforementioned JVET contribution.
[0132] As a variant, the carried inverse LUT is not uniform. This is advantageous for all intra-coded bitstreams, for which the intra-decoding process does not require the inverse (i.e., forward LUT) of the carried inverse LUT (only the index needs to be retrieved using a binary search).
[0133] As a variant, the carried inverse LUT is inverted in the encoder / decoder to retrieve the corresponding forward LUT (saving the transmission of a new forward LUT with the next non-intra picture).
[0134] It is worth noting that the implicit mode can be derived from the previous embodiment, where the nature of the reshaping LUT (forward or inverse) is inferred from the slice / tile group type associated with the reshaping LUT. In this variation, the reshaping direction flag carried in the SPS or tile group is not required.
[0135] As an example, when tile_group_type == 1, then the inverse reshaping LUT is carried in the tile_group_header. When tile_groupe_type == 1, then the forward reshaping LUT is carried in the tile_group_header.
[0136] The present invention can reduce complexity, especially for intra-coded slices / tiles. In fact, the inverse reshaping LUT is directly provided to such pictures / slices / tiles, rather than calculating the inverse of the carried forward LUT and the appropriate indexes. Non-intra slices can track the current model, for which the forward LUT is carried.
[0137] Fig.11 One embodiment of a method 1100 using the general aspects described herein is shown. The method begins at a start block 1101 and control proceeds to a function block 1110 for inserting parameters in a bitstream of compressed video data that represent an in-loop reshaping filter operating on prediction data. Control then proceeds from block 1110 to block 1120 to encode a block of video data using the prediction data for inclusion in the bitstream with the parameters.
[0138] Fig.12 One embodiment of a method 1200 using the general aspects described herein is shown. The method begins at a start block 1201 and control proceeds to a function block 1210 for receiving parameters in a bitstream of compressed video data that represent an in-loop reshaping filter operating on reconstructed data. Control then proceeds from block 1210 to block 1220 to decode a block of video data using the reconstructed data and the parameters from the bitstream.
[0139] Fig.13 One embodiment of an apparatus 1300 for encoding or decoding a block of video data using parameters contained in a bitstream is shown. The apparatus includes a processor 1310 and it may be interconnected to a memory 1320 via at least one port. The processor 1310 and the memory 1320 may also have one or more additional interconnections to external connections.
[0140] The processor 1310 is configured to insert or receive parameters in a bitstream and encode or decode the video data block using the parameters.
[0141] The present application describes various aspects, including tools, features, embodiments, models, methods, etc. Many of these aspects are described as having specificity, and at least in order to illustrate individual characteristics, are usually described in a manner that may sound restrictive. However, this is for the purpose of describing clearly, and does not limit the application or scope of these aspects. In fact, all different aspects can be combined and interchanged in various ways to provide other aspects. In addition, these aspects can also be combined and interchanged with the aspects described in earlier documents.
[0142] The aspects of the embodiments described and contemplated in this application may be implemented in many different forms. Fig.14 , Fig.15 and Fig.16 Some embodiments are provided, but other embodiments are contemplated and are not intended to be construed in detail. Fig.14 , Fig.15 and Fig.16 The discussion does not limit the breadth of implementation. At least one aspect generally relates to examples related to video encoding and / or decoding, and at least one other aspect generally relates to transmitting a generated or encoded bitstream. These and other aspects can be implemented as methods, apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the described methods, and / or a computer-readable storage medium having stored thereon a bitstream generated according to any of the described methods.
[0143] In this application, the terms "reconstruction" and "decoding" are used interchangeably, the terms "pixel" and "sample" are used interchangeably, and the terms "image", "picture" and "frame" are used interchangeably. Usually, but not necessarily, the term "reconstruction" is used on the encoder side, while "decoding" is used on the decoder side.
[0144] Various methods are described herein, and each method includes one or more steps or actions for implementing the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and / or use of specific steps and / or actions may be modified or combined.
[0145] Various methods and other aspects described in this application can be used to modify modules, such as Fig.14 and Fig.15 Intra-frame prediction, entropy coding and / or decoding modules (160, 360, 145, 330) of the video encoder 100 and decoder 200 shown, in addition, aspects of the present invention are not limited to VVC or HEVC, and can be applied to (for example) other standards and recommendations (whether previously existing or developed in the future), and extensions of any such standards and recommendations (including VVC and HEVC). Unless otherwise specified or technically excluded, the aspects described in this application can be used alone or in combination.
[0146] Various numerical values are used in this application. The specific values are for illustrative purposes, and the described aspects are not limited to these specific values.
[0147] Fig.14 An encoder 100 is shown. Variations of the encoder 100 are contemplated, but for the sake of clarity, the encoder 100 is described below without describing all contemplated variations.
[0148] Before being encoded, the video sequence may undergo a pre-encoding process (101), for example, applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of the input picture components in order to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be associated with the pre-processing and appended to the bitstream.
[0149] In encoder 100, a picture is encoded by encoder elements as described below. The picture to be encoded is divided (102) and processed in units such as CUs. Each unit is encoded using, for example, intra or inter mode. When the unit is encoded in intra mode, it performs intra prediction (160). In inter mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) which of intra mode or inter mode to use to encode the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. For example, a prediction residual is calculated by subtracting (110) the predicted block from the original image block.
[0150] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients, along with motion vectors and other syntax elements, are entropy coded (145) to output a bitstream. The encoder may skip the transform and apply quantization directly to the untransformed residual signal. The encoder may bypass the transform and quantization, i.e., directly code the residual without applying the transform or quantization process.
[0151] The encoder decodes the coded block to provide a reference for further prediction. The quantized transform coefficients are inversely quantized (140) and inversely transformed (150) to decode the prediction residual. The decoded prediction residual and the prediction block are combined (155) to reconstruct the image block. An in-loop filter (165) is applied to the reconstructed picture to perform, for example, deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (180).
[0152] Fig.15 2 shows a block diagram of a video decoder 200. In the decoder 200, a bitstream is decoded by decoder elements as described below. The video decoder 200 generally performs the same operations as described below. Fig.14 The encoder 100 typically also performs video decoding as part of encoding the video data, as well as a decoding pass that is the inverse of the encoding pass described in .
[0153] In particular, the input to the decoder includes a video bitstream, which may be generated by the video encoder 100. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors, and other decoding information. Picture segmentation information indicates how the picture is segmented. The decoder can therefore divide (235) the picture according to the decoded picture segmentation information. The transform coefficients are inversely quantized (240) and inversely transformed (250) to decode the prediction residual. The decoded prediction residual is combined (255) with the prediction block to reconstruct the image block. The prediction block may be obtained (270) from intra-frame prediction (260) or motion compensated prediction (i.e., inter-frame prediction) (275). An in-loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).
[0154] The decoded picture may further undergo post-decoding processing (285), such as inverse color conversion (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or performing an inverse remapping of the remapping process performed in the pre-encoding process (101). The post-decoding process may use metadata derived in the pre-encoding process and signaled in the bitstream.
[0155] Fig.16 A block diagram of an example of a system in which various aspects and embodiments can be implemented is shown. System 1000 can be implemented as a device including various components described below, and is configured to perform one or more aspects described in this document. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected household appliances and servers. The elements of system 1000 can be implemented individually or in combination in a single integrated circuit (IC), multiple ICs and / or discrete components. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed on multiple ICs and / or discrete components. In various embodiments, system 1000 is coupled to one or more other systems or other electronic devices via, for example, a communication bus or by a dedicated input and / or output port communication. In various embodiments, system 1000 is configured to implement one or more aspects described herein.
[0156] The system 1000 includes at least one processor 1010 configured to execute instructions loaded therein for implementing, for example, various aspects described in this document. The processor 1010 may include embedded memory, input-output interfaces, and various other circuits known in the art. The system 1000 includes at least one memory 1020 (e.g., a volatile memory device and / or a non-volatile memory device). The system 1000 includes a storage device 1040, which may include a non-volatile memory and / or a volatile memory, including but not limited to an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a programmable read-only memory (PROM), a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, a magnetic disk drive, and / or an optical disk drive. As a non-limiting example, the storage device 1040 may include an internal storage device, an attached storage device (including a removable and non-removable storage device), and / or a network-accessible storage device.
[0157] The system 1000 includes an encoder / decoder module 1030, which is configured to, for example, process data to provide encoded video or decoded video, and the encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents a module (or modules) that may be included in a device to perform encoding and / or decoding functions. As is known, a device may include one or both of the encoding and decoding modules. In addition, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000 or may be incorporated into the processor 1010 as a combination of hardware and software as known to those skilled in the art.
[0158] Program code to be loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described in this document may be stored in the storage device 1040 and subsequently loaded onto the memory 1020 for execution by the processor 1010. According to various embodiments, one or more of the processor 1010, the memory 1020, the storage device 1040, and the encoder / decoder module 1030 may store one or more of the various items during the execution of the processes described in this document. These stored items may include, but are not limited to, input video, decoded video or portions of decoded video, bitstreams, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.
[0159] In some embodiments, memory within the processor 1010 and / or the encoder / decoder module 1030 is used to store instructions and provide working memory for processing required during encoding or decoding. However, in other embodiments, memory external to the processing device (e.g., the processing device may be the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory may be memory 1020 and / or a storage device 1040, such as a dynamic volatile memory and / or a non-volatile flash memory. In several embodiments, the external non-volatile flash memory is used to store, for example, an operating system for the television. In at least one embodiment, fast external dynamic volatile memory such as RAM is used as working memory for video coding and decoding operations, such as for MPEG-2 (MPEG refers to Moving Picture Experts Group, MPEG-2 is also known as ISO / IEC 13818, and 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Coding, a new standard developed by JVET, Joint Video Experts Team).
[0160] As shown in block 1130, input to the elements of system 1000 may be provided through various input devices. Such input devices include, but are not limited to: (i) an RF section that receives a radio frequency (RF) signal transmitted over the air, for example, by a broadcaster; (ii) a component (COMP) input terminal (a set of COMP input terminals); (iii) a universal serial bus (USB) input terminal; and / or (iv) a high-definition multimedia interface (HDMI) input terminal. Fig.16 Other examples not shown include composite video.
[0161] In various embodiments, the input device of block 1130 has associated corresponding input processing elements known in the art. For example, the RF section may be associated with elements suitable for: (i) selecting a desired frequency (also referred to as selecting a signal, or band limiting a signal to a frequency band); (ii) down-converting the selected signal; (iii) again band-limiting to a narrower frequency band to select a signal frequency band that may be referred to as a channel in some embodiments; (iv) demodulating the down-converted and band-limited signal; (v) performing error correction; and (vi) demultiplexing to select a desired data packet stream. The RF section of various embodiments includes one or more elements to perform these functions, such as a frequency selector, a signal selector, a band limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF section may include a tuner that performs various of these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or a near-baseband frequency) or baseband. In a set-top box embodiment, the RF part and its associated input processing element receive the RF signal transmitted by wired (for example, cable) medium, and filter to the desired frequency band again to perform frequency selection by filtering, down-conversion and filtering. Various embodiments rearrange the order of above-mentioned (and other) elements, remove some in these elements, and / or add other elements that perform similar or different functions. Adding element can include inserting element between existing elements, such as, for example inserting amplifier and analog-to-digital converter. In various embodiments, the RF part includes antenna.
[0162] In addition, the USB and / or HDMI terminals may include corresponding interface processors for connecting the system 1000 to other electronic devices via USB and / or HDMI connections. It should be understood that various aspects of input processing, such as Reed-Solomon error correction, may be implemented as needed, for example, in a separate input processing IC or processor 1010. Similarly, various aspects of USB or HDMI interface processing may be implemented as needed, either in a separate interface IC or in processor 1010. The demodulated, error corrected, and demultiplexed streams are provided to various processing elements, including, for example, processor 1010 and encoder / decoder 1030, which operate in conjunction with memory and storage elements to process the data streams as needed for presentation on output devices.
[0163] The various components of system 1000 may be provided in an integrated housing. Within the integrated housing, the various components may be interconnected and transfer data between using suitable connection arrangements such as internal buses known in the art including inter-IC (I2C) buses, wiring, and printed circuit boards.
[0164] System 1000 includes a communication interface 1050 that enables communication with other devices via a communication channel 1060. Communication interface 1050 may include, but is not limited to, a Pass The communication channel 1060 is a transceiver for transmitting and receiving data. The communication interface 1050 may include, but is not limited to, a modem or a network card, and the communication channel 1060 may be implemented, for example, in a wired and / or wireless medium.
[0165] In various embodiments, data is streamed or otherwise provided to the system 1000 using a network such as Wi-Fi (e.g., IEEE 802.11, IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signals of these embodiments are received by a communication channel 1060 and a communication interface 1050 suitable for Wi-Fi communication. The communication channel 1060 of these embodiments is typically connected to an access point or router, which provides access to an external network including the Internet to allow streaming applications and other over-the-top communications. Other embodiments use a set-top box to provide streaming data to the system 1000, which passes data through the HDMI connection of the input block 1130. Still other embodiments use the RF connection of the input block 1130 to provide streaming data to the system 1000. As described above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use wireless networks other than Wi-Fi, such as cellular networks or Bluetooth networks.
[0166] The system 1000 can provide output signals to various output devices, including a display 1100, a speaker 1110, and other peripheral devices 1120. The display 1100 of various embodiments includes, for example, one or more of a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 can be used for a television, a tablet computer, a laptop computer, a cellular phone (mobile phone), or other devices. The display 1100 can also be integrated with other components (e.g., as in a smart phone), or separately (e.g., an external monitor for a laptop computer). In each example of each embodiment, other peripheral devices 1120 include one or more of an independent digital video disk (or digital versatile disk) (DVR, two items), a disk player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 1120 that provide functions based on the output of the system 1000. For example, a disk player performs the function of playing the output of the system 1000.
[0167] In various embodiments, control signals are transmitted between the system 1000 and the display 1100, speaker 1110, or other peripheral device 1120 using signaling such as AV.link, consumer electronics control (CEC), or other communication protocols, which enables device-to-device control with or without user intervention. Output devices can be communicatively coupled to the system 1000 via dedicated connections through corresponding interfaces 1070, 1080, and 1090. Alternatively, the output device can be connected to the system 1000 via the communication interface 1050 using the communication channel 1060. For example, the display 1100 and the speaker 1110 can be integrated into a single unit in an electronic device (e.g., a television) along with other components of the system 1000. In various embodiments, for example, the display interface 1070 includes a display driver, such as a timing controller (Tcon) chip.
[0168] For example, if the RF portion of input 1130 is part of a separate set-top box, the display 1100 and speaker 1110 may alternatively be separate from one or more of the other components. In various embodiments where the display 1100 and speaker 1110 are external components, the output signal may be provided via a dedicated output connection, including, for example, an HDMI port, a USB port, or a COMP output.
[0169] These embodiments may be implemented by computer software implemented by the processor 1010 or a combination of hardware and software. As a non-limiting example, the embodiments may be implemented by one or more integrated circuits. The memory 1020 may be of any type suitable for the technical environment and may be implemented using any appropriate data storage technology, such as, as a non-limiting example, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory. The processor 1010 may be of any type suitable for the technical environment and may include, as a non-limiting example, one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.
[0170] Various implementations involve decoding. As used in the present application, "decoding" may include, for example, all or part of a process performed on a received coded sequence to produce a final output suitable for display. In various embodiments, such processes include one or more of the processes typically performed by a decoder, such as entropy decoding, inverse quantization, inverse transformation, and differential decoding. In various embodiments, such processes also or alternatively include processes performed by a decoder of the various implementations described in the present application.
[0171] As a further example, in one embodiment, "decoding" refers only to entropy decoding, in another embodiment, "decoding" refers only to differential decoding, and in another embodiment, "decoding" refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process" is intended to refer specifically to a subset of operations or generally to a broader decoding process will be clear based on the context of the specific description and is believed to be well understood by those skilled in the art.
[0172] Various implementations involve encoding. In a manner similar to the above discussion of "decoding", "encoding" as used in this application may include, for example, all or part of a process performed on an input video sequence to produce an encoded bitstream. In various embodiments, such processes include one or more processes typically performed by an encoder, such as segmentation, differential encoding, transforms, quantization, and entropy encoding. In various embodiments, such processes also or alternatively include processes performed by an encoder of the various implementations described in this application.
[0173] As a further example, in one embodiment, "encoding" refers only to entropy encoding, in another embodiment, "encoding" refers only to differential encoding, and in another embodiment, "encoding" refers to a combination of differential encoding and entropy encoding. Whether the phrase "encoding process" is intended to refer specifically to a subset of operations or generally to a broader encoding process will become clear based on the context of the specific description and is believed to be well understood by those skilled in the art.
[0174] Note that the syntax elements used here are descriptive terms. Therefore, they do not exclude the use of other syntax element names.
[0175] When a figure is presented as a flow chart, it should be understood that it also provides a block diagram of the corresponding apparatus. Similarly, when a figure is presented as a block diagram, it should be understood that it also provides a flow chart of the corresponding method / process.
[0176] Various embodiments may involve parameter models or rate-distortion optimization. In particular, during the encoding process, a balance or trade-off between rate and distortion is usually considered, usually given a constraint on computational complexity. It can be measured by rate-distortion optimization (RDO) metric, or by least mean square (LMS), mean absolute error (MAE) or other such measurements. Rate-distortion optimization is usually formulated as minimizing a rate-distortion function, which is a weighted sum of rate and distortion. There are different methods to solve the rate-distortion optimization problem. For example, these methods can be based on extensive testing of all coding options, including all considered modes or decoding parameter values, with a complete evaluation of their decoding costs and the associated distortion of the reconstructed signal after decoding and decoding. Faster methods can also be used to save coding complexity, in particular to calculate approximate distortion based on prediction or prediction residual signals rather than reconstructed signals. A mixture of these two methods can also be used, for example by using approximate distortion only for some possible coding options and full distortion for other coding options. Other methods only evaluate a subset of possible coding options. More generally, many approaches employ any of a variety of techniques to perform optimization, but optimization is not necessarily a complete assessment of both the coding cost and the associated distortion.
[0177] The implementations and aspects described herein may be implemented in, for example, a method or process, a device, a software program, a data stream, or a signal. Even if discussed only in the context of a single form of implementation (e.g., discussed only as a method), the implementation of the features discussed may also be implemented in other forms (e.g., a device or program). For example, a device may be implemented with appropriate hardware, software, and firmware. The method may be implemented in, for example, a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes a communication device, such as a computer, a cellular phone, a portable / personal digital assistant ("PDA"), and other devices that facilitate information communication between end users.
[0178] References to "one embodiment" or "an embodiment" or "an implementation" or "implementations" and other variations mean that a particular feature, structure, characteristic, etc. described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in an implementation" or "in an implementation" and any other variations in various places throughout this application are not necessarily all referring to the same embodiment.
[0179] Additionally, the present application may refer to “determining” various information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from a memory.
[0180] Furthermore, the present application may refer to "accessing" various information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.
[0181] Additionally, the present application may involve "receiving" various information. Like "accessing," receiving is intended to be a broad term. Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, during operations such as storing information, processing information, sending information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information, "receiving" is generally involved in one way or another.
[0182] It should be understood that, for example, in the case of "A / B", "A and / or B", and "at least one of A and B", the use of any of the following " / ", "and / or", and "at least one of..." is intended to cover the selection of only the first listed option (A), or only the second listed option (B), or both options (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C", such wording is intended to include the selection of only the first listed option (A), or only the second listed option (B), or only the third listed option (C), or only the first and second listed options (A and B), or only the first and third listed options (A and C), or only the second and third listed options (B and C), or all three options (A and B and C). This can be extended to many of the listed items, as will be apparent to one of ordinary skill in this and related arts.
[0183] In addition, as used herein, the word "signal" especially refers to a corresponding decoder indicating something. For example, in some embodiments, the encoder signals a specific one of multiple transforms, decoding modes or flags for refinement. In this way, in an embodiment, the same transform, parameter or mode is used on the encoder side and the decoder side. Therefore, for example, the encoder can transmit (explicit signaling) specific parameters to the decoder so that the decoder can use the same specific parameters. On the contrary, if the decoder already has specific parameters and other parameters, signaling can be used without transmission (implicit signaling) to simply allow the decoder to know and select specific parameters. By avoiding the transmission of any actual function, bit saving is achieved in various embodiments. It should be understood that signaling can be implemented in various ways. For example, in various embodiments, one or more grammatical elements, flags, etc. are used to signal information to the corresponding decoder. Although the foregoing relates to the verb form of the word "signal", the word "signal" can also be used as a noun in this article.
[0184] As will be appreciated by those skilled in the art, implementations may generate various signals formatted to carry information that may be stored or transmitted, for example. The information may include, for example, instructions for executing a method, or data generated by one of the described implementations. For example, a signal may be formatted to carry a bitstream of the described embodiments. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is known, the signal may be transmitted via a variety of different wired or wireless links. The signal may be stored on a processor readable medium.
[0185] We have described multiple embodiments across various claim categories and types. Features of these embodiments may be provided individually or in any combination. In addition, embodiments may include one or more of the following features, devices, or aspects, alone or in any combination, across various claim categories and types:
[0186] A process or device that performs encoding and decoding using information inserted into the bitstream that represents parameters that implement forward or inverse mapping functions.
[0187] A process or device that performs encoding and decoding using information inserted into the bitstream that represents the parameters of a forward or inverse mapping function implemented by a lookup table.
[0188] • A process or apparatus for performing encoding and decoding using information inserted in a bitstream representing parameters implementing a forward or inverse mapping function, wherein the inverse function is derived from the inserted information.
[0189] A process or apparatus for performing encoding and decoding using information inserted into the bitstream indicating parameters implementing a forward or inverse mapping function, wherein one type of mapping function is used for intra pictures and one type is used for inter pictures.
[0190] • A process or apparatus for performing encoding and decoding using information inserted in a bitstream representing parameters implementing a forward or inverse mapping function, wherein the information is conveyed in a uniform lookup table.
[0191] • A process or apparatus for performing encoding and decoding with information inserted in a bitstream representing parameters implementing a forward or inverse mapping function, wherein the information is conveyed in a non-uniform lookup table.
[0192] A bitstream or signal comprising one or more of the described syntax elements or their variants.
[0193] • A bitstream or signal comprising syntax conveying information generated according to any of the described embodiments.
[0194] • Creation and / or transmission and / or reception and / or decoding according to any of the described embodiments.
[0195] A method, process, apparatus, medium storing instructions, medium storing data, or signal according to any of the described embodiments.
[0196] • Inserting syntax elements in the signaling that enable the decoder to determine the coding mode in a manner corresponding to that used by the encoder.
[0197] • Creating and / or transmitting and / or receiving and / or decoding a bitstream or signal comprising one or more of the described syntax elements or variations thereof.
[0198] • A TV, set-top box, cell phone, tablet or other electronic device that performs the transformation method(s) according to any of the described embodiments.
[0199] A TV, set-top box, cell phone, tablet or other electronic device that performs the transformation method(s) determined according to any of the described embodiments and displays (e.g., using a monitor, screen or other type of display) the resulting image.
[0200] A TV, set-top box, cellular phone, tablet or other electronic device that selects, band-limits or tunes (e.g., using a tuner) a channel to receive a signal comprising an encoded image, and performs a transformation method(s) according to any of the described embodiments.
[0201] • A TV, set-top box, cell phone, tablet or other electronic device that receives over the air (eg, using an antenna) a signal comprising an encoded image and performs the transform method(s).
Claims
1. A method comprising: inserting parameters in a bitstream of compressed video data associated with a picture portion, the parameters representing: in case of an intra-decoded picture portion, a uniformly sampled inversely reshaped lookup table that approximates a non-uniformly sampled inversely reshaped lookup table obtained from a uniformly sampled forwardly reshaped lookup table; and a uniformly sampled forward reshaping lookup table in the case of inter-decoded picture sections; as well as The video data block is encoded using the parameters. 2 . The method of claim 1 , comprising using an indicator to signal whether the parameter represents a forward lookup table or a reverse lookup table.
3. The method of claim 1 or 2, wherein a lookup table represented by a parameter in the bitstream is applied to an associated decoded picture until replaced by another lookup table. The method of claim 1 , wherein the parameter is a pivot point.
5. A device comprising: A processor configured to execute: inserting parameters in a bitstream of compressed video data associated with a picture portion, the parameters representing: in case of an intra-decoded picture portion, a uniformly sampled inversely reshaped lookup table that approximates a non-uniformly sampled inversely reshaped lookup table obtained from a uniformly sampled forwardly reshaped lookup table; and a uniformly sampled forward reshaping lookup table in the case of inter-decoded picture sections; as well as The video data block is encoded using the parameters. 6 . The apparatus of claim 5 , wherein the processor is configured to use an indicator to signal whether the parameter represents a forward lookup table or a reverse lookup table.
7. The apparatus of claim 5 or 6, wherein a lookup table represented by a parameter in the bitstream is applied to an associated coded picture until replaced by another lookup table.
8. The apparatus of claim 5, wherein the parameter is a pivot point.
9. A method for decoding a video data block, comprising: receiving parameters in a bitstream of compressed video data associated with a picture portion, the parameters representing: in the case of an intra-decoded picture portion, a uniformly sampled inverse reshaping lookup table that approximates a non-uniformly sampled inverse reshaping lookup table obtained from a uniformly sampled forward reshaping lookup table; and a uniformly sampled forward reshaping lookup table in the case of inter-decoded picture sections; as well as The parameters are used to decode the block of video data.
10. The method of claim 9, comprising using an indicator to signal whether the parameter represents a forward lookup table or a reverse lookup table.
11. The method of claim 9 or 10, wherein a lookup table represented by a parameter in the bitstream is applied to an associated coded picture until replaced by another lookup table.
12. The method of claim 9, wherein the parameter is a pivot point.
13. An apparatus comprising: A processor configured to execute: receiving parameters in a bitstream of compressed video data associated with a picture portion, the parameters representing: in the case of an intra-decoded picture portion, a uniformly sampled inversely reshaped lookup table that approximates a non-uniformly sampled inversely reshaped lookup table obtained from a uniformly sampled forwardly reshaped lookup table; and a uniformly sampled forward reshaping lookup table in the case of inter-decoded picture sections; as well as The parameters are used to decode the block of video data.
14. The apparatus of claim 13, wherein the processor is configured to use an indicator to signal whether the parameter represents a forward lookup table or a reverse lookup table.
15. The apparatus of claim 13 or 14, wherein a lookup table represented by a parameter in the bitstream is applied to an associated coded picture until replaced by another lookup table.
16. The apparatus of claim 13, wherein the parameter is a pivot point.
17. A device comprising: The device according to claim 13 or 14; as well as At least one of: (i) an antenna configured to receive a signal, the signal comprising the video data block; (ii) a frequency band limiter configured to limit the received signal to a frequency band containing the video data block; and (iii) a display configured to display an output representing the block of video data.
18. A non-transitory computer-readable medium having instructions stored thereon, and when the instructions are executed by a processor, the processor is configured to perform the method of claim 1 or 2 or the method of claim 9 or 10.
19. A computer program product comprising instructions, which, when the program is executed by a computer, cause the computer to execute the method according to claim 1 or 2 or the method according to claim 9 or 10.
