Identification of tile from network abstraction unit header
Patent Information
- Application Number
- JP2024016932
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2019-05-06
- Filing Date
- 2024-02-07
- Publication Date
- 2024-08-26
- Estimated Expiration
- 2039-12-19
AI Technical Summary
Existing video encoding and decoding technologies lack easily identifiable syntax elements in high-level structures, such as NAL unit headers, to identify tiles or other image segments, which complicates processing by media-aware network elements (MANE) and leads to inefficient resource utilization.
Incorporating tile identifiers in video codecs using fixed length codewords within high-level syntax structures, such as NAL unit headers, to enable efficient identification and processing of picture segments.
Facilitates efficient identification and processing of video tiles by MANE, optimizing resource utilization and reducing unnecessary data transmission, thereby improving network efficiency and resource management.
Abstract
Description
[Technical field]
[0001] The disclosed technical subject matter relates to video encoding and decoding, and more particularly to including information that identifies tiles in high level syntax structures such as fixed length codepoints and network abstraction layer unit headers.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority under 35 U.S.C. §119 to U.S. Provisional Patent Application No. 62 / 783,152, filed in the U.S. Patent and Trademark Office on December 20, 2018, and U.S. Provisional Patent Application No. 16 / 403,799, filed in the U.S. Patent and Trademark Office on May 6, 2019, the disclosures of which are incorporated herein by reference in their entireties. [Background technology]
[0003] Video encoding and decoding using inter-picture prediction with motion compensation has been known for decades. Uncompressed digital video can be composed of a sequence of images, each having spatial dimensions of, for example, 1920x1080 luminance samples and associated chrominance samples. The sequence of images can have a fixed or variable picture rate (also informally known as the frame rate), for example, 60 pictures / second or 60Hz. Uncompressed video has significant bitrate requirements. For example, 1080p60 4:2:0 video (1920x1080 luminance sample resolution at a frame rate of 60Hz) at 8 bits / sample requires a bandwidth approaching 1.5 Gigabits / second (Gbit / s). One hour of such video requires more than 600GB of storage.
[0004] One objective of video encoding and decoding may be the reduction of redundancy in the input video signal through compression. Compression helps to reduce the aforementioned bandwidth or storage requirements, possibly by more than one order of magnitude. Both lossless and lossy compression, as well as combinations thereof, may be utilized. Lossless compression refers to techniques that allow an exact copy of the original signal to be reconstructed from a compressed original signal. When using lossy compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original signal and the reconstructed signal is small enough to make the reconstructed signal useful for the intended application. In the case of video, lossy compression is widely used. The amount of acceptable distortion is application dependent, for example, a user of a given consumer streaming application may tolerate a larger distortion than a user of a television contribution application. The achievable compression ratio may reflect that a larger allowable / tolerable distortion may result in a higher compression ratio.
[0005] Video encoders and decoders may utilize techniques from a number of broad categories, including, for example, motion compensation, transform, quantization, and entropy coding, some of which are introduced below.
[0006] The concept of dividing a coded video bitstream into packets for transport over packet networks has been in use for several decades. In the early days, video coding standards and technologies were mostly optimized for bit-oriented transport and defined bitstreams. Packetization occurred at the system layer interface, specified for example in the Real-Time Transport Protocol (RTP) payload format. With the advent of Internet connectivity suitable for the mass use of video over the Internet, video coding standards reflected its prominent use cases through the conceptual differentiation of the video coding layer (VCL) and the network abstraction layer (NAL). NAL units were introduced in H.264 in 2003 and, with only minor modifications, have been maintained in given video coding standards and technologies ever since.
[0007] A NAL unit can often be considered as the smallest entity on which a decoder can operate without necessarily decoding all preceding NAL units of a coded video sequence. NAL units enable certain error recovery techniques, as well as certain bitstream manipulation techniques, including bitstream pruning by Media Aware Network elements (MANE), such as Selective Forwarding Units (SFUs) or Multipoint Control Units (MCUs).
[0008] Figure 1 shows relevant parts of the syntax diagram of the NAL unit header according to H.264 (101) and H.265 (102), in both cases without their respective extensions. In both cases, the "forbidden_zero_bit" is a zero bit used for start code emulation prevention in a given system layer environment. The "nal_unit_type" syntax element indicates the type of data the NAL unit carries, which can be, for example, one of a given slice type, a parameter set type, a Supplementary Enhancement Information (SEI) message, etc. The H.265 NAL unit header further includes "nuh_layer_id" and "nuh_temporal_id_plus1", which indicate the spatial / SNR and temporal layer of the coded image to which the NAL unit belongs.
[0009] It can be seen that NAL unit headers contain only easily parseable fixed-length codewords that do not have any parsing dependency on other data in the bitstream, e.g., other NAL unit headers, parameter sets, etc. Because NAL unit headers are the first octet in a NAL unit, a MANE can easily extract them, parse them, and act on them. Other high-level syntax elements, e.g., slice or tile headers, in contrast, are less accessible to a MANE because they may require maintaining parameter set context and / or processing of variable-length or arithmetically encoded codepoints. However, even structures such as tile group headers can be designed to have properties that make them easily accessible to a MANE, even though existing video compression technologies and standards may not do so.
[0010] It may be further observed that the NAL unit header does not contain information that can relate the NAL unit to a segment of a coded image, such as a slice, tile, or similar portion of a bitstream representing a spatial area of the coded image, as shown in FIG. 1. In the related art, such information is present in the slice header, in the form of a macroblock or CU address, as the case may be. This address is an integer n that indicates the segment, slice, tile, as the case may be, starting with the nth macroblock / CU in scanning order, when counting down from the top-left of the image. Thus, n may depend on both the image and macroblock / CU size, and may be small (e.g., fits into 8 bits in binary code) or large (e.g., 32400, requiring 16 bits in binary code) for small image sizes. In both cases, it is assumed that the macroblock / CU size is 16×16 samples.
[0011] Historically, picture segments such as tiles or slices were used mostly to facilitate partitioning and parallelization of the bitstream to meet maximum transmission unit size constraints. In both cases, identification of tiles or slices in a MANE, SFU, or similar device was not typically required. Decoders can obtain the relevant information from relatively complex slice headers and / or similar information, along with state obtained from decoding parameter sets.
[0012] More recently, however, picture segments, and in particular tiles (and tile groups, which are collections of tiles in scan order, rectangular order, or other suitable order), have been used for purposes such as a collection of CUs representing a given view in a composed 360 projection, among other applications. In some of these applications, the MANE and SFUs can advantageously remove certain tiles or other segments from the coded picture if they are not needed for the application. For example, if a cube projection is used, rendering the scene from an external viewpoint requires a maximum of three of the six cubic faces. Sending CUs and segments representing the remaining minimum of three faces to an endpoint can be a waste of resources. However, in a scenario where a sender sends a complete representation to the MANE (including all six faces of the cubic projection), and the MANE forwards only the required subset to multiple receivers, and where the required subsets differ between receivers, the MANE will accommodate a potentially different bitstream, including potentially different cubic faces, for each receiver. To do so, the MANE currently processes complex variable length coded slice headers and requires maintaining state in the form of parameter sets, etc., as needed to decode the slice headers. Summary of the Invention
[0013] To enable improved identification of tiles based on syntax structures, techniques are disclosed that include tile identifiers in syntax structures that include fixed-length codewords in a video codec.
[0014] A method for video decoding includes decoding binary encoded syntax elements that carry identifiers of picture segments in a high level syntax structure that includes fixed length codewords, and reconstructing the picture segments.
[0015] An apparatus for decoding a video sequence includes at least one memory configured to store program code and at least one processor configured to read the program code and operate as directed by the program code, the program code including steps of decoding code configured to cause the at least one processor to decode binary-encoded syntax elements carrying identifiers of picture segments in a high-level syntax structure including fixed-length codewords, and reconstructing code configured to cause the at least one processor to reconstruct the picture segments.
[0016] A non-transitory computer-readable medium storing one or more instructions, when executed by one or more processors of the device, causes the one or more processors to decode binary encoded syntax elements carrying identifiers of picture segments in a high-level syntax structure including fixed-length codewords and to reconstruct the picture segments. [Brief description of the drawings]
[0017] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings. [Figure 1] FIG. 1 is a schematic diagram of a NAL unit header according to H.264 and H.265. [Diagram 2] FIG. 2 is a simplified block diagram of a communication system according to one embodiment. [Diagram 3]FIG. 3 is a simplified block diagram of a communication system according to one embodiment. [Figure 4] FIG. 4 is a simplified block diagram schematic of a decoder according to one embodiment. [Diagram 5] FIG. 5 is a simplified block diagram schematic of an encoder according to one embodiment. [Figure 6] FIG. 6 is a schematic diagram of a NAL unit header including a CU Address or Tile ID syntax element according to one embodiment. [Figure 7] FIG. 7 is a schematic diagram of a tile layout according to one embodiment. [Figure 8] FIG. 8 is a schematic diagram of NAL unit decoding / transportation according to one embodiment. [Figure 9] FIG. 9 is a schematic diagram of a computer system according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Problem to be solved Video coding syntax lacks an easily identifiable / parsable syntax element that identifies a tile or other image in a high-level syntax structure such as a NAL unit header.
[0019] FIG. 2 shows a simplified block diagram of a communication system (200) according to one embodiment. The system (200) may include at least two terminals (210-220) interconnected via a network (250). For unidirectional transmission of data, a first terminal (210) may encode video data at a local location for transmission to the other terminal (220) via the network (250). The second terminal (220) may receive the other terminal's encoded video data from the network (250), decode the encoded data, and display the recovered video data. Unidirectional data transmission may be common in media provisioning applications, etc.
[0020] 2 illustrates a second pair of terminals (230, 240) provided to support bidirectional transmission of encoded video, such as may occur during a video conference. For the bidirectional transmission of data, each terminal (230, 240) may encode video data captured at a local location for transmission to the other terminal over the network (250). Each terminal (230, 240) may also receive encoded video data transmitted by the other terminal, decode the encoded data, and display the recovered video data on a local display device.
[0021] In FIG. 2, the terminals (210-240) may be depicted as servers, personal computers, and smartphones, but the principles of the present disclosure are not so limited. Embodiments of the present disclosure find application with laptop computers, tablet computers, media players, and / or dedicated video conferencing devices. Network (250) represents any number of networks that convey encoded video data between the terminals (210-240), including, for example, wired and / or wireless communication networks. The communication network (250) may exchange data in circuit-switched and / or packet-switched channels. Exemplary networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this description, the architecture and topology of network (250) is not important to the operation of the present disclosure, unless otherwise described below.
[0022] 3 shows the arrangement of video encoders and decoders in a streaming environment as one example of an application for the disclosed subject matter. The disclosed subject matter is equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storage of compressed video on digital media including CDs, DVDs, memory sticks, etc.
[0023] The streaming system may include a capture subsystem (313), such as a video source (301), e.g., a digital camera, that generates an uncompressed video sample stream (302). The sample stream (302) is shown as a thick line to emphasize its large data volume when compared to an encoded video bitstream, and may be processed by an encoder (303) coupled to the camera (301). The encoder (303) may include hardware, software, or a combination thereof to enable or implement aspects of the disclosed subject matter, as described in more detail below. The encoded video bitstream (304) is shown as a thin line to emphasize its smaller data volume when compared to the sample stream, and may be stored in a streaming server (305) for future use. One or more streaming clients (306, 308) may access the streaming server (305) to retrieve copies (307, 309) of the encoded video bitstream (304). The client (306) may include a video decoder (310) that decodes an input copy of the encoded video bitstream (307) and generates an output video sample stream (311) that can be rendered on a display (312) or other rendering device (not shown). In some streaming systems, the video bitstreams (304, 307, 309) may be encoded according to a predetermined video encoding / compression standard. Examples of these standards include ITU-T Recommendation H.265. A developing video encoding standard is informally known as Versatile Video Coding, or VVC. The disclosed subject matter may be used in the context of VVC.
[0024] FIG. 4 may be a functional block diagram of a video decoder (310) according to one embodiment of the invention.
[0025] The receiver (410) can receive one or more codec video sequences to be decoded by the decoder (310), one coded video sequence at a time, in the same or another embodiment, with the decoding of each coded video sequence being independent of the other coded video sequences. The coded video sequences can be received from a channel (412), which can be a hardware / software link to a storage device that stores the coded video data. The receiver (410) can receive the coded video data along with other data, such as coded audio data and / or auxiliary data streams, which can be transferred using respective entities (not shown). The receiver (410) can separate the coded video sequences from the other data. To try to eliminate network jitter, a buffer memory (415) can be coupled between the receiver (410) and the entropy decoder / parser (420) (hereinafter the “parser”). If the receiver 410 is receiving data from a store-and-forward device with sufficient bandwidth and controllability, or from an isosynchronous network, then the buffer 415 may not be needed or may be small. For use with best-effort packet networks such as the Internet, the buffer 415 may be needed but may be relatively large and may advantageously be of adaptive size.
[0026] The video decoder (310) may include a parser (420) for reconstructing symbols (421) from the entropy-coded video sequence. These symbol categories include information used to manage the operation of the decoder (310) and potentially information to control a rendering device, such as a display (312) that is not an integral part of the decoder but may be connected to the decoder, as shown in FIG. 3. The control information for the rendering device may be in the form of Supplemental Enhancement Information (SEI) messages or Video Usability Information (VUI) parameter set fragments (not shown). The parser (420) may parse / entropy-decode the received coded video sequence. The coding of the coded video sequence may follow any video coding technique or standard and may follow principles well known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (420) may extract from the coded video sequence a set of subgroup parameters for at least one of the subgroups of pixels in the video decoder based on at least one parameter corresponding to the group. The subgroups may include Groups of Pictures (GOPs), pictures, tiles, slices, macroblocks, coding units (CUs), blocks, transform units (TUs), prediction units (PUs), etc. The entropy decoder / parser may also extract from the coded video sequence information such as transform coefficients, quantization parameter values, motion vectors, etc.
[0027] The parser (420) can perform entropy decoding / parsing operations on the video sequence received from the buffer (415) to generate symbols (421).
[0028] The reconstruction of the symbols (421) may involve a number of different units, depending on the type of coded video picture or portion thereof (inter-picture and intra-picture, inter-block and intra-block, etc.) and other factors. Which units participate and how may be controlled by subgroup control information parsed from the coded video sequence by the parser (420). The flow of such subgroup control information between the parser (420) and the following units is not shown for clarity.
[0029] In addition to the above-mentioned functional blocks, the decoder 310 may be conceptually subdivided into several functional units, as described below. In a practical implementation operating under commercial constraints, many of these units may closely interact with each other and may be at least partially integrated with each other. However, for the purpose of describing the disclosed technical matter, a conceptual subdivision into the following functional units is appropriate:
[0030] The first unit is a scalar / inverse transform unit (451), which receives quantized transform coefficients as symbols (421) from the parser (420) as well as control information including the transform used, block size, quantization coefficients, quantization scaling matrices, etc. It can output blocks containing sample values that can be input to an aggregator (455).
[0031] In some cases, the output samples of the scalar / inverse transform (451) may belong to intra-coded blocks, i.e. blocks that do not use prediction information from a previously reconstructed image, but can use prediction information from a previously reconstructed part of the current image. Such prediction information may be provided by an intra-image prediction unit (452), which in some cases uses surrounding already reconstructed information fetched from the current (partially reconstructed) image (456) to generate a block of the same size and shape as the block being reconstructed. The aggregator (455) optionally adds, sample by sample, the prediction information generated by the intra-prediction unit (452) to the output sample information provided by the scalar / inverse transform unit (451).
[0032] In other cases, the output samples of the scalar / inverse transform unit (451) may belong to an inter-coded and potentially motion compensated block. In such a case, the motion compensation prediction unit (453) may access a reference picture memory (457) to fetch samples used for prediction. After motion compensation of the fetched samples according to the symbols (421) belonging to the block, these samples may be added by an aggregator (455) to the output of the scalar / inverse transform unit (in this case, called residual samples or residual signals) to generate output sample information. The addresses in the reference picture memory form from which the motion compensation unit fetches the prediction samples may be controlled by a motion vector available to the motion compensation unit, for example, in the form of a symbol (421) that may have X, Y, and reference picture components. Motion compensation may also include interpolation of sample values fetched from the reference picture memory when sub-sample accurate motion vectors are used, motion vector prediction mechanisms, etc.
[0033] The output samples of the aggregator (455) may be subject to various loop filtering techniques in a loop filter unit (456). Video compression techniques may include in-loop filter techniques that are controlled by parameters contained in the coded video bitstream and made available to the loop filter unit (456) as symbols (421) from the parser (420), but may also be responsive to meta-information obtained during the decoding of previous portions of the coded image or coded video sequence (in decoding order), as well as to previously reconstructed and loop filtered sample values.
[0034] The output of the loop filter unit (456) may be a sample stream that may be output to the rendering device (312) as well as stored in a reference image memory (456) for use in future inter-image prediction.
[0035] Once a given coded image is fully reconstructed, it can be used as a reference image for future prediction. Once a coded image is fully reconstructed and identified as a reference image (e.g., by the parser (420)), the current reference image (456) becomes part of the reference image buffer (457) and a fresh current image memory can be reallocated before starting the reconstruction of the next coded image.
[0036] The video decoder 420 may perform decoding operations according to a given video compression technique, which may be documented in a standard, such as ITU-T Rec. H.265. The encoded video sequence may conform to the syntax defined by the video compression technique or standard being used, in the sense of conforming to the syntax of the video compression technique or standard as defined in the video compression technique document or standard, and in particular in the profile documents therein. Also required for compliance is that the complexity of the encoded video sequence be within a range defined by the level of the video compression technique or standard. In some cases, the level limits the maximum picture size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in megasamples per second), maximum reference picture size, etc. The limits set by the level may be further limited, in some cases, through a Hypothetical Reference Decoder (HRD) specification and metadata of the HRD buffer signaled with the encoded video sequence.
[0037] In one embodiment, the receiver (410) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the encoded video sequence. The additional data may be used by the video decoder (420) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial, or SNR enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0038] FIG. 5 may be a functional block diagram of a video encoder (303) according to one embodiment of the present disclosure.
[0039] The encoder (303) can receive video samples from a video source (301) (not part of the encoder) that can capture video images to be encoded by the encoder (303).
[0040] The video source (301) may provide a source video sequence to be encoded by the encoder (303) in the form of a digital video sample stream, which may be in any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, etc.), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media serving system, the video source (301) may be a storage device storing previously prepared videos. In a video conferencing system, the video source (303) may be a camera that captures local image information as a video sequence. The video data may be provided as a number of individual images that convey motion when viewed in sequence. The images themselves may be organized as a spatial array of pixels, where each pixel may contain one or more samples, depending on the sampling structure, color space, etc. in use. Those skilled in the art can easily understand the relationship between pixels and samples. The following description focuses on samples.
[0041] According to one embodiment, the encoder (303) can encode and compress images of a source video sequence into an encoded video sequence (543) in real-time or under any other time constraint required by an application. Enforcing an appropriate encoding rate is one function of the controller (550). The controller controls other functional units, as described below, and is operatively coupled to these units. Coupling is not shown for clarity. Parameters set by the controller may include rate control related parameters (picture skip, quantizer, lambda value for rate-distortion optimization techniques, etc.), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. One skilled in the art can easily identify other functions of the controller (550) as they may be relevant to a video encoder (303) optimized for a given system design.
[0042] Some video encoders operate in what one skilled in the art would readily recognize as a "coding loop." As an oversimplified explanation, the coding loop consists of the encoding part of the encoder (530) (hereafter the "source coder") (responsible for generating symbols based on the input picture to be encoded and the reference picture), and a (local) decoder (533) embedded within the encoder (303) that reconstructs the symbols to generate sample data that the (remote) decoder will also generate (so that in the video compression techniques contemplated in the disclosed subject matter, any compression between the symbols and the encoded video bitstream is lossless). The reconstructed sample stream is input to a reference picture memory (534). Since decoding of the symbol stream produces bit-exact results independent of the decoder location (local or remote), the contents of the reference picture buffer are also bit-perfect between the local and remote encoders. In other words, the prediction part of the encoder "sees" exactly the same sample values as the reference picture samples that the decoder "sees" when using the prediction during decoding. This basic principle of reference picture synchrony (and the resulting drift when synchrony cannot be maintained, e.g., due to channel errors) is well known to those skilled in the art.
[0043] The operation of the "local" decoder (533) may be the same as the "remote" decoder (310), as already described in detail above in connection with FIG. 4. However, with brief reference again to FIG. 4, because symbols are available and the encoding / decoding of symbols for the encoded video sequence by the entropy coder (545) and parser (420) may be lossless, the entropy decoding portion of the decoder (310), including the channel (412), receiver (410), buffer (415), and parser (420), may not be implemented entirely within the local decoder (533).
[0044] An observation that can be made at this point is that any decoder technique, except analysis / entropy decoding, that is present in the decoder must also be present in a substantially identical functional form in the corresponding encoder. For this reason, the technical matters disclosed will focus on the operation of the decoder. A description of the encoder techniques can be omitted, since they are the inverse of the decoder techniques that have been generically described. Only in certain areas is a more detailed explanation necessary, and is provided below.
[0045] As part of its operation, the source coder (530) may perform motion compensated predictive coding, which predictively codes an input frame with respect to one or more previously coded-frames from a video sequence designated as “reference frames.” In this manner, the coding engine (532) codes differences between pixel blocks of an input frame and pixel blocks of reference frames that may be selected as prediction references for the input frame.
[0046] The local video decoder (533) can decode the encoded video data of frames that may be designated as reference frames based on the symbols generated by the source coder (530). The operation of the encoding engine (532) can advantageously be a lossy process. If the encoded video data can be decoded by a video decoder (not shown in FIG. 5), the reconstructed video sequence can be a replica of the source video sequence, typically with some errors. The local video decoder (533) replicates the decoding process performed on the reference frames by the video decoder and can cause the reconstructed reference frames to be stored in a reference image cache (534). In this way, the encoder (303) can locally store (without transmission errors) copies of reconstructed reference frames that have common content as reconstructed reference frames obtained by a far-end video decoder.
[0047] The predictor (535) may perform a prediction search for the coding engine (532). That is, for a new frame to be coded, the predictor (535) may search the reference picture memory (534) for sample data (as candidate reference pixel blocks) or predefined metadata, such as reference picture motion vectors, block shapes, etc., that may serve as suitable prediction references for the new picture. The predictor (535) may operate on a sample block-pixel block basis to find suitable prediction references. In some cases, as determined by the search results obtained by the predictor (535), the input picture may have prediction references drawn from multiple reference pictures stored in the reference picture memory (534).
[0048] The controller (550) can manage the encoding operations of the video coder (530), including, for example, setting the parameters and subgroup parameters used to encode the video data.
[0049] The output of all the aforementioned functional units may undergo entropy coding in an entropy coder (545), which converts the symbols produced by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc.
[0050] The sender (540) can buffer the encoded video sequence as it is generated by the entropy coder (545) and prepare it for transmission over a communication channel (560), which may be a hardware / software link to a storage device that stores the encoded video data. The sender (540) can merge the encoded video data from the video coder (530) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (sources not shown).
[0051] A controller (550) can manage the operation of the encoder (303). During encoding, the controller (550) can assign a predefined encoding image type to each encoded image, which can affect the encoding technique that can be applied to the respective image. For example, a picture can often be assigned as one of the following frame types:
[0052] An Intra picture (I-picture) may be one that can be coded and decoded without using any other frame in a sequence as a source of prediction. Some video codecs allow different types of Intra pictures, including, for example, Independent Decoder Refresh Pictures. Those skilled in the art are aware of these variations of I-pictures, as well as their respective applications and functions.
[0053] A predictive picture (P picture) may be one that can be encoded and decoded using intra- or inter-prediction, using at most one motion vector and reference index to predict the sample values of each block.
[0054] A Bi-directionally Predictive Picture (B-picture) may be one that can be coded and decoded using intra- or inter-prediction, using up to two motion vectors and reference indices to predict the sample values of each block. Similarly, multiple predicted pictures may use two or more reference pictures and associated metadata for the reconstruction of a single block.
[0055] A source image is generally spatially subdivided into a number of sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples each) and coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks as determined by the coding assignment applied to the image of the block each. For example, blocks of I-pictures may be non-predictively coded, or they may be predictively coded with reference to already coded blocks of the same image (spatial or intra-prediction). Pixel blocks of P-pictures may be coded non-predictively, via spatial prediction, or via temporal prediction, with reference to one previously coded reference image. Blocks of B-pictures may be coded non-predictively, via spatial prediction, or via temporal prediction, with reference to one or two previously coded reference images.
[0056] The video coder (303) may perform encoding operations in accordance with a predefined video encoding technique or standard, such as ITU-T Rec. H.265. In its operation, the video coder (303) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in the input video sequence. The encoded video data may therefore conform to a syntax specified by the video encoding technique or standard being used.
[0057] In one embodiment, the transmitter (540) can transmit additional data along with the coded video. The video coder (530) may include such data as part of the coded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other types of redundant data such as redundant pictures and slices, Supplemental Enhancement Information (SEI) messages, Video Usability Information (VUI) parameter set fragments, etc.
[0058] According to one embodiment, information identifying picture segments such as tiles, tile groups, slices, group of blocks (GOBs), etc. (hereafter referred to as tiles) is located in an easily accessible high-level syntax structure such as a NAL unit header (NUH) or a similar structure that contains fixed-length codewords and is designed for easy processing by a MANE (hereafter referred to as NUH).
[0059] The information that identifies the tiles can take different forms. In designing this information, several design considerations should be kept in mind. Some of these design considerations are listed below.
[0060] The number of possible tiles in a given picture can be small, for example, compared to the number of possible slices in conventional video coding techniques or standards. For example, in H.264, it is possible to have a slice that covers a single macroblock (for a given picture size), and there are as many slices possible as there are macroblocks. In contrast, when representing a tiled cube map, six tiles may be sufficient, regardless of the image resolution. In many practical cases, a maximum number of tiles of 64, 128, or 256 can be safely assumed.
[0061] The tile layout can be fixed, and while the video coding technology itself may allow flexibility in the tile layout between pictures, the system standard or technology may limit that flexibility to the point where the tile layout remains the same throughout the entire session. This allows the tile layout to be made available to the MANE through non-video bitstream specific means, such as during session setup. Undesirable context dependencies between parameter sets in the video coding and MANE operations may be prevented.
[0062] At least under the above assumptions, the mechanism for identifying tiles carried by NAL units so as to enable the NAL units to be removed by the MANE can be significantly simplified compared to related techniques such as H.264 and H.265. For example, in H.264 and H.265, the MANE would need to identify the correct sequence parameter set to know about the length of the slice / tile address codeword in the slice header. Such length information is encoded as a variable length codeword in the sequence parameter set. Thus, the MANE would need to at least follow the parameter set activation sequence to identify the currently active sequence parameter set, and would need to decode the variable length codeword to identify the length of the binary encoded slice / tile address carried in the slice header (possibly not in this order, since the parameter sets are parsing-independent). The MANE would then need to decode the variable length codeword in the slice header to obtain the starting macroblock / CU address. This information can be matched against the tile layout decoded from the parameter set to identify the tile.
[0063] In the same or another embodiment, the tile's identification information may be the address of the first macroblock / CU of the tile. In effect, such a mechanism moves the starting address from the slice header to the NUH. Doing so may be a minimal change approach to the codec design, but has the drawback of significantly increasing the NUH. However, the increase in the size of the NUH may be acceptable even from a coding efficiency point of view, since the same amount of bits would have been removed from the slice / tile header.
[0064] As pointed out above, macroblock / CU addresses can be moderately small for small picture sizes and large macroblock / CU sizes, or rather large for small CU sizes and large picture sizes. For this reason, the H.265 SPS includes an indication of the length of the macroblock / CU address carried in the slice header. In the same or another embodiment, this mechanism can be retained for the NAL unit header. However, doing so can have two drawbacks. First, the context dependency established by determining the size of the syntax elements in the NAL unit header through the parameter set values may require the MANE to track the activation of the parameter settings, which can be redundant. Second, the NAL unit headers, at least up until now, are octet aligned to simplify processing in the MANE. Maintaining that octet alignment may require padding - wasting bits. In such a case, the size of the macroblock / CU address indicated by the parameter set, together with the remaining NAL unit header syntax elements, is not added up to a number of bits divisible by 8.
[0065] In the same or another embodiment, the macroblock / CU address - or the size of any other syntax element in the NAL unit header - may be determined by other fields in the NAL unit header. This mechanism avoids content dependency between the parameter set and the NAL unit header and may be desirable in many cases. A drawback may be the use of bits or codepoints in other fields of the NAL unit header. More details are provided below.
[0066] However, more advanced options are available where one does not consider slices in the traditional sense, just tiles or tiles, or similar allocation mechanisms of CUs to bitstream entities. To explain these options, the terms slice and tile are briefly reviewed. A slice is a collection of CUs or macroblocks, usually in scan order, and is identified by two factors: a starting macroblock / CU address, usually coded in a slice header, and the end of the slice, which is often identified by the start of a new slice (as well as indicated by the presence of the next slice header). While certain video compression technologies and standards impose certain relatively minor restrictions on the number and layout of slices, in most cases the layout of slices can change from coded picture to coded picture and is often determined by mechanisms such as rate control and MTU size matching.
[0067] A tile, on the other hand, may typically refer to a rectangular arrangement of CUs, and the size and shape of the rectangle (that and other rectangular tiles that combine to make up the picture) is coded in the parameter set. In other words, the tile layout is somewhat static in that changing from one tile layout to another requires the activation of a different parameter set. Furthermore, the number of tiles may be advantageously limited to allow efficient hardware implementation. As a result, in many video compression techniques and standards, a relatively short fixed-length binary codeword, e.g., 8 bits, allows handling the maximum number of tiles for all image sizes in practical use. Thus, a fixed-length codeword for a tile ID is used to identify tiles in the NAL unit header, thereby avoiding parsing and context-dependencies between tile identification NAL unit header codewords and parameter sets. Similarly, a fixed-length codeword for a tile group ID may be used to identify tile groups. Of course, the mechanisms supporting variable-length codewords for macroblock / CU addresses in the NAL unit header may be applied similarly for tile ID codewords, if so desired, at the expense of similar architectural disadvantages.
[0068] Referring to FIG. 6, several implementation options for NAL unit header design are introduced.
[0069] A NAL unit (601) may be part of a coded video bitstream. In some cases, the NAL unit is octet-aligned and is smaller than or equal to a common Maximum Transfer Unit (MTU) size of a data network. One such common MTU size is approximately 1500 octets, which stems from certain limitations of early Ethernet technology. The NAL unit may initially include a NAL unit header (602). Framing of the NAL unit in the coded video bitstream may be through start codes, through alignment with the packet structure of the underlying packet-oriented transport network, etc.
[0070] Referring again to FIG. 6, an exemplary NAL unit header syntax diagram (603) is also shown, which is similar to that used in H.265. The disclosed subject matter may also be used with NAL unit headers of similar structure, such as the NAL unit header of H.264, or any other high-level syntax structure including VVC or fixed-length codewords. The NAL unit header (603) may include a syntax element CU address or tile ID (604). The length of the syntax element may be fixed and may be selected to keep the NAL unit header octet-aligned. The syntax element (604) may be in a format that is easily processable by video encoders and decoders as well as MANEs. By way of example and not limitation, the CU address or tile ID (604) may be represented by a 6 bit unsigned integer, as represented by Descriptor u (6). In the example presented, the CU address or tile ID occupies the same bits as are used for the layer_id in H.265. A different presentation of the same technical matter is shown using the NAL unit header (605) and the CU address or tile ID (606).
[0071] Also shown is a NAL unit (607) that preserves fields of the H.265 NAL unit header. A syntax element (608) is added, for example, to the end of the NAL unit header. The location of the syntax element is merely exemplary; it may also be inserted anywhere in the middle of the other syntax elements of the NAL unit header. The syntax element may be fixed or variable size, and if variable size, its size may be determined by any of the mechanisms described above (e.g., through a parameter set syntax element, through a NAL unit type, etc.) or any other suitable mechanism.
[0072] The syntax element (608) can carry any form of picture segment identification information, for example, a macroblock / CU address or a tile identifier, such as a tile number, or a number indicating a group of tiles. The numbering range of the syntax element can be predetermined. In the case of a macroblock / CU address, the numbering range can be from 0 to the maximum number of macroblocks / CUs in the picture. For a tile ID, the numbering range depends on the maximum number of tiles and can be defined by mechanisms known to those skilled in the art, such as profile, level, tiers, maximum or actual image size coded in the parameter set, etc. If the syntax element is present for non-tile / slice NAL units (such as parameter set NAL units, SEI NAL units, etc.), the value of the syntax element can be limited to a predefined number, for example, 0. Alternatively, the presence of the syntax element can be gated on the NAL unit type, whereby the syntax element may not be present for a given NAL unit type. Alternatively, overriding semantics other than those described above may be assigned to syntax elements for certain non-tile / slice NAL unit types.
[0073] In the same or another embodiment, the tile IDs may be identified, for example, as follows: Figure 7 shows a picture (701) in the spatial domain, subdivided by an example tile layout (702) shown through bold lines. The presented tile layout may be expressible, for example, through the syntax available in H.265, or through a more advanced syntax that would be needed to express the tile layout (702). Each tile in the tile layout may have an assigned tile ID through any suitable numbering mechanism, but preferably through a scan order numbering of the tiles. In Figure 7, the scan order tile numbering is shown through tile IDs 1 through 8, e.g., the second tile in the scan order has an assigned tile ID 2 (703).
[0074] An encoder can write NAL unit headers containing syntax elements covering tile IDs or macroblock / CU addresses located as described above in a similar manner to writing existing NAL unit header syntax known to those skilled in the art.
[0075] A decoder or MANE may parse the NAL unit header - or more precisely, the syntax elements that constitute the NAL unit header - from the coded video bitstream, regardless of the presence or absence of syntax elements carrying macroblock / CU addresses or tile IDs or other forms of tile identification information, in a manner known to those skilled in the art. However, it should be noted that the syntax elements may possibly be coded without requiring state information as described above, and may be in an accessible entropy-coded format, e.g., fixed-length, binary code. Thus far, parsing the NAL unit header according to the disclosed technical subject matter may not involve any additional burden on the decoder or MANE beyond the actual presence of the syntax element tile_id itself.
[0076] According to the disclosed technical matters, however, the decoder or MANE can identify tiles in the encoded image with little effort compared to the operations required in the absence of the disclosed technical matters. As an example, assume that the decoder or MANE is informed by an external, non-video encoding means that a certain tile does not need to be reconstructed for a certain application. For example, consider a scene as shown in FIG. 7, i.e., a village road. Assume that the road is captured by a surveillance camera. Consider a tile with tile ID 2 (703). Assume that the tile covers most of the wall surface and the configurator of the surveillance system considers that area not relevant for surveillance. Thus, the camera can encode all tiles, but the tile with ID 2 may not be needed for the application. Thus, if the bitstream generated by the camera is routed to a final destination through one or more MANEs, and one MANE observes a bandwidth shortage and has to remove something from the bitstream, it can advantageously remove that tile since it is not needed for the application. In the absence of the disclosed technical matter, this would require, at a minimum, that the payload of the NAL unit (slice or tile) be parsed to the extent necessary to extract the macroblock / CU address of the first macroblock in the tile, and then map that macroblock / CU address to the tile layout (if tiles are used). Depending on the video coding technique or standard being used, and as mentioned above, both processing of variable length codewords and keeping of parameter set context in the MANE may be required, but both are undesirable in terms of implementation and computational complexity. Instead, in the same or another embodiment, the MANE may obtain all the information necessary to identify which tile is carried by the NAL unit through NAL unit header processing of binary encoded codewords.
[0077] Referring to FIG. 8, a decoder or MANE can use the disclosed technical subject matter, for example, as follows.
[0078] A decoder may parse a NAL unit header from a video bitstream, including syntax elements covering macroblock / CU addresses or tile IDs (801). Using that information, the decoder or MANE can identify the tile IDs (802). The tile IDs may be directly coded, or a priori information about the tile layout, established, for example, by decoding a parameter set and subsequent activation sequence, may be matched to the coded macroblock / CU addresses in the NAL unit header. The decoder may match the tile IDs against a list of tiles that require reconstruction or forwarding by the decoder or MANE, respectively (803). If there is a match (803), the decoder may reconstruct, or the MANE may forward, the NAL unit carrying the tile. However, if there is no match (804), the decoder or MANE may discard the NAL unit, possibly silently.
[0079] The techniques for image referencing in network abstraction unit headers described above may be implemented as computer software using computer readable instructions and physically stored on one or more computer readable media. For example, FIG. 9 illustrates a computer system 900 suitable for implementing certain embodiments of the disclosed subject matter.
[0080] Computer software may be encoded using any suitable machine code or computer language that may be subject to assembly, compilation, linking, or similar mechanisms to create code containing instructions. The instructions may be executed by a computer central processing unit (CPU), graphics processing unit (GPU), etc. directly, or through interpretation, microcode execution, etc.
[0081] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things, etc.
[0082] 9 for computer system 900 are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing embodiments of the present disclosure, nor should the arrangement of components be interpreted as having any dependency or requirement related to any one or combination of components illustrated in the exemplary embodiment of computer system 900.
[0083] The computer system 900 may include certain human interface input devices that may be responsive to input by one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), and olfactory input (not shown). The human interface devices may also be used to capture certain media that do not necessarily directly involve conscious human input, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, photographic images acquired from a still image camera), and video (e.g., two-dimensional video, three-dimensional video including stereoscopic images).
[0084] The input human interface devices may include one or more of a keyboard 901, a mouse 902, a trackpad 903, a touch screen 910, a data glove 904, a joystick 905, a microphone 906, a scanner 907, and a camera 908 (only one of each is depicted).
[0085] The computer system 900 may also include certain human interface output devices that may stimulate one or more of the human user's senses, for example, through haptic output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen 910, data gloves 904, or joystick 905, although haptic feedback devices that do not function as input devices may also be present), audio output devices (e.g., speakers 909, headphones (not shown)), visual output devices (screens 910 including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capability, each with or without haptic feedback capability - some of which may output two-dimensional visual output or three or more dimensional output through means such as stereoscopic output, such as virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).
[0086] Computer system 900 may also include human accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW 920 using media such as CD / DVD 921, thumb drives 922, removable hard drives or solid state drives 923, legacy magnetic media such as tapes and floppy disks, specialized ROM / ASIC / PLD based devices such as security dongles (not shown), and the like.
[0087] Those skilled in the art should also understand that the term "computer readable media" as used in connection with the subject matter disclosed herein does not encompass transmission media, carrier waves, or other transitory signals.
[0088] The computer system 900 may also include interfaces to one or more communication networks. The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay-tolerant, etc. Examples of networks may include Ethernet, cellular networks including GSM, 3G, 4G, 5G, LTE, etc., wired or wireless wide area digital networks including cable television, satellite television, and terrestrial broadcast television, vehicular and industrial including CANBus, etc. Certain networks generally require an external network interface adapter that is attached to a certain general-purpose data port or peripheral bus (949), such as a USB port on the computer system 900, while others are generally built into the core of the computer system 900 by attaching to a system bus described below (e.g., an Ethernet interface to a PC computer system, or a cellular network interface to a smartphone computer system). Using any of these networks, the computer system 900 may communicate with other entities. Such communications may be uni-directional, receive only (e.g., broadcast television), uni-directional transmit only (e.g., a CAN bus to certain CAN bus devices), or bi-directional, for example, to other computer systems using local or wide area digital networks. Certain protocols and protocol stacks may be used in each of these networks and network interfaces, as described above.
[0089] The human interface devices, human accessible storage devices, and network interfaces described above may be attached to a core 940 of the computer system 900 .
[0090] The core 940 may include one or more central processing units (CPUs) 941, graphics processing units (GPUs) 942, specialized programmable processing units in the form of field programmable gate arrays (FPGAs) 943, hardware accelerators 1044 for certain tasks, etc. These devices may be connected through a system bus 948 along with read only memory (ROM) 945, random access memory 946, internal mass storage devices 947 such as internal non-user accessible hard drives, SSDs, etc. In some computer systems, the system bus 948 may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripheral devices may be attached directly to the core's system bus 948 or through a peripheral bus 949. Peripheral bus architectures include PCI, USB, etc.
[0091] The CPU 941, GPU 942, FPGA 943, and accelerator 944 can execute predetermined instructions that, in combination, may constitute the computer code described above. The computer code may be stored in ROM 945 or RAM 946. Transient data may also be stored in RAM 946, while permanent data may be stored, for example, in an internal mass storage device 947. Rapid storage and retrieval from any of the memory devices may be enabled through the use of cache memory, which may be closely associated with one or more of the CPU 941, GPU 942, mass storage device 947, ROM 945, RAM 946, etc.
[0092] The computer-readable medium can have computer code thereon for performing various computer-implemented operations. The media and computer code can be specially designed and constructed for the purposes of the present disclosure, or they can be of the kind well known and available to those skilled in the computer software arts.
[0093] As an example, and not by way of limitation, a computer system having architecture 900, and specifically core 940, can provide functionality as a result of a processor (including CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be mass storage devices accessible to a user as described above, as well as storage devices associated with core 940 that are non-transitory in nature, such as core internal mass storage device 947 or ROM 945. Software implementing various embodiments of the present disclosure can be stored in such devices and executed by core 940. Computer-readable media can include one or more memory devices or chips, depending on specific needs. The software can cause core 940, and specifically the processor therein (including CPU, GPU, FPGA, etc.) to perform a particular process or a particular portion of a particular process described herein. This includes defining data structures stored in RAM 946 and modifying such data structures according to the software-defined process. Additionally or alternatively, the computer system may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerator 944). Circuitry may operate in place of, or in conjunction with, software to perform particular processes or particular portions of particular processes described herein. References to software include logic, and vice versa, where appropriate. References to computer-readable media may include circuitry (such as an integrated circuit (IC)) that stores software for execution, circuitry that embodies logic for execution, or both, where appropriate. The present disclosure encompasses any appropriate combination of hardware and software.
[0094] While this disclosure has described several exemplary embodiments, there exist modifications, substitutions, and various substitute equivalents, which are within the scope of this disclosure. Thus, it will be appreciated that those skilled in the art will be able to devise many systems and methods that embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure, even if not explicitly shown or described herein. [Explanation of symbols]
[0095] 200 Communication Systems 210 Terminal 1 220 Terminal 2 250 Network 701 Pictures 702 Tile Layout 900 Computer Systems 940 cores
Claims
1. 1. A method for video encoding, comprising: encoding a video sequence; decoding a binary encoded syntax element conveying an identifier of a picture segment in a high level syntax structure including a fixed length codeword; reconstructing the picture segments; Including, the parameter set is active for the picture to which the high level syntax structure belongs; method.
2. the picture segment is one of a tile, a group of tiles, or a subpicture; The method of claim 1.
3. the syntax element being one of a macroblock address, a coding unit address of a first macroblock or coding unit, or a tile address of a first coding unit, respectively, in the picture segment; The method of claim 2.
4. The syntax element is a tile identifier. The method of claim 2.
5. for a given tile layout, each tile in the tile layout has a unique tile identifier, and the unique tile identifiers are assigned according to a scan order of the picture segments in the tile layout. The method according to claim 4.
6. the scan order is associated with the top-left tile of the tile layout and is incremented by one following a top-to-bottom, right-to-left order; The method according to claim 5.
7. the syntax elements have fixed positions in the high-level syntax structure; The method of claim 1.
8. the size of the syntax element is determined via at least one syntax element in the parameter set; The method of claim 1.
9. The method further comprises: determining, based on the decoding of the binary-encoded syntax element, that a tile identifier associated with the binary-encoded syntax element is included in a list of tiles to be decoded; reconstructing the picture segment based on a determination that the tile identifier is included in the list of tiles to be decoded; The method of claim 1 , comprising:
10. An apparatus for encoding a video sequence, comprising: at least one memory configured to store program code; at least one processor configured to read the program code and to operate as directed by the program code; The program code comprises: encoding code configured to cause the at least one processor to encode a video sequence; decoding code configured to cause the at least one processor to decode a binary encoded syntax element conveying an identifier of a picture segment in a high level syntax structure that includes a fixed length codeword; reconstruction code configured to cause the at least one processor to reconstruct the picture segments; Including, the parameter set is active for the picture to which the high level syntax structure belongs; Device.
11. the picture segment is one of a tile, a group of tiles, or a subpicture; 11. The apparatus of claim 10.
12. the syntax element being one of a macroblock address, a coding unit address of a first macroblock or coding unit, or a tile address of a first coding unit, respectively, in the picture segment; 12. The apparatus of claim 11.
13. The syntax element is a tile identifier.
12. The apparatus of claim 11.
14. for a given tile layout, each tile in the tile layout has a unique tile identifier, and the unique tile identifiers are assigned according to a scan order of the picture segments in the tile layout.
14. The apparatus of claim 13.
15. the scan order is associated with the top-left tile of the tile layout and is incremented by one following a top-to-bottom, right-to-left order; 15. The apparatus of claim 14.
16. the syntax elements have fixed positions in the high-level syntax structure; 11. The apparatus of claim 10.
17. the size of the syntax element is determined via at least one syntax element in the parameter set; 11. The apparatus of claim 10.
18. 1. A data structure of video coding data encoded by an apparatus for encoding a video sequence, comprising: The method for encoding a video sequence comprises: encoding a video sequence; decoding a binary encoded syntax element conveying an identifier of a picture segment in a high level syntax structure including a fixed length codeword; reconstructing the picture segments; Including, The video encoding data is received by an apparatus for encoding the video sequence, The parameter set is generated by making the high level syntax structure active for the picture to which it belongs. Data structure.
