Encoding and Decoding Video Data

By using parameter sets and constraint data, the challenges of ensuring compatibility and efficient decoding in video data encoding and decoding systems are addressed, enabling flexible and optimal performance across diverse devices and platforms.

JP7571797B2Active Publication Date: 2024-10-23SONY GROUP CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2022568874
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-10
Filing Date
2020-12-16
Publication Date
2024-10-23
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

Existing video data encoding and decoding systems face challenges in efficiently encoding and decoding video data, particularly in managing constraints and profiles to ensure compatibility and optimal decoding performance across different devices and platforms.

Method used

The implementation of parameter sets such as Video Parameter Sets (VPS), Sequence Parameter Sets (SPS), and Picture Parameter Sets (PPS) to define encoding attributes, along with constraint data to manage decoding capabilities, ensuring compatibility and efficient decoding across various devices and platforms.

Benefits of technology

This approach allows for flexible and efficient decoding of video data by defining decoding attributes and constraints, enabling optimal performance and compatibility across different devices and platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571797000003
    Figure 0007571797000003
  • Figure 0007571797000004
    Figure 0007571797000004
  • Figure 0007571797000005
    Figure 0007571797000005
Patent Text Reader

Abstract

1. An apparatus comprising: a video data decoder circuit configured to decode an input video data stream; a detector circuit configured to detect constraint data associated with the input video data stream; and a control circuit configured to control the video data decoder to decode the input video data stream and generate a decoded video data stream having decoding attributes defined by an encoding profile provided by parameter data, as modified by a difference defined by the constraint data, the video data decoder being responsive to the parameter data associated with the input video data stream, the parameter data indicating a profile selected from a plurality of profiles, each profile defining decoding attributes including one or more of a bit depth and a chrominance subsampling format, the constraint data defining a difference between decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data, and the constraint data being configured such that a zero value of the constraint data indicates a zero difference in the decoding attributes.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This disclosure relates to encoding and decoding video data. [Background technology]

[0002] The "Background Art" section of this specification is intended to generally describe the background of this application. The inventors' techniques, to the extent described in this Background Art section, are not admitted, expressly or impliedly, as prior art to this application, as are aspects of the description that should not be considered prior art if they were not prior art at the time of filing this application.

[0003] There are several video or image data encoding and decoding systems that convert video data into a frequency domain representation, quantize the resulting frequency domain coefficients, and then apply some kind of entropy coding to the quantized coefficients, thereby compressing the video data. By applying a corresponding decoding or decompression technique, the original video data is reconstructed and restored.

[0004] The encoding and decoding capabilities are defined by so-called profiles, levels and hierarchies, among which a profile may define various attributes of the encoding and decoding capabilities, such as (possibly among others) the chrominance subsampling format and the bit depth (or maximum bit depth) of the video or image data. Various other features for use in encoding and decoding operations (such as certain filtering operations) can also be defined by a profile. So-called constraints can be encoded in the bitstream (also known as the "data stream" or "video data stream") to define variations from the attributes defined in a particular profile. Summary of the Invention

[0005] The present disclosure addresses or alleviates issues arising from this process.

[0006] Each aspect and feature of the present disclosure is defined in the accompanying claims.

[0007] It should be understood that the above general description and the following detailed description are examples of the present technology and are not intended to limit the present technology. [Brief description of the drawings]

[0008] A complete understanding of the present technology and many of its advantages will be readily appreciated by considering the following detailed description in conjunction with the accompanying drawings, in which: [Figure 1] FIG. 1 is a schematic diagram showing an audio / video (A / V) data transmission and reception system that compresses and decompresses video data. [Diagram 2] FIG. 1 is a schematic diagram illustrating a video display system with video data decompression. [Diagram 3] FIG. 1 is a schematic diagram illustrating an audio / video storage system that compresses video data and decompresses video data. [Figure 4] FIG. 1 is a schematic diagram showing a video camera that performs compression of video data. [Diagram 5] FIG. 2 is a schematic diagram showing a storage medium. [Figure 6] FIG. 2 is a schematic diagram showing a storage medium. [Figure 7] 1 is a schematic diagram showing a video data compression and decompression device; [Figure 8] FIG. 2 is a schematic diagram showing a prediction unit. [Figure 9] 1 illustrates a schematic diagram of the use of parameter sets. [Figure 10] 1 illustrates a schematic representation of a decoding device. [Figure 11] 1 illustrates a schematic representation of an encoding device; [Figure 12] 1 is a schematic flow chart illustrating each method. [Figure 13] 1 is a schematic flow chart illustrating each method. [Figure 14] 1 is a schematic flow chart illustrating each method. [Figure 15] 1 is a schematic flow chart illustrating each method. [Figure 16] 1 is a schematic flow chart illustrating each method. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Referring now to the drawings, FIGS. 1 to 4 show schematic diagrams of an apparatus or system that utilizes a compression device and / or a decompression device according to each embodiment of the present technology described below.

[0010] All of the data compression and / or decompression devices described below may be implemented in hardware or as programmable hardware, such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA), or a combination of these, or in software running on a general-purpose data processing device, such as a general-purpose computer. For embodiments implemented in software and / or firmware, it will be understood that such software and / or firmware, as well as non-transitory data recording media on which such software and / or firmware is stored or provided, are considered embodiments of the present technology.

[0011] 1 is a schematic diagram of an audio / video data transmission and reception system for compressing and decompressing video data, in this example, the data values ​​being encoded or decoded represent image data.

[0012] An input audio / video signal 10 is provided to a video data compression device 20 which compresses at least the video element of the audio / video signal 10 and is transmitted along a transmission route 30, e.g. a cable, optical fiber, wireless link, etc. The compressed signal is processed by a decompressor 40 which provides an output audio / video signal 50. On the return path, a compressor 60 compresses the audio / video signal which is transmitted along the transmission route 30 to a decompressor 70.

[0013] Thus, compressor 20 and decompressor 70 may constitute one node of a transmission link, and decompressor 40 and compressor 60 may constitute another node of the transmission link. Of course, if the transmission link is unidirectional, then only one of these nodes will require a compressor and only the other will require a decompressor.

[0014] 2 is a schematic diagram of a video display system that performs video data decompression. Specifically, a compressed audio / video signal 100 is processed by a decompressor 110, which provides a decompressed signal that can be displayed on a display device 120. The decompression device 110 may be formed integrally with the display device 120, for example, by being provided in the same housing as the display device 120. Alternatively, the decompression device 110 may be provided (for example) as a so-called set-top box (STB). Note that the term "set-top" does not imply that the box must be placed in a particular orientation or position relative to the display device 120. The term is simply used in the art to denote a device that can be connected to a display as a peripheral.

[0015] 3 is a schematic diagram of an audio / video storage system that compresses and decompresses video data. An input audio / video signal 130 is provided to a compressor 140 which produces a compressed signal which is stored in a storage device 150, for example a magnetic disk drive, optical disk drive, magnetic tape drive, or a solid state storage device such as a semiconductor memory or other storage device. During playback, the compressed data is read from the storage device 150 and sent to a decompressor 160 for decompression, thereby providing an output audio / video signal 170.

[0016] It will be appreciated that compressed or otherwise encoded signals and storage media, such as non-transitory machine-readable storage media, that store the signals are considered embodiments of the technology.

[0017] Figure 4 is a schematic diagram of a video camera that compresses video data. In Figure 4, an image capture device 180, such as a Charge Coupled Device (CCD) image sensor and associated control and readout electronics, generates a video signal that is sent to a compression device 190. One or more microphones 200 generate audio signals that are sent to the compression device 190. The compression device 190 generates a compressed audio / video signal 210 (collectively represented as stage 220) for storage and / or transmission.

[0018] The techniques described below are primarily directed to the compression and decompression of video data, and it will be appreciated that many existing techniques may be used to generate compressed audio / video signals in conjunction with the video data compression techniques described below to effect compression of audio data. Therefore, compression of audio data will not be discussed separately, and it will also be appreciated that the data rates associated with video data are typically much higher than the data rates associated with audio data (whether compressed or uncompressed), particularly in broadcast quality video data. It will thus be appreciated that uncompressed audio data can be added to compressed video data to result in a compressed audio / video signal. Furthermore, although the embodiments of the present invention (see Figures 1-4) relate to audio / video data, it will be appreciated that the techniques described below may also be used in systems that simply process (i.e. compress, decompress, store, display and / or transmit) video data. That is, the embodiments do not necessarily relate to audio data processing, but may also be applied to the compression of video data.

[0019] Figure 4 thus provides an example of a video capture device including an image sensor and an encoding device of the type described below, and Figure 2 thus provides an example of a decoding device of the type described below, and a display device on which the decoded image is output.

[0020] The combination of Figures 2 and 4 can provide a video capture device including an image sensor 180 and an encoding device 190, a decoding device 110, and a display device 120 where the decoded images are output.

[0021] 5 and 6 are schematic diagrams illustrating storage media for storing (for example) compressed data generated by device 20, 60, compressed data input to device 110, or storage media i.e. storage 150, 220. FIG. 5 is a schematic diagram illustrating a disk-type storage medium such as a magnetic disk or optical disk. FIG. 6 is a schematic diagram illustrating a solid-state storage medium such as a flash memory. Note that FIG. 5 and 6 also illustrate examples of non-transitory device-readable storage media for storing computer software that, when executed by a computer, causes the computer to perform one or more of the methods described below.

[0022] Thus, the above arrangements provide examples of video storage, capture, transmission and reception devices embodying any of the present techniques.

[0023] FIG. 7 provides a schematic diagram of a video or image data compression (encoding) and decompression (decoding) apparatus for encoding and / or decoding video or image data representing one or more images.

[0024] The controller 343 controls the overall operation of the video data compression and decompression device, and in particular the compression mode, by acting as a selector to select various operational aspects such as block size and shape, thereby controlling the trial encoding process. The control unit 343 also controls whether the video data is encoded lossily or not. The control unit 343 may be considered as forming part of an image encoder or image decoder (as the case may be). Successive images of the input video signal 300 are provided to a summing unit 310 and to an image prediction unit 320. The image prediction unit 320 will be described in more detail below with reference to FIG. 8. An image encoder or image decoder (as the case may be) may use features from the apparatus shown in Figure 7 together with the intra image predictor of Figure 8. However, the image encoder or image decoder does not necessarily require all the features shown in Figure 7.

[0025] The adder 310 effectively performs a subtraction (negative addition) operation, receiving the input video signal 300 on its "+" input and the output of the image predictor 320 on its "-" input, thereby subtracting the predicted image from the input image, resulting in a so-called residual image signal 330, which represents the difference between the actual image and the predicted image.

[0026] One reason for generating a residual image signal is the following: the described data coding techniques, i.e. techniques applied to the residual image signal, tend to work more efficiently when there is less "energy" in the image being coded, where the term "efficient" refers to the small amount of coded data produced. For a particular image quality level, it is desirable (and considered "efficient") to generate as little data as possible. The "energy" of a residual image refers to the amount of information contained in the residual image: if the predicted image and the actual image were identical, the difference between these two images (i.e., the residual image) would contain zero information (zero energy) and could be very easily coded into a small amount of coding data. In general, if the prediction process can be performed reasonably well, such that the content of the predicted image is similar to the content of the image to be encoded, it is expected that the residual image data will have less information (less energy) than the input image and can be easily encoded into a smaller amount of encoding data.

[0027] Thus, encoding (using adder 310) involves predicting an image region for the image to be coded, and generating a residual image region that depends on the difference between the predicted image region and the corresponding region of the image to be coded. In conjunction with the techniques described below, the ordered array of data values ​​includes the data values ​​of a representation of the residual image region. Decoding includes predicting an image region for the image to be decoded; generating a residual image region that indicates the differences between the predicted image region and the corresponding region of the image to be decoded; an ordered array of data values ​​comprising data values ​​of a representation of the residual image region; and combining the predicted image region and the residual image region.

[0028] The remaining part of the device, which acts as an encoder (encoding the residual or difference image), is now described.

[0029] The residual image data 330 is provided to a transform section or circuit 340 which generates a Discrete Cosine Transform (DCT) representation of a block or region of the residual image data. The DCT technique itself is well known and will not be described in detail here. Also, the use of the DCT is merely an illustrative example configuration. Other transforms could be used, for example, a Discrete Sine Transform (DST). Transforms may be combined, for example, one transform followed (directly or indirectly) by another. The choice of transform scheme may be explicitly decided and / or may depend on side information used to configure the encoder and decoder. In another example, a so-called "transform skip" mode may be selectively used, in which no transform is applied.

[0030] Thus, for example, an encoding and / or decoding method may comprise the steps of predicting an image region for an image to be encoded and generating a residual image region dependent on the difference between the predicted image region and a corresponding region of the image to be encoded, An ordered array of data values ​​(described below) contains the data values ​​of the representation of the residual image region.

[0031] The output of the transform unit 340, i.e. (for example) a set of DCT coefficients for each transform block in the image data, is provided to a quantizer unit 350. A variety of quantization techniques are well known in the field of video data compression, ranging from simple multiplication by a quantization scaling factor to the application of complex look-up tables under the control of a quantization parameter. They generally serve two purposes: first, the quantization process reduces the possible values ​​that the transform data can take. Second, the quantization process increases the likelihood that the transformed data will have a zero value, allowing the entropy coding process (described below) to be more efficient in generating small amounts of compressed video data.

[0032] A data scanning process is applied by a scanner 360. The purpose of the scanning process is to reorder the quantized transformed data in order to group together as many non-zero quantized transformed coefficients as possible, and of course, to group together as many zero-valued coefficients as possible. These features allow the efficient application of so-called run-length coding or similar techniques. The scanning process thus involves selecting coefficients from the quantized transformed data, and in particular blocks of coefficients that correspond to blocks of transformed and quantized image data, in a "scan order" such that (a) all coefficients are selected once as part of the scan, and (b) the scan can effect any desired reordering. One example of a scan order that produces useful results is the so-called Up-right Diagonal scan order.

[0033] The scan order may be different for transform skip blocks and transform blocks (blocks that have undergone at least one spatial frequency transform).

[0034] The scanned coefficients are then sent to an entropy encoder (EE) 370. Again, various entropy coding techniques may be performed. Two examples are variations of the so-called Context Adaptive Binary Coding (CABAC) system and variations of the so-called Context Adaptive Variable-Length Coding (CAVLC) system. CABAC is generally considered efficient. Studies have shown that the amount of coded output data in CABAC is 10-20% less than CAVLC for comparable image quality. However, CAVLC is believed to exhibit a much lower level of complexity than CABAC. Note that although the scanning and entropy coding processes are shown as separate processes, in practice they can be combined or treated together, i.e., data can be read into the entropy encoder in scan order, as can the inverse processes described below.

[0035] The output of the entropy encoder 370 provides a compressed output video signal 380, together with additional data (described above and / or below) that defines, for example, how the prediction unit 320 generates a predicted image, whether the compressed data has been transformed, whether a transform has been skipped, etc.

[0036] However, since the operation of the predictor 320 itself depends on the decompressed compressed output data, a return path 390 is also provided.

[0037] The reason for this feature is as follows: At an appropriate stage in the decompression process (described below), decompressed residual data is generated. This decompressed residual data needs to be added to the predicted image to generate the output image (because the original residual data was the difference between the input image and the predicted image). To make this process equivalent on the compression and decompression side, the predicted image generated by the predictor 320 should be the same during the compression and decompression processes. Of course, the device does not have access to the original input image at decompression time, it can only access the decompressed image, so at compression time, the predictor 320 bases its predictions (at least for inter-image coding) on ​​the decompressed compressed image.

[0038] The entropy encoding process performed by entropy encoder 370 is considered (at least in some instances) to be "lossless," i.e., the data originally provided to entropy encoder 370 can be replaced with exactly the same data. Thus, in such instances, a return pass can be implemented prior to the entropy encoding stage. Indeed, since the scanning process performed by the scanner 360 is also considered to be lossless, in this embodiment the return path 390 runs from the output of the quantizer 350 to the input of the supplementary inverse quantizer 420. If a stage is lossy or may be lossy, this stage (and vice versa) may be included in the feedback loop formed by the return path. For example, the entropy encoding stage may, at least in principle, be made lossy, for example by techniques that encode bits in parity information. In such instances, the entropy encoding and decoding must form part of a feedback loop.

[0039] In general, entropy decoder 410, inverse scan unit 400, inverse quantizer unit 420, and inverse transform unit or circuit 430 provide the inverse functions of entropy encoder 370, scanner unit 360, quantizer unit 350, and transform unit 340, respectively. The compression process will continue here; the process for decompressing the input compressed video signal will be described separately below.

[0040] In the compression process, the scanned coefficients are sent from the quantizer 350 via a return path 390 to an inverse quantizer 420 which performs the inverse operation of the scanner 360. The inverse quantization and inverse transform processes are performed by the inverse quantizer 420 and the inverse transformer 430 to generate a compressed-decompressed residual image signal 440.

[0041] The image signal 440 is added to the output of the prediction unit 320 in adder 450 to produce a reconstructed output image 460 (although this may be subject to so-called loop filtering and / or other filtering before being output, see below). This constitutes one input to the image prediction unit 320, as will be described below.

[0042] The following describes the decoding process applied to decompress the received compressed video signal 470. The compressed video signal 470 is first supplied to an entropy decoder 410, which in turn supplies it to an inverse scanning unit 400, an inverse quantization unit 420, and an inverse transform unit 430. It is then added to the output of the image prediction unit 320 by an adder 450. Thus, on the decoder side, the decoder reconstructs the residual image and decodes each block by applying it (block by block) to the predicted image (by adder 450). Briefly, the output 460 of adder 450 forms the output decompressed video signal 480 (subject to a filtering process described below). In practice, further filtering may optionally be applied before the signal is output (e.g., using filter 560), which is shown in Figure 8. In the overall configuration of Figure 7 compared to Figure 8, loop filter 565 has been omitted for clarity.

[0043] The apparatus shown in Figures 7 and 8 can operate as a compression (encoding) apparatus or a decompression (decoding) apparatus. The functions of the two types of apparatus are substantially overlapped. The scanner 360 and the entropy encoder 370 are not used in the decompression mode. The operation of the predictor 320 (described in more detail below) and other sections depends on the mode and parameter information contained in the received compressed bitstream, and they do not generate this information themselves.

[0044] FIG. 8 is a schematic diagram illustrating the generation of a predicted image, and in particular the operation of the image predictor 320.

[0045] Two basic prediction modes are performed by the image prediction unit 320: the so-called intra-image prediction and the so-called inter-image prediction or motion-compensated (MC) prediction. On the encoder side, these predictions each involve finding a prediction direction for the current block to be predicted and generating a predictive block of samples depending on other samples (in the same (intra) or another (inter) image). The adder unit 310 or 450 respectively encodes or decodes the block by encoding or decoding the difference between the predicted block and the actual block.

[0046] (At the decoder side or inverse decoding side of the encoder, this detection of the prediction direction may be in response to data associated with the data encoded by the encoder indicating which direction was used by the encoder, or the detection of the prediction direction may be in response to the same factors determined by the encoder.)

[0047] Intra-image prediction is based on the prediction of the content of image blocks or regions on data taken from within the same image. This corresponds to the so-called I-frame coding in other video compression techniques. However, in contrast to I-frame coding, where the whole image is coded by intra-coding, in this embodiment the choice between intra-coding and inter-coding can be made on a block-by-block basis. In other embodiments, the choice is still made on a picture-by-picture basis.

[0048] Motion compensated prediction is an example of inter-image prediction, where motion information is used that seeks to define the source, in other adjacent or nearby images, of the image details to be coded in the current image. Thus, in an ideal case, the content of a block of image data in a predicted image can be very easily coded as a reference (a motion vector) that points to a corresponding block in the same or slightly different position in an adjacent image.

[0049] The technique known as "block copy" prediction is in some ways a hybrid of the two above predictions, as it uses a vector that indicates a block of samples, displaced from the current predicted block within the same image, that should be copied to generate the current predicted block.

[0050] Returning to Figure 8, there are shown two image prediction configurations (corresponding to intra image prediction and inter image prediction) whose prediction results are selected by multiplication unit 500 under control of mode signal 510 (e.g. in control unit 343) to provide a block of predicted images for supply to adders 310 and 450. The selection is made based on which selection results in the least "energy" (which, as discussed above, may be thought of as the amount of information that needs to be coded), and is signalled to the decoder in the coded output data stream. In this regard, image energy can be found, for example, by trial subtracting regions of the two versions of the predicted image from the input image, squaring each pixel value of the difference image, summing the multiplication values, and identifying which of the two versions has a lower average multiplication value of the difference image associated with that image region. In another example, trial encoding can be performed for each choice or for each possible choice, and the choice is made depending on the cost of each possible choice in terms of the number of bits required for encoding and / or the distortion to the image.

[0051] In an intra prediction system, the actual prediction is made based on the image blocks received as part of signal 460 (filtered by loop filtering, see below), i.e. the prediction is made based on the encoded-decoded image blocks so that the exact same prediction can be made in the decompressor. However, data can also be derived from the input video signal 300 to control the operation of the intra image prediction unit 530 via the intra mode selection unit 520 .

[0052] In inter-image prediction, a motion compensated (MC) prediction unit 540 uses motion information, e.g., motion vectors, derived from the input video signal 300 by a motion estimation unit 550. The motion compensated prediction unit 540 applies these motion vectors to the reconstructed image 460 to generate blocks of inter-image prediction.

[0053] Thus, the intra-image prediction unit 530 and the motion compensation prediction unit 540 (operating together with the estimation unit 550) respectively operate as a detection unit that detects the prediction direction for the current block to be predicted, and as a generation unit that generates a prediction block of samples (which forms part of the prediction result sent to the addition units 310 and 450) depending on other samples defined by the prediction direction.

[0054] The processing applied to signal 460 will now be described.

[0055] First, the signal may be filtered by a so-called loop filter 565. Various types of loop filters can be used. One technique involves applying a "deblocking" filter, which tends to eliminate, or at least reduce, the effects of the block-based processing performed by the transform unit 340 and subsequent operations. Further techniques may also be used, including applying so-called Sample Adaptive Offsetting (SAO) filters. In general, in a sample adaptive offset filter, filter parameter data (derived at the encoder and transmitted to the decoder) defines one or more offset amounts that are selectively combined by the sample adaptive offset filter with a given intermediate video sample (a sample of signal 460) depending on the value of (i) the given intermediate video sample, or (ii) one or more intermediate video samples that have a predetermined spatial relationship with the given intermediate video sample.

[0056] An adaptive loop filter is also optionally applied, using coefficients obtained by processing the reconstructed signal 460 and the input video signal 300. This adaptive loop filter is a type of filter that applies adaptive filter coefficients to the data to be filtered, using known techniques. That is, the filter coefficients may vary based on various factors. Data defining which filter coefficients to use is inserted as part of the encoded output data stream.

[0057] The implementation method described below is related to the handling of parameter data related to the operation of the filter. Other known techniques may be used for the actual filtering operation (e.g., SAO filtering).

[0058] When the device is operating as a decompressor, the filtered output from loop filter unit 565 actually forms the output video signal 480. This signal is stored in one or more image or frame stores 570. The storage of successive images is required for the motion compensated prediction process, in particular the generation of motion vectors. To conserve the necessary memory, the images stored in image store 570 may be kept in compressed form and then decompressed for use in generating the motion vectors. Any known compression / decompression system may be used for this particular purpose. The stored image may be sent to an interpolation filter 580 which generates a higher resolution stored image. In this example, intermediate samples (sub-samples) are generated such that the resolution of the interpolated image output by the interpolation filter 580 is four times (in each dimension) the image stored in the image store 570 if the luminance channel is 4:2:0, and eight times (in each dimension) the image stored in the image store 570 if the chrominance channels are 4:2:0. The interpolated image is sent as input to the motion estimation unit 550 and the motion compensated prediction unit 540.

[0059] We now describe how to divide an image for the compression process: At a basic level, the image to be compressed can be thought of as an array of blocks or regions of samples. Such division of the image into blocks or regions can be done by decision trees as described in SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Infrastructure of Audiovisual services - Coding of moving video High efficiency videocoding Recommendation ITU-T H. 265 December 2016 and in High Efficiency Video Coding (HEVC) Algorithms and Architectures, chapter 3, Editors: Madhukar Budagavi, Gary J. Sullivan, Vivienne Sze; ISBN 978-3-319-06894-7; 2014, the contents of which are incorporated herein by reference. Further detailed background information is provided in "Versatile Video Coding (Draft 8)", JVET-R2001-vA, B. Bross, J. Chen, S. Liu, and YK. Wang, which is incorporated herein by reference in its entirety.

[0060] In some examples, the resulting blocks or regions have different sizes and, in some cases, shapes that generally follow the arrangement of image features in the image due to the decision tree. This alone can improve coding efficiency, since samples that represent or follow similar image features tend to be grouped together due to such an arrangement. In some examples, square blocks or regions of different sizes (e.g., 4x4 samples to e.g., 64x64, or larger blocks) are available for selection. Other example configurations may use blocks or regions of different shapes, such as rectangular blocks (e.g., vertically or horizontally oriented). Other non-square and non-rectangular blocks are also encompassed. As a result of such a division of the image into blocks or regions, (at least in this example) each sample of the image is assigned to one, and only one, block or region sample.

[0061] As will be described later, an embodiment of the present disclosure relates to a technique for expressing coding levels in an encoder and a decoder.

[0062] (Code Tree Units (CTUs)) A CTU represents the basic processing unit of the apparatus discussed with reference to Figure 7 and is sometimes referred to as a maximum coding unit (LCU). In general, a CTU may be between 16x16 pixels and 128x128 samples, with larger sizes (e.g., but not only for smaller image sizes) generally improving coding efficiency. A CTU may be subdivided into other units using established techniques, such as coding tree blocks (CTBs), coding units (CUs) (CTU size is also the maximum CU size), predictors (PUs), transform units (TUs), etc.

[0063] (Parameter sets and coding profiles, levels and constraints) When video data is encoded by the techniques discussed above for subsequent decoding, it is appropriate for the encoding side of the process to communicate certain parameters of the encoding process to the ultimate decoding side of the process. Given that these encoding parameters are needed every time the encoded video data is decoded, it may be useful to associate them with the encoded video data stream itself, for example by embedding the parameters in the encoded video data stream itself as a so-called parameter set (although not necessarily exclusively, since they may be transmitted "out of band" by means of a separate transmission channel).

[0064] Parameter sets may be represented as a hierarchy of information, for example as Video Parameter Set (VPS), Sequence Parameter Set (SPS) and Picture Parameter Set (PPS). A PPS is expected to occur once for each picture and contain information relevant to all encoded slices in that picture. SPSs occur less frequently (once per sequence of pictures) and VPSs occur less frequently. More frequently occurring parameter sets (such as PPS) can be implemented as a reference to a previously encoded instance of that parameter set, avoiding the cost of re-encoding. Each encoded image slice references a single active PPS, SPS, and VPS to provide information used in decoding that slice. In particular, each slice header may contain a PPS identifier to reference a PPS, which references an SPS, which references a VPS.

[0065] Another form of parameter information is the so-called Decoding Capability Information (DCI), which is actually (no longer a name) a set of parameters that indicate the maximum requirements that are passed on a particular data connection. This global definition is useful because video streams (VPS) can start and stop, but in opposite states to each other. For example, a change in the video channel being viewed through a particular broadcast station or video-on-demand provider can be achieved by switching VPSs, without actually having to make a new connection; also, when a live TV broadcast is interrupted by a commercial, the interruption can be implemented by switching or linking VPSs.

[0066] The VPS provides information about a video sequence, which may be scalable, in which case there are multiple sequences in the video stream, or non-scalable, in which case there is only one sequence in the video stream. The SPS provides information about one of the video sublayers described as a sequence. In most cases there will only be one layer in a VPS, and therefore only one SPS. The PPS provides information about each individual image.

[0067] A further example is the so-called adaptive parameter set (APS) that can be applied to each slice and is expected to contain information that varies more frequently than other parameter sets.

[0068] With the exception of the APS, which is rarely all transmitted, decoding cannot begin until the necessary information has been transmitted, so in broadcast the information may be repeated, for example, every second, due to random entry into the stream (e.g. the viewer can start decoding at any point).

[0069] The DCI, VPS, and SPS may contain constraint settings in the format described below. The DCI must contain these constraint settings that represent the worst case for the connection.

[0070] Among these parameter sets, the SPS contains example information relevant to some of the following discussion, namely data defining the profile, layer, and encoding level to be used.

[0071] A profile defines a set of decoding implements or features to be used. Sample profiles include "Main Profile" for 8-bit 4:2:0 video, and "Main 10 Profile" which allows 10-bit resolution and other extensions over the Main Profile.

[0072] In general, a profile, layer, and level specify the limitations of an encoded bitstream, and indirectly define the capabilities required to decode the bitstream: a decoder that operates for a particular profile, layer, and level is required to be able to decode all instances of encoded bitstreams that conform to that profile, layer, and level.

[0073] The decoding process is specified by relevant standards and draft standards, such that all decoders that conform to a particular profile and level (and operate on bitstreams that conform to that profile and level) produce numerically identical output.

[0074] A profile may define a set of parameters including, for example, a chrominance subsampling scheme (4:4:4, 4:2:2, 4:2:0, etc.).

[0075] So-called constraints can also be encoded. a) selective disabling of certain features of the encoder and decoder; b) Selective variation of specific parameters It can refer to one of two categories of information: In case a), the constraints are generally considered to be subtractive in the context of allowing or switching off features available within a particular profile. Examples of features that can be selectively disabled in this way are the SAO (Sample Adaptive Offset) filter, the ALF (Adaptive Loop Filter), the use of multiple transforms such as DCT and DST, the so-called palette mode, etc. In the so-called Versatile Video Coding (VVC) configuration, the constraint flag places requirements on another flag. For example, the constraint no_alf_constraint_flag equal to 1 specifies that sps_alf_enabled_flag (enables ALF) is equal to 0. The flag no_alf_constraint_flag equal to 0 does not impose such a constraint. In principle, a complete decoder, if it can handle each possible option, does not need to pay any attention to the constraints. But if there is a decoder that can only handle some aspects, it can (but does not need to) check these flags. Also, if a profile (or subprofile) is defined that requires some tools to be turned off, then the bitstream will not conform unless its constraint flags are set.

[0076] Constraint flags may also exist at a higher level, representing multiple streams, and may also be used in scalable / layer codes, which describe constraints on which scalable streams can represent a single scalable video stream. Thus, they describe a maximum value that is used, and then all bit depths and chroma formats in that subsection of the stream are constrained to that maximum value.

[0077] (That is, the default parameters associated with a profile can be changed to other values ​​for that parameter. Examples here include chrominance subsampling format and bit depth or maximum bit depth (which in practice may be specified as "bit depth-8"). For example, such constraints may define encoder settings that are relevant to (say) a 4:2:0 10-bit profile, but that are relevant to 4:0:0 8-bit video data. Of course, these constraints may be defined separately and independently of other constraints that the technical context allows. The constraints may relate to differences between the encoding / decoding attributes applicable to the video data stream and the corresponding attributes defined by the profile indicated by the parameter data, where it is noted that "difference" does not necessarily mean a numerical or mathematical difference. That is, defining "the difference between A and B" and representing that with constraint data would indicate that A is not equal to B, and the constraint data would tell you what that difference is, such as by mapping to a replacement value, rather than the constraint data providing a direct numerical representation of the replacement value.

[0078] The exemplary embodiment concerns the type (b) constraint described above.

[0079] Encoding levels have limitations such as maximum sampling rate, image size, etc. Tiers impose maximum data rates.

[0080] In the JVET (Joint Video Experts Team) proposal for Generic Video Coding (VVC), as defined (at the time of filing) by the above mentioned specification JVET-R2001-vA, various levels are defined from 1 to 6.2.

[0081] (Example of using parameter sets) An embodiment will now be described with reference to the drawings.

[0082] FIG. 9 illustrates diagrammatically the use of video parameter sets and sequence parameter sets as described above. In particular, they form part of the hierarchy of parameter sets mentioned above, such that a number of sequence parameter sets (SPS) 900, 910, 920 reference instances of decoding capability information 930 which in turn are referenced by respective sequences 902, 912, 922. In an exemplary embodiment, the profile information is defined in the DCI. So-called constraint flags and other forms of constraint data are provided in the DCI and optionally in the SPS, or by mechanisms that enable scalable coding, such as the so-called Video Parameter Set (VPS). The level information applicable to each sequence is provided in a sequence parameter set, however it is understood that these information types may be provided in these and / or other parameter sets or locations with respect to the encoded bitstream.

[0083] However, it will be appreciated that in other embodiments, the profile information may be provided in a different form or with a different set of parameters.

[0084] Note that a "profile" may actually be defined by a hierarchy of profile information, such as profiles and sub-profiles, and the net effect of two (or more) instances may effectively be considered as the "profile" applicable to a particular stream.

[0085] Similarly, although the schematic representation of FIG. 9 shows the DCI and sequence parameter sets being provided as part of the overall video data stream 940, the DCI and sequence parameter sets (or other data structures carrying the information discussed herein) may instead be provided by a separate communication channel. In either case, the profile information and constraints are associated with the video data stream 940 .

[0086] FIG. 9 also provides a schematic example of a data field 950 in the DCI 930 that may carry at least profile information and / or constraint flags or other constraint data, and an example of a data field 960 in the SPS that may optionally carry at least constraint flags or other constraint data.

[0087] (Working example - decoder) FIG. 10 illustrates generally an embodiment of a decoding device arranged to receive an input (encoded) video data stream 1000 and generate an output decoded video data stream 1010 using a decoder 1020 of the type described above with reference to FIG. 7. For clarity of this description, the control circuitry or controller 343 in FIG.

[0088] Among the functionality of the controller or control circuitry 343 is a parameter set detector 1030 which detects various parameter sets, including one or more of DCI, VPS, SPS and PPS, from appropriate fields of the input video data stream 1000. The parameter set detector 1030 derives information from the parameter sets including the level, as described above. This information is passed to the remainder of the control circuitry 343. Note that the parameter set detector 1030 can decode the levels or can simply provide the encoded levels to the control circuitry 343 for decoding.

[0089] The control circuitry 343 is also responsive to one or more decoder parameters 1040 that, for example, define at least the level at which the decoder 1020 is capable of decoding.

[0090] The control circuit 343 detects, for a given or current input video data stream 1000, whether the decoder 1020 is able to decode the input video data stream and controls the decoder 1020 accordingly. The control circuit 343 may also provide various other operating parameters to the decoder 1020 in response to information obtained from the parameter sets detected by the parameter set detector 1030 .

[0091] Thus, FIG. 10 illustrates a video data decoder circuit 1020 configured to decode an input video data stream; a detector circuit 1030 configured to detect constraint data associated with the input video data stream; a control circuit 343 configured to control the video data decoder to decode the input video data stream and generate a decoded video data stream having decoding attributes defined by an encoding profile provided by the parameter data, as modified by differences defined by the constraint data; Equipped with a video data decoder responsive to parameter data associated with the input video data stream; The parameter data indicates a profile selected from a plurality of profiles; Each profile defines decoding attributes, including one or more of the bit and chrominance subsampling formats, The constraint data defines differences between the decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data. An example of an apparatus is provided.

[0092] (Example of operation: Encoder) Similarly, FIG. 11 illustrates diagrammatically an embodiment of an encoding device comprising an encoder 1100 of, for example, the type described above with reference to FIG. The encoder's control circuitry 343 is depicted separately for clarity of illustration. The encoder operates on an input video data stream 1110 to generate and output an encoded video data stream 1120 under the control of the control circuitry 343. The control circuitry is in turn responsive to encoding parameters 1130 which include a definition of the encoding profile and / or level to be applied.

[0093] It should be noted that although the parameters used in the encoder provided by schematic unit 1130 of FIG. 11 are sometimes referred to as "encoding parameters" (as in FIG. 11), they are also validly referred to as "decoding attributes" in the context of transmission to the encoder, since they control both the encoding and decoding processes.

[0094] The control circuitry 343 also includes or controls a parameter set generator 1140 that generates parameter sets, including, for example, DCI, VPS, SPS, and PPS, to be included in the output coded video data stream.

[0095] Therefore, Figure 11 a video data encoder circuit configured to encode an input video data stream to generate an output encoded video data stream; a parameter encoder circuit configured to encode decoding attributes associated with said output encoded video data stream in dependence on the configuration data; Equipped with the video data encoder circuit being responsive to the configuration data defining the decoding attributes including one or more of a bit depth and a chrominance subsampling format, the decoding attributes including one or more of a bit depth and a chrominance subsampling format; the parameter encoder circuitry is configured to encode parameter data indicative of a selected profile from a plurality of profiles; Each profile defines the above decoding attributes, Constraint data defines differences between the decoding attributes defined by the configuration data and the decoding attributes defined by the profile indicated by the parameter data; wherein the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute. An example of an apparatus is provided.

[0096] (Encoding constraints) Figures 12 to 16 are schematic flow charts defining respective ways in which the general principles of the particular flow charts of Figures 12 and 13 applied to constraints of types (a) and (b) above relate to various aspects of encoding and decoding constraints, such as the type (b) constraints discussed above. Subsequent figures (Figures 14 to 16) refer specifically to type (b) constraints.

[0097] 12, in the encoder, a profile referred to in the diagram as "base profile" is established as a base configuration for the encoder in step 1200. For example, this configuration may be defined by unit 1130 of FIG. The configuration data maintained by unit 1130 also defines any deviations from the base profile at schematic step 1210. Note that the encoder may actually operate according to the base profile, in which case there are no differences to note at step 1210. However, the constraint flags indicating "no differences" and other constraint data are still used in this situation.

[0098] In step 1220, parameter data indicative of a base profile and constraint data indicating whether differences from the base profile are encoded in one or more parameter sets, such as DCI and / or optionally VPS and / or SPS. The generation of the parameter data and constraint data may be performed by one or both of the control circuitry 343 and the parameter set generator 1140, which follows the encoding of the parameter data and constraint data into the encoded stream 1120.

[0099] It should be noted that the constraint data is generated by the encoder and provided in a predefined format that can be recognized by the decoder, e.g., as an ordered sequence of data fields with an order established by both the encoder and the decoder. This means that within the constraint data, there is no need to label or identify each data field, as their meaning or function is known to the decoder by their position relative to other data fields and to the constraint data header fields.

[0100] In step 1230, the encoder 1100 encodes the required input video data stream and generates an output encoded video data stream under the control of the control circuitry 343 according to the base profile as modified by any variations defined by the constraint data.

[0101] FIG. 13 relates to the corresponding operations on the decoder side. The decoder receives an input encoded video data stream and generates output decoded video data. The input stream may include parameter sets such as DCI and / or VPS and / or SPS, as described above.

[0102] In step 1300, the decoder (specifically the parameter set detector 1030) detects a base profile defined by parameter data in one or more parameter sets, such as DCI and / or VPS and / or SPS. In step 1310, the decoder detects constraint data including one or more constraint flags or other constraint information from a parameter set, such as DCI and / or VPS and / or SPS, i.e., constraint data indicating differences from a base profile.

[0103] In step 1320, decoder parameters are generated by the parameter set detector 1030 and / or the control circuitry 343 for the base profile, as modified by any modifications defined by the constraint data, and in step 1330 decoding is performed by unit 1020 under the control of the control circuitry 343 in accordance with the decoder parameters set in step 1320.

[0104] It should be noted that in Figures 12 and 13, steps 1200, 1210, 1220 and steps 1300, 1310, 1320 are shown as separate successive steps purely for schematic purposes and clarity of explanation, but the steps of these groups of steps may be performed as a single composite operation in a working embodiment.

[0105] (Constraint Data Generation-Encoder) Figures 14 and 15 are schematic flow charts relating to operations at the encoder side for generating constraint data of type (b), which operations are performed at step 1220 described above. Either the flow chart of Figure 14 or the flow chart of Figure 15 can be followed, using the operations defined by the respective flow chart for each instance of constraint data of type (b). For example, in a system in which type (b) constraint data relates to each of a chrominance subsampling format and a bit depth or a maximum bit depth (e.g., represented as “maximum bit depth −8”), the operations of either FIG. 14 or FIG. 15 may be followed for each of these two instances of type (b) constraint data.

[0106] 14, any differences for the parameter under consideration with respect to the general base profile are detected in step 1400. If there are no differences in step 1410, control proceeds to step 1420 where the respective constraint is coded as a constraint value of 0. However, if a difference is detected in step 1410, control proceeds to step 1430 where each constraint is encoded as a different value, e.g., a value from a set of predefined candidate constraint values, each of which is not equal to 0.

[0107] Potential advantages of using the value 0 to indicate "no change from the base profile" may include the relative ease of encoding zeros into the encoded output data stream and / or the relative ease of a decoder to detect blocks or groups of zeros in the constrained data.

[0108] Thus, in the example, a mapping of a set of candidate values ​​of the constraint data to respective difference measures is used.

[0109] In other words, the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoded attribute. Similarly, in an embodiment, the constraint data is configured such that a non-zero value of the constraint data indicates a non-zero difference in the decoded attribute.

[0110] Below are examples of candidate constraint values ​​and their mapping to their meanings: It should be noted that an embodiment may implement one or more of these embodiments. When multiple embodiments are implemented, each embodiment may have its own respective constraint data, as described above, or may share constraint data with other embodiments. The term "constraint data" may refer to individual constraints, such as (i) or (ii) below, or to the overall ensemble of constraint data. (i) Chrominance Subsampling Format [Table 1] (ii) Bit depth (which may actually be expressed as "bit depth - 8"). [Table 2]

[0111] This range of possible values ​​does not explicitly prohibit bad practices in encoders, for example by not disallowing combinations of base profile and constraint data that result in technically impossible, or at least technically unsuitable, modes of operation. For example, operating with a base profile of 4:2:0 10-bit, but with constraint data that defines a bit depth of 16-bit. This potential problem is addressed in Figure 15. In Figure 15, steps 1500, 1510, 1540 and 1550 correspond to steps 1400, 1410, 1430 and 1420, respectively, and will not be described further here. However, on a "yes" outcome at step 1510, control is generally passed to step 1520 which tests to see if the detected difference is an acceptable difference.

[0112] Here, the tolerance is considered a "subtractive" difference, and the constraint data may not extend the functionality of the base profile.

[0113] For example, if the decoding attribute is bit depth, then each difference amount mapped to a candidate value of the constraint data represents all negative differences in bit depth, such that the bit depth defined by the encoding profile provided by the parameter data, as modified by the difference defined by the constraint data, is never greater than the bit depth defined by the encoding profile provided by the parameter data.

[0114] For example, if the base profile relates to (say) 10-bit data, then the allowed values ​​for the bit depth constraint would be 0, 1, and 2. This restriction on the range of allowed values ​​may make coding of the constraint more efficient.

[0115] In the context of chrominance subsampling formats, each difference amount mapped to a candidate value of the constraint data represents all differences such that the chrominance subsampling format defined by the encoding profile provided by the parameter data is not higher in a given hierarchy of chrominance subsampling formats than the chrominance subsampling format defined by the encoding profile provided by the parameter data, as modified by the differences defined by the constraint data. For example, a given hierarchy of chrominance subsampling formats may be expressed as, from lower to higher, i. a 4:0:0 (monochrome) chrominance subsampling format, ii. a 4:2:0 chrominance subsampling format; iii. a 4:2:2 chrominance subsampling format, and iv. A 4:4:4 chrominance subsampling format may be configured.

[0116] For example, if the base profile relates to (say) a 4:2:0 subsampling format, the allowed constraint values ​​according to this hierarchy would be 0 and 1. Again, this restriction on the range of allowed values ​​may make coding of the constraints more efficient.

[0117] Assuming the outcome of step 1520 is "yes", i.e., the detected difference is an acceptable difference, e.g., as described above. Control then passes to step 1540, where the difference is encoded by mapping it to a constrained value not equal to 0. However, if the outcome of step 1520 is a negative value such that the detected difference is not an acceptable difference, various outcomes may occur. One example is that a fatal error is triggered on the encoder side. Another example, as shown diagrammatically in Fig. 15, is that an error condition is triggered, but the handling of the error condition is such that it does not cause a fatal error in the encoder operation. Instead, the detected difference is set to a zero difference (so that the particular parameter operates according to its definition by the base profile) and control returns to step 1510, followed by a "No" result to step 1550. Also, with reference to FIG. 12, and noting that FIG. 15 illustrates an example of the operation of step 1220, the encoding in step 1230 is performed based on zero differences in the parameters in question.

[0118] Thus, Fig. 14 or 15, in combination with Fig. 12, encode 1230 the input video data stream in response to configuration data defining decoding attributes including one or more of a bit depth and a chrominance subsampling format to generate an output encoded video data stream; Encode 1220 the encoding attribute (as further defined by either FIG. 14 or FIG. 15); Provided is an example of a method that includes: a decoding attribute is associated with the output encoded video data stream in dependence on the configuration data by encoding parameter data indicative of a profile selected from a plurality of profiles; Each profile defines the decoding attributes, The constraint data defines differences between the decoded attributes defined by the configuration data and the decoded attributes defined by the profile indicated by the parameter data, where the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoded attributes.

[0119] The present disclosure provides, in a further example related to the operations defined by FIG. a step 1230 of encoding the input video data stream to generate an output encoded video data stream; a step 1220 of encoding decoding attributes associated with said output encoded video data stream in dependence on the configuration data; Including, the generating step is responsive to the configuration data defining the decoding attributes including one or more of a bit depth and a chrominance subsampling format; the decoding attributes include one or more of a bit depth and a chromance subsampling format; encoding parameter data indicative of a profile selected from a plurality of profiles, each profile defining said decoding attribute; Constraint data defines differences between the decoding attributes defined by the configuration data and the decoding attributes defined by the profile indicated by the parameter data; wherein the constraint data includes a set of candidate constraint data values, all of which are associated with differences in respective decoding attributes such that the differences defined by the constraint data do not extend functionality of the profile. method.

[0120] The present disclosure also provides a corresponding apparatus of the type shown in FIG. 11 that operates in accordance with this method.

[0121] (Constraint Data Detection - Decoder) FIG. 16 shows an example of operations related to steps 1300...1320 of FIG. Referring to FIG. 16, at the decoder side, in step 1600, the base profile and constraints are detected, and for a given constraint of type, (b) in step 1610, a detection is made whether the constraint is equal to 0 or not. If the result is "yes", control proceeds to step 1620 where each parameter is used according to its value defined by the base profile. If the result of step 1610 is "no", control proceeds to step 1630 where the constraints are decoded by applying an inverse mapping using the example mapping information above, and the difference defined by the constraints is applied to each attribute or parameter defined by the base profile. Control then passes to step 1330 of FIG. 13 for decoding according to the derived decoder parameters.

[0122] Therefore, Fig. 16, in combination with Fig. 13, decoding the input video data stream responsive to parameter data associated with the input video data stream; detecting 1310, 1600 constraint data associated with said input video data stream; and controlling steps 1320, 1620, 1630, 1330 for generating a decoded video data stream having decoding attributes defined by an encoding profile provided by the parameter data as modified by the differences defined by the constraint data. Including, the parameter data indicating a profile selected from a plurality of profiles, each profile defining decoding attributes including one or more of a bit depth and a chrominance subsampling format; the constraint data defines differences between decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data; The constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute. An example method is provided.

[0123] (naming convention) It is understood that in the context of different video encoding and decoding configurations (standards, draft standards, ad hoc standards, industry practices, etc.), or different creations or implementations of a particular configuration, the naming conventions applied to different instances of configuration or parameter data may vary. Thus, although this disclosure and embodiments refer to a "profile," it is understood that use of the term does not imply a requirement to conform to a specific configuration (although the above description refers to exemplary configurations), and that a data structure providing defined parameters (decoding attributes including one or more of bit depth and chrominance subsampling format) is considered to represent an example of a "profile." For these and other reasons, they are not referred to as "profiles" in the associated documents that define the encoding and decoding arrangements.

[0124] (encoded video data) Video data encoded by any of the techniques disclosed herein is also believed to represent an embodiment of the present disclosure, as is a non-transitory machine-readable storage medium, such as one of the media shown generally in Figures 5 and 6, that stores such video data.

[0125] (Summary of the invention) Insofar as embodiments of the present disclosure are described as being implemented, at least in part, by a software-controlled data processing apparatus, it will be understood that a non-transitory machine-readable medium carrying such software, such as an optical disk, a magnetic disk, a semiconductor memory, or the like, is also considered to represent an embodiment of the present disclosure. Similarly, a data signal (whether embodied on a non-transitory machine-readable medium or not) containing encoded data generated according to the method described above is also considered to represent an embodiment of the present disclosure.

[0126] Obviously, numerous modifications and variations of the present disclosure are possible in light of the above teachings, and it is therefore to be understood that, within the scope of the appended claims, the technology may be practiced otherwise than as specifically described herein.

[0127] It will be appreciated that, for clarity of the invention, the above description has described embodiments with reference to different functional units, circuits and / or processors. However, it will be apparent that any suitable distribution of functionality between different functional units, circuits and / or processors may be used without detracting from embodiments of the invention.

[0128] The embodiments described herein may be implemented in any suitable form including hardware, software, firmware or any combination of these The embodiments described herein may optionally be implemented at least partly as computer software running on one or more data processors and / or digital signal processors.

[0129] The components and elements of any embodiment may be physically, functionally and logically implemented in any suitable way. Indeed functionality may be implemented in a single unit, in multiple units or as part of other functional units. Thus, embodiments of the present disclosure may be implemented in a single unit or may be physically and functionally distributed between different units, circuits and / or processors.

[0130] Although the present disclosure has been described in connection with some embodiments, it is not intended to be limited to the specific form set forth herein. Moreover, while features of the present disclosure appear to be described in connection with particular embodiments, those skilled in the art will recognize that the various features of the described embodiments may be combined in any manner suitable for implementing the present techniques.

[0131] Each aspect and feature is defined by the following numbered clauses. 1. A video data decoder circuit configured to decode an input video data stream; a detector circuit configured to detect constraint data associated with the input video data stream; a control circuit configured to control the video data decoder to decode the input video data stream to generate a decoded video data stream having decoding attributes defined by an encoding profile provided by parameter data, as modified by differences defined by the constraint data; Equipped with the video data decoder is responsive to the parameter data associated with the input video data stream, the parameter data indicating a profile selected from a plurality of profiles, each profile defining decoding attributes including one or more of a bit depth and a chrominance subsampling format; the constraint data defines differences between decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data; The constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute. Device. 2. The constraint data is configured such that a non-zero value of the constraint data indicates a non-zero difference in the decoding attribute. 1. The apparatus described in 1. 3. The detector circuit is configured to generate the decoded attribute difference by mapping a set of candidate values ​​of the constraint data to respective difference quantities. 2. The apparatus according to claim 2. 4. If the decoding attribute is bit depth, each difference amount mapped to a candidate value of the constraint data represents all negative differences in bit depth, so the bit depth defined by the encoding profile provided by the parameter data as modified by the difference defined by the constraint data is no greater than the bit depth defined by the encoding profile provided by the parameter data. 3. The apparatus according to claim 3. 5. If the decoding attribute is a chrominance subsampling format, Since each difference amount mapped to the candidate value of the constraint data represents a difference, the chrominance subsampling format defined by the encoding profile provided by the parameter data is a chrominance subsampling format that is not higher in a predetermined hierarchy of chrominance subsampling formats than the chrominance subsampling format defined by the encoding profile provided by the parameter data, as modified by the difference defined by the constraint data. 5. The apparatus according to claim 3 or 4. 6. A given hierarchy of chrominance subsampling formats is such that, in a given hierarchy of chrominance subsampling formats, from bottom to top: i. 4:0:0 chrominance subsampling format; ii. 4:2:0 chrominance subsampling format; iii. 4:2:2 chrominance subsampling format; and iv. Includes 4:4:4 chrominance subsampling format 5. The apparatus according to claim 5. 7. The input video data stream has an associated parameter set; The video data decoder is configured to decode parameter data from one parameter set and to decode the constraint data from one parameter set. 7. The apparatus according to any one of 1 to 6. 8. A video storage device, a capture device, or a transmission / reception device comprising the device described in any one of 1 to 7. 9. A video data encoder circuit configured to encode an input video data stream to generate an output encoded video data stream; a parameter encoder circuit configured to encode decoding attributes associated with said output encoded video data stream in dependence on configuration data; Equipped with the video data encoder circuit is responsive to the configuration data defining the decoding attributes including one or more of a bit depth and a chrominance subsampling format, the decoding attributes including one or more of a bit depth and a chrominance subsampling format; the parameter encoder circuitry is configured to encode parameter data indicative of a selected profile from a plurality of profiles; Each profile defines said decoding attributes; Constraint data defines differences between the decoding attributes defined by the configuration data and the decoding attributes defined by the profile indicated by the parameter data; wherein the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute. Device. 10. The constraint data is configured such that a non-zero value of the constraint data indicates a non-zero difference in the decoding attribute. 9. The apparatus according to claim 9. 11. The parameter encoder circuit is configured to generate the decoded attribute difference by mapping a set of candidate values ​​of the constraint data to respective difference quantities. 11. The apparatus described in claim 10. 12. When the decoding attribute is bit depth, each difference amount mapped to a candidate value of the constraint data represents all negative differences in bit depth, so the bit depth defined by the encoding profile provided by the parameter data as modified by the difference defined by the constraint data is no greater than the bit depth defined by the encoding profile provided by the parameter data. 12. The apparatus according to claim 11. 13. If the decoding attribute is a chrominance subsampling format, Since each difference amount mapped to the candidate value of the constraint data represents a difference, the chrominance subsampling format defined by the encoding profile provided by the parameter data is a chrominance subsampling format that is not higher in a predetermined hierarchy of chrominance subsampling formats than the chrominance subsampling format defined by the encoding profile provided by the parameter data, as modified by the difference defined by the constraint data. 13. The apparatus according to claim 11 or 12. 14. A given hierarchy of chrominance subsampling formats is such that, in a given hierarchy of chrominance subsampling formats, in order from bottom to top: i. 4:0:0 chrominance subsampling format; ii. 4:2:0 chrominance subsampling format; iii. 4:2:2 chrominance subsampling format; and iv. Includes 4:4:4 chrominance subsampling format 14. The apparatus according to claim 13. 15. The output encoded video data stream has an associated parameter set; The parameter encoder circuit is configured to encode the parameter data into a parameter set and to encode the constraint data into a parameter set. The apparatus according to any one of 9 to 14. 16. A video storage device, capture device, or transmission / reception device comprising any one of the devices described in 9 to 15. 17. Decoding the input video data stream responsive to parameter data associated with the input video data stream; detecting constraint data associated with the input video data stream; generating a decoded video data stream having decoding attributes defined by an encoding profile provided by the parameter data as modified by the differences defined by the constraint data; Including, the parameter data indicating a profile selected from a plurality of profiles, each profile defining decoding attributes including one or more of a bit depth and a chrominance subsampling format; the constraint data defines differences between decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data; The constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute. method. 18. Computer software which, when executed by a computer, causes said computer to carry out the method according to 17. 19. A machine-readable non-transitory storage medium storing the computer software described in 18. 20. Encoding an input video data stream to generate an output encoded video data stream; encoding decoding attributes associated with said output encoded video data stream in dependence on configuration data; Including, the generating step is responsive to the configuration data defining the decoding attributes including one or more of a bit depth and a chrominance subsampling format; the decoding attributes include one or more of a bit depth and a chromance subsampling format; encoding parameter data indicative of a profile selected from a plurality of profiles, each profile defining said decoding attributes; Constraint data defines differences between the decoding attributes defined by the configuration data and the decoding attributes defined by the profile indicated by the parameter data; wherein the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute. method. 21. An encoded video data stream produced by the method according to claim 20. 22. A machine-readable non-transitory storage medium storing the encoded video data stream according to claim 21. 23. Computer software which, when executed by a computer, causes said computer to carry out the method according to 20. 24. A machine-readable non-transitory storage medium storing the computer software described in 23.

Claims

1. a video data decoder circuit configured to decode an input video data stream; a detector circuit configured to detect constraint data associated with the input video data stream; a control circuit configured to control the video data decoder to decode the input video data stream and generate a decoded video data stream having decoding attributes defined by an encoding profile provided by parameter data, as modified by differences defined by the constraint data; Equipped with the video data decoder is responsive to the parameter data associated with the input video data stream, the parameter data indicating a profile selected from a plurality of profiles, each profile defining decoding attributes including one or more of a bit depth and a chrominance subsampling format; the constraint data defines differences between decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data; The constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute and a non-zero value of the constraint data indicates a non-zero difference in the decoding attribute. Device.

2. The detector circuitry is configured to generate the difference in the decoded attribute by mapping a set of candidate values ​​of the constraint data to respective difference quantities.

2. The apparatus of claim 1.

3. When the decoding attribute is bit depth, each difference amount mapped to a candidate value of the constraint data represents all negative differences in bit depth, so the bit depth defined by the encoding profile provided by the parameter data as modified by the difference defined by the constraint data is no greater than the bit depth defined by the encoding profile provided by the parameter data.

3. The apparatus of claim 2.

4. If the decoding attribute is a chrominance subsampling format, Since each difference amount mapped to the candidate value of the constraint data represents a difference, The chrominance subsampling format defined by the encoding profile provided by the parameter data is a chrominance subsampling format that is not higher in a predetermined hierarchy of chrominance subsampling formats than the chrominance subsampling format defined by the encoding profile provided by the parameter data, as modified by the difference defined by the constraint data.

3. The apparatus of claim 2.

5. A given hierarchy of chrominance subsampling formats may be, in order from bottom to top, i. 4:0:0 chrominance subsampling format; ii. 4:2:0 chrominance subsampling format; iii. 4:2:2 chrominance subsampling format; and iv. Includes 4:4:4 chrominance subsampling formats 5. The apparatus of claim 4.

6. the input video data stream having an associated parameter set; The video data decoder is configured to decode parameter data from a parameter set and to decode the constraint data from a parameter set.

2. The apparatus of claim 1.

7. A video storage, capture, transmission and reception device comprising the device according to claim 1.

8. a video data encoder circuit configured to encode an input video data stream to generate an output encoded video data stream; a parameter encoder circuit configured to encode decoding attributes associated with said output encoded video data stream in dependence on configuration data; Equipped with the video data encoder circuit is responsive to the configuration data defining the decoding attributes including one or more of a bit depth and a chrominance subsampling format, the decoding attributes including one or more of a bit depth and a chrominance subsampling format; the parameter encoder circuitry is configured to encode parameter data indicative of a selected profile from a plurality of profiles; Each profile defines said decoding attributes; Constraint data defines differences between the decoding attributes defined by the configuration data and the decoding attributes defined by the profile indicated by the parameter data; wherein the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute and a non-zero value of the constraint data indicates a non-zero difference in the decoding attribute. Device.

9. The parameter encoder circuit is configured to generate the decode attribute difference by mapping a set of candidate values ​​of the constraint data to respective difference quantities.

9. The apparatus of claim 8.

10. When the decoding attribute is bit depth, each difference amount mapped to a candidate value of the constraint data represents all negative differences in bit depth, so the bit depth defined by the encoding profile provided by the parameter data as modified by the difference defined by the constraint data is no greater than the bit depth defined by the encoding profile provided by the parameter data.

10. The apparatus of claim 9.

11. If the decoding attribute is a chrominance subsampling format, Since each difference amount mapped to the candidate value of the constraint data represents a difference, The chrominance subsampling format defined by the encoding profile provided by the parameter data is a chrominance subsampling format that is not higher in a predetermined hierarchy of chrominance subsampling formats than the chrominance subsampling format defined by the encoding profile provided by the parameter data, as modified by the difference defined by the constraint data.

10. The apparatus of claim 9.

12. A given hierarchy of chrominance subsampling formats may be, in order from bottom to top, i. 4:0:0 chrominance subsampling format; ii. 4:2:0 chrominance subsampling format; iii. 4:2:2 chrominance subsampling format; and iv. Includes 4:4:4 chrominance subsampling formats 12. The apparatus of claim 11.

13. the output encoded video data stream having an associated parameter set; The parameter encoder circuit is configured to encode the parameter data into a parameter set and to encode the constraint data into a parameter set.

9. The apparatus of claim 8.

14. A video storage, capture, transmission and reception device comprising the device according to claim 8.

15. decoding the input video data stream responsive to parameter data associated with the input video data stream; detecting constraint data associated with said input video data stream; controlling generation of a decoded video data stream having decoding attributes defined by an encoding profile provided by parameter data as modified by differences defined by said constraint data; Including, the parameter data indicating a profile selected from a plurality of profiles, each profile defining decoding attributes including one or more of a bit depth and a chrominance subsampling format; the constraint data defines differences between decoding attributes applicable to the input video data stream and the decoding attributes defined by the profile indicated by the parameter data; The constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute and a non-zero value of the constraint data indicates a non-zero difference in the decoding attribute. method.

16. A machine-readable non-transitory storage medium storing computer software which, when executed by a computer, causes the computer to perform the method of claim 15.

17. encoding an input video data stream to generate an output encoded video data stream; encoding decoding attributes associated with said output encoded video data stream in dependence on configuration data; Including, the generating step is responsive to the configuration data defining the decoding attributes including one or more of a bit depth and a chrominance subsampling format; the decoding attributes include one or more of a bit depth and a chromance subsampling format; encoding parameter data indicative of a profile selected from a plurality of profiles, each profile defining said decoding attributes; Constraint data defines differences between the decoding attributes defined by the configuration data and the decoding attributes defined by the profile indicated by the parameter data; wherein the constraint data is configured such that a zero value of the constraint data indicates a zero difference in the decoding attribute and a non-zero value of the constraint data indicates a non-zero difference in the decoding attribute. method.

18. 20. A machine-readable non-transitory storage medium storing computer software which, when executed by a computer, causes the computer to perform the method of claim 17.

Citation Information

Patent Citations

  • Method, apparatus and system for encoding and decoding video data

    US20150016542A1