Signaling dependent random access point sample entries
By introducing the DRAP sample group signaling notification mechanism, the problem of inconsistent decoding and output order of random access points in video codec standards is solved, ensuring the correct decoding and presentation of video data, and is applicable to a variety of video codec standards and file formats.
Patent Information
- Application Number
- CN202180088323.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-28
- Filing Date
- 2021-12-28
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-12-28
AI Technical Summary
Existing video codec standards lack an effective mechanism for signaling notification at random access points, resulting in inconsistencies between the decoding and output order of video data, which affects the continuity and efficiency of video presentation.
A signaling notification mechanism based on DRAP sample groups is introduced to ensure that video data is correctly decoded in the order of decoding and output through DRAP sample entries and SEI messages. This includes an indication of the number of random access points and their identifiers required for random access to members of the DRAP sample group.
It achieves synchronization of the correct decoding and output order of video data, improving the continuity and efficiency of video presentation, and is applicable to various video codec standards and file formats, including VVC, HEVC, ISOBMFF, etc.
Smart Images

Figure CN116746150B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application is based on International Patent Application No. PCT / CN2021 / 141940, filed on December 28, 2021, which claims priority and interest in International Patent Application No. PCT / CN2020 / 139893, filed on December 28, 2020. All of the aforementioned patent applications are incorporated herein by reference in their entirety. Technical Field
[0003] This patent document relates to the generation, storage, and consumption of digital audio and video media information in file formats. Background Technology
[0004] Digital video accounts for the largest share of bandwidth usage on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, the bandwidth demand for digital video is likely to continue to grow. Summary of the Invention
[0005] The first aspect relates to a method for processing video data, comprising: determining dependent random access point (DRAP) sample entries in a DRAP sample group, wherein the DRAP sample entry describes one or more DRAP samples; and performing a conversion between visual media data and visual media data files based on the DRAP sample entries.
[0006] Alternatively, in any of the foregoing aspects, another implementation of that aspect is provided, wherein the visual media data file adopts the International Organization for Standardization (ISO) base media file format (ISOBMFF).
[0007] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the DRAP sample entry includes a field indicating the number of random access point (RAP) samples required for random access from members of the DRAP sample group.
[0008] Alternatively, in any of the foregoing aspects, another implementation of that aspect is provided, wherein the RAP samples include initial samples.
[0009] Alternatively, in any of the foregoing aspects, another implementation of that aspect is provided, wherein the RAP sample includes the DRAP sample.
[0010] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that, when the nearest initial sample preceding the DRAP sample is available for reference, all samples after each DRAP sample can be correctly decoded in both the decoding and output order.
[0011] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that a DRAP sample entry includes one or more fields of one or more RAP identifiers indicating members of a DRAP sample group.
[0012] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the fields of the RAP identifier are all encoded and decoded using 16 bits.
[0013] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the fields of the RAP identifier are all encoded and decoded using 32 bits.
[0014] Optionally, in any of the foregoing aspects, another implementation of that aspect provides that the visual media data file includes a subsample information box, wherein the subsample information box includes one or more fields of one or more RAP identifiers indicating members of a DRAP sample group.
[0015] Optionally, in any of the foregoing aspects, another implementation of that aspect provides that the visual media data file includes a sample auxiliary information size frame, wherein the sample auxiliary information size frame includes one or more fields of one or more RAP identifiers indicating members of a DRAP sample group.
[0016] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that each RAP identifier is a sample number.
[0017] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that a DRAP sample entry includes one or more fields indicating the RAP identifier of the sample to be randomly accessed from a member of the DRAP sample group.
[0018] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the RAP identifier of a sample directly indicates the associated sample.
[0019] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the RAP identifier of a sample indicates the difference between the identifiers of two RAP samples.
[0020] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the i-th field in the field indicates the difference between the identifier of the current sample and the i-th identifier of the first desired RAP sample.
[0021] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the i-th field in the field indicates the difference between the identifier of the (i-1)-th desired RAP sample and the identifier of the i-th desired RAP sample.
[0022] Alternatively, in any of the foregoing aspects, another implementation of that aspect provides that the i-th field in the field indicates the difference between the identifier of the i-th desired RAP sample and the identifier of the (i-1)-th desired RAP sample.
[0023] Alternatively, in any of the foregoing aspects, another implementation of that aspect is provided, wherein the conversion includes generating a visual media data file based on the visual media data.
[0024] Alternatively, in any of the foregoing aspects, another implementation of that aspect is provided, wherein the conversion includes parsing a visual media data file to obtain visual media data.
[0025] The second aspect relates to an apparatus for processing video data, including a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any of the preceding aspects.
[0026] The third aspect relates to a non-transitory computer-readable medium, including a computer program product for use by a video codec device, the computer program product including computer-executable instructions stored on the non-transitory computer-readable medium, such that when executed by a processor, the computer-executable instructions cause the video codec device to perform the methods of any of the preceding aspects.
[0027] For clarity, any of the foregoing embodiments may be combined with any one or more other foregoing embodiments to form new embodiments within the scope of this disclosure.
[0028] These and other features will become clearer from the following detailed description taken in conjunction with the accompanying drawings and claims. Attached Figure Description
[0029] To gain a more complete understanding of this disclosure, reference is now made to the following brief description in conjunction with the accompanying drawings and detailed specifications, wherein the same reference numerals represent the same parts.
[0030] Figure 1 This is a schematic diagram of an example mechanism for random access when using IRAP image decoding bitstreams.
[0031] Figure 2 This is a schematic diagram of an example mechanism for random access when using DRAP image decoding bitstreams.
[0032] Figure 3 This is a schematic diagram of an example mechanism for random access when using CRR image decoding bitstreams.
[0033] Figure 4 This is a schematic diagram of an example mechanism used for signaling external bitstreams to support CRR-based random access.
[0034] Figure 5 This is a schematic diagram illustrating potential decoding errors when the image is after the DRAP and / or CRR images in decoding order and before the DRAP and / or CRR images in output order.
[0035] Figure 6 This is a diagram of a media file stored in the International Organization for Standardization (ISO) Basic Media File Format (ISOBMFF).
[0036] Figure 7 This is a schematic diagram of a bitstream containing encoded visual media data.
[0037] Figure 8 This is a block diagram illustrating an example video processing system.
[0038] Figure 9 This is a block diagram of an example video processing device.
[0039] Figure 10 This is a flowchart of an example method for video processing.
[0040] Figure 11 This is a block diagram illustrating an example video encoding / decoding system.
[0041] Figure 12 This is a block diagram of an example encoder.
[0042] Figure 13 This is a block diagram of an example decoder.
[0043] Figure 14 This is a schematic diagram of an example encoder. Detailed Implementation
[0044] First, it should be understood that although illustrative implementations of one or more embodiments are provided below, the disclosed systems and / or methods can be implemented using any number of techniques, whether currently known or yet to be developed. This disclosure should not be limited in any way to the exemplary implementations, drawings, and techniques shown below, including the exemplary designs and implementations shown and described herein, but modifications can be made within the full scope of the appended claims and their equivalents.
[0045] Versatile Video Coding (VVC), also known as H.266, is used in some descriptions for ease of understanding only and not to limit the scope of the disclosed technology. Therefore, the techniques described herein are also applicable to other video codec protocols and designs. In this document, text editing changes are indicated by bold and italics to represent unedited text and underlines to represent added text, in contrast to the VVC specification or the International Organization for Standardization (ISO) Basic Media File Format (ISOBMFF) file format specification.
[0046] This patent document relates to video codecs, video file formats, video signaling notifications, and video applications. Specifically, this document relates to enhanced signaling notifications across random access point (RAP) references in video codecs based on supplemental enhancement information (SEI) messages, and signaling notifications across RAP references (CRR) in media files. The disclosed examples can be applied individually or in various combinations to any standard or non-standard video codec, such as VVC, and to media files according to any media file format, such as ISOBMFF.
[0047] This disclosure includes the following abbreviations. Adaptive color transform (ACT), adaptive loop filter (ALF), adaptive motion vector resolution (AMVR), adaptation parameter set (APS), access unit (AU), access unit delimiter (AUD), advanced video coding (AVC) (Rec.ITU-T H.264|ISO / IEC 14496-10), bi-predictive (B), bi-prediction with CU-level weights (BCW), bi-directional optical flow (BDOF), block-based delta pulse code modulation (BDPCM), buffering period (BP), context-based adaptive binary arithmetic coding (CABAC), coding block (CB), constant bit rate. rate (CBR), cross-component adaptive loop filter (CCALF), coded layer video sequence (CLVS), coded layer videosequence start (CLVSS), coded picture buffer (CPB), clean random access (CRA), cyclic redundancy check (CRC), cross RAP referencing (CRR), coding tree block (CTB), coding tree unit (CTU), coding unit (CTU).CU), coded videosequence (CVS), coded video sequence start (CVSS), decoding capability information (DCI), decoded picture buffer (DPB), dependent random access point (DRAP), decoding unit (DU), decoding unit information (DUI), exponential-Golomb (EG), k-th order exponential-Golomb (EGk), end of bitstream (EOB), end of sequence (EOS), filler data (FD), first-in, first-out (FIFO), fixed-length (FL), green, blue, and red (GBR), general constraints information (GCI), gradual decoding refresh (GDR), and geometric partitioning. High-efficiency video coding (HEVC), also known as Rec.ITU-T H.265|ISO / IEC 23008-2, includes various codecs such as GPM, HRD, HSS, IBC, IDR, ILRP, IRAP, and low-frequency non-separable transform.LFNST, Least Probable Symbol (LPS), Least Significant Bit (LSB), Long-Term Reference Picture (LTRP), Luma Mapping with Chroma Scaling (LMCS), Matrix-Based Intra Prediction (MIP), Most Probable Symbol (MPS), Most Significant Bit (MSB), Multiple Transform Selection (MTS), Motion Vector Prediction (MVP), Network Abstraction Layer (NAL), Output Layer Set (OLS), Operation Point (OP), Operating Point Information (OPI), Predictive (P), Picture Header (PH), Picture Order Count (POC), Picture Parameter Set (PPS), Prediction Refinement with Optical Flow (PROF), Picture Timing Timing (PT), Picture Unit (PU), Quantization Parameter (QP), Random Access Decodable Leading Picture (RADL), Random Access Point (RAP), Random Access Skipped Leading Picture (RASL), Raw Bytes Sequence Payload (RBSP), Red, Green, and Blue (RGB), Reference Picture List (RPL), Sample Adaptive Offset (PAT).SAO, sample aspect ratio (SAR), supplemental enhancement information (SEI), slice header (SH), subpicture level information (SLI), string of data bits (SODB), sequence parameter set (SPS), short-term reference picture (STRP), step-wise temporal sublayer access (STSA), truncated rice (TR), transform unit (TU), variable bit rate (VBR), video coding layer (VCL), video parameter set (VPS), versatile supplemental enhancement information (VSEI), video usability information (VUI), and versatile video coding (also known as Rec.ITU-T H.274|ISO / IEC 23002-7). H.266|ISO / IEC 23090-3) (versatile video coding, VVC). ,
[0048] Video codec standards have primarily evolved through the development of ITU-T and ISO / IEC standards. ITU-T developed the H.261 and H.263 standards, while ISO / IEC developed the MPEG-1 and MPEG-4 Visual standards. The two organizations jointly developed the H.262 / MPEG-2 video standard, the H.264 / MPEG-4 Advanced Video Codec (AVC) standard, and the H.265 / HEVC standard. Starting with H.262, video codec standards are based on a hybrid video codec architecture, utilizing temporal prediction plus transform coding. To explore further video codec technologies beyond HEVC, the Video Coding Experts Group (VCEG) and MPEG jointly established the Joint Video Exploration Team (JVET). JVET adopted many methods and incorporated them into reference software called the Joint Exploration Model (JEM). When the Multi-Functional Video Codec (VVC) project was officially launched, JVET was later renamed the Joint Video Experts Team (JVET). VVC is a codec standard that aims to reduce the bit rate by 50% compared to HEVC. VVC has been finalized by JVET.
[0049] The VVC and VSEI standards are designed for the widest range of applications, including television broadcasting, video conferencing, playback from storage media, adaptive bitrate streaming, video region extraction, composition and merging of content from multiple codec video bitstreams, multi-view video, scalable layered codecs, and viewport-adaptive 360° immersive media.
[0050] The Essential Video Coding (EVC) standard (ISO / IEC 23094-1) is another video coding standard developed by MPEG.
[0051] File format standards are as follows. Media streaming applications are typically based on Internet Protocol (IP), Transmission Control Protocol (TCP), and Hypertext Transfer Protocol (HTTP) transmission methods, and often rely on file formats such as ISOBMFF. One such streaming system is Dynamic Adaptive Streaming over HTTP (DASH). Video can be encoded in video formats such as AVC and / or HEVC. The encoded video can be encapsulated in ISOBMFF tracks and contained in DASH representations and segments. For content selection purposes, important information about the video bitstream, such as grade, layer, and level, can be presented as file format-level metadata and / or in the DASH media presentation description (MPD). For example, this information can be used to select appropriate media segments for initialization at the start of a streaming session and for stream adaptation during the streaming session.
[0052] Similarly, when using an image format with ISOBMFF, image format-specific file format specifications can be used, such as the AVC image file format and the HEVC image file format. MPEG is developing the VVC video file format, which is an ISOBMFF-based file format for storing VVC video content. MPEG is also developing an ISOBMFF-based VVC image file format for storing image content encoded and decoded using VVC.
[0053] Support for random access in HEVC and VVC is discussed below. Random access refers to starting access and decoding of the bitstream from a non-first image in the decoding order. To support tuning and channel switching in broadcast / multicast and multi-party video conferencing, searching in local playback and streaming, and stream adaptation in streaming, the bitstream should include frequent random access points. These random access points are typically intra-frame encoded images, but can also be inter-frame encoded images (e.g., in the case of progressive decoding refresh). Intra-frame encoded images are encoded and decoded by referencing blocks within the same image, while inter-frame encoded images are encoded and decoded by referencing blocks in other images.
[0054] In the NAL unit header, HEVC includes signaling notifications for Intra-Random Access Point (IRAP) pictures via the NAL unit type. HEVC supports three types of IRAP pictures: Instantaneous Decoder Refresh (IDR), Pure Random Access (CRA), and Breakpoint Linked Access (BLA). IDR pictures constrain the inter-frame picture prediction structure to not reference any pictures preceding the current group-of-pictures (GOP), also known as Closed GOP Random Access Points. CRA pictures are less restrictive by allowing some pictures to reference pictures preceding the current GOP; in the case of random access, all pictures are discarded. CRA pictures are called Open GOP Random Access Points. BLA pictures are typically derived from the concatenation of two bitstreams or a portion thereof in a CRA picture, for example, during stream switching. To enable the system to better utilize IRAP pictures, six different NAL units are defined to signal the attributes of IRAP pictures, which can be used to match the stream access point types defined in the ISO Basic Media File Format (ISOBMFF). This type of stream access point is also used for random access support in Dynamic Adaptive Streaming (DASH) over HTTP.
[0055] VVC supports three types of IRAP images, two types of IDR images (one type is an associated RADL image, and the other is an unassociated RADL image), and one type of CRA image. Its usage is similar to HEVC. VVC does not include the HEVC BLA image type. This is because the basic functionality of a BLA image can be achieved by adding a sequence NAL unit end to a CRA image, the presence of which indicates that a new CVS begins in the subsequent image within a single-layer bitstream. Furthermore, during the development of VVC, it was desirable to specify fewer NAL unit types than HEVC, for example, by using 5 bits instead of 6 bits in the NAL unit type field in the NAL unit header.
[0056] Another difference between VVC and HEVC in random access support is that VVC supports GDR in a more canonical way. In GDR, bitstream encoding and decoding can begin with inter-frame encoded pictures. In the first picture of the random access point, only a portion of the picture can be correctly decoded. However, after several pictures, the entire picture region can be correctly decoded and displayed. Recovery point (SEI) messages are used to signal GDR random access points and recovery points. AVC and HEVC also support GDR. In VVC, the NAL unit type is specified for indicating GDR pictures, and recovery points are signaled in the picture header syntax structure. CVS and bitstreams are allowed to begin with GDR pictures. Accordingly, it is allowed for the entire bitstream to contain only inter-frame encoded pictures, without a single intra-frame encoded picture. The main benefit of specifying GDR support in this way is providing consistent behavior for GDR. GDR allows the encoder to smooth the bitrate of the bitstream by distributing intra-frame encoded stripes or blocks across multiple pictures (which is less compressed than inter-frame encoded stripes / blocks), rather than performing intra-frame encoding and decoding on the entire picture. This allows for a significant reduction in end-to-end latency, which is considered even more important due to the increasing use of ultra-low latency applications such as wireless displays, online gaming, and drone-based applications.
[0057] Another GDR-related feature in VVC is virtual boundary signaling notification. The boundary between refreshed areas (areas correctly decoded in GDR) and unrefreshed areas at the GDR image and recovery point can be signaled as a virtual boundary. When signaled, loop filtering across the boundary will not be applied. This prevents decoding mismatch of some samples at or near the boundary. This can be useful when applications determine which areas are correctly decoded during the GDR process. IRAP images and GDR images can be collectively referred to as Random Access Point (RAP) images.
[0058] The following discusses VUI and SEI messages. A VUI is a syntax structure sent as part of the SPS (and possibly in the HEVC VPS). A VUI carries information that does not affect the standard decoding process but can be used for the correct rendering of encoded and decoded video. A SEI assists with processes related to decoding, display, or other purposes. Like VUIs, SEIs do not affect the canonical decoding process. SEIs are carried in SEI messages. Decoder support for SEI messages is optional. However, SEI messages do affect bitstream consistency. For example, if the syntax of an SEI message in a bitstream does not conform to the specification, the bitstream is not conforming to the specification. Some SEI messages are used in the HRD specification.
[0059] The VUI syntax and most SEI messages used with VVC are not specified in the VVC specification, but rather in the VSEI specification. The VVC specification defines SEI messages for HRD conformance testing. VVC defines five SEI messages related to HRD conformance testing, and VSEI specifies 20 additional SEI messages. The SEI messages carried in the VSEI specification do not directly affect the behavior of the conformance decoder and are defined so that they can be used in a codec-agnostic manner, allowing VSEI to be used with other video codec standards besides VVC. The VSEI specification does not specifically mention VVC syntax element names, but rather refers to variables whose values are set in the VVC specification.
[0060] Compared to HEVC, VVC's VUI syntax structure focuses only on information related to the correct rendering of the image and does not include any timing information or bitstream limitation indications. In VVC, the VUI is signaled in the SPS, which includes a length field before the VUI syntax structure to signal the length of the VUI payload (in bytes). This allows the decoder to easily skip information and allows VUI syntax expansion by adding new syntax elements directly to the end of the VUI syntax structure in a manner similar to SEI message syntax scaling.
[0061] The VUI syntax structure includes the following information: whether the content is interlaced or progressive; whether the content contains frame-encapsulated stereoscopic video or projected omnidirectional video; sample aspect ratio; whether the content is suitable for overscan display; color description, including color primaries, matrix, and transmission characteristics, which supports signaling notifications for Ultra High Definition (UHD) and High Definition (HD) color spaces as well as High Dynamic Range (HDR); and an indication of chromaticity position relative to luminance (signaling notifications for progressive content have been clarified relative to HEVC).
[0062] When SPS does not contain any VUI, the information is considered unspecified, and if the content of the bitstream is intended for presentation on a display, the information is communicated externally or specified by the application.
[0063] Table 1 lists the SEI messages specified for VVC, along with the specification containing their syntax and semantics. Of the 20 SEI messages specified in the VSEI specification, many are inherited from HEVC (e.g., the padding payload and two user data SEI messages). Some SEI messages are used to correctly process or render codec video content. This is the case for SEI messages related to primary display color quantities, content light level information, and / or alternative transport characteristics, which are particularly relevant to HDR content. Other examples include SEI messages for isorectangular projection, spherical rotation, partition packing, and / or omnidirectional viewports, which are related to signaling notification and processing of 360° video content.
[0064] Table 1: SEI Message List in VVC v1
[0065]
[0066]
[0067] The SEI messages specified for VVC v1 include Frame Field Information SEI messages, Sample Aspect Ratio Information SEI messages, and Subpicture Level Information SEI messages. Frame Field Information SEI messages contain information indicating how the associated picture should be displayed (e.g., field parity or frame repetition period), the source scan type of the associated picture, and whether the associated picture is a copy of a previous picture. In some video codec standards, this information may be signaled along with the timing information of the associated picture in a picture timing SEI message. However, frame field information and timing information are two different types of information and are not necessarily signaled together. In a typical example, timing information is signaled at the system level, but frame field information is signaled within the bitstream. Therefore, frame field information is removed from picture timing SEI messages and instead signaled in a dedicated SEI message. This change also allows for modifications to the syntax of frame field information to convey more and clearer instructions to the display, such as pairing fields together or specifying more values for frame repetition.
[0068] Sample Aspect Ratio (SEI) messages can signal different sample aspect ratios for different images within the same sequence, while the corresponding information contained in the VUI applies to the entire sequence. This can be relevant when using reference image resampling features with scaling factors that cause different images in the same sequence to have different sample aspect ratios.
[0069] The Sub-Picture Level Information (SEI) message provides level information for a sequence of sub-pictures.
[0070] The DRAP indication SEI message is discussed below. The VSEI specification includes the DRAP indication SEI message, as detailed below:
[0071] dependent_rap_indication(payloadSize){ descriptor }
[0072] The picture associated with a Dependency on Random Access Point (DRAP) Indication SEI message is called a DRAP picture. The presence of the DRAP Indication SEI message indicates that the constraints on picture order and picture references specified in this clause apply. These constraints enable the decoder to correctly decode the DRAP picture, as well as pictures that follow the DRAP picture in both decoding and output order, without needing to decode any other pictures besides the associated IRAP picture of the DRAP picture.
[0073] The constraints indicated by the presence of the DRAP indication SEI message shall all apply, as follows: A DRAP picture is a trailing picture. A DRAP picture has a temporal sublayer identifier equal to 0. A DRAP picture does not include any pictures in the valid entries of the DRAP picture's reference picture list, except for the associated IRAP picture. In the valid entries of the reference picture list for a DRAP picture, any picture that follows the DRAP picture in both decoding and output order does not include any picture that precedes the DRAP picture in either decoding or output order, except for the associated IRAP picture.
[0074] The following section discusses DRAP signaling notifications in media files. ISOBMFF includes a DRAP signaling notification mechanism based on sample groups, as follows. DRAP sample groups are defined as follows: A DRAP sample is such that, after a sample, all samples in the decoding order can be correctly decoded if the nearest initial sample preceding the DRAP sample is available for reference. Initial samples are SAP samples of stream access point (SAP) type 1, 2, or 3, marked by either a synchronization sample or a SAP sample group. For example, if sample 32 in a file is an initial sample including an I picture, then sample 48 may include a P picture and is marked as a member of the dependent random access point sample group. This indication can be achieved by first decoding sample 32 (ignoring samples 33-47) and then continuing decoding from sample 48, performing random access at sample 48.
[0075] A sample can be a member of a random access point sample group (hence the name DRAP sample) only if the following conditions are true: A DRAP sample references only the nearest preceding initial sample. When decoding begins with a DRAP sample, the DRAP sample and all samples following it in output order can be correctly decoded. This can occur after the nearest preceding SAP sample of type 1, 2, or 3 has been decoded, which can be identified as a synchronization sample or via a SAP sample group. A DRAP sample can only be used in conjunction with SAP samples of types 1, 2, and 3. This is to enable the creation of a decodeable sample sequence by concatenating preceding SAP samples with the DRAP sample and samples following it in output order. An example syntax for a DRAP sample group is shown below.
[0076]
[0077] The example semantics of a DRAP sample group are as follows. DRAP_type is a non-negative integer. When DRAP_type is in the range of 1 to 3, DRAP_type indicates the SAP_type (as specified in Appendix I) to which the DRAP sample will correspond, assuming the DRAP sample does not depend on the nearest prior SAP. Other type values are reserved. Reservations should be equal to 0. The semantics of this sub-clause apply only to sample group description entries where the reserve is equal to 0. When parsing this sample group, the parser should allow and ignore sample group description entries where the reserve is greater than 0.
[0078] The following discusses a video coding and decoding method based on cross-RAP reference (CRR), also known as external decoding refresh (EDR) and / or type 2DRAP. The basic idea of this video coding and decoding method is as follows: Instead of encoding and decoding random access points (RAPs) into intra-frame encoded IRAP pictures (except for the first picture in the bitstream), inter-frame prediction is used to encode and decode RAPs to avoid the unavailability of earlier pictures when the RAPs are encoded into IRAP pictures. This mechanism provides a limited number of earlier pictures, typically representing different scenes of the video content, through a separate video bitstream, which can be referred to as an external stream and / or external mode. These earlier pictures are called external pictures. Therefore, each external picture can be used as an inter-frame prediction reference for the cross-RAP reference pictures. The improvement in coding and decoding efficiency comes from encoding and decoding RAPs into inter-frame prediction pictures and having more available reference pictures for pictures that follow the EDR pictures in the decoding order. As described below, bitstreams encoded and decoded using this video coding and decoding method can be used in ISOBMFF and DASH-based applications.
[0079] DASH content preparation operations are discussed below. Video content is encoded into one or more representations, each including specific spatial resolution, temporal resolution, and quality. Each representation of the video content is represented by a main stream and may also be represented by an external stream. A main stream contains codec images that may or may not include EDR images. When a main stream includes at least one EDR image, an external stream also exists and contains the external image. When a main stream does not include an EDR image, an external stream does not exist. Each main stream is carried in a Main Stream Representation (MSR). Each EDR image in the MSR is the first image of the segment.
[0080] Each external stream, when present, is carried in an External Stream Representation (ESR). For each segment in an MSR that begins with an EDR image, there is a segment in the corresponding ESR that has the same segment start time derived from the MPD, carrying the external image required to decode that EDR image, as well as the later images in the bitstream carried in the MSR in decoding order. MSRs with the same video content are included in an Adaptation Set (AS). ESRs with the same video content are included in an AS.
[0081] The following section discusses DASH streaming operations. The client obtains the MPD (Multi-View Descriptor) of the DASH media presentation, parses the MPD, selects the MSR (Multi-View Streamer), and determines the start presentation time from the beginning of content consumption. The client requests segments of the MSR, starting with the segment containing an image whose presentation time is equal to (or sufficiently close to) the start presentation time. If the first image in the start segment is an EDR (Electronic View Descriptor) image, the corresponding segment in the relevant ESR (with the same segment start time derived from the MPD) is also requested, preferably before requesting the MSR segment. Otherwise, no segments of the relevant ESR are requested.
[0082] When switching to a different MSR, the client requests the segment to switch to in the MSR, starting with the first segment whose start time is greater than the last requested segment from the MSR. If the first image in the starting segment of the switch to the MSR is an EDR image, the corresponding segment in the relevant ESR is also requested, preferably before requesting the MSR segment. Otherwise, no segments in the relevant ESR are requested.
[0083] When operating continuously with the same MSR (after decoding the starting segment after a search or stream switching operation), do not request any segments of the relevant ESR, including when requesting any segment that starts with an EDR image.
[0084] The following section discusses signaling notifications across RAP references in video. CRR can be signaled in an SEI message, named a Type 2 DRAP Indication SEI message, as described below. The syntax of the Type 2 DRAP Indication SEI message is as follows.
[0085]
[0086] The semantics of the Type 2 DRAP Indicator SEI message are as follows. The picture associated with the Type 2 DRAP Indicator SEI message is referred to as a Type 2 DRAP picture. Type 1 DRAP pictures (associated with the DRAP Indicator SEI message) and Type 2 DRAP pictures are collectively referred to as DRAP pictures. The presence of the Type 2 DRAP Indicator SEI message indicates that the constraints on picture order and picture references specified in this sub-clause apply. These constraints enable the decoder to correctly decode Type 2 DRAP pictures and pictures in the same layer, both in decoding order and output order, following the Type 2 DRAP pictures. This can be achieved, in addition to the picture list referenceablePictures, without requiring the decoding of any other pictures in the same layer, by including a list of IRAP or DRAP pictures in decoding order, within the same CLVS and identified by the t2drap_ref_rap_id[i] syntax element.
[0087] The constraints indicated by the presence of the Type 2DRAP SEI message shall all apply, as follows: A Type 2DRAP picture is a trailing picture. A Type 2DRAP picture has a temporal sublayer identifier equal to 0. A Type 2DRAP picture does not include any pictures in the same layer in the active entries of the Type 2DRAP picture's reference picture list, except for referenceablePictures. In the active entries of the Type 2DRAP picture's reference picture list, any picture in the same layer that is after the Type 2DRAP picture in both decoding and output order, except for referenceablePictures, does not include any picture in the same layer that is before the Type 2DRAP picture in either decoding or output order. In the active entries of the picture's reference picture list, any picture in the list of referenceablePictures does not include any picture in the same layer that is not an earlier picture in the list of referenceablePictures. Therefore, even when the picture is a DRAP picture and not an IRAP picture, the first picture in the referenceablePictures does not include any pictures in the same layer from the active entries of the picture's reference picture list.
[0088] `t2drap_rap_id_in_clvs` specifies the RAP picture identifier for Type 2 DRAP pictures, denoted as `RapPicId`. Each IRAP or DRAP picture is associated with a `RapPicId`. The `RapPicId` value for an IRAP picture is inferred to be equal to 0. The value of `RapPicId` should be different for any two IRAP or DRAP pictures within the CLVS. In this version of the bitstream conforming to this specification, `t2drap_reserved_zero_13bits` should be equal to 0. Other values of `t2drap_reserved_zero_13bits` are reserved. The decoder should ignore the value of `t2drap_reserved_zero_13bits`. `t2drap_num_ref_rap_pics_minus1` plus 1 indicates the number of IRAP or DRAP pictures in the same CLVS as the Type 2 DRAP picture and in the active entry of the reference picture list for the Type 2 DRAP picture. t2drap_ref_rap_id[i] indicates the RapPicId of the i-th IRAP or DRAP image within the same CLVS as the type 2DRAP image and in the active entry of the list of reference images for the type 2DRAP image.
[0089] The following are examples of technical problems solved through publicly available technical solutions. For instance, regarding signaling notifications for CRR and / or DRAP in video bitstreams and media files, the following issue exists: DRAP Indication SEI messages lack signaling notifications indicating whether images that are decoded after the DRAP image in decoding order but precede the DRAP image in output order can be correctly decoded when randomly accessed from a DRAP image. In this case, such images may be decoded incorrectly because they reference images decoded earlier than the DRAP image for inter-frame prediction.
[0090] refer to Figure 5 This section shows examples of images that appear after the relevant DRAP images in decoding order and before the relevant DRAP images in output order. Each box represents an image displayed in decoding order from left to right. The numbers in the boxes represent the output order, also known as the image order count. Arrows indicate the inter-frame prediction relationship between two images, where the image on the right (at the arrow) uses the image on the left (at the arrow's origin) as a reference image.
[0091] exist Figure 5In the example shown, inter-frame prediction from image 6 to image 8 can be disabled (the arrows collecting the two images are removed). In this case, image 8 can be correctly decoded when randomly accessed from the DRAP image (image 10). However, when inter-frame prediction from image 6 to image 8 is used, image 8 cannot be correctly decoded when the DRAP image (image 10) is used as the random access point. Indicating whether this inter-frame prediction is disabled when randomly accessing from the DRAP image is useful for the system to know when to begin rendering the video. For example, using such an indication, when randomly accessing from the DRAP image (image 10), the application system will know whether rendering can begin from image 8 or image 10.
[0092] The Type 2DRAP Indication SEI message also lacks a signaling notification mechanism to indicate whether a picture that is decoded after the Type 2DRAP picture in decoding order but before the Type 2DRAP picture in output order can be correctly decoded when randomly accessed from a Type 2DRAP picture. In this case, such a picture may be decoded incorrectly when the picture references a picture that is decoded earlier than the Type 2DRAP picture for inter-frame prediction. This indication is useful for the system to determine when to start rendering video when randomly accessed from a Type 2DRAP picture. A mechanism for signaling CRR notification in the media file is also lacking.
[0093] Furthermore, the semantics of DRAP sample groups in ISOBMFF are incorrect. ISOBMFF states that a DRAP sample is one that, if the nearest initial sample preceding the DRAP sample is available for reference, all samples in decoding order can be correctly decoded. However, even if the nearest initial sample preceding the DRAP sample is available for reference, there are cases where a sample referenced after the DRAP sample in decoding order but before the DRAP sample in output order is an earlier image than the image in the nearest initial sample used for reference. In such cases, the sample (image) cannot be decoded correctly.
[0094] This paper discloses mechanisms for addressing one or more of the aforementioned problems. For example, DRAP pictures are random access point pictures encoded and decoded via inter-frame prediction by referencing IRAP pictures. Furthermore, CRR pictures (also known as Type 2 DRAP and / or enhanced dependent random access point (EDRAP) pictures) are random access point pictures encoded and decoded via inter-frame prediction by referencing IRAP pictures and are also allowed to reference one or more other dependent random access point pictures. Therefore, CRR / DRAP / type 2 DRAP can be considered types of DRAP. DRAP and CRR are designed based on the premise of managing video pictures in a specific order. However, encoders are allowed to reorder pictures to improve encoding and decoding efficiency. Therefore, video pictures can have an output order and a decoding order. The output order is the order in which pictures are presented / displayed, and the decoding order is the order in which pictures are encoded and decoded into a bitstream. Some DRAP and CRR designs do not consider this distinction, so errors may occur when using DRAP and / or CRR to encode and decode video and the codec determines to reorder pictures. Specifically, errors occur when the inter-frame predicted image is after the DRAP / CRR image in decoding order but before the DRAP / CRR image in output order. This is because such an image might be allowed to be encoded and decoded by referencing another image that is decoded before the DRAP / CRR image, which can lead to errors. When the DRAP / CRR image is used as a random access point by the decoder, the image may or may not be fully decodeable, depending on whether inter-frame prediction referencing another image is used. Furthermore, various signaling notification mechanisms may not fully support DRAP and / or CRR.
[0095] Therefore, this disclosure includes a signaling notification mechanism to indicate whether inter-frame prediction references other images preceding the DRAP / CRR image are allowed, in decoding order after the DRAP / CRR image and in output order before the DRAP / CRR image. In the example, the signaling notification mechanism is an SEI message in the encoded bitstream. If such inter-frame prediction reference is allowed, the inter-frame prediction image is not displayed when the DRAP / CRR image is used as a random access point. If such inter-frame prediction reference is blocked, the inter-frame prediction image can be displayed when the DRAP / CRR image is used as a random access point. Furthermore, this disclosure describes sample groups and / or sample entries that can be included in an ISOBMFF media file to describe DRAP and / or CRR images. This allows the decoder to determine the presence and location of DRAP and / or CRR images at the file format level.
[0096] To address the aforementioned and other issues, a method summarized below is disclosed. These items should be considered as examples for explaining general concepts, rather than being interpreted in a narrow way. Furthermore, these items can be used individually or in combination in any way.
[0097] Example 1
[0098] In one example, an indication is added to the DRAP Indication SEI message syntax to indicate whether inter-frame prediction is allowed for images in the same layer as the DRAP image, decoded after the DRAP image but output before the DRAP image, and for images in the same layer but decoded earlier than the DRAP image. If such reference is blocked, the decoder can correctly decode and display such images when the DRAP is used as a random access point. When reference is allowed, decoding may be impossible, and such images should not be displayed on the decoder when the DRAP is used as a random access point. In one example, this indication is a one-bit flag. In another example, the flag is set to equal to X (X is 1 or 0) to indicate that inter-frame prediction is allowed for images in the same layer that decode after the DRAP image but output before the DRAP image, and for images in the same layer but decoded earlier than the DRAP image. In one example, a flag can be set to 1-X (X is 1 or 0) to indicate that a picture in the same layer that is after the DRAP picture in decoding order and before the DRAP picture in output order should not reference a picture in the same layer that is earlier than the DRAP picture in decoding order for inter-frame prediction. In one example, this indication is a multi-bit indicator. In another example, a constraint requires that any picture in the same layer that is after the DRAP picture in decoding order should be after any picture in the same layer that is before the DRAP picture in decoding order in output order.
[0099] Example 2
[0100] In one example, an additional SEI message is specified, and the presence of this SEI message indicates that a picture that is after a DRAP picture in the same layer and in the bitstream in decoding order but before a DRAP picture in output order does not reference a picture that is earlier in the same layer and in decoding order for inter-frame prediction. In another example, the presence of this SEI message indicates that a picture that is after a DRAP picture in the same layer and in the bitstream in decoding order but before a DRAP picture in output order is allowed to reference a picture that is earlier in the same layer and in decoding order for inter-frame prediction. In yet another example, a constraint requires that any picture that is in the same layer and in the DRAP picture in decoding order should be after any picture in the same layer and in the DRAP picture in decoding order in output order.
[0101] Example 3
[0102] In one example, an additional SEI message is specified. The presence of this additional SEI message indicates that, in the same layer, a picture that is after the DRAP picture associated with both the additional SEI message and the DRAP indication SEI message in decoding order and before the DRAP picture in output order does not reference any picture in the same layer that is positioned before the DRAP picture in decoding order for inter-frame prediction. In one example, the absence of this additional SEI message indicates that, in the same layer, a picture that is after the DRAP picture associated with both the additional SEI message and the DRAP indication SEI message in decoding order and before the DRAP picture in output order is allowed to reference pictures in the same layer that are earlier than the DRAP picture in decoding order for inter-frame prediction. In one example, a constraint ensures that any picture in the same layer that is after the DRAP picture in decoding order should be after any picture in the same layer that is before the DRAP picture in decoding order in output order.
[0103] Example 4
[0104] In one example, an additional SEI message is specified, and an indication is added to the additional SEI message syntax to indicate whether inter-frame prediction is allowed for an image in the same layer that, in decoding order, follows the DRAP image associated with both the additional SEI message and the DRAP indication SEI message, and in output order, precedes the DRAP image, and references an image in the same layer that, in decoding order, precedes the DRAP image, for inter-frame prediction. In one example, this indication is a one-bit flag. In another example, the flag is set to X (X is 1 or 0) to indicate that inter-frame prediction is allowed for an image in the same layer that, in decoding order, follows the DRAP image, and in output order, precedes the DRAP image, and references an image in the same layer that, in decoding order, precedes the DRAP image, for inter-frame prediction. Furthermore, in one example, the flag is set to 1-X (X is 1 or 0) to indicate that inter-frame prediction is not allowed for an image in the same layer that, in decoding order, follows the DRAP image, and in output order, precedes the DRAP image, and references an image in the same layer that, in decoding order, precedes the DRAP image, for inter-frame prediction. In one example, this indication is a multi-bit indicator. In one example, the constraint requires that any image in the same layer that is after the DRAP image in decoding order should be after any image in the same layer that is before the DRAP image in decoding order in output order.
[0105] Example 5
[0106] In one example, an indication is added to the Type 2 DRAP Indicator SEI message syntax. This indication specifies whether inter-frame prediction is allowed for images in the same layer that are after the Type 2 DRAP image in decoding order and before the Type 2 DRAP image in output order, referencing images in the same layer that are earlier in decoding order. In one example, this indication is a one-bit flag. In another example, the flag is set to X (X is 1 or 0) to indicate that inter-frame prediction is allowed for images in the same layer that are after the DRAP image in decoding order and before the DRAP image in output order, referencing images in the same layer that are earlier in decoding order. Additionally, in one example, the flag is set to 1-X (X is 1 or 0) to indicate that inter-frame prediction is not allowed for images in the same layer that are after the DRAP image in decoding order and before the DRAP image in output order, referencing images in the same layer that are earlier in decoding order. In one example, this flag is added by reusing one bit from the t2drap_reserved_zero_13bits field in the Type 2DRAP indicator SEI message syntax. In another example, this indicator is a multi-bit indicator. In yet another example, a constraint requires that any image in the same layer that follows the DRAP image in decoding order should follow any image in the same layer that precedes the DRAP image in decoding order in output order.
[0107] Example 6
[0108] In another example, the indication is associated with a DRAP or Type 2 DRAP image. In one example, this indication can be notified for each DRAP or Type 2 DRAP signaling message.
[0109] Example 7
[0110] In the example, the ISOBMFF file specifies an additional sample group to signal the CRR (e.g., samples containing type 2DRAP images).
[0111] Example 8
[0112] In the example, the DRAP sample group is extended to signal the CRR in the ISOBMFF file (e.g., samples containing type 2 DRAP images), for example, by using the version field of the sample-to-group box (e.g., SampleToGroupBox or CompactSampleToGroupBox), or by using the grouping_type_parameter (or a part thereof) in the sample-to-group box.
[0113] Example 9
[0114] In one example, a DRAP sample entry includes a field indicating the number of required Random Access Point (RAP) samples needed for random access from a member of the DRAP sample group. The required RAP samples can be initial samples or DRAP samples. In one example, the DRAP sample entry also includes a field indicating the RAP identifier of a member of the DRAP sample group. In one example, the field indicating the RAP identifier is encoded using 16 bits. In one example, the field indicating the RAP identifier is encoded using 32 bits. In one example, the DRAP sample entry does not include a field indicating the RAP identifier of a member of the DRAP sample group. The RAP identifier may be signaled in a subsample information box, a sample auxiliary information size box, and / or another box. In one example, the DRAP sample entry does not include a field indicating the RAP identifier of a member of the DRAP sample group. In one example, the RAP identifier is a sample number. In one example, the DRAP sample entry also includes multiple fields indicating the RAP identifier of the required RAP samples needed for random access from a member of the DRAP sample group. In one example, each field of the RAP identifier indicating the desired RAP sample uses 16-bit encoding / decoding. In another example, each field of the RAP identifier indicating the desired RAP sample uses 32-bit encoding / decoding. In one example, each field of the RAP identifier indicating the desired RAP sample directly represents the RAP identifier of the desired RAP sample. In another example, each field of the RAP identifier indicating the desired RAP sample represents the difference between the RAP identifiers of two RAP samples. In one example, the i-th field (i equals 0) of the RAP identifier indicating the desired RAP sample represents the difference between the RAP identifier of the current sample (e.g., a sample in the current DRAP sample group) and the i-th RAP identifier of the first desired RAP sample. In another example, the i-th field (i greater than 0) of the RAP identifier indicating the desired RAP sample represents the difference between the RAP identifier of the (i-1)-th desired RAP sample and the RAP identifier of the i-th desired RAP sample. In one example, the i-th field (i > 0) in the field indicating the RAP identifier of the desired RAP sample represents the difference between the RAP identifier of the i-th desired RAP sample and the RAP identifier of the (i-1)-th desired RAP sample.
[0115] Example 10
[0116] In one example, a dependent random access point (DRAP) sample is a sample that, after which, when the nearest initial sample preceding the DRAP sample is available for reference, all samples can be correctly decoded in both decoding and output order.
[0117] The following are some example implementations of aspects summarized above. Added or modified parts are indicated by underline and bold, and deleted parts are indicated by bold italics.
[0118] In the example implementation, the syntax of the Type 2DRAP instruction for the SEI message is modified as follows.
[0119]
[0120] Furthermore, the semantics of the Type 2DRAP Indicator SEI message are modified as follows. The picture associated with the Type 2DRAP Indicator SEI message is referred to as a Type 2DRAP picture. Type 1DRAP pictures (associated with the DRAP Indicator SEI message) and Type 2DRAP pictures are collectively referred to as DRAP pictures. The presence of the Type 2DRAP Indicator SEI message indicates that the constraints on picture order and picture references specified in this sub-clause apply. These constraints enable the decoder to correctly decode the Type 2DRAP picture and pictures in the same layer, both in decoding and output order, without needing to decode any other pictures in the same layer, except for the picture list `referenceablePictures`, which consists of a list of IRAP or DRAP pictures in the same CLVS and identified by the `t2drap_ref_rap_id[i]` syntax element, arranged in decoding order.
[0121] The constraints indicated by the presence of the Type 2DRAP Indicator SEI message shall all apply, as follows: A Type 2DRAP picture is a trailing picture. A Type 2DRAP picture has a temporal sublayer identifier equal to 0. A Type 2DRAP picture does not include any pictures in the same layer, except for referenceablePictures, in its active entry in the reference picture list. Apart from referenceablePictures, any picture in the same layer that follows the Type 2DRAP picture in both decoding and output order is not included in the active entry of its reference picture list as well as any picture in the same layer that precedes the Type 2DRAP picture in either decoding or output order.
[0122]
[0123]
[0124] Any image in the list of referenceablePictures will not include any image at the same level that is not an earlier image in the list of referenceablePictures in its active entry for reference image list. Note – therefore, the first image in referenceablePictures, even if it is a DRAP image rather than an IRAP image, will not include any image from the same level in its active entry for reference image list.
[0125] `t2drap_rap_id_in_clvs` specifies the RAP picture identifier for Type 2 DRAP pictures, denoted as `RapPicId`. Each IRAP or DRAP picture is associated with a `RapPicId`. The `RapPicId` value for an IRAP picture is inferred to be equal to 0. The value of `RapPicId` should be different for any two IRAP or DRAP pictures within the CLVS. In the bitstream conforming to this version of the specification, `t2drap_reserved_zero_13bits` should be equal to 0. Other values for `t2drap_reserved_zero_13bits` are reserved for future use by ITU-T|ISO / IEC. The decoder should ignore the value of `t2drap_reserved_zero_13bits`. `t2drap_num_ref_rap_pics_minus1` plus 1 indicates the number of IRAP or DRAP pictures within the same CLVS as the Type 2 DRAP picture and in the active entry of the reference picture list for the Type 2 DRAP picture. t2drap_ref_rap_id[i] indicates the RapPicId of the i-th IRAP or DRAP image in the active entry of the reference image list that is in the same CLVS as the type 2DRAP image and can be included in the type 2DRAP image.
[0126] In the example implementation, the DRAP sample group is defined as follows. when A DRAP (Dependency Access Point) sample is a sample that, after a given sample, if the closest initial sample preceding the DRAP sample is available for reference, is used in the decoding order. All samples can be correctly decoded.
[0127] The initial sample is an SAP sample of SAP type 1, 2, or 3, marked by a Sync sample or SAP sample group. For example, if the 32nd sample in the file is an initial sample consisting of I-pictures, then the 48th sample could consist of P-pictures and be marked as a member of the dependent random access point sample group, indicating that random access can be performed on the 48th sample by first decoding the 32nd sample (ignoring samples 33-47) and then continuing decoding from the 48th sample. Note: DRAP samples can only be used in conjunction with SAP samples of types 1, 2, and 3. This is to enable the use of prior SAP samples... A function to concatenate DRAP samples with samples that follow the DRAP samples in the output order to create a decodeable sample sequence.
[0128]
[0129] If the `grouping_type_parameter` field exists and its value is 0, a sample can be a member of the dependent random access point sample group (hence the name DRAP sample) only if the following condition is true: A DRAP sample references only the nearest prior initial sample. After decoding the nearest prior SAP sample of type 1, 2, or 3 marked by the synchronization sample or SAP sample group, when decoding begins at the DRAP sample, the DRAP sample and the sample group are considered together. All samples output after the DRAP samples can be correctly decoded.
[0130]
[0131] Prior
[0132] The example syntax for DRAP sample group entries is as follows:
[0133]
[0134]
[0135] Example semantics for DRAP sample group entries are as follows. DRAP_type is a non-negative integer. When DRAP_type is in the range of 1 to 3, it indicates the SAP_type (as specified in Appendix I) if the DRAP sample does not depend on the nearest prior SAP. If so, the DRAP sample will correspond to the corresponding SAP_type. Other type values are reserved.
[0136] The retention should be 0. The semantics of this sub-clause apply only to sample group description entries where the retention is 0. When parsing the sample group, the parser should allow and ignore sample group description entries where the retention is greater than 0.
[0137]
[0138] In another example implementation, the RAP_id field is not signaled in the VisualDRAPEntry() syntax. In this case, the VisualDRAPEntry() syntax is as follows:
[0139]
[0140] In addition, the RAP_id field of each DRAP sample is signaled in the subsample information box, the sample auxiliary information size box, or the additional box.
[0141] In another example implementation, the ref_RAP_id[i] field is changed to Furthermore, the semantic changes of the ref_RAP_id[i] field are as follows. RAP_id indicates the i-th RAP sample point This sample point, which precedes the DRAP sample point in the decoding order, needs to be referenced when decoding begins from the DRAP sample point in order to correctly decode the DRAP sample point, as well as all samples that follow the DRAP sample point in both decoding and output order. This indicates... The variable RefRapId[i]
[0142]
[0143] In another example implementation, the semantics of the ref_RAP_id_delta[i] field change as follows. ref_RAP_id_delta[i] indicates the increment of the RAP_id of the i-th RAP sample, which is earlier than the DRAP samples in the decoding order and needs to be referenced when decoding starts from the DRAP samples to correctly decode the DRAP samples and all samples that follow the DRAP samples in both decoding and output order. The variable RefRapId[i] representing the RAP_id of the i-th RAP sample is derived as follows, where RAP_id is the RAP_id of the current sample (i.e., the sample in the current DRAP sample group):
[0144]
[0145] In another example implementation, the RAP sample identifier of the RAP sample is specified to be equal to the sample number of the RAP sample, the RAP_Id of the current sample is the sample number of the current sample, and the variable RefRapId[i] represents the sample number of the i-th RAP sample.
[0146] In another example implementation, the RAP_id field (when present in the sample group description) and the ref_RAP_id[i] field use 32-bit encoding and decoding.
[0147] Figure 1 This is a schematic diagram illustrating an example mechanism for random access when using IRAP image decoding bitstreams. Specifically, Figure 1 A bitstream 100 including IRAP image 101 and non-IRAP image 103 is shown. IRAP image 101 is an image encoded and decoded according to intra-frame prediction and can be used as an access point for bitstream 100. Intra-frame prediction is the process of encoding and decoding blocks of an image by referencing other blocks in the same image. Images encoded and decoded according to intra-frame prediction can be decoded without referencing other images. Conversely, non-IRAP image 103 is an image that cannot be used as an access point and can be decoded after the related IRAP image 101 has been decoded. For example, non-IRAP image 103 is typically encoded and decoded according to inter-frame prediction. Inter-frame prediction is the process of encoding and decoding blocks of an image by referencing blocks of other images designated as reference images. Images encoded and decoded based on inter-frame prediction can only be correctly decoded if all reference images of that image have been decoded. Both IRAP image 101 and non-IRAP image 103 can be designated as reference images for other non-IRAP images 103.
[0148] Depending on the encoding / decoding technology, various types of IRAP images 101 can be used. In this example, IRAP images 101 include IDR images and CRA images. An IDR image is an intra-frame codec image that can be used as the first image in a video sequence. A CRA image is an intra-frame codec image that allows the use of a related preamble image. A preamble image is an image that precedes the related IRAP image 101 in output order but follows the IRAP image 101 in decoding order. The decoder can begin decoding at the beginning of the bitstream 100. However, users often want to jump to a specific point in the bitstream and start watching from that selected point. Any point that can be selected by the user as the starting point for decoding is called a random access point.
[0149] Typically, any IRAP image 101 can be used as a random access point. Once IRAP image 101 is selected as the random access point, all associated non-IRAP images 103 (e.g., those following the selected IRAP image 101) can also be decoded. In the example shown, the user selects CRA4 for random access. The decoder can begin decoding from CRA4 without decoding any images preceding CRA4. This is because IRAP typically prevents images following a picture from referencing earlier IRAP images. Therefore, once CRA4 is selected as the random access point, the decoder can decode CRA4 for display and then decode the non-IRAP images 103 following CRA4 based on CRA4. This allows the decoder to start rendering the bitstream from the random access point (e.g., CRA4) without decoding images preceding the random access point.
[0150] Figure 2 This is a schematic diagram illustrating an example mechanism for random access when using DRAP image decoding bitstreams. Specifically, Figure 2 A bitstream 200 is shown, comprising IRAP image 201, non-IRAP image 203, and DRAP image 205. IRAP image 201 and non-IRAP image 203 can be substantially similar to IRAP image 101 and non-IRAP image 103, respectively. In this example, the IDR image is used as IRAP image 201.
[0151] It also includes DRAP image 205. DRAP image 205 is an image encoded and decoded based on inter-frame prediction and can be used as an access point for bitstream 200. For example, each DRAP image 205 can be encoded and decoded by referring to IRAP image 201. Figure 2 This includes arrows pointing to images encoded and decoded according to inter-frame prediction and derived from associated reference images. As shown, each DRAP image 205 is encoded and decoded using reference IDR0. Thus, any DRAP image 205 can be used as a random access point, provided the decoder can decode the associated IRAP image 201. In the example shown, DRAP4 is selected as the random access point. The decoder should know that DRAP image 205 is used in bitstream 200 and that (multiple) IRAP images 201 are used as reference images for DRAP image 205, for example, through signaling notification. The decoder can then decode IDR0 for random access and decode DRAP4 based on IDR0. The decoder can then decode the non-IRAP image 203 following DRAP4 based on DRAP4. The decoder can then begin rendering the decoded video as DRAP4.
[0152] Images encoded and decoded using inter-frame prediction are more compressible than those encoded and decoded using intra-frame prediction. Therefore, in bitstream 100, DRAP image 205 is more compressed than IRAP image 101. Consequently, the use of DRAP image 205 reduces the amount of data (e.g., bit rate) in bitstream 200 over time signaling notifications relative to bitstream 100 at the cost of a more complex signaling notification mechanism and decoding procedure.
[0153] Figure 3 This is a schematic diagram illustrating an example mechanism for random access when using CRR image decoding bitstreams. Specifically, Figure 3 A bitstream 300 is shown, comprising IRAP image 301, non-IRAP image 303, and CRR image 305. IRAP image 301 and non-IRAP image 303 are substantially similar to IRAP image 101 and non-IRAP image 103, respectively. CRR image 305 is an image encoded and decoded based on inter-frame prediction and can be used as an access point for bitstream 300. CRR image 305 can be considered a type of DRAP image. While DRAP images are encoded and decoded by referencing IRAP images, CRR image 305 can be encoded and decoded by referencing both IRAP image 301 and any other CRR image 305. Because CRR image 305 is a type of DRAP image, it can also be referred to as an EDRAP image and / or a type 2 DRAP image, and these terms are used interchangeably. Figure 3 Includes arrows pointing to images that are encoded and decoded according to inter-frame prediction and originate from associated reference images.
[0154] In the example shown, all CRR images 305 are encoded and decoded with reference to the IRAP image 301, represented as IDR0. Furthermore, CRR3, CRR4, and CRR5 are also encoded and decoded with reference to CRR2. Therefore, any CRR image 305 can be used as a random access point, provided the decoder can decode the associated IRAP image 301 and any associated CRR image 305 used as a reference image. In the example shown, CRR4 has been selected as the random access point. The decoder should know that CRR image 305 is used in bitstream 300 and that (multiple) IRAP images 301 and CRR images 305 are used as reference images for other CRR images 305, for example, through signaling notification. The decoder can then decode IDR0 and CRR2 for random access and decode CRR4 based on IDR0 and CRR2. The decoder can then decode the non-IRAP image 303 following CRR4 based on CRR4. The decoder can then render the decoded video starting from CRR4.
[0155] Inter-frame prediction operates by matching blocks in an image with similar reference blocks in (or more) reference images. The encoder can then encode motion vectors pointing to the reference blocks, rather than encoding / decoding the current block. Any difference between the current block and the reference blocks is encoded as a residual. The better the match between the current block and the reference blocks, the fewer residuals are encoded. Thus, better matching between the current block and the reference blocks results in less encoding / decoding data and better compression. Compared to DRAP, CRR has the advantage of having more images available, leading to better matching and compression. The cost of CRR over DRAP is increased complexity in signaling notification and decoding.
[0156] Figure 4 This is a schematic diagram of an example mechanism used for signaling notification of external bitstream 401 to support CRR-based random access. As shown above, the reference picture for managing CRR is more complex than that for managing DRAP. Figure 4 The diagram illustrates a main bitstream 400 containing encoded video decoded by a decoder. Main bitstream 400 is substantially similar to bitstream 300; references are omitted for simplicity. An external bitstream 401 is included to support random access. Specifically, external bitstream 401 includes a set of reference pictures corresponding to each CRR picture. When random access occurs, the encoder and / or video server can transmit the portion of main bitstream 400 and external bitstream 401 corresponding to the access point, starting at the access point. For example, a user can select CRR3 for random access. The decoder can then request main bitstream 400 starting at CRR3. The encoder / video server can then transmit main bitstream 400 starting at CRR3. The encoder / video server can also send the portion of external bitstream 401 corresponding to the random access point. In this example, the encoder / video server will transmit IDR0 and CRR2. Thus, the decoder receives both the CRR picture at the random access point and all the reference pictures required to decode that CRR picture. The decoder can then decode CRR3 and display the video starting from that point. To reduce data transmission, the encoder / video server may send only a portion of the external bitstream 401 required for decoding the random access point, and may not send further data unless random access occurs again and / or unless a reference image not provided at the current random access point is used in subsequent CRR images.
[0157] Figure 5 This is a schematic diagram 500 illustrating potential decoding errors when the image is after the DRAP and / or CRR images in decoding order and before the DRAP and / or CRR images in output order. (Compared to the previous...) Figure 1 Similarly, the arrows represent inter-frame prediction, where the arrow points to the image to be predicted and also points away from the relevant reference image.
[0158] The encoder is allowed to reorder images to improve compression ratio. Therefore, the order in which images should be presented to the user is called the output order. The order in which images are encoded and decoded into the bitstream is called the decoding order. Images can be identified by image order counts. The image order count can be any value that uniquely identifies the ascending order of the images. In Figure 500, the images are shown in decoding order. Simultaneously, the images are numbered according to their image order counts, which increase in the output order. From the image order counts, it can be seen that image 8 has been removed from the output order and is after image 10, which is the random access point. Therefore, image 8 is inter-frame prediction image 503, which is before the random access point in the output order and after the random access point in the decoding order. In this example, image 10 is DRAP / CRR image 505, which can be either a DRAP image or a CRR / EDRAP / type 2 DRAP image, depending on the example. In this example, inter-frame prediction image 503 is encoded and decoded using inter-frame prediction of image 6 (reference 507). Therefore, image 6 is the reference image 502 for inter-frame prediction image 503.
[0159] Figure 500 illustrates a potential encoding / decoding error because inter-frame prediction image 503 references image 502 via inter-frame prediction reference 507. Specifically, inter-frame prediction image 503 is after DRAP / CRR image 505 in decoding order and before DRAP / CRR image 505 in output order, and reference 507 is before reference image 502 in decoding order. When decoding the bitstream from image 4, which is an IRAP image of type IDR, reference image 502 is decoded and stored in the reference image buffer, so inter-frame prediction image 503 can be decoded correctly. However, when DRAP / CRR image 505 is used for random access, reference image 502 is skipped and not decoded. Therefore, when inter-frame prediction image 503 references reference image 502, inter-frame prediction image 503 cannot be decoded correctly. The encoder can optionally disallow reference 507. For example, the encoder can restrict all inter-frame predicted images 503 to refer only to images at the associated random access point and images following the associated access point in decoding order. If reference 507 is blocked, inter-frame predicted images 503 can always be decoded because inter-frame predicted images 503 are not allowed to reference any images preceding DRAP / CRR image 505. However, if reference 507 is allowed, inter-frame predicted images 503 cannot be directly decoded when the encoder decides to encode inter-frame predicted images 503 by referencing image 502 via reference 507. It should be noted that allowing reference 507 does not always lead to errors because the encoder does not need to use reference 507. However, if reference 507 is allowed, errors will occur at any time when reference 507 is selected and DRAP / CRR image 505 is used for random access. From the user's perspective, this can lead to seemingly random errors, thus degrading the user experience.
[0160] This disclosure includes several mechanisms to address this problem. For example, the encoder can signal to the decoder whether reference 507 is permitted. When reference 507 is permitted, when DRAP / CRR picture 505 is used for random access, the decoder should not display inter-frame prediction picture 503, which is output before DRAP / CRR picture 505 and decoded after DRAP / CRR picture 505, because inter-frame prediction picture 503 may or may not be decodeable (depending on whether the encoder chooses to use reference 507). When reference 507 is blocked, when DRAP / CRR picture 505 is used for random access, the decoder should display the inter-frame prediction picture 503 associated with DRAP / CRR picture 505. Furthermore, the DRAP and CRR signaling notification mechanisms are not fully specified. Therefore, this disclosure includes the mechanisms described in the media file for signaling notification of DRAP and CRR usage to more efficiently decode DRAP / CRR picture 505 and / or associated pictures after random access by the decoder.
[0161] In another example, the encoding / decoding process can be restricted to prevent reference 507 from occurring. For example, the images can be divided into multiple layers, and each layer can be associated with a different frame rate. This allows the decoder to select the layer with a frame rate that the decoder can support. The decoder then displays all images in the selected layer as well as all images in the layers below the selected layer to achieve the desired frame rate. The error shown in Figure 500 can be prevented when the encoder requires that any image in the same layer as DRAP / CRR image 505 and which is after DRAP / CRR image 505 in decoding order (e.g., inter-frame prediction image 503) should be after any image in the same layer and which is before DRAP / CRR image 505 in decoding order in output order.
[0162] Figure 6 This is a schematic diagram of a media file 600 stored in an ISOBMFF. For example, media file 600 may be stored in an ISOBMFF and used as a DASH representation. The ISOBMFF media file 600 is stored in multiple frames carrying objects and / or data associated with media content or media presentation. For example, media file 600 may include a file type frame (e.g., ftyp) 630, a movie frame (e.g., moov) 610, and a media data frame (e.g., mdat) 620.
[0163] The file type box 630 can carry data describing the entire file, and therefore can carry file-level data. Thus, a file-level box is any box that contains data related to the entire media file 600. For example, the file type box 630 may include a file type indicating the version number and / or compatibility information of the ISO specification for the media file 600. The movie box 610 can carry data describing the movie contained in the media file, and therefore can carry movie-level data. A movie-level box is any box that contains data describing the entire movie contained in the media file 600. The movie box 610 may contain a wide range of sub-boxes that contain data for various purposes. For example, the movie box 610 contains a track box (trak), which carries metadata describing the tracks presented by the media. It should be noted that a track can be referred to as a timing sequence of related samples. For example, a media track may include a sequence of pictures or sampled audio, while a metadata track may include a sequence of metadata corresponding to pictures and / or audio. The data describing a track is track-level data, therefore any box describing a track is a track-level box.
[0164] Media Data Frame 620 includes interleaved and time-ordered media data (e.g., encoded video pictures and / or audio) for media presentation. For example, Media Data Frame 620 may include a bitstream of video data encoded according to VVC, AVC, HEVC, etc. Media Data Frame 620 may include video pictures, audio, text, or other media data for display to the user. In ISOBMFF, pictures, audio, and text are collectively referred to as samples. This is contrary to the terminology used in video codec standards, which refer to pixels to be encoded / decoded as samples. Therefore, depending on the context, the word sample can refer to an entire picture (at the file format level) or a set of pixels (at the bitstream level).
[0165] As described above, this disclosure provides an additional mechanism for signaling notification of DRAP and / or CRR usage at the file format level. This allows the decoder to understand DRAP and / or CRR usage by loading parameters into the moov box 610 before actually decoding the bitstream(s) contained in the mdat box 620. For example, the moov box 610 may contain a DRAP sample group box 625 and / or an EDRAP sample group box 621. The sample group box may describe which samples belong to the type corresponding to that sample group box. In one example, both DRAP and CRR are described in the DRAP sample group box 625, for example, by treating CRR as a subtype of DRAP. In another example, CRR samples are described by the EDRAP sample group box 621, and DRAP samples are described by the DRAP sample group box 625. In the example, the DRAP sample group 625 may contain DRAP sample entries 627. Each DRAP sample entry 627 may then describe the relevant sample that has been encoded or decoded according to DRAP. In the example, EDRAP sample group 621 may contain EDRAP sample entries 623. Each EDRAP sample entry 623 may then describe the relevant sample that has been encoded and decoded according to CRR / EDRAP / type 2DRAP. The description of each DRAP / CRR sample may include a sample identifier for the picture, an identifier for samples containing (multiple) related reference pictures, an indication of the number of samples and / or RAP samples required to perform random access from the picture, and / or additional information that may be helpful to the decoder when selecting and performing random access on a DRAP / CRR picture.
[0166] Moov box 610 may also include a wide range of other boxes 629. In some examples, the description of DRAP / CRR samples may be included in one or more other boxes 629. For example, other boxes 629 may include a SampleToGroupBox, and DRAP and / or CRR samples may be described in the SampleToGroupBox. In another example, other boxes 629 may include a CompactSampleToGroupBox, and DRAP and / or CRR samples may be described in the CompactSampleToGroupBox. As a specific example, DRAP and / or CRR samples may be described in the group_type_parameter field of the SampleToGroupBox and / or CompactSampleToGroupBox. In another example, other boxes 629 may include a Subsample Information Box, and DRAP and / or CRR samples may be described in the Subsample Information Box. In yet another example, other boxes 629 may include a Sample Auxiliary Information Size Box, and DRAP and / or CRR samples may be described in the Sample Auxiliary Information Size Box. In addition, any other boxes described herein may be included in other boxes 629 and may include descriptions of DRAP and / or CRR samples.
[0167] Figure 7This is a schematic diagram of a bitstream 700 containing encoded visual media data. Bitstream 700 contains media data that has been encoded / compressed by an encoder for decoding / decompression by a decoder. For example, bitstream 700 can be included in a media data frame 620 of an ISOBMFF media file 600. Furthermore, bitstream 700 can be included in a representation in DASH. Bitstream 700 can be encoded / decoded according to various codec formats, such as VVC, AVC, EVC, HEVC, etc. In some codec formats, bitstream 700 is represented as a series of NAL units. A NAL unit is a data unit whose size is suitable for placement in a data packet. For example, VVC contains many types of NAL units. Bitstream 700 may include video coding layer (VCL) NAL units containing video data and non-VCL NAL units containing data describing the VCL NAL units, describing the encoding / decoding tools used, describing encoding / decoding constraints, etc. In the example, bitstream 700 may include an image 710 encoded / decoded in VCL NAL units. Image 710 can be an IRAP image, an inter-frame prediction image, a DRAP image, a CRR image, etc. Non-VCL NAL units can contain various messages and parameter sets describing the mechanisms used to encode and decode image 710. Although many VCL NAL units are included in VVC, this disclosure focuses primarily on SEI NAL units. For example, an SEI NAL unit can include SEI messages. SEI NAL messages contain data that assists in processes related to decoding, display, or other purposes, but the decoding process does not require this data to determine sample values in the decoded image. In an example, SEI messages can include a DRAP indication SEI message 716 and / or a Type 2 DRAP indication SEI message 717. DRAP indication SEI message 716 is an SEI message containing data describing the use of DRAP images. Type 2 DRAP indication SEI message 717 is an SEI message containing data describing the use of CRR / EDRAP / Type 2 DRAP images. DRAP Instruction SEI Message 716 and / or Type 2 DRAP Instruction SEI Message 717 can be associated with DRAP and / or CRR / EDRAP / Type 2 DRAP images and can indicate how such images should be handled during decoding.
[0168] In the example, the DRAP Indication SEI message 716 may contain an indication of whether an image reference that is decoded after the DRAP image and output before the DRAP image, or a reference image positioned before the DRAP image in decoded order, is allowed for inter-frame prediction. In the example, the DRAP Indication SEI message 716 may contain an indication of whether an image reference that is decoded after the CRR / EDRAP / type 2 DRAP image and output before the DRAP image, or a reference image positioned before the DRAP image in decoded order, is allowed for inter-frame prediction. In the example, the Type 2 DRAP Indication SEI message 717 may contain an indication of whether an image reference that is decoded after the CRR / EDRAP / type 2 DRAP image and output before the DRAP image, or a reference image positioned before the DRAP image in decoded order, is allowed for inter-frame prediction. Therefore, depending on this example, the decoder can read DRAP Indication SEI message 716 and / or Type 2 DRAP Indication SEI message 717, and determine whether the image that is after the DRAP / CRR image in decoding order and before the DRAP / CRR image in output order should be presented when the DRAP / CRR image is used as a random access point.
[0169] In a specific example, the DRAP Indication SEI message 716 may be associated with a DRAP picture, and the Type 2 DRAP Indication SEI message 717 may be associated with a CRR / EDRAP / Type 2 DRAP picture. In another example, the Type 2 DRAP Indication SEI message 717 may contain a T2drap_reserved_zero_13bits field 701, and bits from the T2drap_reserved_zero_13bits field 701 may be used to indicate whether a reference picture that is after the CRR / Edrap / Type 2 DRAP picture in decoding order and before the DRAP picture in output order is allowed, or a reference picture that is positioned before the DRAP picture in decoding order for inter-frame prediction. In another example, fields in the DRAP Indication SEI message 716 may contain similar indications for DRAP pictures. In other examples, multi-bit indicators in the DRAP Indication SEI message 716 and / or the Type 2 DRAP Indication SEI message 717 may be used for this purpose.
[0170] Figure 8This is a block diagram of an example video processing system 800 that can implement the various techniques disclosed herein. Various implementations may include some or all of the components in system 800. System 800 may include an input 802 for receiving video content. The video content may be received in a raw or uncompressed format (e.g., 8 or 10-bit multi-component pixel values), or in a compressed or encoded format. Input 802 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interfaces include wired interfaces (such as Ethernet, Passive Optical Networking (PON), etc.) and wireless interfaces (such as Wi-Fi or cellular interfaces).
[0171] System 800 may include an encoding / decoding component 804 capable of implementing the various encoding / decoding or coding methods described in this document. Encoding / decoding component 804 can reduce the average bit rate of the video from input 802 to the output of encoding / decoding component 804 to produce an encoded / decoded representation of the video. Therefore, encoding / decoding techniques are sometimes referred to as video compression or video transcoding techniques. The output of encoding / decoding component 804 may be stored or transmitted via connected communication, as represented by component 806. The stored or communicated bitstream (or encoded / decoded) representation of the video received at input 802 may be used by component 808 to generate pixel values or displayable video that is sent to display interface 810. The process of generating user-visible video from the bitstream representation is sometimes referred to as video decompression. Furthermore, although some video processing operations are referred to as “encoding / decoding” operations or tools, it should be understood that the encoding / decoding tools or operations are used at the encoder, and the corresponding decoding tools or operations will be inverted by the decoder to retrieve the encoded / decoded results.
[0172] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), or DisplayPort. Examples of storage interfaces include SATA (Serial Advanced Technology Accessory), PCI, IDE, etc. The technologies described in this document can be implemented in a variety of electronic devices, such as mobile phones, laptops, smartphones, or other devices capable of digital data processing and / or video display.
[0173] Figure 9This is a block diagram of an example video processing apparatus 900. Apparatus 900 can be used to implement one or more of the methods described herein. Apparatus 900 can be implemented in smartphones, tablets, computers, Internet of Things (IoT) receivers, etc. Apparatus 900 may include one or more processors 902, one or more memories 904, and video processing hardware 906. The processors 902(s) may be configured to implement one or more methods described herein. The memories 904(s) may be used to store data and code used to implement the methods and techniques described herein. The video processing hardware 906 may be used to implement some of the techniques described herein in hardware circuitry. In some embodiments, the video processing hardware 906 may be at least partially included in the processor 902, such as a graphics coprocessor.
[0174] Figure 10 A flowchart of an example method 1000 for video processing. Method 1000 includes determining (e.g., signaling notification) DRAP sample entries in a DRAP sample group in step 1002. A DRAP sample entry describes one or more DRAP samples. In step 1004, a conversion between visual media data and a visual media data file is performed based on the DRAP sample entries. The visual media data file is stored in ISOBMFF and is therefore an ISOBMFF visual media data file. A DRAP sample entry includes data describing one or more DRAP and / or CRR samples. The visual media data file can be constrained such that each DRAP sample is such that, after that sample, all samples can be correctly decoded in both decoding and output order, when the nearest initial sample preceding the DRAP sample is available for reference.
[0175] In the example, a DRAP sample entry may include one or more fields indicating the number of RAP samples required for random access from members of the DRAP sample group. RAP samples may include initial samples, DRAP samples, and combinations thereof. In the example, a DRAP sample entry includes one or more fields indicating one or more RAP identifiers for members of the DRAP sample group. In the example, the fields indicating RAP identifiers may be encoded or decoded using 16 bits and / or 32 bits. Each RAP identifier may be a sample number. A DRAP sample entry may also include one or more fields indicating the RAP identifiers of the samples required for random access from members of the DRAP sample group.
[0176] Various representations can be used to indicate RAP identifiers. For example, a sample's RAP identifier can indicate the difference between the identifiers of two RAP samples. In one example, the i-th field in the field indicating the RAP identifier can indicate the difference between the identifier of the current sample and the i-th identifier of the first desired RAP sample. In another example, the i-th field in the field indicating the RAP identifier can indicate the difference between the identifier of the (i-1)-th desired RAP sample and the identifier of the i-th desired RAP sample. In yet another example, the i-th field in the field indicating the RAP identifier can indicate the difference between the identifier of the i-th desired RAP sample and the identifier of the (i-1)-th desired RAP sample.
[0177] In one example, the visual media data file includes a subsample information box. Furthermore, the subsample information box can be used to signal one or more fields of one or more RAP identifiers indicating members of a DRAP sample group. In another example, the visual media data file includes a sample auxiliary information size box. Furthermore, the sample auxiliary information size box can be used to signal one or more fields of one or more RAP identifiers indicating members of a DRAP sample group.
[0178] Figure 11 This is a block diagram illustrating an example video codec system 1100 that can utilize the techniques disclosed herein. Figure 11 As shown, the video encoding / decoding system 1100 may include a source device 1110 and a target device 1120. The source device 1110 generates encoded video data and may be referred to as a video encoding device. The target device 1120 can decode the encoded video data generated by the source device 1110 and may be referred to as a video decoding device.
[0179] Source device 1110 may include video source 1112, video encoder 1114, and input / output (I / O) interface 1116. Video source 1112 may include a source such as a video capture device, an interface for receiving video data from a video content provider, and / or a computer graphics system that generates video data, or a combination of these sources. Video data may include one or more pictures. Video encoder 1114 encodes the video data from video source 1112 to generate a bitstream. The bitstream may include a sequence of bits forming a codec representation of the video data. The bitstream may include codec pictures and associated data. A codec picture is a codec representation of a picture. Associated data may include sequence parameter sets, picture parameter sets, and other syntax elements. I / O interface 1116 includes a modulator / demodulator (modem) and / or a transmitter. Encoded video data may be transmitted directly to target device 1120 via network 1130 through I / O interface 1116. Encoded video data may also be stored on storage medium / server 1140 for access by target device 1120.
[0180] Target device 1120 may include I / O interface 1126, video decoder 1124, and display device 1122. I / O interface 1126 may include a receiver and / or a modem. I / O interface 1126 may acquire encoded video data from source device 1110 or storage medium / server 1140. Video decoder 1124 may decode the encoded video data. Display device 1122 may display the decoded video data to a user. Display device 1122 may be integrated with target device 1120 or may be external to target device 1120 configured to connect to an external display device.
[0181] The video encoder 1114 and the video decoder 1124 can operate according to video compression standards such as High Efficiency Video Coding (HEVC), Multi-Functional Video Coding (VVC), and other current and / or other standards.
[0182] Figure 12 This is a block diagram illustrating an example of a video encoder 1200, which may be... Figure 11 The system 1100 shown includes a video encoder 1114. The video encoder 1200 can be configured to perform any or all of the techniques disclosed herein. Figure 12 In the example, the video encoder 1200 includes multiple functional components. The techniques described in this disclosure can be shared among the various components of the video encoder 1200. In some examples, the processor can be configured to perform any or all of the techniques described in this disclosure.
[0183] The functional components of the video encoder 1200 may include a segmentation unit 1201, a prediction unit 1202 (which may include a mode selection unit 1203, a motion estimation unit 1204, a motion compensation unit 1205, and an intra-frame prediction unit 1206), a residual generation unit 1207, a transform processing unit 1208, a quantization unit 1209, an inverse quantization unit 1210, an inverse transform unit 1211, a reconstruction unit 1212, a buffer 1213, and an entropy coding unit 1214.
[0184] In other examples, the video encoder 1200 may include more, fewer, or different functional components. In one example, the prediction unit 1202 may include an intra-block copy (IBC) unit. The IBC unit may perform prediction in IBC mode, wherein at least one reference picture is the picture in which the current video block is located.
[0185] Furthermore, some components, such as the motion estimation unit 1204 and the motion compensation unit 1205, can be highly integrated, but for interpretive purposes... Figure 12 The examples are shown separately.
[0186] The segmentation unit 1201 can segment an image into one or more video blocks. The video encoder 1200 and the video decoder 1300 can support various video block sizes.
[0187] The mode selection unit 1203 can, for example, select one of the intra-frame or inter-frame encoding / decoding modes based on the error result, and provide the obtained intra-frame or inter-frame encoded / decoded blocks to the residual generation unit 1207 to generate residual block data and to the reconstruction unit 1212 to reconstruct the encoded / decoded blocks for use as reference images. In some examples, the mode selection unit 1203 can select a combined intra-frame and inter-frame prediction (CIIP) mode, where the prediction is based on the inter-frame prediction signal and the intra-frame prediction signal. The mode selection unit 1203 can also select the resolution of the motion vector (e.g., sub-pixel or integer pixel precision) for the blocks in the inter-frame prediction case.
[0188] To perform inter-frame prediction for the current video block, motion estimation unit 1204 can generate motion information for the current video block by comparing one or more reference frames from buffer 1213 with the current video block. Motion compensation unit 1205 can determine the predicted video block for the current video block based on the motion information of the image from buffer 1213 (rather than the image associated with the current video block) and decoded samples.
[0189] The motion estimation unit 1204 and the motion compensation unit 1205 can perform different operations on the current video block. For example, the different operations performed depend on whether the current video block is in an I-strip, a P-strip, or a B-strip.
[0190] In some examples, motion estimation unit 1204 can perform unidirectional prediction of the current video block, and can search for a reference video block for the current video block in the reference images of list 0 or list 1. Motion estimation unit 1204 can then generate a reference index indicating that the reference video block is present in the reference images of list 0 or list 1, and a motion vector indicating the spatial displacement between the current video block and the reference video block. Motion estimation unit 1204 can output the reference index, prediction direction indicator, and motion vector as motion information for the current video block. Motion compensation unit 1205 can generate a predicted video block for the current block based on the reference video block indicated by the motion information of the current video block.
[0191] In other examples, motion estimation unit 1204 can perform bidirectional prediction of the current video block. Motion estimation unit 1204 can search for a reference video block for the current video block in the reference images of list 0 and can also search for another reference video block for the current video block in the reference images of list 1. Motion estimation unit 1204 can then generate a reference index indicating that the reference images in list 0 or list 1 contain the reference video block, and a motion vector indicating the spatial displacement between the reference video block and the current video block. Motion estimation unit 1204 can output the reference index and the motion vector of the current video block as the motion information of the current video block. Motion compensation unit 1205 can generate a predicted video block for the current video block based on the reference video block indicated by the motion information of the current video block.
[0192] In some examples, the motion estimation unit 1204 may output the complete set of motion information for decoding processing by the decoder. In some examples, the motion estimation unit 1204 may not output the complete set of motion information for the current video. Instead, the motion estimation unit 1204 may refer to the motion information of another video block to signal the motion information of the current video block. For example, the motion estimation unit 1204 may determine that the motion information of the current video block is sufficiently similar to the motion information of adjacent video blocks.
[0193] In one example, the motion estimation unit 1204 can instruct in the syntax structure associated with the current video block: to Figure 13 The video decoder 1300 indicates that the current video block has the same motion information value as another video block.
[0194] In another example, motion estimation unit 1204 can identify another video block and motion vector difference (MVD) in the syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicating video block. Video decoder 1300 can use the motion vector of the indicating video block and the motion vector difference to determine the motion vector of the current video block.
[0195] As discussed above, the video encoder 1200 can predictively signal motion vectors. Two examples of predictive signaling notification techniques that can be implemented by the video encoder 1200 include Advanced Motion Vector Prediction (AMVP) and merge pattern signaling notification.
[0196] The intra-prediction unit 1206 can perform intra-prediction on the current video block. When the intra-prediction unit 1206 performs intra-prediction on the current video block, it can generate prediction data for the current video block based on the decoded samples of other video blocks in the same frame. The prediction data for the current video block may include the predicted video block and various syntax elements.
[0197] The residual generation unit 1207 can generate residual data for the current video block by subtracting (or more) predicted video blocks from the current video block. The residual data for the current video block can include residual video blocks corresponding to different sample components in the current video block.
[0198] In other examples, such as in skip mode, residual data for the current video block may not exist, and the residual generation unit 1207 may not perform a subtraction operation.
[0199] The transform processing unit 1208 can generate one or more transform coefficient video blocks of the current video block by applying one or more transforms to the residual video block associated with the current video block.
[0200] After the transform processing unit 1208 generates a transform coefficient video block associated with the current video block, the quantization unit 1209 can quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
[0201] The inverse quantization unit 1210 and the inverse transform unit 1211 can apply inverse quantization and inverse transform to the transform coefficient video block respectively to reconstruct the residual video block from the transform coefficient video block. The reconstruction unit 1212 can add the reconstructed residual video block to the corresponding sample points of one or more predicted video blocks generated by the prediction unit 1202 to produce a reconstructed video block associated with the current block for storage in the buffer 1213.
[0202] After the video block is reconstructed in reconstruction unit 1212, a loop filtering operation can be performed to reduce video block artifacts in the video block.
[0203] The entropy encoding unit 1214 can receive data from other functional components of the video encoder 1200. When the entropy encoding unit 1214 receives data, it can perform one or more entropy encoding operations to generate entropy-encoded data and output a bitstream including the entropy-encoded data.
[0204] Figure 11 This is a block diagram illustrating an example of a video decoder 1100, which can be... Figure 9 The video decoder 924 in the system 900 shown in the figure.
[0205] The video decoder 1100 can be configured to perform any or all of the techniques disclosed herein. Figure 11 In the example, video decoder 1100 includes multiple functional components. The techniques described in this disclosure can be shared among the various components of video decoder 1100. In some examples, the processor can be configured to perform any or all of the techniques described in this disclosure.
[0206] exist Figure 13 In the example, the video decoder 1300 includes an entropy decoding unit 1301, a motion compensation unit 1302, an intra-frame prediction unit 1309, an inverse quantization unit 1304, an inverse transform unit 1305, a reconstruction unit 1306, and a buffer 1307. In some examples, the video decoder 1300 can perform operations related to the video encoder 1200 (…). Figure 12 The decoding process is the overall inversion of the encoding process described.
[0207] The entropy decoding unit 1301 can retrieve the encoded bitstream. The encoded bitstream may include entropy-encoded video data (e.g., encoded blocks of video data). The entropy decoding unit 1301 can decode the entropy-encoded video, and based on the entropy-encoded video data, the motion compensation unit 1302 can determine motion information including motion vectors, motion vector precision, reference image list index, and other motion information. The motion compensation unit 1302 can determine this information, for example, by performing AMVP and merge modes.
[0208] The motion compensation unit 1302 can generate motion compensation blocks, possibly based on interpolation filters. The identifier of the interpolation filter to be used at sub-pixel precision can be included in the syntax elements.
[0209] The motion compensation unit 1302 can use the interpolation filter used by the video encoder 200 during the encoding of a video block to calculate the interpolation values of a sub-integer number of pixels of the reference block. The motion compensation unit 1302 can determine the interpolation filter used by the video encoder 1200 based on the received syntax information and use the interpolation filter to generate a prediction block.
[0210] The motion compensation unit 1302 can use some syntactic information to determine: the size of the blocks used to encode (multiple) frames and / or (multiple) stripes of the encoded video sequence, segmentation information describing how each macroblock of the image of the encoded video sequence is segmented, a mode indicating how each segment is encoded, one or more reference frames (and a list of reference frames) for each inter-frame coded block, and other information for decoding the encoded video sequence.
[0211] Intra-prediction unit 1303 can use, for example, an intra-prediction mode received in the bitstream to form prediction blocks from spatially adjacent blocks. Inverse quantization unit 1304 inverse quantizes (i.e., dequantizes) the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 1301. Inverse transform unit 1305 applies the inverse transform.
[0212] The reconstruction unit 1306 can sum the residual blocks using the corresponding prediction blocks generated by the motion compensation unit 1302 or the intra-frame prediction unit 1303 to form a decoded block. As desired, a deblocking filter can also be applied to filter the decoded block to remove block artifacts. The decoded video block is then stored in a buffer 1307, which provides a reference block for subsequent motion compensation / intra-frame prediction and also generates the decoded video for presentation on a display device.
[0213] Figure 14 This is a schematic diagram of an example encoder 1400. Encoder 1400 is suitable for implementing VVC technology. Encoder 1400 includes three loop filters: a deblocking filter (DF) 1402, a sample adaptive offset (SAO) 1404, and an adaptive loop filter (ALF) 1406. Unlike DF 1402, which uses predefined filters, SAO 1404 and ALF 1406 utilize the original samples of the current image and reduce the mean square error between the original and reconstructed samples by adding an offset and applying a finite impulse response (FIR) filter, respectively, using auxiliary information signaling from the encoder and decoder to inform the offset and filter coefficients. ALF 1406 is located in the final processing stage of each image and can be considered as a tool for attempting to capture and repair artifacts generated by previous stages.
[0214] The encoder 1400 also includes an intra-frame prediction component 1408 and a motion estimation / compensation (ME / MC) component 1410, configured to receive input video. The intra-frame prediction component 1408 is configured to perform intra-frame prediction, while the ME / MC component 1410 is configured to perform inter-frame prediction using a reference picture obtained from a reference picture buffer 1412. Residual blocks from inter-frame or intra-frame prediction are fed into a transform (T) component 1414 and a quantization (Q) component 1416 to generate quantized residual transform coefficients, which are then fed into an entropy codec component 1418. The entropy codec component 1418 entropy codes and decodes the prediction results and quantized transform coefficients and sends them to a video decoder (not shown). The quantization component output from the quantization component 1416 can be fed into an inverse quantization (IQ) component 1420, an inverse transform component 1422, and a reconstruction (REC) component 1424. REC component 1424 can output images to DF 1402, SAO 1404 and ALF 1406 for filtering before these images are stored in reference image buffer 1412.
[0215] The following provides a list of preferred solutions for some embodiments.
[0216] The following solutions illustrate examples of the techniques discussed in this article.
[0217] 1. A visual media processing method (e.g., Figure 10 The method 1000 described herein includes performing (1004) a conversion between a video comprising images and a bitstream of video, wherein the images are encoded and decoded in the bitstream into Random Access Point-dependent (DRAP) images; wherein the bitstream conforms to a format rule; wherein the format rule specifies whether a Supplemental Enhancement Information (SEI) message includes a syntax element indicating whether one or more images in the same layer as the DRAP images, following the DRAP images in decoding order and preceding the DRAP images in output order, reference images in the same layer for inter-frame prediction, wherein the images precede the DRAP images in decoding order.
[0218] 2. The method according to Solution 1, wherein the SEI message is a DRAP Indication SEI message.
[0219] 3. The method according to Solution 1, wherein the SEI message is different from the DRAP indication SEI message included in the bitstream.
[0220] 4. The method according to any one of solutions 2-3, wherein the format rule specifies that the presence of an SEI message indicates that one or more images in the same layer as the DRAP image, following the DRAP image in decoding order and preceding the DRAP image in output order, are allowed to reference images in the same layer for inter-frame prediction, wherein the images are earlier than the DRAP images in decoding order.
[0221] 5. The method according to any one of solutions 2-3, wherein the format rule specifies that the presence of an SEI message indicates that one or more images in the same layer as the DRAP image, after the DRAP image in decoding order and before the DRAP image in output order, are not allowed to reference images in the same layer for inter-frame prediction, wherein the image is earlier than the DRAP image in decoding order.
[0222] 6. The method according to any one of solutions 1-5, wherein the syntax element includes a one-bit flag.
[0223] The following solutions show example implementations of the techniques discussed in the previous chapter.
[0224] 7. A video processing method, comprising: performing a conversion between a video comprising one or more images and a bitstream of the video; wherein the bitstream includes Type 2 Dependent Random Access Point (DRAP) images; wherein the bitstream conforms to a format rule; wherein the format rule specifies that the bitstream includes a specific type of Dependent Random Access Point (DRAP) indication syntax message to indicate whether an image in a layer that is after the Type 2 DRAP images in decoding order but before the Type 2 DRAP images in output order is allowed to reference an image in a layer that is earlier than the Type 2 DRAP images in decoding order for inter-frame prediction.
[0225] 8. The method according to Solution 7, wherein a specific type of DRAP indication syntax message corresponds to a type 2 DRAP indication syntax message.
[0226] 9. The method according to Solution 7, wherein a specific type of DRAP instruction syntax message corresponds to a DRAP instruction syntax message.
[0227] 10. The method according to any one of solutions 7-9, wherein the syntax element includes a one-bit flag.
[0228] The following solutions show example implementations of the techniques discussed in the previous chapter.
[0229] 11. A method for video processing, comprising: performing a conversion between video and a video bitstream; wherein the bitstream conforms to a format rule specifying whether and how signaling notification is performed across a random access point reference (CRR) in a file format storing the bitstream.
[0230] 12. The method according to solution 11, wherein the format rule defines a sample group indicating the CRR.
[0231] 13. The method according to solution 11, wherein the format rule definition depends on the random access point (DRAP) sample group including CRR.
[0232] 14. The method according to Solution 13, wherein the DRAP sample group of the signaling notification CRR includes the version field or the grouping_type_parameter field of the signaling notification CRR.
[0233] The following solutions show example implementations of the techniques discussed in the previous chapter.
[0234] 15. A method for video processing, comprising: performing a conversion between a video and a video bitstream; wherein the bitstream conforms to a format rule that specifies that, when the bitstream includes DRAP sample entries, the DRAP sample entries include a field indicating the number of DRAP samples required for random access from members of a DRAP sample group.
[0235] 16. The method according to solution 15, wherein the formatting rules further specify an additional field including a RAP identifier indicating a member of the DRAP sample group.
[0236] The following solutions show example implementations of the techniques discussed in the previous chapter.
[0237] 17. The method according to any one of solutions 1-16, wherein the dependent random access point (DRAP) sample is such that, after the sample and before the DRAP sample, the nearest initial sample is available for reference, and all samples in both the decoding and output order can be correctly decoded.
[0238] 18. The method according to any one of solutions 1-17 further includes storing the bitstream in a file conforming to a file format.
[0239] 19. The method according to any one of solutions 1-17, wherein a bit stream is read from a file conforming to a file format.
[0240] 20. The method according to any one of solutions 18-19, wherein the file format is the International Organization for Standardization Basic Media File Format (ISOBMFF).
[0241] 21. A video decoding apparatus, comprising a processor configured to implement the method described in one or more of solutions 1 to 20.
[0242] 22. A video encoding apparatus, comprising a processor configured to implement the method described in one or more of solutions 1 to 20.
[0243] 23. A computer program product having computer code stored thereon, wherein the computer code, when executed by a processor, causes the processor to implement the method described in any one of solutions 1 to 20.
[0244] 24. A computer-readable medium having a bit stream recorded thereon in a bit stream format conforming to any one of solutions 1 to 20.
[0245] 25. A method comprising generating a bitstream according to any one of solutions 1 to 20 and writing the bitstream to a computer-readable medium.
[0246] 26. The methods, apparatus or systems described in this document.
[0247] In the solution described in this paper, the encoder conforms to the format rules by generating a codec representation based on those rules. In the solution described in this paper, the decoder can use the format rules to parse the syntax elements in the codec representation, determining the presence or absence of syntax elements based on the format rules to generate the decoded video.
[0248] In this document, the term "video processing" can refer to video encoding, video decoding, video compression, or video decompression. For example, a video compression algorithm can be applied during the conversion from the pixel representation of a video to the corresponding bitstream representation, and vice versa. As defined in the syntax, the bitstream representation of the current video block can, for example, correspond to bits that are co-occurring or scattered at different positions within the bitstream. For example, a macroblock can be encoded based on the error residual values of the transformation and encoding / decoding, and also using bits in the header and other fields in the bitstream. Furthermore, during the conversion, the decoder can, based on this determination, parse the bitstream knowing that some fields may or may not be present, as described in the solutions above. Similarly, the encoder can determine whether to include or exclude certain syntax fields and generate the codec representation accordingly by including or excluding syntax fields from the codec representation.
[0249] The disclosures and other schemes, examples, embodiments, modules, and functional operations described in this document can be implemented in digital electronic circuits or in computer software, firmware, or hardware, containing the structures disclosed in this document and their equivalents, or combinations thereof. The disclosed and other embodiments can be implemented as one or more computer program products encoded on a computer-readable medium, i.e., one or more computer program instruction modules for execution by a data processing apparatus or for controlling 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 complex influencing machine-readable propagating signals, or combinations thereof. The term "data processing apparatus" encompasses all means, devices, and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors or computers. In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program in question, such as code constituting processor firmware, a protocol stack, a database management system, an operating system, or combinations thereof. Propagating signals are artificially generated signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information for transmission to a suitable receiver device.
[0250] Computer programs (also known as programs, software, software applications, scripts, or code) can be written in any programming language, including compiled or interpreted languages, and can be deployed in any form, including standalone programs or modules, components, subroutines, or other units 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 in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple co-located files (e.g., a file storing one or more modules, subroutines, or code portions). A computer program can be deployed to execute on one computer or on multiple computers located at a single site or distributed across multiple sites and interconnected by a communications network.
[0251] The processes and logic flows described in this document can be performed by one or more programmable processors executing one or more computer programs to perform functions by manipulating input data and generating outputs. The processes and logic flows can also be performed by special-purpose logic circuitry (e.g., field-programmable gate arrays (FPGAs) or application-specific integrated circuits (ASICs)), and the apparatus can be implemented as special-purpose logic circuitry (e.g., FPGAs or ASICs).
[0252] Processors suitable for executing computer programs include, for example, both general-purpose and special-purpose microprocessors, and any one or more processors of any type of digital computer. Typically, a processor receives instructions and data from read-only memory or random access memory, or both. The basic components of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include one or more mass storage devices (e.g., magneto-optical, magneto-optical, or optical disc) for storing data, or operatively coupled to receive data from or transfer data to a mass storage device (e.g., magneto-optical, magneto-optical, or optical disc), or both. However, a computer does not necessarily need to 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, for example, semiconductor memory devices (e.g., erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices); magnetic disks (e.g., internal hard disks or removable disks); magneto-optical disks; and optical disc read-only memory (CD ROM) and digital versatile optical disc read-only memory (DVD-ROM). Processors and memory can be supplemented by dedicated logic circuits or integrated into dedicated logic circuits.
[0253] While this patent document contains numerous details, these details should not be construed as limiting any subject matter or the scope of the claims, but rather as descriptions of features specific to particular embodiments of a particular art. In this patent document, certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented separately in multiple embodiments or in various suitable sub-combinations. Furthermore, although features may be described above as operating in certain combinations and even initially claimed in the same manner, in certain circumstances one or more features from the claimed combination may be removed from the combination, and the claimed combination may be for sub-combinations or variations thereof.
[0254] Similarly, although operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring such operations to be performed in the specific order or sequence shown, or to perform all the operations shown, in order to achieve the desired result. Furthermore, the separation of various system components in the embodiments described in this patent document should not be construed as requiring such separation in all embodiments.
[0255] Only a few implementations and examples are described, and other implementations, enhancements and variations can be made based on what is described and shown in this patent document.
[0256] When no intermediate component exists other than a line, trace, or other medium between the first and second components, the first component is directly coupled to the second component. When an intermediate component other than a line, trace, or other medium exists between the first and second components, the first component is indirectly coupled to the second component. The term "coupling" and its variations include direct coupling and indirect coupling. Unless otherwise stated, the term "about" means including a range of 10% of the following value.
[0257] While several embodiments have been provided in this disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of this disclosure. The present examples are intended to be illustrative rather than limiting and are not intended to be limited to the details given herein. For example, various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.
[0258] Furthermore, without departing from the scope of this disclosure, the discrete or individual technologies, systems, subsystems, and methods described and illustrated in the various embodiments may be combined or integrated with other systems, modules, technologies, or methods. Other items shown or discussed as coupled may be directly connected or indirectly coupled or communicated via some interface, device, or intermediate component in an electrical, mechanical, or other manner. Those skilled in the art can identify other examples of changes, substitutions, and alterations, and these changes, substitutions, and alterations may be made without departing from the spirit and scope of the disclosure herein.
Claims
1. A method for processing visual media data, comprising: Determine the sample entries in the sample group, wherein the sample entry description type 2 depends on the random access point DRAP sample; and The conversion between the visual media data and the visual media data file is performed based on the sample entries. The sample entry includes a field indicating the number of several other type 2 DRAP samples that are decoded earlier than the type 2 DRAP sample and that, when decoding begins from the type 2 DRAP sample, the other type 2 DRAP sample must be used as a reference in order to correctly decode the type 2 DRAP sample and all samples that immediately follow the type 2 DRAP sample in the decoding and output order.
2. The method of claim 1, wherein, The visual media data file adopts the ISO BMFF basic media file format of the International Organization for Standardization.
3. The method of claim 1, wherein, The sample entry includes a field indicating the number of random access point (RAP) samples required to randomly access members of the sample group.
4. The method of claim 3, wherein, The RAP samples include the initial samples.
5. The method of claim 3, wherein, The RAP samples include DRAP samples.
6. The method of claim 1, wherein, The Type 2 DRAP sample is a sample that can be correctly decoded when the nearest initial sample immediately preceding the Type 2 DRAP sample is available for reference, and all samples arranged in the decoding order and the output order after the Type 2 DRAP sample.
7. The method of claim 1, wherein, The sample entry includes one or more fields that indicate one or more RAP identifiers of the members of the sample group.
8. The method of claim 7, wherein, The fields indicating the RAP identifier are all encoded and decoded using 16 bits.
9. The method of claim 7, wherein, The fields indicating the RAP identifier are all encoded and decoded using 32 bits.
10. The method according to claim 1, wherein, The visual media data file includes a subsample information box, wherein the subsample information box includes one or more fields of one or more RAP identifiers indicating members of the sample group.
11. The method according to claim 1, wherein, The visual media data file includes a sample point auxiliary information size frame, wherein the sample point auxiliary information size frame includes one or more fields of one or more RAP identifiers indicating members of the sample point group.
12. The method according to claim 7, wherein, Each RAP identifier is a sample number.
13. The method according to claim 1, wherein, The sample entry includes one or more fields that indicate the RAP identifier of the required sample from the members of the sample group.
14. The method according to claim 13, wherein, The RAP identifier of the sample point directly indicates the associated sample point.
15. The method according to claim 13, wherein, The RAP identifier of a sample point indicates the difference between the identifiers of two RAP samples.
16. The method according to claim 1, wherein, The i-th field in the field indicates the difference between the identifier of the current sample and the i-th identifier of the first required RAP sample.
17. The method according to claim 1, wherein, The i-th field in the field indicates the difference between the identifier of the (i-1)-th required RAP sample and the identifier of the i-th required RAP sample.
18. The method according to claim 1, wherein, The i-th field in the field indicates the difference between the identifier of the i-th required RAP sample and the identifier of the (i-1)-th required RAP sample.
19. The method according to any one of claims 1-18, wherein, The conversion includes generating the visual media data file based on the visual media data.
20. The method according to any one of claims 1-18, wherein, The conversion includes parsing the visual media data file to obtain the visual media data.
21. An apparatus for processing visual media data, comprising a processor and a non-transitory memory having instructions thereon, wherein, When the instruction is executed by the processor, the processor: Determine the sample entries in the sample group, wherein the sample entry description type 2 depends on the random access point DRAP sample; and The conversion between the visual media data and the visual media data file is performed based on the sample entries. The sample entry includes a field indicating the number of several other type 2 DRAP samples that are decoded earlier than the type 2 DRAP sample and that, when decoding begins from the type 2 DRAP sample, the other type 2 DRAP sample must be used as a reference in order to correctly decode the type 2 DRAP sample and all samples that immediately follow the type 2 DRAP sample in the decoding and output order.
22. The apparatus according to claim 21, wherein, The visual media data file adopts the ISO BMFF basic media file format from the International Organization for Standardization (ISO). The visual media data file includes a subsample information box, and the subsample information box includes one or more fields of one or more RAP identifiers indicating members of the sample group. The visual media data file includes a sample point auxiliary information size frame, wherein the sample point auxiliary information size frame includes one or more fields of one or more RAP identifiers indicating members of the sample point group.
23. The apparatus according to claim 21, wherein, The sample entry includes a field indicating the number of random access point (RAP) samples required for random access from members of the sample group. The sample entry includes one or more fields of one or more RAP identifiers indicating members of the sample group, wherein the fields indicating the RAP identifiers are all encoded / decoded using 16 bits or all using 32 bits. The sample entry includes one or more fields, which indicate the RAP identifier for randomly accessing the required sample from the members of the sample group. Wherein, the Type 2 DRAP sample is a sample that can be correctly decoded by all samples arranged in the decoding order and the output order after the Type 2 DRAP sample, when the nearest initial sample immediately preceding the Type 2 DRAP sample is available for reference. The RAP sample points include initial sample points. The RAP sample points include DRAP sample points. Each RAP identifier is a sample number, and The RAP identifier of a sample point directly indicates the associated sample point, or the RAP identifier of a sample point indicates the difference between the identifiers of two RAP sample points.
24. A non-transitory computer-readable medium comprising a computer program for use by a video encoding / decoding device, the computer program including computer-executable instructions stored on the non-transitory computer-readable medium, the computer-executable instructions causing the video encoding / decoding device, when executed by a processor, to: Determine the sample point entries in the sample point group, where, The sample entry description type 2 depends on random access point DRAP samples; as well as Perform the conversion between visual media data and visual media data files based on the DRAP sample entries. The sample entry includes a field indicating the number of several other type 2 DRAP samples that are decoded earlier than the type 2 DRAP sample and that, when decoding begins from the type 2 DRAP sample, the other type 2 DRAP sample must be used as a reference in order to correctly decode the type 2 DRAP sample and all samples that immediately follow the type 2 DRAP sample in the decoding and output order.
25. The medium according to claim 24, wherein, The visual media data file adopts the ISO BMFF basic media file format from the International Organization for Standardization (ISO). The visual media data file includes a subsample information box, and the subsample information box includes one or more fields of one or more RAP identifiers indicating members of the sample group. The visual media data file includes a sample point auxiliary information size frame, wherein the sample point auxiliary information size frame includes one or more fields of one or more RAP identifiers indicating members of the sample point group.
26. The medium according to claim 24, wherein, The sample entry includes a field indicating the number of random access point (RAP) samples required for random access from members of the sample group. The sample entry includes one or more fields of one or more RAP identifiers indicating members of the sample group, wherein the fields indicating the RAP identifiers are all encoded / decoded using 16 bits or all using 32 bits. The sample entry includes one or more fields, which indicate the RAP identifier for randomly accessing the required sample from the members of the sample group. Wherein, the Type 2 DRAP sample is a sample that can be correctly decoded by all samples arranged in the decoding order and the output order after the Type 2 DRAP sample, when the nearest initial sample immediately preceding the Type 2 DRAP sample is available for reference. The RAP sample points include initial sample points. The RAP sample points include DRAP sample points. Each RAP identifier is a sample number, and The RAP identifier of a sample point directly indicates the associated sample point, or the RAP identifier of a sample point indicates the difference between the identifiers of two RAP sample points.
Citation Information
Patent Citations
DRAP Identification and Decoding
US20160373777A1
