Sub-picture signalling in video coding.
By introducing 'mixed_irap_nalu_types_in_pic_flag' in the PPS, the video coding standards address the challenge of efficiently handling subpictures in high-resolution videos, enhancing flexibility and compatibility for real-time applications.
Patent Information
- Application Number
- JP2022535593
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-10
- Filing Date
- 2020-12-09
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2040-12-09
AI Technical Summary
Existing video coding standards struggle to efficiently support the extraction of subpictures within encoded video bitstreams, particularly in high-resolution formats like 4K and 8K videos, limiting flexibility and compatibility with applications such as virtual reality and viewport-dependent streaming.
The introduction of additional syntax elements, such as 'mixed_irap_nalu_types_in_pic_flag', within the Picture Parameter Set (PPS) to indicate mixed intra-random access point (IRAP) NAL unit types in video pictures, allowing for flexible random access and independent coding of subpictures.
Enhances the ability to selectively encode and decode video frames based on user perspective, improving performance in real-time applications by enabling efficient extraction and decoding of sub-bitstreams, supporting various random access operations and enhancing compatibility with diverse video standards.
Smart Images

Figure 0007553566000017 
Figure 0007553566000012 
Figure 0007553566000015
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This patent document claims the benefit of priority to U.S. Patent Application No. 16 / 709,907, filed December 10, 2019. The entire contents of the aforementioned patent application are incorporated by reference as part of the disclosure of this application. (Technical field)
[0002] This patent document is generally directed to video and image encoding and decoding. [Background technology]
[0003] In the past three decades, several different video coding standards have been published to represent digital video in a compressed format by removing certain visual redundancies and information in the digital video. During this period, the pixel resolution of the encoded video content has been continuously increasing from the early Source Input Format (SIF) resolution in the MPEG-1 video standard to the currently considered 4K or 8K video. Thus, newer video coding standards adopt more efficient and flexible coding techniques to accommodate the increased resolution of the video. Summary of the Invention [Problem to be solved by the invention]
[0004] This patent document describes techniques for encoding and decoding digital video, using, among other things, techniques that can be used for signaling sub-pictures within an encoded video bitstream, and correspondingly, for decoding the encoded video bitstream into unencoded video. [Means for solving the problem]
[0005] In one example aspect, a method of bitstream processing is disclosed, which includes parsing a header at a video unit level in a video bitstream for a first field to indicate whether the video unit includes a plurality of network abstraction layer bit units having a plurality of types, parsing a second field in the header due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types to indicate whether the video unit includes an intra-random access point, and decoding the video bitstream based on the first field and the second field to generate a video.
[0006] In another example aspect, a method of parsing a video bitstream is disclosed, the method including parsing a syntax structure to decode a video picture comprising one or more sub-pictures, obtaining type information for one or more Network Abstraction Layer (NAL) units constituting the video picture and whether the video picture is an intra random access picture, and reconstructing the one or more sub-pictures based on the parsing.
[0007] In another example aspect, a method of encoding video is disclosed, the method including including in a header at a video unit level in a video bitstream a first field indicating whether the video unit includes a plurality of network abstraction layer bit units having a plurality of types, and further including in the header a second field indicating whether the video unit includes an intra-random access point due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types, and encoding the video to generate a video bitstream.
[0008] In yet another exemplary aspect, a video processing apparatus is disclosed that includes a processor configured to implement the encoding or decoding methods described herein.
[0009] In yet another exemplary aspect, a computer program storage medium is disclosed. The computer program storage medium includes code stored thereon that, when executed by a processor, causes the processor to implement the methods described.
[0010] These and other aspects are described herein. The present invention further provides, for example, the following: (Item 1) 1. A method for video bitstream processing, the method comprising: parsing a header at a video unit level within a video bitstream for a first field, the first field indicating whether the video unit includes multiple network abstraction layer bit units having multiple types; parsing a second field in the header due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types, the second field indicating whether the video unit comprises an intra-random access point; decoding the video bitstream based on the first field and the second field to generate a video; A method comprising: (Item 2) 2. The method of claim 1, wherein the video unit is a video picture. (Item 3) 3. The method of claim 1, wherein the first field and the second field are 1-bit fields. (Item 4) 4. The method of any one of items 1-3, wherein the second field is positioned immediately after the first field in the video bitstream. (Item 5) 5. The method of any one of items 1-4, wherein decoding the video bitstream includes decoding a plurality of sub-pictures contained within the video unit, each sub-picture having an independent network abstraction layer unit type. (Item 6) 1. A method of encoding video, the method comprising: including a first field in a header at a video unit level in a video bitstream, the first field indicating whether the video unit includes multiple network abstraction layer bit units having multiple types; and further including a second field in the header due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types, the second field indicating whether the video unit includes an intra-random access point; and encoding the video to generate the video bitstream; A method comprising: (Item 7) 7. The method according to claim 6, wherein the video unit is a video picture. (Item 8) 8. The method of claim 6, wherein the first field and the second field are 1-bit fields. (Item 9) 9. The method according to any one of items 6-8, wherein the second field is positioned immediately after the first field in the video bitstream. (Item 10) 10. The method of any one of items 6-9, wherein the encoding includes encoding a plurality of sub-pictures into the video unit, each sub-picture having an independent network abstraction layer unit type. (Item 11) 1. A video decoding device comprising a processor, the processor being configured to perform a method for processing a video bitstream, the method comprising the steps of: To decode a video picture having one or more sub-pictures, parse a syntax structure to obtain type information about one or more network abstraction layer (NAL) units constituting the video picture and whether the video picture is an intra random access picture; reconstructing the one or more sub-pictures based on the analysis; and 13. An apparatus comprising: (Item 12) 12. The apparatus of claim 11, wherein the syntax structure comprises a first field indicating whether the one or more NAL units comprise multiple NAL units. (Item 13) 13. The apparatus of claim 11 or 12, wherein the syntax structure includes a first field and an optional second field, the presence of which depends on the value of the first field, the first field indicating whether mixed types of NAL units are present in the one or more NAL units. (Item 14) Item 14. The apparatus of item 13, wherein the first field and the second field are single-bit flags positioned adjacent to each other in the video bitstream. (Item 15) 1. A computer program product comprising a computer readable medium having code stored thereon, the code, when executed by a processor, causing the processor to implement a method of video analysis, the method comprising: parsing a header at a video unit level within a video bitstream for a first field, the first field indicating whether the video unit includes multiple network abstraction layer bit units having multiple types; parsing a second field in the header due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types, the second field indicating whether the video unit comprises an intra-random access point; decoding the video bitstream based on the first field and the second field to generate a video; 2. A computer program product comprising: (Item 16) Item 16. The computer program product of item 15, wherein the video unit is a video picture. (Item 17) 17. The computer program product of claim 15, wherein the first field and the second field are 1-bit fields. (Item 18) 18. The computer program product of claim 15, wherein the second field is positioned immediately after the first field in the video bitstream. (Item 19) 19. The computer program product of any one of items 15-18, wherein decoding the video bitstream includes decoding a plurality of sub-pictures contained within the video unit, each sub-picture having an independent network abstraction layer unit type. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 shows an example of a video picture partitioned into multiple sub-pictures.
[0012] [Figure 2A] 2A-2B show an example processing order when encoding or decoding a video picture comprising multiple sub-pictures. [Figure 2B]2A-2B show an example processing order when encoding or decoding a video picture comprising multiple sub-pictures.
[0013] [Figure 3A] FIG. 3A shows an example of a video picture partitioned into coding tree units (CTUs), tiles, slices, and sub-pictures.
[0014] [Figure 3B] FIG. 3B shows a video picture having 24 sub-pictures and 24 slices.
[0015] [Figure 4] FIG. 4 shows a block diagram of an exemplary video encoder.
[0016] [Diagram 5] FIG. 5 shows a block diagram of an exemplary video decoder.
[0017] [Figure 6] FIG. 6 shows an example of a video system.
[0018] [Figure 7] FIG. 7 shows an example of a video processing hardware platform.
[0019] [Figure 8] FIG. 8 is a flow chart for an exemplary method of video processing.
[0020] [Figure 9] FIG. 9 is a flow chart for an exemplary method of video processing.
[0021] [Figure 10] FIG. 10 is a flow chart for an exemplary method of parsing a bitstream.
[0022] [Figure 11] FIG. 11 is a flow chart for an exemplary method of video encoding. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] Section headings are used herein for ease of reading only and do not limit the scope of the disclosed embodiments and techniques within each section to that section only. Certain features are described using examples of H.264 / AVC (Advanced Video Coding), H.265 / HEVC (High Efficiency Video Coding) and H.266 Versatile Video Coding (VVC) standards. However, the applicability of the disclosed techniques is not limited to only H.264 / AVC or H.265 / HEVC or H.266 / VVC systems.
[0024] The present disclosure relates to video processing and communication, and in particular to methods and apparatus for encoding digital videos or pictures and generating bitstreams, methods and apparatus for decoding bitstreams and reconstructing digital videos or pictures, and methods and apparatus for extracting bitstreams and forming sub-bitstreams.
[0025] (Brief discussion)
[0026] Techniques for compressing digital videos and pictures exploit correlation properties between pixel samples to remove redundancy in videos and pictures. An encoder may partition a picture into one or more regions containing several units. Such regions break prediction dependencies within a picture, and a region can be decoded, or at least syntax elements corresponding to this region can be correctly parsed, without referring to data of another region in the same picture. Such regions introduced in video coding standards facilitate resynchronization after data loss, parallel processing, regions of attention coding and streaming, packetized transmission, viewport-dependent streaming, etc. For example, in the H.264 / AVC standard, examples of such regions may be slices and slice groups. In the H.265 / HEVC standard, examples of such regions may be slices and tiles.
[0027] In the development of next-generation video coding standards, MPEG (Moving Picture Experts Group) has mandated that next-generation video codecs should enable efficient extraction of a desired viewport from a compressed bitstream. In addition, in applications involving 4K, 8K, and even higher resolution video, a viewer may be allowed to select a viewport for rendering on a terminal device, and therefore it is useful to enable efficient extraction of a sub-bitstream from a bitstream corresponding to the original resolution.
[0028] Since the H.265 / HEVC standard offers the highest coding efficiency among currently published video coding standards, H.265 / HEVC is currently selected as the codec in deploying the video services described above. The H.265 / HEVC standard defines slices and tiles. A picture can be partitioned into one or more tiles and slices. According to the H.265 standard, the compliance requirement is that one or both of the following conditions are met for each slice and tile:
[0029] -All CTUs in a slice belong to the same tile.
[0030] -All CTUs in a tile belong to the same slice.
[0031] By restricting loop filtering operations at tile boundaries (e.g., loop_filter_across_tiles_enabled_flag set to 0 in the PPS), tiles in a picture can be decoded independently without referencing other regions of the picture outside the tiles. Assume that the same tile partitioning is applied to all pictures in the CVS (coded video sequence). Furthermore, if the encoder restricts the search range of a region consisting of one or more tiles as a collocated region of tiles in one or more reference pictures for inter-predictive coding, the decoder will decode the region without referencing any other parts outside the region, spatially in the current decoding picture containing the region and temporally in the reference pictures. Such a region may be referred to as a motion constrained tile set (MCTS).
[0032] In the HEVC standard and the Versatile Video Coding (VVC) standard (note that the VVC version 1 standardization process will be completed in July 2020), in addition to the concept of tiles and slices, another picture partition called a sub-picture is also included. In general, sub-pictures, tiles, and slices form video picture partitions in non-overlapping regions, which will cover a complete picture. Since sub-pictures, tiles, and slices are rather independent concepts, overlaps between the three may occur. For example, a sub-picture may be formed by multiple rectangular slices, a tile may also include multiple rectangular slices, and a slice may include multiple tiles, etc.
[0033] Since the VVC standard is required to support virtual reality (VR) applications, some large size 360-degree videos may therefore need to be supported and coded. For such large size videos, the use of partitions within the 360 video picture is expected in video coding. One potential technique to use is "sub-picture" partitions. Different sub-pictures that all belong to a single picture can be coded into different NAL unit types. Furthermore, sub-pictures can be grouped together to support different random access operations.
[0034] 1. AN EXEMPLARY EMBODIMENT
[0035] The current Versatile Video Coding (VVC) specification (spec), JVET-P2001vD (November 14, 2019), supports the concepts of subpictures, slices, and tiles in regular video picture partitions. Section 6.3.1, "Partitioning of a Picture into Subpictures, Slices, and Tiles", states that "A subpicture contains one or more slices that collectively encompass a rectangular region of the picture."
[0036] In the current VVC specification, the structure of a sub-picture is described in a sequence parameter set (SPS) as follows: [Table 1-1] [Table 1-2]
[0037] The italicized text in the SPS above marks how subpictures are defined; in general, all partitions are CTU (Basic Unit) based, and by specifying the top left X,Y location + subpicture width and height information, subpictures can be defined efficiently.
[0038] In the current sub-picture design, the sub-picture partitions in Figure 1 (each colored block is associated with a sub-picture) can be supported. The processing order of all the sub-pictures in Figure 1 can be several ways, but the important point is that when a sub-picture is encoded, the entire left and top boundaries of this sub-picture should be available (e.g., or its boundary pixels belong to other sub-pictures that have already been processed (decoded), or its boundary is a picture boundary).
[0039] Two possible processing orders for these 10 sub-pictures are given in Figures 2A and 2B.
[0040] 2. AN EXEMPLARY EMBODIMENT
[0041] In the current VVC specification, the subpicture structure can be defined in the sequence parameter set (SPS). The normative text VVC draft 7 (November 2019) also clearly states that one or more slices can be placed inside each subpicture. For each slice, the bitstream will form a NAL unit and carry a NAL unit type (name and value). To better support the random access feature with the VVC standard, a new syntax element called "mixed_irap_nalu_types_in_pic_flag" can be added in the picture parameter set (PPS) as follows (in Table 2, italics for emphasis): [Table 2]
[0042] And the semantics would be:
[0043] mixed_nalu_types_in_pic_flag equal to 1 specifies that each picture that references the PPS has two or more VCL NAL units, the VCL NAL units do not have the same nal_unit_type value, and the picture is not an IRAP (intra random access picture). mixed_nalu_types_in_pic_flag equal to 0 specifies that each picture that references the PPS has one or more VCL NAL units, and the VCL NAL units of each picture that references the PPS have the same nal_unit_type value.
[0044] The above text (VVC draft 7JVET-P2001) remains unchanged, but with the addition of the following:
[0045] mixed_irap_nalu_types_in_pic_flag equal to 1 specifies that each picture that references the PPS has two or more VCL NAL units, no VCL NAL units have the same nal_unit_type value, and the picture is with mixed nal_unit_type in the range of IDR_W_RADL to CRA_NUT (inclusive). mixed_irap_nalu_types_in_pic_flag equal to 0 specifies that each picture that references the PPS has one or more VCL NAL units, no VCL NAL units have the same nal_unit_type value, and the picture is not an IRAP picture.
[0046] The significance of adding this flag in the PPS is to support a way to allow mixed Irap nalu_types in a picture in some applications. It should be understood that a similar goal of supporting mixed Irap nalu_types in a picture can also be achieved by adding further standard text as a bitstream constraint in the VVC specification.
[0047] It should be appreciated that the techniques described herein may be incorporated into a video encoder or video decoder device to significantly improve the performance of video encoding or decoding operations. For example, some video applications, such as virtual reality experiences or games, require real-time (or faster than real-time) encoding or decoding of video to provide a satisfying user experience. The disclosed techniques improve the performance of such applications by using picture region-based coding or decoding techniques as described herein. For example, coding or decoding a smaller portion of a video frame than the entire one based on a user's viewpoint allows for selective coding of only the video that will be viewed by the user. Furthermore, reorganization of picture blocks to create picture regions within a rectangular video frame allows for the use of standard rectangular frame-based video coding tools such as motion search, transformation, and quantization.
[0048] 3A shows an example of a video picture with CTUs, tiles, and sub-pictures or slices. In the depicted picture, there are 18 tiles, 24 sub-pictures, and 24 slices (20×12=240 CTUs).
[0049] 3. Additional Information to Illustrate an Implementation Using Current VVC Technology
[0050] In addition to the above syntax examples in Tables 1 and 2, the following text may be added to the current version of the VVC codec to implement some embodiments.
[0051] In JVET-P2001 (VVC draft 7), there exists a design to indicate mixed NAL unit types for a video picture, which relies on a syntax element named "mixed_nalu_types_in_pic_flag" in the picture parameter set (PPS). In this contribution, it is proposed to add another syntax element as "mixed_irap_nalu_types_in_pic_flag" to indicate mixed irap nalu types and irap nalu only types in a video picture. The added indication would support a wider range of applications, especially with sub-picture partition applications. The added syntax element would serve the purpose for flexible random access point indication for rather independently coded sub-pictures in a video picture.
[0052] (4. Introduction and Problem Statement)
[0053] (4.1 Related Existing Designs for NAL Unit Types in the VVC Specification JVET-P2001)
[0054] The information below is extracted from JVET-P2001,[1], with important information highlighted in underline. [Table 3-1] [Table 3-2]
[0055] Several important terms related to random access conditions are defined in the VVC specification. In the JVET-P2001 spec, under section 3 "Definitions", we find the following:
[0056] Clean Random Access (CRA) picture: An IRAP picture for which each VCL NAL unit has nal_unit_type equal to CRA_NUT.
[0057] NOTE - A CRA picture does not reference any picture other than itself for inter prediction in its decoding process and may be the first picture in the bitstream in decoding order or may appear later in the bitstream. A CRA picture may have associated RADL or RASL pictures. When a CRA picture has NoIncorrectPicOutputFlag equal to 1, the associated RASL pictures are not output by the decoder because they may not be decodable since they may contain references to pictures that do not exist in the bitstream.
[0058] 3.54 Gradual Decoding Refresh (GDR) picture: A picture in which each VCL NAL unit has nal_unit_type equal to GDR_NUT.
[0059] Instantaneous Decoding Refresh (IDR) picture: An IRAP picture in which each VCL NAL unit has nal_unit_type equal to IDR_W_RADL or IDR_N_LP.
[0060] NOTE - An IDR picture does not reference any picture other than itself for inter prediction in its decoding process and may be the first picture in the bitstream in decoding order or may appear later in the bitstream. Each IDR picture is the first picture of a CVS in decoding order. An IDR picture may have an associated RADL picture when each VCL NAL unit for it has a nal_unit_type equal to IDR_W_RADL. An IDR picture does not have any associated preceding pictures when each VCL NAL unit for it has a nal_unit_type equal to IDR_N_LP. An IDR picture does not have an associated RASL picture.
[0061] Intra Random Access Point (IRAP) pictures: A coded picture in which all VCL NAL units have the same nal_unit_type value in the range from IDR_W_RADL to CRA_NUT, inclusive.
[0062] NOTE 1 - An IRAP picture does not reference any picture other than itself for inter prediction in its decoding process and can be a CRA picture or an IDR picture. The first picture in the bitstream in the decoding order must be an IRAP or GDR picture. The necessary parameter sets provided are available when they need to be referenced, and the IRAP picture and all subsequent non-RASL pictures in the CVS in the decoding order can be correctly decoded without performing the decoding process of any picture preceding the IRAP picture in the decoding order.
[0063] NOTE 2 - The value of mixed_nalu_types_in_pic_flag for an IRAP picture is equal to 0. When mixed_nalu_types_in_pic_flag is equal to 0 for a picture and any slice of the picture has a nal_unit_type in the range of IDR_W_RADL to CRA_NUT (inclusive), all other slices of the picture have the same nal_unit_type value and the picture is known to be an IRAP picture.
[0064] For indicating the mixed types of NAL units for a picture, a flag (syntax element) "mixed_nalu_types_in_pic_flag" is located in the PPS (Picture Parameter Set) as shown in Table 4. [Table 4]
[0065] In the VVC spec, under 7.4.3.4 Semantics, we have:
[0066] Equal to 1 mixed_nalu_types_in_pic_flagspecifies that each picture that references the PPS has two or more VCL NAL units, the VCL NAL units do not have the same nal_unit_type value, and the picture is not an IRAP picture. mixed_nalu_types_in_pic_flag equal to 0 specifies that each picture that references the PPS has one or more VCL NAL units, and the VCL NAL units of each picture that references the PPS have the same nal_unit_type value.
[0067] When no_mixed_nalu_types_in_pic_constraint_flag is equal to 1, the value of mixed_nalu_types_in_pic_flag shall be equal to 0.
[0068] For a slice with nal_unit_type value nalUnitTypeA in the range IDR_W_RADL to CRA_NUT (inclusive) in a picture picA that also contains one or more slices with another value of nal_unit_type (i.e., the value of mixed_nalu_types_in_pic_flag for picture picA is equal to 1), the following applies:
[0069] The slice shall belong to subpicA for which the corresponding subpic_treated_as_pic_flag[i] value is equal to 1.
[0070] - The slice shall not belong to a subpicture of picA that contains a VCL NAL unit with nal_unit_type not equal to nalUnitTypeA.
[0071] - For all following PUs in the CLVS in decoding order, neither RefPicList[0] nor RefPicList[1] of any slice in subpicA shall contain any picture preceding picA in decoding order in the active entries.
[0072] Flag " no_mixed_nalu_types_in_pic_constraint_flag " is located inside general_constraint_info() as follows: [Table 5]
[0073] The relevant semantics are:
[0074] Equal to 1 no_mixed_nalu_types_in_pic_constraint_flag specifies that it is a bitstream compliance requirement that mixed_nalu_types_in_pic_flag be equal to 0. no_mixed_nalu_types_in_pic_constraint_flag equal to 0 imposes no such constraint.
[0075] The VVC specification states the following under 7.4.2.2 "NAL unit header semantics":
[0076] With respect to the VCL NAL units of any particular picture, the following applies:
[0077] - If mixed_nalu_types_in_pic_flag is equal to 0, the value of nal_unit_type shall be the same for all coded slice NAL units of a picture. A picture or PU is said to have the same NAL unit type as the coded slice NAL units of the picture or PU.
[0078] - Otherwise (mixed_nalu_types_in_pic_flag equal to 1), all of one or more of the VCL NAL units shall have a specific value of nal_unit_type in the range from IDR_W_RADL to CRA_NUT (inclusive) and all of the other VCL NAL units shall have a specific value of nal_unit_type in the range from TRAIL_NUT to RSV_VCL_6 (inclusive) or equal to GRA_NUT.
[0079] Please note that there are typos in the above paragraph. For example, the word "GRA_NUT" is incorrect. In Table 5 above, there is no entry for "GRA_NUT". A correction has been provided in JVET-Q004 for the current VVC specification, replacing GRA_NUT with GDR_NUT. The typos are highlighted in bold and underlined.
[0080] (4.2 Sub-picture handling using VVC specification JVET-P2001)
[0081] In the example video picture shown in FIG. 3B, there are 18 tiles, 24 sub-pictures, and 24 slices (20×12=240 CTUs).
[0082] In one potential use case, coded per picture using the partitions in "Figure 7" above, initially we choose to display only sub-pictures 5, 6, 9, 10 (rectangular regions). At one random access point along the timeline, we want to make a scene change (cut) and display sub-pictures 6, 7, 10, 11 instead of the original 5, 6, 9, 10. If we follow the exact constraints in the current VVC specification (JVET-P2001), then at that random access point, all sub-pictures will be marked 1-24 in the figure above and will have the exact same IRAP NAL unit type (e.g., IDR_N_LP for all 24 sub-pictures or CRA_NUT for all 24 sub-pictures). If we want to have mixed NAL unit type cases, we cannot be guaranteed to have only IRAP sub-pictures / pictures.
[0083] (5. Proposed Solution)
[0084] It is proposed to add one more flag "mixed_irap_nalu_types_in_pic_flag" in the PPS as shown in Table 2.
[0085] The semantics of immutability are as follows:
[0086] mixed_nalu_types_in_pic_flag equal to 1 specifies that each picture that references a PPS has two or more VCL NAL units, the VCL NAL units do not have the same nal_unit_type value, and the picture is not an IRAP picture. mixed_nalu_types_in_pic_flag equal to 0 specifies that each picture that references a PPS has one or more VCL NAL units, and the VCL NAL units of each picture that references a PPS have the same nal_unit_type value.
[0087] New semantics are added as follows:
[0088] mixed_irap_nalu_types_in_pic_flag equal to 1 specifies that each picture that references a PPS has two or more VCL NAL units, no VCL NAL units have the same nal_unit_type value, and the picture is with mixed nal_unit_type in the range of IDR_W_RADL to CRA_NUT (inclusive). mixed_irap_nalu_types_in_pic_flag equal to 0 specifies that each picture that references a PPS has one or more VCL NAL units, no VCL NAL units have the same nal_unit_type value, and the picture is not an IRAP picture.
[0089] With the addition of "mixed_irap_nalu_types_in_pic_flag", the VVC specification can provide improved support for mixed random access NAL unit type indication.
[0090] For applicable standards such as the DVB standard, the added flag will provide a more flexible indication mechanism for random access indication support.
[0091] FIG. 4 is a diagram illustrating a first example device including at least an example video or picture encoder.
[0092] The acquisition unit 1001 captures videos and pictures. The acquisition unit 1001 may be equipped with one or more cameras to take videos or pictures of natural scenes. Optionally, the acquisition unit 1001 may be implemented with a camera to obtain depth videos or depth pictures. Optionally, the acquisition unit 1001 may include an infrared camera component. Optionally, the acquisition unit 1001 may be composed of a remote sensing camera. The acquisition unit 1001 may also be an apparatus or device that generates videos or pictures by scanning objects using radiation.
[0093] Optionally, the acquisition unit 1001 may perform pre-processing (e.g., auto white balance, auto focus, auto exposure, backlight compensation, sharpening, noise removal, stitching, upsampling / downsampling, frame rate conversion, virtual view synthesis, etc.) on the video or picture.
[0094] The acquisition unit 1001 may also receive video or pictures from another device or processing unit. For example, the acquisition unit 1001 can be a component unit in a transcoder. The transcoder feeds one or more decoded (or partially decoded) pictures to the acquisition unit 1001. Another example is that the acquisition unit 1001 obtains the video or pictures from another device via a data link to that device.
[0095] It should be noted that the acquisition unit 1001 can be used to capture other media information, such as audio signals, in addition to videos and pictures. The acquisition unit 1001 can also receive artificial information, such as characters, text, computer-generated videos or pictures, etc.
[0096] The encoder 1002 is an implementation of an exemplary encoder. The input of the encoder 1002 is the video or picture output by the acquisition unit 1001. The encoder 1002 encodes the video or picture and outputs the generated video or picture bitstream.
[0097] The storage / transmission unit 1003 receives the video or picture bitstream from the encoder 1002 and performs system layer processing on the bitstream. For example, the storage / transmission unit 1003 encapsulates the bitstream according to a transport standard and media file format, such as, for example, MPEG-2 TS, ISOBMFF, DASH, MMT, etc. The storage / transmission unit 1003 stores the transport stream or media file obtained after encapsulation in a memory or disk of the first exemplary device, or transmits the transport stream or media file via a wired or wireless network.
[0098] It should also be noted that in addition to the video or picture bitstream from the encoder 1002, the input of the storage / transmission unit 1003 may include audio, text, images, graphics, etc. The storage / transmission unit 1003 generates a transport or media file by encapsulating such different types of media bitstreams.
[0099] The first exemplary device described in this embodiment may be a device capable of generating or processing video (or picture) bitstreams within video communication applications, such as a mobile phone, a computer, a media server, a portable mobile terminal, a digital camera, a broadcast device, a CDN (Content Delivery Network) device, a surveillance camera, a video conferencing device, etc.
[0100] FIG. 5 is a diagram illustrating a second exemplary device including at least an exemplary video or picture decoder.
[0101] The receiving unit 1101 receives a video or picture bitstream by obtaining the bitstream from a wired or wireless network, by reading a memory or disk in the electronic device, or by fetching data from another device via a data link.
[0102] The input of the receiving unit 1101 may also include a transport stream or a media file containing a video or picture bitstream. The receiving unit 1101 extracts the video or picture bitstream from the transport stream or the media file according to the specification of the transport or media file format.
[0103] The receiving unit 1101 outputs a video or picture bitstream and passes it to the decoder 1102. It should also be noted that in addition to the video or picture bitstream, the output of the receiving unit 1101 may include audio bitstreams, characters, text, images, graphics, etc. The receiving unit 1101 passes the output to a corresponding processing unit in the second exemplary device. For example, the receiving unit 1101 passes the output audio bitstream to an audio decoder in the device.
[0104] The decoder 1102 is an implementation of an exemplary decoder. The input of the encoder 1102 is the video or picture bitstream output by the receiving unit 1101. The decoder 1102 decodes the video or picture bitstream and outputs the decoded video or picture.
[0105] The rendering unit 1103 receives the decoded video or picture from the decoder 1102. The rendering unit 1103 presents the decoded video or picture to a viewer. The rendering unit 1103 may be a component of the second exemplary device, e.g., a screen. The rendering unit 1103 may also be a separate device from the second exemplary device with a data link to the second exemplary device, e.g., a projector, a monitor, a TV set, etc. Optionally, the rendering unit 1103 performs post-processing (e.g., auto-white balance, auto-focus, auto-exposure, backlight compensation, sharpening, noise removal, stitching, upsampling / downsampling, frame rate conversion, virtual view synthesis, etc.) on the decoded video or picture before presenting it to a viewer.
[0106] It should be noted that in addition to decoded video or pictures, the input of the rendering unit 1103 can be other media data, such as audio, characters, text, images, graphics, etc., from one or more units of the second exemplary device. The input of the rendering unit 1103 may also include artificial data, such as lines and marks drawn by a local teacher on a slide to draw attention in a distance education application. The rendering unit 1103 composes the different types of media together and then presents the composition to a viewer.
[0107] A second exemplary device described in this embodiment may be a device capable of decoding or processing video (or picture) bitstreams in video communication applications, such as a mobile phone, a computer, a set-top box, a TV set, an HMD, a monitor, a media server, a portable mobile terminal, a digital camera, a broadcast device, a CDN (Content Delivery Network) device, a surveillance video conferencing device, etc.
[0108] FIG. 6 is a diagram illustrating an electronic system including the first exemplary device in FIG. 5 and the second exemplary device in FIG.
[0109] Service device 1201 is the first example device in FIG.
[0110] The storage medium / transport network 1202 may include internal memory resources of the device or electronic system, external memory resources accessible via a data link, and data transmission networks consisting of wired and / or wireless networks. The storage medium / transport network 1202 provides storage resources or a data transmission network for the storage / transmission unit 1203 in the service device 1201.
[0111] The destination device 1203 is the second exemplary device in Figure 5. A receiving unit 1201 in the destination device 1203 receives a video or picture bitstream, a transport stream including a video or picture bitstream, or a media file including a video or picture bitstream from a storage medium / transport network 1202.
[0112] The electronic system described in this embodiment may be a device or system capable of generating, storing or transporting, and decoding video (or picture) bitstreams in video communication applications, such as mobile phones, computers, IPTV systems, OTT systems, multimedia systems over the Internet, digital TV broadcast systems, video surveillance systems, portable mobile terminals, digital cameras, video conferencing systems, etc.
[0113] FIG. 7 illustrates an example device 1400 that may be used to implement the encoder-side or decoder-side techniques described herein. The device 1400 includes a processor 1402 that may be configured to perform the encoder-side or decoder-side techniques or both. The device 1400 may also include a memory (not shown) that stores processor-executable instructions and stores video bitstreams and / or display data. The device 1400 may include video processing circuitry (not shown), such as conversion circuitry, arithmetic coding / decoding circuitry, look-up table-based data coding techniques, and the like. The video processing circuitry may be included in part within the processor and / or in part within other dedicated circuitry, such as a graphics processor, a field programmable gate array (FPGA), and the like.
[0114] 8 is a flow chart for an example method 800 for video bitstream processing. Method 800 may be implemented by a video decoder described herein. Method 800 (and 900 described next) may be implemented using a hardware platform such as that described with reference to FIG.
[0115] The method 800 includes parsing (802) a header at a video unit level in a video bitstream for a first field indicating whether the video unit includes multiple network abstraction layer bit units having multiple types. In some embodiments, the video unit may be a video picture (e.g., as shown in FIG. 3).
[0116] The method 800 includes, due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types, further parsing (804) a second field in the header, the second field indicating whether the video unit has an intra-random access point.
[0117] The method 800 includes decoding the video bitstream based on the first field and the second field to generate video (806).
[0118] In some embodiments, both the first and second fields may be single-bit fields. One advantage of such an embodiment is that it maintains backward compatibility with older standards while introducing a minimal amount of overhead (a single bit) in introducing the additional information communicated by the second bit.
[0119] In some embodiments, the first bit and the second bit may be included in different positions in the header. Alternatively, in some embodiments, the two bits may be contiguous to one another. In some cases, whether the second field is included in the header may depend on the value of the first field. For example, a zero value in the first field may indicate that the second field is not included.
[0120] FIG. 9 shows a flow chart for another exemplary method 900 of video bitstream parsing.
[0121] The method 900 includes, at 902, parsing a syntax structure to decode a video picture having one or more sub-pictures and obtaining type information for one or more network abstraction layer (NAL) units that constitute the video picture and whether the video picture is an intra random access picture.
[0122] The method 900 includes, at 904, reconstructing one or more sub-pictures based on the analysis.
[0123] In some embodiments, the syntax structure includes a first field that indicates whether the one or more NAL units comprise multiple NAL units.
[0124] In some embodiments, the syntax structure may include a first field and an optional second field, the presence of which depends on the value of the first field, where the first field indicates whether mixed types of NAL units are present in one or more NAL units. For example, as described above, the first and second fields may be single-bit fields positioned consecutively in the bitstream.
[0125] 10 shows an example flowchart 1000 that may be used to signal or infer the presence of a sub-picture in a video picture. Such a sub-picture may be used, for example, to convey 3D picture information.
[0126] At 1002, a check is made on the value of a first flag. This value may be set to a particular value, e.g., 0, to indicate that the picture contains all NAL slices with the same slice type (1004). For example, this flag may be used to indicate that the current picture is a "traditional" picture that does not contain independently decodable sub-pictures. Upon determining that all NAL slices have the same type (1004), the header may be further parsed for additional information (1006).
[0127] If the check at 1002 reveals that the first flag has a second value (e.g., 1), it is inferred that multiple NAL units are present and that these NAL units may possibly have different values. A check may be performed at 1010 on the value of the second flag. If the value is a particular value (e.g., 0), it is determined (1012) that all NAL units have the same value. After the determination, the header may be parsed (1006) for further information. If the check at 1010 reveals that the second flag has another particular value, it is inferred (1014) that the NAL units have different types but that the picture is not an intra random access picture.
[0128] From the logic flow depicted in Figure 10, it should be understood that introducing a single bit into the existing syntax structure of the picture header enables signaling of the presence of sub-pictures within a video picture. The signaling is compatible with the currently existing signaling of slices and / or tiles and / or CTUs.
[0129] In some embodiments, a method of encoding video (e.g., method 1100 depicted in FIG. 11) includes including in a header at a video unit level in a video bitstream a first field indicating whether the video unit includes a plurality of network abstraction layer bit units having a plurality of types (1102), and selectively further including in the header a second field indicating whether the video unit includes an intra random access point due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types (1104), and encoding the video to generate a video bitstream (1106). The encoding may, for example, use various intra, inter, and other techniques to represent the video data in the bitstream.
[0130] In some embodiments, the video unit is a video picture.
[0131] As previously described, in some embodiments, the first field and the second field are 1-bit fields, however, other lengths of these fields are possible throughout this document.
[0132] The second field may be positioned immediately after the first field in the video bitstream.
[0133] In some embodiments, encoding 1106 includes encoding a plurality of sub-pictures into a video unit, each sub-picture having an independent network abstraction layer unit type.
[0134] In some embodiments, a video encoding method may include generating a syntax structure for encoding a video picture comprising one or more sub-pictures, the syntax structure including type information for one or more network abstraction layer (NAL) units that constitute the video picture and whether the video picture is an intra random access picture, and encoding the one or more sub-pictures based on the syntax structure.
[0135] In the encoding methods disclosed above, in some embodiments, the syntax structure may include a first field that indicates whether one or more NAL units may contain multiple NAL units.
[0136] In some embodiments, the syntax structure includes a first field and an optional second field whose presence depends on the value of the first field, where the first field indicates whether mixed types of NAL units are present in one or more NAL units.
[0137] In some embodiments, the first field and the second field are single-bit flags located adjacent to each other in the video bitstream.
[0138] In some embodiments, a video encoder, such as that depicted in Figure 7, may implement the encoding methods described above. In some embodiments, a video decoder, such as that depicted in Figure 7, may implement the video bitstream parsing methods described herein. A video decoder may be, for example, a transcoder that changes video from one bitstream representation to another.
[0139] In some embodiments, a computer program product may include a computer readable medium containing processor executable code for implementing the methods described herein and in the claims.
[0140] (6. Industrial Applicability)
[0141] From the above description, it can be seen that techniques are disclosed that enable signaling of sub-pictures that are not necessarily intra-random access points, such as sub-pictures that contain different view data for 3D pictures. Using the disclosed techniques, some embodiments of a video encoder or video decoder can use a picture header in which at least a few bits are added to the syntax structure to support the carrying of sub-pictures, while at the same time remaining backward compatible with the signaling of slices, CTUs, etc.
[0142] The disclosed and other embodiments, modules, and functional operations described herein can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in a combination of one or more of them. The disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer-readable medium for execution by or to control the operation of a data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition that produces a machine-readable propagated signal, or one or more combinations thereof. The term "data processing apparatus" encompasses all apparatus, devices, and machines for processing data, including, by way of example, a programmable processor, a computer, or multiple processors or computers. An apparatus can include, in addition to hardware, code that creates an execution environment for the computer program, such as code that constitutes a processor firmware, a protocol stack, a database management system, an operating system, or one or more combinations thereof. A propagated signal is an artificially generated signal, for example a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to a suitable receiver device.
[0143] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored within part of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), within a single file dedicated to the program, or within multiple cooperating files (e.g., files that store one or more modules, subprograms, or portions of code). A computer program can be deployed to run on one computer, or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
[0144] The processes and logic flows described herein may be implemented by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be implemented by, and apparatus may be implemented as, special purpose logic circuitry, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
[0145] Processors suitable for executing computer programs include, by way of example, both general-purpose and special-purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random-access memory or both. The essential elements of a computer are a processor for carrying out instructions, and one or more memory devices for storing instructions and data. Generally, a computer will include one or more mass storage devices, such as magnetic, magneto-optical, or optical disks, for storing data, or be operatively coupled to receive data from them, transfer data to them, or both. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, by way of example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices, magnetic disks, such as internal hard disks or removable disks, magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory can be supplemented by, or incorporated in, special-purpose logic circuitry.
[0146] Although this patent document contains many details, these should not be construed as limitations on the scope of any invention or what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of a particular invention. Certain features described in this patent document in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as acting in a certain combination and may even be initially claimed as such, one or more features from a claimed combination may, in some cases, be deleted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.
[0147] Similarly, although operations may be depicted in the figures in a particular order, this should not be understood as requiring such operations to be performed in the particular order shown, or in sequential order, or that all of the illustrated operations be performed, to achieve desirable results. Further, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.
[0148] Only some implementations and examples have been described; other implementations, improvements, and modifications can be made based on what is described and illustrated in this patent document.
Claims
1. 1. A method for video bitstream processing, the method comprising: determining whether a video unit includes a plurality of network abstraction layer bit units having a plurality of types based on a first field in a picture parameter set in a video bitstream, the video unit being not an intra random access picture (IRAP); determining whether the video unit comprises a plurality of network abstraction layer bit units having a plurality of types and based on a second field in the picture parameter set, the video unit comprises a plurality of network abstraction layer bit units having mixed NAL unit types in a range of IDR_W_RADL to CRA_NUT; decoding the video bitstream based on the first field and the second field to generate video; A method comprising:
2. The method of claim 1 , wherein the video unit is a video picture.
3. 2. The method of claim 1, wherein the first field and the second field are one-bit fields.
4. The method of claim 3 , wherein the second field is positioned immediately after the first field in the video bitstream.
5. 2. The method of claim 1, wherein decoding the video bitstream includes decoding a plurality of sub-pictures contained within the video unit, each sub-picture having an independent Network Abstraction Layer unit type.
6. 1. A method of encoding video, the method comprising: including a first field in a picture parameter set referenced at a video unit level in a video bitstream, the first field indicating whether a video unit includes multiple network abstraction layer bit units having multiple types, and the video unit is not an intra random access picture (IRAP); and determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types, further including a second field in the picture parameter set, the second field indicating whether the plurality of network abstraction layer bit units have mixed NAL unit types in a range of IDR_W_RADL to CRA_NUT; encoding the video to generate the video bitstream; A method comprising:
7. The method of claim 6 , wherein the video unit is a video picture.
8. 7. The method of claim 6, wherein the first field and the second field are one-bit fields.
9. The method of claim 8 , wherein the second field is positioned immediately after the first field in the video bitstream.
10. The method of claim 6 , wherein the encoding comprises encoding a plurality of sub-pictures into the video unit, each sub-picture having an independent Network Abstraction Layer unit type.
11. A computer readable medium having a program recorded thereon, the program, when executed by a processor, causing the processor to implement a method of video analysis, the method comprising: determining whether a video unit includes a plurality of network abstraction layer bit units having a plurality of types based on a first field in a picture parameter set in a video bitstream, the video unit being not an intra random access picture (IRAP); determining whether the plurality of network abstraction layer bit units have mixed NAL unit types in a range of IDR_W_RADL to CRA_NUT due to determining that the video unit includes a plurality of network abstraction layer bit units having a plurality of types and based on a second field in the picture parameter set; decoding the video bitstream based on the first field and the second field to generate video; A computer readable medium comprising:
Citation Information
Patent Citations
Mixed NAL Unit Picture Constraints in Video Coding
JP2022539865A
Mixed NAL unit picture constraints in video coding
WO2021007225A1
