At least one of the present embodiments generally relates to a method and an apparatus for signaling and obtaining information representative of an energy consumption of a decoding process.
Energy consumption is a key issue for end devices, especially for mobile sets with limited energy power resources. Even for TV sets, limiting their energy consumption is a relevant intent. Even if video decoding is not the main part of the energy consumption of such devices (typically around 15% in a mobile phone, while display is closer to 50%), being able to reduce its energy impact is beneficial, as well as for any process involved in the rendering of the video.
The green MPEG standard (ISO-IEC-23001-11), called green MPEG in the following, defines metadata to indicate to a decoder compliant with the standard AVC (ISO/CEI 14496-10/ITU-T H.264) or with the standard HEVC (ISO/IEC 23008-2—MPEG-H Part 2, High Efficiency Video Coding/ITU-T H.265)) complexity information or metrics (CMs) related to a bitstream, that enables the decoder to optimize its energy usage. The metadata is precisely adapted to the AVC and HEVC designs.
A new video coding standard called VVC (Versatile Video Coding) was recently developed by a joint collaborative team of ITU-T and ISO/IEC experts known as the Joint Video Experts Team (JVET). VVC comprises many new tools and features that prevent a direct use of the CMs metadata originally specified for AVC and HEVC. The new tools and features of VVC have significantly increased the complexity of the VVC decoding process comparing to the AVC or HEVC decoding process. This increased complexity renders a need of tools allowing controlling the energy consumption even more important.
It is desirable to propose solutions allowing to overcome the above issues. In particular, it is desirable to propose CMs metadata better adapted to standards comprising the new tools and features of VVC.
In a first aspect, one or more of the present embodiments provide a method comprising signaling in a data structure metadata representative of an energy consumption induced by encoding tools and/or features implemented to obtain a video stream representative of a sequence of pictures; and, associating the data structure to the video stream for at least one subset of pictures representative of a period of the video stream; wherein at least one encoding tool or feature is associated to an information representative of an energy consumption depending on: a single reference picture size defined for the sequence of pictures; or, a total number of blocks of a given size in pictures signaled in the metadata for the at least one subset of pictures; or, a number of samples per square and rectangular blocks.
In an embodiment, the data structure is a SEI message.
In an embodiment, the information representative of an energy consumption depends on a single reference picture size defined for the sequence of pictures responsive to the subset of pictures comprising a plurality of pictures.
In an embodiment, the at least one encoding tool or feature associated to an information representative of an energy consumption depending on the total number of blocks of the given size in pictures signaled in the metadata is related to at least one of: entropy decoding; inverse transform; intra prediction and intra blocks decoding; inter prediction and inter blocks decoding; interpolation for temporal prediction; in-loop filtering; a use of subpictures.
In an embodiment, the information representative of an energy consumption is applicable to a single picture or to all pictures in decoding order up to a next picture containing an intra slice, or over a specified time interval, or over a specified number of pictures counted in decoding order, or to a single picture with a slice, or tile granularity, or to a single picture with subpicture granularity.
In an embodiment, a first method is applied to derive the total number of blocks of a given size in pictures responsive to the information representative of an energy consumption is applicable to a single picture with a slice or tile granularity; and,
In an embodiment, the total number of blocks of a given size in pictures is signaled in the metadata for the at least one subset of pictures.
In a second aspect, one or more of the present embodiments provide a method comprising: obtaining a data structure associated to a video stream for at least one subset of pictures representative of a period of a sequence of pictures represented by the video stream and comprising metadata representative of an energy consumption induced by encoding tools and/or features implemented to obtain the video stream wherein at least one encoding tool or feature is associated to an information representative of an energy consumption depending on: a single reference picture size defined for the sequence of pictures; or, a total number of blocks of a given size in pictures signaled in the metadata for the at least one subset of pictures; or, a number of samples per square and rectangular blocks.
In an embodiment, the data structure is a SEI message.
In an embodiment, the information representative of an energy consumption depends on a single reference picture size defined for the sequence of pictures responsive to the subset of pictures comprising a plurality of pictures.
In an embodiment, the at least one encoding tool or feature associated to an information representative of an energy consumption depending on the total number of blocks of the given size in pictures signaled in the metadata is related to at least one of:
In an embodiment, the information representative of an energy consumption is applicable to a single picture or to all pictures in decoding order up to a next picture containing an intra slice, or over a specified time interval, or over a specified number of pictures counted in decoding order, or to a single picture with a slice, or tile granularity, or to a single picture with subpicture granularity.
In an embodiment,
In an embodiment, the total number of blocks of a given size in pictures is signaled in the metadata for the at least one subset of pictures.
In a third aspect, one or more of the present embodiments provide a device comprising: means for signaling in a data structure metadata representative of an energy consumption induced by encoding tools and/or features implemented to obtain a video stream representative of a sequence of pictures; and, means for associating the data structure to the video stream for at least one subset of pictures representative of a period of the video stream; wherein at least one encoding tool or feature is associated to an information representative of an energy consumption depending on: a single reference picture size defined for the sequence of pictures; or, a total number of blocks of a given size in pictures signaled in the metadata for the at least one subset of pictures; or, a number of samples per square and rectangular blocks.
In an embodiment, the data structure is a SEI message.
In an embodiment, the information representative of an energy consumption depends on a single reference picture size defined for the sequence of pictures responsive to the subset of pictures comprising a plurality of pictures.
In an embodiment, the at least one encoding tool or feature associated to an information representative of an energy consumption depending on the total number of blocks of the given size in pictures signaled in the metadata is related to at least one of: entropy decoding; inverse transform; intra prediction and intra blocks decoding; inter prediction and inter blocks decoding; interpolation for temporal prediction; in-loop filtering; a use of subpictures.
In an embodiment, the information representative of an energy consumption is applicable to a single picture or to all pictures in decoding order up to a next picture containing an intra slice, or over a specified time interval, or over a specified number of pictures counted in decoding order, or to a single picture with a slice, or tile granularity, or to a single picture with subpicture granularity.
In an embodiment,
In an embodiment, the total number of blocks of a given size in pictures is signaled in the metadata for the at least one subset of pictures.
In a fourth aspect, one or more of the present embodiments provide a device comprising: means for obtaining a data structure associated to a video stream for at least one subset of pictures representative of a period of a sequence of pictures represented by the video stream and comprising metadata representative of an energy consumption induced by encoding tools and/or features implemented to obtain the video stream wherein at least one encoding tool or feature is associated to an information representative of an energy consumption depending on: a single reference picture size defined for the sequence of pictures; or, a total number of blocks of a given size in pictures signaled in the metadata for the at least one subset of pictures; or, a number of samples per square and rectangular blocks.
In an embodiment, the data structure is a SEI message.
In an embodiment, the information representative of an energy consumption depends on a single reference picture size defined for the sequence of pictures responsive to the subset of pictures comprising a plurality of pictures.
In an embodiment, the at least one encoding tool or feature associated to an information representative of an energy consumption depending on the total number of blocks of the given size in pictures signaled in the metadata is related to at least one of: entropy decoding; inverse transform; intra prediction and intra blocks decoding; inter prediction and inter blocks decoding; interpolation for temporal prediction; in-loop filtering; a use of subpictures.
In an embodiment, the information representative of an energy consumption is applicable to a single picture or to all pictures in decoding order up to a next picture containing an intra slice, or over a specified time interval, or over a specified number of pictures counted in decoding order, or to a single picture with a slice, or tile granularity, or to a single picture with subpicture granularity.
In an embodiment:
In an embodiment, the total number of blocks of a given size in pictures is signaled in the metadata for the at least one subset of pictures.
In a fifth aspect, one or more of the present embodiments provide an apparatus comprising a device according to the third of fourth aspect.
In a sixth aspect, one or more of the present embodiments provide a signal generated by the method of first aspect or by the device of third aspect.
In a seventh aspect, one or more of the present embodiments provide a computer program comprising program code instructions for implementing the method according to the first or the second aspect.
In a eighth aspect, one or more of the present embodiments provide a non-transitory information storage medium storing program code instructions for implementing the method according to the first or the second aspect.
The following examples of embodiments are described in the context of a video format similar to VVC. However, these embodiments are not limited to the video coding/decoding method corresponding to VVC. These embodiments are in particular adapted to any video format using at least one of the tools or features used in AVC, HEVC and VVC. Such formats comprise for example the standard EVC (Essential Video Coding/MPEG-5), AV1 and VP9.
A picture is divided into a plurality of coding entities. First, as represented by reference 23 in
In the example in
As represented by reference 24 in
In the example of
During the coding of a picture, the partitioning is adaptive, each CTU being partitioned so as to optimize a compression efficiency of the CTU criterion.
In HEVC appeared the concept of prediction unit (PU) and transform unit (TU). Indeed, in HEVC, the coding entity that is used for prediction (i.e. a PU) and transform (i.e. a TU) can be a subdivision of a CU. For example, as represented in
One can note that in VVC, except in some particular cases, frontiers of the TU and PU are aligned on the frontiers of the CU. Consequently, a CU comprises generally one TU and one PU.
In the present application, the term “block” or “picture block” can be used to refer to any one of a CTU, a CU, a PU and a TU. In addition, the term “block” or “picture block” can be used to refer to a macroblock, a partition and a sub-block as specified in H.264/AVC or in other video coding standards, and more generally to refer to an array of samples of numerous sizes.
In the present application, the terms “reconstructed” and “decoded” may be used interchangeably, the terms “pixel” and “sample” may be used interchangeably, the terms “image,” “picture”, “subpicture”, “slice” and “frame” may be used interchangeably. Usually, but not necessarily, the term “reconstructed” is used at the encoder side while “decoded” is used at the decoder side.
Before being encoded, a current original image of an original video sequence may go through a pre-processing. For example, in a step 301, a color transform is applied to the current original picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or a remapping is applied to the current original picture components in order to get a signal distribution more resilient to compression (for instance using a histogram equalization of one of the color components). In addition, the pre-processing 301 may comprise a resampling (a down-sampling or an up-sampling). The resampling may be applied to some pictures so that the generated bitstream may comprise pictures at the original resolution and picture at another resolution (or at least pictures at at least two different resolutions). The resampling consists generally in a down-sampling and is used to reduce the bitrate of the generated bitstream. Nevertheless, up-sampling is also possible. Pictures obtained by pre-processing are called pre-processed pictures in the following.
The encoding of the pre-processed pictures begins with a partitioning of the pre-processed picture during a step 302, as described in relation to
The intra prediction consists of predicting, in accordance with an intra prediction method, during a step 303, the pixels of a current block from a prediction block derived from pixels of reconstructed blocks situated in a causal vicinity of the current block to be coded. The result of the intra prediction is a prediction direction indicating which pixels of the blocks in the vicinity to use, and a residual block resulting from a calculation of a difference between the current block and the prediction block. Recently, new intra prediction mode were proposed and introduced in VVC. These new intra prediction modes comprises
The inter prediction consists of predicting the pixels of a current block from a block of pixels, referred to as the reference block, of a picture preceding or following the current picture, this picture being referred to as the reference picture. During the coding of a current block in accordance with the inter prediction method, a block of the reference picture closest, in accordance with a similarity criterion, to the current block is determined by a motion estimation step 304. During step 304, a motion vector indicating the position of the reference block in the reference picture is determined. The motion estimation is generally performed at a sub-pixel precision, i.e. current and reference pictures are interpolated. In most recent video standards, the interpolation depends on the phase (sub-pixel position) of the interpolation used for the temporal prediction. For example, in the case of VVC, the interpolation is defined for phase 0 (samples are directly interpolated from their position (corresponding to integer-pixel interpolation)), or for phases larger than 0 (corresponding to sub-pixel interpolation). When sub-pixel interpolation is applied, luma uses “15” sub-pixel phases and a 8-tap poly-phase filter, and chroma uses “31” sub-pixel phases and a 4-tap poly-phase filter. Three cases are therefore to be considered: integer-interpolation, sub-pixel interpolation in the horizontal or vertical direction, sub-pixel interpolation in the horizontal and vertical directions. The motion vector determined by the motion estimation is used during a motion compensation step 305 during which a residual block is calculated in the form of a difference between the current block and the reference block. In first video compression standards, the mono-directional inter prediction mode described above was the only inter mode available. As video compression standards evolve, the family of inter modes has grown significantly and comprises now many different inter modes. These inter prediction modes comprises for example:
During a selection step 306, the prediction mode optimising the compression performances, in accordance with a rate/distortion optimization criterion (i.e. RDO criterion), among the prediction modes tested (Intra prediction modes, Inter prediction modes), is selected by the encoding module.
When the prediction mode is selected, the residual block is transformed during a step 307 and quantized during a step 309. Transformation has also evolved and new tools were recently proposed. These new tools comprises:
Note that the encoding module can skip the transform and apply quantization directly to the non-transformed residual signal. When the current block is coded according to an intra prediction mode, a prediction direction and the transformed and quantized residual block are encoded by an entropic encoder during a step 310. When the current block is encoded according to an inter prediction, when appropriate, a motion vector of the block is predicted from a prediction vector selected from a set of motion vectors corresponding to reconstructed blocks situated in the vicinity of the block to be coded. The motion information is next encoded by the entropic encoder during step 310 in the form of a motion residual and an index for identifying the prediction vector. The transformed and quantized residual block is encoded by the entropic encoder during step 310. Note that the encoding module can bypass both transform and quantization, i.e., the entropic encoding is applied on the residual without the application of the transform or quantization processes. The result of the entropic encoding is inserted in an encoded video stream 311.
After the quantization step 309, the current block is reconstructed so that the pixels corresponding to that block can be used for future predictions. This reconstruction phase is also referred to as a prediction loop. An inverse quantization is therefore applied to the transformed and quantized residual block during a step 312 and an inverse transformation is applied during a step 313. According to the prediction mode used for the block obtained during a step 314, the prediction block of the block is reconstructed. If the current block is encoded according to an inter prediction mode, the encoding module applies, when appropriate, during a step 316, a motion compensation using the motion vector of the current block in order to identify the reference block of the current block. If the current block is encoded according to an intra prediction mode, during a step 315, the prediction direction corresponding to the current block is used for reconstructing the reference block of the current block. The reference block and the reconstructed residual block are added in order to obtain the reconstructed current block.
Following the reconstruction, an in-loop filtering intended to reduce the encoding artefacts is applied, during a step 317, to the reconstructed block. This filtering is called in-loop filtering since this filtering occurs in the prediction loop to obtain at the decoder the same reference images as the encoder and thus avoid a drift between the encoding and the decoding processes. As mentioned earlier, in-loop filtering tools comprises deblocking filtering, SAO (Sample Adaptive Offset), ALF (Adaptive Loop Filter) and CC-ALF (Cross Component ALF). CC-ALF uses luma sample values to refine each chroma component by applying an adaptive, linear filter to the luma channel and then using the output of this filtering operation for chroma refinement. A new tool called LMCS (Luma Mapping with Chroma Scaling) can be also considered as an in-loop filtering. LMCS is added as a new processing block before the other loop-filters. LMCS has two main components: in-loop mapping of the luma component based on adaptive piecewise linear models; for the chroma components, luma-dependent chroma residual scaling is applied.
When a block is reconstructed, it is inserted during a step 318 into a reconstructed picture stored in a memory 319 of reconstructed images corresponding generally called Decoded Picture Buffer (DPB). The reconstructed images thus stored can then serve as reference images for other images to be coded.
A new tool of VVC, called Reference Picture Resampling (RPR), allows changing the resolution of coded pictures on the fly. The pictures are stored in the DPB, at their actual coded/decoded resolution, which may be lower that the video spatial resolution signaled in high-level syntax (HLS) of the bitstream. When a picture being coded at a given resolution uses for temporal prediction a reference picture that is not at the same resolution, a reference picture resampling of the texture is applied so that the predicted picture and the reference picture have the same resolution (represented by step 320 in
Metadata such as SEI (supplemental enhancement information) messages can be attached to the encoded video stream 311. A SEI (Supplemental Enhancement Information) message as defined for example in standards such as AVC, HEVC or VVC is a data container or data structure associated to a video stream and comprising metadata providing information relative to the video stream.
The decoding is done block by block. For a current block, it starts with an entropic decoding of the current block during a step 410. Entropic decoding allows to obtain the prediction mode of the block.
If the block has been encoded according to an inter prediction mode, the entropic decoding allows to obtain, when appropriate, a prediction vector index, a motion residual and a residual block. During a step 408, a motion vector is reconstructed for the current block using the prediction vector index and the motion residual.
If the block has been encoded according to an intra prediction mode, entropic decoding allows to obtain a prediction direction and a residual block. Steps 412, 413, 414, 415, 416 and 417 implemented by the decoding module are in all respects identical respectively to steps 412, 413, 414, 415, 416 and 417 implemented by the encoding module. Decoded blocks are saved in decoded pictures and the decoded pictures are stored in a DPB 419 in a step 418. When the decoding module decodes a given picture, the pictures stored in the DPB 419 are identical to the pictures stored in the DPB 319 by the encoding module during the encoding of said given image. The decoded picture can also be outputted by the decoding module for instance to be displayed. When RPR is activated, samples of (i.e. at least a portion of) the picture used as reference pictures are resampled in step 420 to the resolution of the predicted picture. The resampling step (420) and motion compensation step (416) can be in some implementations combined in one single sample interpolation step.
The decoded image can further go through post-processing in step 421. The post-processing can comprise an inverse color transform (e.g. conversion from YCbCr 4:2:0 to RGB 4:4:4), an inverse mapping performing the inverse of the remapping process performed in the pre-processing of step 301, a post-filtering for improving the reconstructed pictures based for example on filter parameters provided in a SEI message and/or a resampling for example for adjusting the output images to display constraints.
As already mentioned above, the standard ISO/IEC 23001-11 Energy-Efficient Media Consumption (Green Metadata) specifies metadata aiming at signaling complexity information or metrics (CMs) for different processes of a video distribution chain (encoding, adaptive streaming, decoding, displaying). The CMs are therefore representative of an energy consumption induced by said different processes. Regarding the decoder side, the complexity information is given for different decoding modules (DMs): entropy decoding, dequantization and inverse transform, intra prediction, motion compensation, deblocking, and side-information preparation. This information can be used by the decoder to set its CPU frequency at the lowest frequency that guarantees decoding completion within frame-rate deadlines and therefore potentially provides power reduction.
In the existing green MPEG, the CMs are signaled per period. The period type (indicated by a syntax element period_type) is either a single picture, a group of pictures (GOP), or a time interval. The CMs are made of the following information:
Below is the SEI message defined for HEVC (Table TAB1) for transporting CMs. The word “portion” indicates that ratios about the usage of coding tools/configurations are signaled in the SEI message. These “usage ratios” are computed by the encoder and exploited by the decoder to better control its energy consumption.
The signaling of the usage ratios can be made according to different types of pictures sets, defined by the syntax element period_type. For HEVC, period_type is defined as follows (Table TAB2):
The SEI message of Table TAB1 was originally designed for AVC and HEVC. As seen above, many new tools and features introduced in VVC are not considered. Various of the following embodiments describe adaptations of the SEI message of table TAB1 allowing considering new tools and features adopted in VVC.
In
The apparatus 10 comprises an encoding module 100 compliant with the encoding method described in relation to
In a step 101, the apparatus 10 obtains a sequence of pictures to encode.
In a step 102, the encoding module 100 of the apparatus 10 encodes the sequence of pictures in the form of a bitstream applying the method of
In a step 103, the apparatus 10 associates the at least one SEI message to the bitstream and transmits the bitstream and the associated SEI message(s) to the system 12. The SEI messages are for example transported in a VVC NAL (Network Abstraction Layer) units.
In a step 104, the system 12 receives the bitstream.
In a step 105, the decoding module 120 recognizes the VVC NAL units transporting SEI messages, decodes the SEI messages and obtains the CMs.
In a step 106, the decoding module 120 adjust its decoding parameters in function of the decoded CMs. For instance, it adjusts its CPU frequency to the minimum value allowing decoding the pictures in real time.
In a step 107, the decoding module 120, with its adjusted parameters, decodes the pictures.
If the processing module 500 implements a decoding module, the communication interface 5004 enables for instance the processing module 500 to receive encoded video streams and/or a SEI message and to provide a sequence of decoded pictures based on the SEI message. If the processing module 500 implements an encoding module, the communication interface 5004 enables for instance the processing module 500 to receive a sequence of original picture data to encode and to provide an encoded video stream and an associated SEI message.
The processor 5000 is capable of executing instructions loaded into the RAM 5001 from the ROM 5002, from an external memory (not shown), from a storage medium, or from a communication network. When the processing module 500 is powered up, the processor 5000 is capable of reading instructions from the RAM 5001 and executing them. These instructions form a computer program causing, for example, the implementation by the processor 5000 of a decoding method as described in relation with
All or some of the algorithms and steps of said encoding or decoding methods may be implemented in software form by the execution of a set of instructions by a programmable machine such as a DSP (digital signal processor) or a microcontroller, or be implemented in hardware form by a machine or a dedicated component such as a FPGA (field-programmable gate array) or an ASIC (application-specific integrated circuit).
The input to the processing module 500 can be provided through various input modules as indicated in block 531. Such input modules include, but are not limited to, (i) a radio frequency (RF) module that receives an RF signal transmitted, for example, over the air by a broadcaster, (ii) a component (COMP) input module (or a set of COMP input modules), (iii) a Universal Serial Bus (USB) input module, and/or (iv) a High Definition Multimedia Interface (HDMI) input module. Other examples, not shown in
In various embodiments, the input modules of block 531 have associated respective input processing elements as known in the art. For example, the RF module can 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 band of frequencies), (ii) down-converting the selected signal, (iii) band-limiting again to a narrower band of frequencies to select (for example) a signal frequency band which can be referred to as a channel in certain embodiments, (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select the desired stream of data packets. The RF module of various embodiments includes one or more elements to perform these functions, for example, frequency selectors, signal selectors, band-limiters, channel selectors, filters, downconverters, demodulators, error correctors, and demultiplexers. The RF portion can include a tuner that performs various of these functions, including, for example, down-converting the received signal to a lower frequency (for example, an intermediate frequency or a near-baseband frequency) or to baseband. In one set-top box embodiment, the RF module and its associated input processing element receives an RF signal transmitted over a wired (for example, cable) medium, and performs frequency selection by filtering, down-converting, and filtering again to a desired frequency band. Various embodiments rearrange the order of the above-described (and other) elements, remove some of these elements, and/or add other elements performing similar or different functions. Adding elements can include inserting elements in between existing elements, such as, for example, inserting amplifiers and an analog-to-digital converter. In various embodiments, the RF module includes an antenna.
Additionally, the USB and/or HDMI modules can include respective interface processors for connecting system 12 to other electronic devices across USB and/or HDMI connections. It is to be understood that various aspects of input processing, for example, Reed-Solomon error correction, can be implemented, for example, within a separate input processing IC or within the processing module 500 as necessary. Similarly, aspects of USB or HDMI interface processing can be implemented within separate interface ICs or within the processing module 500 as necessary. The demodulated, error corrected, and demultiplexed stream is provided to the processing module 500.
Various elements of system 12 can be provided within an integrated housing. Within the integrated housing, the various elements can be interconnected and transmit data therebetween using suitable connection arrangements, for example, an internal bus as known in the art, including the Inter-IC (I2C) bus, wiring, and printed circuit boards. For example, in the system 12, the processing module 500 is interconnected to other elements of said system 12 by the bus 5005.
The communication interface 5004 of the processing module 500 allows the system 12 to communicate on the communication channel 11. As already mentioned above, the communication channel 11 can be implemented, for example, within a wired and/or a wireless medium.
Data is streamed, or otherwise provided, to the system 12, in various embodiments, using a wireless network such as a Wi-Fi network, for example IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal of these embodiments is received over the communications channel 11 and the communications interface 5004 which are adapted for Wi-Fi communications. The communications channel 11 of these embodiments is typically connected to an access point or router that provides access to external networks including the Internet for allowing streaming applications and other over-the-top communications. Other embodiments provide streamed data to the system 12 using the RF connection of the input block 531. As indicated above, various embodiments provide data in a non-streaming manner. Additionally, various embodiments use wireless networks other than Wi-Fi, for example a cellular network or a Bluetooth network.
The system 12 can provide an output signal to various output devices, including a display system 55, speakers 56, and other peripheral devices 57. The display system 55 of various embodiments includes one or more of, for example, a touchscreen display, an organic light-emitting diode (OLED) display, a curved display, and/or a foldable display. The display 55 can be for a television, a tablet, a laptop, a cell phone (mobile phone), a head mounted display or other devices. The display system 55 can also be integrated with other components, as in
In various embodiments, control signals are communicated between the system 12 and the display system 55, speakers 56, or other peripheral devices 57 using signaling such as AV.Link, Consumer Electronics Control (CEC), or other communications protocols that enable device-to-device control with or without user intervention. The output devices can be communicatively coupled to system 12 via dedicated connections through respective interfaces 532, 533, and 534. Alternatively, the output devices can be connected to system 12 using the communications channel 11 via the communications interface 5004 or a dedicated communication channel via the communication interface 5004. The display system 55 and speakers 56 can be integrated in a single unit with the other components of system 12 in an electronic device such as, for example, a television. In various embodiments, the display interface 532 includes a display driver, such as, for example, a timing controller (T Con) chip.
The display system 55 and speaker 56 can alternatively be separate from one or more of the other components. In various embodiments in which the display system 55 and speakers 56 are external components, the output signal can be provided via dedicated output connections, including, for example, HDMI ports, USB ports, or COMP outputs.
The input to the processing module 500 can be provided through various input modules as indicated in block 531 already described in relation to
Various elements of apparatus 10 can be provided within an integrated housing. Within the integrated housing, the various elements can be interconnected and transmit data therebetween using suitable connection arrangements, for example, an internal bus as known in the art, including the Inter-IC (I2C) bus, wiring, and printed circuit boards. For example, in the apparatus 10, the processing module 500 is interconnected to other elements of said apparatus 10 by the bus 5005.
The communication interface 5004 of the processing module 500 allows the system 500 to communicate on the communication channel 11.
Data is streamed, or otherwise provided, to the apparatus 10, in various embodiments, using a wireless network such as a Wi-Fi network, for example IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal of these embodiments is received over the communications channel 11 and the communications interface 5004 which are adapted for Wi-Fi communications. The communications channel 11 of these embodiments is typically connected to an access point or router that provides access to external networks including the Internet for allowing streaming applications and other over-the-top communications. Other embodiments provide streamed data to the apparatus 10 using the RF connection of the input block 531.
As indicated above, various embodiments provide data in a non-streaming manner. Additionally, various embodiments use wireless networks other than Wi-Fi, for example a cellular network or a Bluetooth network.
The data provided are raw data provided by a picture and/or audio acquisition module connected to the apparatus 10 or comprised in the apparatus 10.
The apparatus 10 can provide an output signal to various output devices capable of storing and/or decoding the output signal such as the system 12.
Various implementations involve decoding. “Decoding”, as used in this application, can encompass all or part of the processes performed, for example, on a received encoded video stream in order 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, for example, entropy decoding, inverse quantization, inverse transformation, and prediction. In various embodiments, such processes also, or alternatively, include processes performed by a decoder of various implementations described in this application, for example, for determining a CPU frequency for performing the decoding.
Whether the phrase “decoding process” is intended to refer specifically to a subset of operations or generally to the broader decoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art.
Various implementations involve encoding. In an analogous way to the above discussion about “decoding”, “encoding” as used in this application can encompass all or part of the processes performed, for example, on an input video sequence in order to produce an encoded video stream. In various embodiments, such processes include one or more of the processes typically performed by an encoder, for example, partitioning, prediction, transformation, quantization, and entropy encoding. In various embodiments, such processes also, or alternatively, include processes performed by an encoder of various implementations described in this application, for example, for generating an SEI message comprising CMs.
Whether the phrase “encoding process” is intended to refer specifically to a subset of operations or generally to the broader encoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art.
Note that the syntax elements names as used herein, are descriptive terms. As such, they do not preclude the use of other syntax element names.
When a figure is presented as a flow diagram, it should be understood that it also provides a block diagram of a corresponding apparatus. Similarly, when a figure is presented as a block diagram, it should be understood that it also provides a flow diagram of a corresponding method/process.
The implementations and aspects described herein can be implemented in, for example, a method or a process, an apparatus, a software program, a data stream, or a signal. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed can also be implemented in other forms (for example, an apparatus or program). An apparatus can be implemented in, for example, appropriate hardware, software, and firmware. The methods can be implemented, for example, in a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, computers, cell phones, portable/personal digital assistants (“PDAs”), and other devices that facilitate communication of information between end-users.
Reference to “one embodiment” or “an embodiment” or “one implementation” or “an implementation”, as well as other variations thereof, means that a particular feature, structure, characteristic, and so forth described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrase “in one embodiment” or “in an embodiment” or “in one implementation” or “in an implementation”, as well any other variations, appearing in various places throughout this application are not necessarily all referring to the same embodiment.
Additionally, this application may refer to “determining” various pieces of information. Determining the information can include one or more of, for example, estimating the information, calculating the information, predicting the information, retrieving the information from memory or obtaining the information for example from another device, module or from user.
Further, this application may refer to “accessing” various pieces of information. Accessing the information can include one or more of, for example, receiving the information, retrieving the information (for example, from memory), storing the information, moving the information, copying the information, calculating the information, determining the information, predicting the information, or estimating the information.
Additionally, this application may refer to “receiving” various pieces of information. Receiving is, as with “accessing”, intended to be a broad term. Receiving the information can include one or more of, for example, accessing the information, or retrieving the information (for example, from memory). Further, “receiving” is typically involved, in one way or another, during operations such as, for example, storing the information, processing the information, transmitting the information, moving the information, copying the information, erasing the information, calculating the information, determining the information, predicting the information, or estimating the information.
It is to be appreciated that the use of any of the following “/”, “and/or”, and “at least one of”, “one or more of” for example, in the cases of “A/B”, “A and/or B” and “at least one of A and B”, “one or more of A and B” is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of both options (A and B). As a further example, in the cases of “A, B, and/or C” and “at least one of A, B, and C”, “one or more of A, B and C” such phrasing is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of the third listed option (C) only, or the selection of the first and the second listed options (A and B) only, or the selection of the first and third listed options (A and C) only, or the selection of the second and third listed options (B and C) only, or the selection of all three options (A and B and C). This may be extended, as is clear to one of ordinary skill in this and related arts, for as many items as are listed.
Also, as used herein, the word “signal” refers to, among other things, indicating something to a corresponding decoder. For example, in certain embodiments the encoder signals a use of some coding tools. In this way, in an embodiment the same parameters can be used at both the encoder side and the decoder side. Thus, for example, an encoder can transmit (explicit signaling) a particular parameter to the decoder so that the decoder can use the same particular parameter. Conversely, if the decoder already has the particular parameter as well as others, then signaling can be used without transmitting (implicit signaling) to simply allow the decoder to know and select the particular parameter. By avoiding transmission of any actual functions, a bit savings is realized in various embodiments. It is to be appreciated that signaling can be accomplished in a variety of ways. For example, one or more syntax elements, flags, and so forth are used to signal information to a corresponding decoder in various embodiments. While the preceding relates to the verb form of the word “signal”, the word “signal” can also be used herein as a noun.
As will be evident to one of ordinary skill in the art, implementations can produce a variety of signals formatted to carry information that can be, for example, stored or transmitted. The information can include, for example, instructions for performing a method, or data produced by one of the described implementations. For example, a signal can be formatted to carry the encoded video stream and SEI messages of a described embodiment. Such a signal can be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal. The formatting can include, for example, encoding an encoded video stream and modulating a carrier with the encoded video stream. The information that the signal carries can be, for example, analog or digital information. The signal can be transmitted over a variety of different wired or wireless links, as is known. The signal can be stored on a processor-readable medium.
A first embodiment focuses on providing CMs adapted to RPR in the green MPEG metadata.
In existing green MPEG, many syntax elements defined for AVC and HEVC are based on a picture size, which is constant over the sequence referring to a size signaled in a picture header (picture parameter set (PPS)). Usage ratios of different coding modes are indicated relative to this picture size. This is for example used to determine a total number of 4×4 blocks processed in a period, defined in the green MPEG specification by a parameter TotalNum4×4BlocksInPeriod.
In addition, for some decoder features supporting several modes m1 to mN, ratios are generally reported for modes m1 to mN−1, and ratio for mode mN is deduced from the other ratios as ratio_mN=255−ratio_m1− . . . −ratio mN−1 (ratios are represented in fixed-point, using amplitude of 255, which corresponds to a ratio of 100%).
Due to the variation of picture size allowed by RPR, the way to report usage ratio of the various modes of existing green MPEG is no more adapted to VVC.
In a first variant of the first embodiment, the various ratios are defined by considering as reference picture size the maximum picture size of the bitstream as signaled for example in a sequence header (Sequence Parameter Set (SPS)), via parameters sps_pic_width_max_in_luma_samples and sps_pic_height_max_in_luma_samples, instead of using the decoded picture size. The various ratios (i.e. the CMs=the information representative of an energy consumption) depends on a single reference picture size defined for a sequence of picture in a sequence header (i.e; the SPS).
The reference picture size is defined by a parameter maxPicSizeInCtbsY, defined as follows:
maxPicSizeInCtbsY=maxPicWidthInCtbsY*maxPicHeightInCtbsY
with maxPicWidthInCtbsY and maxPicheightInCtbsY defined as follows:
maxPicWidthInCtbsY=(sps_pic_width_max_in_luma_samples+CtbSizeY−1)/CtbSizeY
maxPicHeightInCtbsY=(sps_pic_height_max_in_luma_samples+CtbSizeY−1)/CtbSizeY
where CtbSizeY is defined as the size of the luma Coding Tree Blocks (maximum block size).
As a consequence, the sum of usage ratios for the different modes of a feature may be lower than 255 (100%), for instance if one of several pictures are not coded at the maximum picture resolution signaled in the SPS. One consequence is that the usage ratio for all modes of a feature are reported explicitly. Indeed, in that case the usage ratio of one mode cannot be deduced from other modes. In the example mentioned above, usage ratios are specified for all modes m1 to mN, instead of modes m1 to mN−1 as done in the existing green MPEG specification for AVC and HEVC.
Referring to the example of the parameter TotalNum4×4BlocksPic defined in the existing green MPEG specification, in the first variant of the first embodiment, the parameter TotalNum4×4BlocksPic is now derived as follows
TotalNum4×4BlocksPic=maxPicSizeInCtbsY*(1<<(Ctb Log 2SizeY−2))2
where CtbLog 2SizeY defines the log 2 of the CTB size (e.g. equal to 2 for CTB size 16×16, equal to 3 for CTB size 32×32, equal to 4 for CTB size 64×64, equal to 5 for CTB size 128×128). Alternatively, the variable can be renamed TotalNum16BlocksPic, referring to blocks comprising 16 samples.
A second variant of the first embodiment illustrated in
In a step 600, the processing module 500 determines if a syntax element period_type indicates that the reporting of a usage (i.e. of CMs) is made for a single picture or not.
With the syntax element period_type indicating that the reporting of the usage is made for a single picture, in a step 602, the processing module 500 specifies that the decoded picture size as signaled in the PPS is used (for example, for computing the parameter TotalNum4×4BlocksPic).
With the syntax element period_type indicating that the usage reporting is made for several pictures, in a step 601, the processing module specifies that the maximum picture size as signaled in the SPS is used (for example, for computing the parameter TotalNum4×4BlocksPic). This second variant allows keeping the maximum precision for reporting the usage ratios.
In this second variant, the various ratios (i.e. the CMS=the information representative of an energy consumption) depends on a single reference picture size define for a sequence of picture in a sequence header (i.e. the SPS) when various ratios are signaled for several pictures.
In a third variant of the first embodiment, the total number of 4×4 blocks TotalNum4×4BlocksInPeriod is signaled explicitly in the SEI message by a syntax element total_number_4×4_blocks_in_period. Hence there is no need to check the picture size of the different pictures in a considered period, a period being defined as a subset of consecutive pictures of a video stream.
If the total number of 4×4 blocks TotalNum4×4BlocksInPeriod is coded as is, it is considered that “26” bits are large enough to indicate its value for 8K pictures, and for a segment of “128” pictures (typically for “120” fps videos). For easier byte-alignments, “32” bits is therefore recommended for the syntax element total_number_4×4_blocks_in_period.
If using less bits is preferable, this can be reduced to “16” bits. It is possible in such a case to quantize the value of the total number of 4×4 blocks TotalNum4×4BlocksInPeriod, for instance by a factor “1024” (210), the actual total number of 4×4 blocks being:
TotalNum4×4BlocksInPeriod=1024*total_number_4×4_blocks_in_period.
In another variant, to avoid too large values of the total number of 4×4 blocks TotalNum4×4BlocksInPeriod exceeding “32” bits, the syntax element total_number_4×4_blocks_in_period is set to:
This leads to the following semantics (in bold in the following) for the syntax element total_number_4×4_blocks_in_period:
In a variant, blocks of smaller size than 4×4 or 16 samples are considered as reference size. For instance, the reference size is 2×2, as this is the minimum size for chroma blocks. The corresponding syntax element is then defined as . Nevertheless, it is generally considered that blocks of 4 samples are overall of small proportion and do not significantly impact the overall decoder complexity. In addition, they can be counted and added to the number of blocks 4×4, each of them contributing as ¼=0.25 to this numbering. The same concept can apply for other block sizes smaller than 4×4 or 16 samples.
A second embodiment focuses on providing CMs adapted to rectangular blocks in the green MPEG metadata.
The usage ratio (i.e. the CMS=the information representative of an energy consumption) for a given mode reported by a given syntax element is in some cases based on a concatenation of usage ratios for all various block sizes using the mode. As in VVC blocks can be rectangular, it is preferable to consider the number of samples per square and rectangular blocks, instead of considering the square blocks width/height as done in the existing green MPEG specification. For instance, for blocks sizes from 4×4 to 64×64, instead of adding the usage for blocks 4×4, 8×8, 16×16, 32×32, 64×64 as currently done in the green MPEG specification for AVC and HEVC, the sum should be added for blocks with number of samples 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, when these sizes are relevant.
In VVC, “3” transform types are supported, type “0” (corresponding to DCT-II), type “1” (corresponding to DST-VII), type “2” (corresponding to DCT-VIII). For a given block, either Type “0” is used for the transforms in both horizontal and vertical dimensions, or Type “1” and “2” can be used together for the transforms in both horizontal and vertical dimensions. Type “0” transform can be implemented using fast implementations such as butterfly implementations. On the other hand, type “1” and “2” cannot be implemented using such solutions, and involve matrix multiplications of the size of the transform. An example of text specification illustrating this second embodiment is provided below (in bold) for the usage of a transform type “0”. Equivalent text specification can be used for transform type “1” and “2”.
indicates the portion of area covered by blocks using the transform of type “0” in the pictures of the specified period, using 4×4 granularity and is defined as follows:
is the number of blocks using the transform of type 0 in the specified period using 4×4 granularity. At the encoder side, it is computed as follows:
Where are the number of blocks using transform type “0”, for number of samples from X=16, 32, 64, 128, 256, 512, 1024, 2048, 4096.
The factors 2, 4, . . . 256 in the formula correspond to the block sizes ratio relative the blocks of size 16. For instance, for blocks of size 32 (NumTrType0_32Blocks), the factor is 32/16=2. For blocks of size 4096 (NumTrType0_4096Blocks), the factor is 4096/16=256.
For instance, if the encoder derives NumTrType0_8Blocks and NumTrType0_4Blocks as the number of blocks comprising “8” and “4” samples, NumTrType0Blocks can be incremented by NumTrType0_8Blocks/2 or (NumTrType0_8Blocks+1)/2 and by NumTrType0_4Blocks/4 or (NumTrType0_4Blocks+2)/4.
A third embodiment focuses on providing CMs adapted to new features impacting the entropy decoding complexity in the green MPEG metadata.
In this third embodiment, the syntax elements specified for AVC and HEVC related to the amount of non-zero blocks, for different square block sizes, are now signaled for square and rectangular blocks of different number of samples. New syntax elements portion_X_blocks_in_non_zero_area are added, with X being a number of samples in the block (where X=16, 32, 64, 128, 256, 512, 1024, 2048 and 4096). One can note that the last value of X=4096 is introduced to consider blocks having a size equal to the maximum transform unit size of 64×64 defined in VVC.
The SBT mode, in which only a sub-part of the residual block is encoded, the remaining sub-part being set to zero, has also a direct impact on the entropy decoding. A new syntax element portion_sbt_blocks_in_non_zero_area related to the SBT mode is therefore added. The syntax element portion_sbt_blocks_in_non_zero_area indicates the relative usage of the sub-block transform (SBT) mode.
A fourth embodiment focuses on providing CMs adapted to new features impacting the inverse transform complexity in the green MPEG metadata.
In VVC, several new tools impact the complexity of the inverse transform: JCCR, MTS, LFNST and BDPCM. In the fourth embodiment new syntax elements are defined to address these new tools:
A fifth embodiment focuses on providing CMs adapted to new features impacting the intra prediction and the intra blocks decoding complexity in the green MPEG metadata.
New intra prediction tools such as MIP, ISP, CCLM, IBC and reference samples filtering in intra area have an impact on the decoding complexity. In the fifth embodiment new syntax elements are defined to address these new tools:
In a variant, as MIP uses matrices of different sizes depending on the block sizes, the syntax element portion_mip_blocks_in_intra_area can be reported for different block sizes. For instance the following syntax elements can be introduced:
Alternatively, the value of the syntax element portion_mip_blocks_in_intra_area can be computed from a parameter NumMipCodedBlocks from the different blocks sizes as follows:
NumMipCodedBlocks=4*NumMipCoded_16×4Blocks+8*NumMipCoded_16×8Blocks
The factors “4” and “8” correspond to the block sizes ratio relative the blocks of size “16”. For instance, for blocks of size 16×4 (NumMipCoded_16×4Blocks), the factor is 16×4/16=4. For blocks of size 16×4 (NumMipCoded_16×8Blocks), the factor is 16×8/16=8. The encoder computes the value of NumMipCodedBlocks, set portion_mip_blocks_in_intra_area equal to NumMipCodedBlocks, and signals portion_mip_blocks_in_intra_area in the stream.
A sixth embodiment focuses on providing CMs adapted to new features impacting the inter prediction and the inter blocks decoding complexity in the green MPEG metadata.
One feature impacting on the complexity of inter prediction is the fact that a block is predicted using a unidirectional prediction or a bidirectional prediction. This information is not reported in the existing green MPEG specification (i.e. for AVC and HEVC), although this has an important impact on the decoder complexity.
In the sixth embodiment new syntax elements are defined to address this feature:
In addition, new inter prediction modes also impacts the decoding complexity. In the seventh embodiment new syntax elements are defined to address these new modes:
A seventh embodiment focuses on providing CMs adapted to new features impacting the interpolation for temporal prediction complexity in the green MPEG metadata.
As seen above, motion estimation is generally performed with sub-pixel precision which require interpolating pictures. In the seventh embodiment, three syntax elements are defined to consider the three possible interpolation cases, i.e. integer-interpolation, sub-pixel interpolation in the horizontal or vertical direction, sub-pixel interpolation in the horizontal and vertical directions:
A eighth embodiment focuses on providing CMs adapted to new features impacting the in-loop filtering complexity in the green MPEG metadata.
In VVC, three new in-loop filtering tools were introduced: ALF, CCALF and LMCS. In the eighth embodiment, three syntax elements are defined to consider these three tools:
The following table TAB3 depicts the changes in the green MPEG SEI syntax induced by the above eight embodiments related to VVC, where changes compared to the existing green MPEG SEI syntax are indicated in bold.
total number 4x4 blocks in period
32
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
For the case of period_type equal to “4”, corresponding to a per-picture signaling with slice/tile/subpicture granularity, the same syntax changes are to be made in the syntax part, with index [t] added for each added syntax element, t indicating the slice/tile index as represented in table TAB3bis.
total number 4x4 blocks in period
32
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
A ninth embodiment focuses on providing CMs adapted to a use of subpictures in the green MPEG metadata.
When subpictures are used in the VVC bitstream, the parameters signaled in the SEI are signaled per subpicture. Subpictures are used when a syntax element sps_num_subpics_minus1 in the VVC SPS is greater than “0”, sps_num_subpics_minus1 being representative of a number of subpictures in pictures.
Table TAB4 represents a modified version of table TAB2 in which a new entry is added for the case of subpictures enabled (value 5).
5
complexity metrics are applicable to a single picture
with subpicture granularity
In addition, the syntax elements of table TAB3 are duplicated for the subpicture case, by adding an equality check of the value of the syntax element period_type to 5 (if(period_type==5)). The syntax elements reporting usage ratios are indexed by an index [z] indicating the subpicture index. An illustration of some modifications induced by the ninth embodiment in table TAB3 is given in table TAB5.
else if ( period—type == 5 ) {
16
unsigned integer
16
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
8
unsigned integer
...
In a variant of the ninth embodiment, in case of subpictures granularity, the usage ratio parameters can also be signaled for a period of pictures. For instance by the following new values of period_type (6, 7, 8):
5
complexity metrics are applicable to a single picture
with subpicture granularity
6
complexity metrics are applicable to all pictures in
decoding order, up to (but not including) the picture
containing th enext I slice, and with subpicture
granularity
7
complexity metrics are applicable over a specified time
interval in seconds, and with subpicture granularity
8
complexity metrics are applicable over a specified number
of pictures counted in decoding order, and with
subpicture granularity
In a variant of the ninth embodiment, the new period_type value (period_type=5) is not added to table TAB2, but the signaling in case of subpictures relies on the period_type value “4” (single picture with slices/tiles granularity). For subpictures, it is needed to identify the slices included in a subpicture. When decoding a subpicture, it is then possible to identify the slices contained by the subpicture, and to get the metadata from these slices. This can be done thanks to the syntax element sh_subpic_id that allows identifying the subpicture to which a slice belongs to.
In a tenth embodiment, as mentioned in steps 103 and 104 of
An example of semantic of the syntax element green_metadata_type is as follows:
In the following is provided an example of semantic of the various syntax elements discussed above:
NumLfnstBlocks=16*NumLfnst16×16Blocks+48*NumLfnst48×16Blocks
Where NumBiPredictedXBlocks are the number of blocks using inter bi-predicted prediction, for number of samples from X=16, 32, 64, 128, 256, 512, 1024, 2048, 4096, in the specified period.
In the case where period_type is equal to “4” (corresponding to signaling per slice or tile), the parameter TotalNum4×4BlocksInSliceOrTileOrSubpic[t] is defined as follows:
TotalNum4×4BlocksInSliceOrTileOrSubpic[t] is the total number of 4×4 blocks in the slice[t] or tile[t] and is determined by the following computation, using the parameters ctbToTileColIdx, ctbToTileRowIdx, ColWidthVal and RowHeightVal specified in the clause “CTB raster scanning, tile scanning, and subpicture scanning processes” in ISO/IEC 23090-3:
ctbAddrX=first_ctb_in_slice_or_tile_or_subpict[t]
tileColIdx=ctbToTileColIdx[ctbAddrX]
tileRowIdx=ctbToTileRowIdx[ctbAddrX]
tileWidth=ColWidthVal[tileColIdx]
tileHeight=RowHeightVal[tileRowIdx]
TotalNum4×4BlocksInSliceOrTileOrSubpic[t]=tileWidth*tileHeight*(1<<(Ctb Log 2SizeY−2))2
In the case where period_type is equal to “5” (corresponding to signaling per subpicture), the parameter TotalNum4×4BlocksInSliceOrTileOrSubpic[t] is defined as follows.
TotalNum4×4BlocksInSliceOrTileOrSubpic[t] is the total number of 4×4 blocks in the subpict[t] and is determined by the following computation, using the syntax elements sps_subpic_ctu_top_left_x and sps_subpic_ctu_top_left_y specified in the clause “Sequence parameter set RBSP semantics” in ISO/IEC 23090-3:
subpicWidth=1+sps_subpic_width_minus1[t]
subpicHeight=1+sps_subpic_height_minus1[t]
TotalNum4×4BlocksInSliceOrTileOrSubpic[t]=subpicWidth*subpicHeight*(1<<(Ctb Log 2SizeY−2))2
Then all the syntax elements described above are duplicated, with adding index [t] and replacing TotalNum4×4BlocksInPeriod by TotalNum4×4BlocksInSliceOrTileOrSubpic[t].
For instance, the following syntax element is added:
More explicitly, at the decoder, the parameters TotalNum4×4BlocksInSliceOrTileOrSubpicture[t] and portion_non_zero_blocks_area[t] are used to derive the number of 4×4 (or 16 samples) blocks, NumNonZeroBlocks[t], that contain non-zero transform coefficients. This number is derived as:
And so on for all the other syntax elements related to usage ratios of coding modes, such as the syntax elements portion_64_blocks_in_non_zero_area[t] or portion_alf_instances[t] signaled in table Tab6, that are computed at the encoder from parameters NumNonZero64Blocks[t] or NumAlfInstances[t] then signaled in the SEI, and that are decoded from the SEI at the decoder and used to derive the parameters NumNonZero64Blocks[t] or NumAlfInstances[t], respectively. The parameters such as NumNonZeroBlocks[t], NumNonZero64Blocks[t] or NumAlfInstances[t], are exploited by the decoder to vary operating frequency and thus reduce decoder power consumption, as described for instance in the Annex B.1 of ISO/IEC 23001-11 (green metadata) specification.
In an embodiment, syntax elements related to decoding complexity metrics are grouped or removed to get a more compact representation of the metadata. An example is provided in table TAB9. In table TAB9, the granularity for indicating the metrics is not 4×4 blocks, but blocks of “4” samples, which correspond to a smallest transform block supported in some implementations. For example syntax elements related to non-zero areas are grouped for different block sizes, leading to “4” syntax elements portion_non_zero_4_8_16_blocks_area (comprising transform blocks of size “4”, “8”, and “16” samples), portion_non_zero_32_64_128_blocks_area (comprising transform blocks of size “32”, “64”, and “128” samples), portion_non_zero_256_512_1024_blocks_area (comprising transform blocks of size “256”, “512” and “1024” samples) and portion_non_zero_2048_4096_blocks_area (comprising transform blocks of size “2048” and “4096” samples). Several syntax elements related to transform have been removed (portion_jccr_blocks_area, portion_trtype0_blocks_area, portion_trtype1_2_blocks_area, portion_lfnst_blocks_area, portion_bdpcm_blocks_area). Intra- and inter-related syntax elements have also been simplified. portion non zero transform coefficients area indicates the portion of non-zero coefficients in non-zero blocks.
For intra part, only “4” syntax elements are considered: portion_planar_blocks_in_intra_area (portion of blocks prediction using planar prediction), portion_dc_blocks_in_intra_area (portion of blocks prediction using DC prediction), portion_angular_hv_blocks_in_intra_area (portion of blocks prediction using direction horizontal or vertical prediction), portion_mip_blocks_in_intra_area (portion of blocks prediction using MIP prediction).
For inter part, only portion_bi_and_gpm_predicted_blocks_area is defined, and uni-prediction portion can be deduced from it and from the total number of blocks in a period.
For loop-filtering, syntax elements for each loop-filter is defined: portion_deblocking_instances, portion_sao_filtered_blocks, portion_alf_filtered_blocks.
period_type is defined as follows in table TAB10.
In the example of table TAB9 the maximum payload size for period_type lower than or equal to “3” is “14” bytes.
In this example the maximum payload size for period_type greater than “3” is (3+11*number of segments) bytes, where a segment is either defined as a tile, a slice or a subpicture in the picture.
In another embodiment improving the compacity of the decoding complexity metrics metadata, called first embodiment improving the compacity, the detailed syntax elements related non-zero blocks portion_non_zero_4_8_16_blocks_area, portion non_zero_32_64_128_blocks_area, portion_non_zero_256_512_1024_blocks_area, portion_non_zero_2048_4096_blocks_area, are further grouped. For instance, they are grouped into “2” syntax elements portion_non_zero_small_blocks_area and portion_non_zero_large_blocks_area, where small blocks are transform blocks with number of samples less than or equal to M samples, and large blocks are transform blocks with more than M samples. In an embodiment M is equal to “512” (which corresponds to transforms smaller than 32×32). In another embodiment M is equal to “1024” (which corresponds to transforms up to 32×32). In a variant of the first embodiment improving the compacity, the detailed syntax elements related non-zero blocks are removed and only portion_non_zero_blocks_area and portion_non_zero_transform_coefficients_area are kept as syntax elements qualifying the transform complexity.
In another embodiment improving the compacity of the decoding complexity metrics metadata, called second embodiment improving the compacity, the syntax elements related to intra coding are grouped, with one syntax element indicating the portion area using intra prediction, portion_intra_predicted_blocks_area, plus one syntax element indicating the usage of an MIP prediction, portion_mip_blocks_in_intra_area, among the area using intra prediction.
In a variant of the second embodiment improving the compacity, the syntax element portion_mip_blocks_in_intra_area is removed, and the syntax elements portion_planar_blocks_in_intra_area, portion_dc_blocks_in_intra_area, and portion_angular_hv_blocks_in_intra_area are kept, in addition to the syntax element portion_intrajredicted_blocks_area.
In another variant of the second embodiment improving the compacity, the syntax elements related to intra coding are removed, except the global counting syntax element portion_intra_predicted_blocks_area.
In another embodiment improving the compacity of the decoding complexity metrics metadata, called third embodiment improving the compacity, syntax elements related to loop filtering are grouped. For instance, portion_sao_filtered_blocks and portion_alf_filtered_blocks are grouped into portion_sao_alf_filtered_blocks.
Table TAB11 shows the most compact version of the decoding complexity metadata based on the first, second and third embodiments improving the compacity above aiming at reducing the payload size. Based on this version, the maximum payload size for period_type lower than or equal to “3” is “9” bytes (which means “5” bytes are saved compared to the extended version). The syntax elements are duplicated for each tile/slice/subpicture for period_type greater than “3”.
In an embodiment, a syntax element is added to indicate if a compact version, or a complete version of the metadata payload, is used. For instance, this is indicated using a syntax element extended_representation_flag.
In order to keep a byte-aligned payload, when a flag is added, the bitlength for coding period_type is possibly reduced by “1” bit. This bitlength reduction can alternatively apply to any of the other syntax elements included in the payload. Alternatively, this is indicated by particular values of period_type. Alternatively, “8” bits are used for coding extended_representation_flag and “8” bits are used for coding period_type.
Table TAB12 below shows a resulting payload, enabling the compact and more detailed (extended) representation of the decoding complexity metrics. The example is only presented for period_type<=3 but can be easily generalized for the case of period_type>3 (tile/slice/subpicture version).
There are core syntax elements defined both for the compact and extended versions, i.e.:
In addition, extended syntax elements are signaled when the extended version is used:
In an embodiment, the flag extended_representation_flag is only signalled for the tile/slice/subpicture case, that is, when period_type is greater than “3” when referring to the period_type definition used in this document.
An example of signalling/decoding process is illustrated in
In
In
In another embodiment, there is no distinction in period_type value between tile/slice case and subpicture case. Instead, period_type value can indicate whether tile/slice/subpicture granularity is used or not, as indicated in bold font in the table TAB13 below.
slice or tile or subpicture granularity
When tile/slice/subpicture granularity is used, an additional syntax element is added to indicate which type of segment is used, among the tile, slice or subpicture. In the table below, this syntax element is named type_segments. When type_segments=0, the segments correspond to tiles, when type_segments=1, the segments correspond to slices, when type_segments=2, the segments correspond to subpictures. Alternatively, when type_segments=0, the segments correspond to tiles or slices, when type_segments=1, the segments correspond to subpictures. Other values are reserved for other types of segments that may be defined in the future or for specific applications.
The table TAB14 below comprises this new syntax element type_segments for the case of tile/slice/subpicture granularity, corresponding to period_type>=4.
The parameter TotalNum4BlocksInSegment[1] that defines the number of 4-samples blocks in the segment, the segment being a slice or tile when type_segments is equal to “0”, and a subpicture when type_segments is equal to “1”, is then defined as follows:
In a step 700, the processing module 500 checks the parameter period_type.
If period_type does not correspond to a single picture with slice, tile or subpicture granularity, the processing module 500 derive the parameter TotalNum4×4BlocksInPeriod in a step 701.
Then, in a step 703, the processing module 500 decodes the pictures of the period, by taking into account the value of TotalNum4×4BlocksInPeriod to derive the usage ratio of the coding modes during the period, and thus reduce decoder power consumption.
If, in step 700, period_type corresponds to a single picture with slice, tile or subpicture granularity, the processing module 500 checks the parameter period_type again in a step 702.
If, in step 702, period_type corresponds to a subpicture granularity, for K subpictures to be decoded, indexed by index t going from t1 to tK (step 704), the processing module 500 derive the parameter TotalNum4×4BlocksInSliceOrTileOrSubpic[t] according to the process described above for the value period_type=5 in step 705.
Then, the processing module 500 decodes the subpicture of index t in a step 706, by taking into account the value of TotalNum4×4BlocksInSliceOrTileOrSubpic[t] to derive the usage ratio of the coding modes in the subpicture, and thus reduce decoder power consumption.
If, in step 702, period_type does not correspond to a subpicture granularity, for each of the tiles to be decoded, indexed by index t going from t1 to nbTiles (step 707), the processing module 500 derives the parameter TotalNum4×4BlocksInSliceOrTileOrSubpic[t] according to the process described above for the value period_type=4 in a step 708.
Then, in a step 709, the processing module 500 decodes the tile of index t, by taking into account the value of TotalNum4×4BlocksInSliceOrTileOrSubpic[t] to derive the usage ratio of the coding modes in the tile, and thus reduce decoder power consumption.
In an embodiment, in case of period_type corresponding to subpicture granularity, the decoder can use a backward channel indicating to the encoder which subpictures are relevant, so that only the usage ratio values corresponding to those subpictures are computed and signaled in the SEI.
We described above a number of embodiments. Features of these embodiments can be provided alone or in any combination. Further, embodiments can include one or more of the following features, devices, or aspects, alone or in any combination, across various claim categories and types:
Number | Date | Country | Kind |
---|---|---|---|
21305142.8 | Feb 2021 | EP | regional |
21306117.9 | Aug 2021 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/050947 | 1/18/2022 | WO |