US20210409730A1 - Sub-Picture Based Slice Addresses In Video Coding - Google Patents
Sub-Picture Based Slice Addresses In Video Coding Download PDFInfo
- Publication number
- US20210409730A1 US20210409730A1 US17/470,354 US202117470354A US2021409730A1 US 20210409730 A1 US20210409730 A1 US 20210409730A1 US 202117470354 A US202117470354 A US 202117470354A US 2021409730 A1 US2021409730 A1 US 2021409730A1
- Authority
- US
- United States
- Prior art keywords
- sub
- picture
- slice
- tile
- subpicture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 140
- 238000000638 solvent extraction Methods 0.000 claims description 36
- 238000004891 communication Methods 0.000 claims description 13
- 230000007246 mechanism Effects 0.000 abstract description 17
- 230000033001 locomotion Effects 0.000 description 190
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 115
- 241000023320 Luma <angiosperm> Species 0.000 description 108
- 239000013598 vector Substances 0.000 description 105
- 230000008569 process Effects 0.000 description 73
- 238000001914 filtration Methods 0.000 description 52
- 238000000605 extraction Methods 0.000 description 35
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 31
- 238000010586 diagram Methods 0.000 description 30
- 238000013139 quantization Methods 0.000 description 29
- 230000011664 signaling Effects 0.000 description 24
- 230000002123 temporal effect Effects 0.000 description 22
- 230000006870 function Effects 0.000 description 19
- 230000002457 bidirectional effect Effects 0.000 description 17
- 238000007906 compression Methods 0.000 description 17
- 230000006835 compression Effects 0.000 description 16
- 238000005192 partition Methods 0.000 description 13
- 230000003044 adaptive effect Effects 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 12
- 238000004458 analytical method Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 238000011017 operating method Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000009795 derivation Methods 0.000 description 6
- 230000000007 visual effect Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 230000000903 blocking effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 4
- 239000010410 layer Substances 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 238000003491 array Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000000926 separation method Methods 0.000 description 3
- 230000001629 suppression Effects 0.000 description 3
- 230000006837 decompression Effects 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000036961 partial effect Effects 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000000153 supplemental effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000001143 conditioned effect Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 235000019580 granularity Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000007727 signaling mechanism Effects 0.000 description 1
- 239000002356 single layer Substances 0.000 description 1
- 238000004513 sizing Methods 0.000 description 1
- 108010004034 stable plasma protein solution Proteins 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/62—Extraction of image or video features relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/49—Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/174—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
- H04N19/517—Processing of motion vectors by encoding
- H04N19/52—Processing of motion vectors by encoding by predictive encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/86—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/96—Tree coding, e.g. quad-tree coding
Definitions
- the present disclosure is generally related to video coding, and is specifically related to coding sub-pictures of pictures in video coding.
- video data is generally compressed before being communicated across modern day telecommunications networks.
- the size of a video could also be an issue when the video is stored on a storage device because memory resources may be limited.
- Video compression devices often use software and/or hardware at the source to code the video data prior to transmission or storage, thereby decreasing the quantity of data needed to represent digital video images.
- the compressed data is then received at the destination by a video decompression device that decodes the video data.
- the disclosure includes a method implemented in a decoder, the method comprising: receiving, by a receiver of the decoder, a bitstream comprising a sub-picture containing a slice; obtaining, by the processor, a slice address including a sub-picture level slice index of the slice when the slice is a rectangular slice; and decoding, by the processor, the slice of the sub-picture based on the slice address.
- a picture can be partitioned into a plurality of slices for encoding.
- the slices are addressed based on their position relative to the picture.
- Still other video coding systems employ the concept of sub-pictures.
- a sub-picture can be treated differently from other sub-pictures from a coding perspective.
- a sub-picture can be extracted and displayed independently of other sub-pictures.
- the slice addresses that are generated based on picture position may cease to operate properly as a significant number of the expected slice addresses are omitted.
- Some video coding systems address this issue by dynamically rewriting slice headers upon request to change slice addresses to support sub-picture extraction. Such a process can be resource intensive, as this process may occur each time a user requests to view the sub-picture.
- the present disclosure includes slices that are addressed relative to the sub-picture that contains the slice.
- the slice header may include a sub-picture identifier (ID) and an address of each slice included in the sub-picture.
- ID sub-picture identifier
- a sequence parameter set may contain dimensions of the sub-picture that may be referenced by the sub-picture ID. Accordingly, the slice header need not be rewritten when separate extraction of the sub-picture is requested.
- the slice header and SPS contain sufficient information to support positioning the slices in the sub-picture for display. As such, the present example increases coding efficiency and/or avoids redundant rewriting of the slice header, and hence reduces usage of processor, memory, and/or network resources at the encoder and/or decoder.
- another implementation of the aspect provides, further comprising: obtaining, by the processor, a sub-picture identifier (ID) of the sub-picture containing the slice; and positioning, by the processor, the slice in the sub-picture based on the slice address and sub-picture ID.
- ID sub-picture identifier
- bitstream further comprises a slice header associated with the slice, and wherein the slice address and sub-picture ID are obtained from the slice header.
- another implementation of the aspect provides, wherein the slice is a rectangular slice when a rect_slice_flag is equal to one.
- another implementation of the aspect provides, wherein the slice address is obtained from a slice_address variable, and wherein the sub-picture ID is obtained from a slice_subpic_id variable.
- bitstream further comprises a sequence parameter set (SPS), wherein the SPS contains a description of the sub-picture, and wherein the sub-picture ID references the description of the sub-picture.
- SPS sequence parameter set
- the description of the sub-picture includes a width of the sub-picture in units of coding tree blocks (CTBs), a height of the sub-picture in units of CTBs, and an offset of the sub-picture specified as a vertical position of a top left coding tree unit (CTU) of the sub-picture and a horizontal position of the top left CTU of the sub-picture.
- CTBs coding tree blocks
- CTU top left coding tree unit
- the disclosure includes a method implemented in an encoder, the method comprising: partitioning, by a processor of the encoder, a sub-picture into a slice; determining, by the processor, a slice address including a sub-picture level slice index of the slice when the slice is a rectangular slice; encoding, by the processor, the slice address into a bitstream; encoding, by the processor, the slice of the sub-picture into the bitstream; and storing, by a memory coupled to the processor, the bitstream for communication toward a decoder.
- a picture can be partitioned into a plurality of slices for encoding. In some video coding systems, the slices are addressed based on their position relative to the picture.
- a sub-picture can be treated differently from other sub-pictures from a coding perspective.
- a sub-picture can be extracted and displayed independently of other sub-pictures.
- the slice addresses that are generated based on picture position may cease to operate properly as a significant number of the expected slice addresses are omitted.
- Some video coding systems address this issue by dynamically rewriting slice headers upon request to change slice addresses to support sub-picture extraction. Such a process can be resource intensive, as this process may occur each time a user requests to view the sub-picture.
- the present disclosure includes slices that are addressed relative to the sub-picture that contains the slice.
- the slice header may include a sub-picture identifier (ID) and an address of each slice included in the sub-picture.
- a sequence parameter set (SPS) may contain dimensions of the sub-picture that may be referenced by the sub-picture ID. Accordingly, the slice header need not be rewritten when separate extraction of the sub-picture is requested.
- the slice header and SPS contain sufficient information to support positioning the slices in the sub-picture for display. As such, the present example increases coding efficiency and/or avoids redundant rewriting of the slice header, and hence reduces usage of processor, memory, and/or network resources at the encoder and/or decoder.
- another implementation of the aspect provides, further comprising: determining, by the processor, a sub-picture ID of the sub-picture containing the slice; and encoding, by the processor, the sub-picture ID into the bitstream.
- another implementation of the aspect provides, further comprising encoding into the bitstream, by the processor, a slice header associated with the slice, wherein the slice address and sub-picture ID are encoded into the slice header.
- another implementation of the aspect provides, wherein the slice is a rectangular slice when a rect_slice_flag is equal to one.
- another implementation of the aspect provides, wherein the slice address is encoded into a slice_address variable, and wherein the sub-picture ID is encoded into a slice_subpic_id variable.
- another implementation of the aspect provides, further comprising encoding, by the processor, a SPS into the bitstream, wherein the SPS contains a description of the sub-picture, and wherein the sub-picture ID references the description of the sub-picture.
- another implementation of the aspect provides, wherein the description of the sub-picture includes a width of the sub-picture in units of CTBs, a height of the sub-picture in units of CTBs, and an offset of the sub-picture specified as a vertical position of a top left CTU of the sub-picture and a horizontal position of the top left CTU of the sub-picture.
- the disclosure includes video coding device comprising: a processor, a receiver coupled to the processor, a memory coupled to the processor, and a transmitter coupled to the processor, wherein the processor, receiver, memory, and transmitter are configured to perform the method of any of the preceding aspects.
- the disclosure includes a non-transitory computer readable medium comprising a computer program product for use by a video coding device, the computer program product comprising computer executable instructions stored on the non-transitory computer readable medium such that when executed by a processor cause the video coding device to perform the method of any of the preceding aspects.
- the disclosure includes a decoder comprising: a receiving means for receiving a bitstream comprising a sub-picture containing a slice; an obtaining means for obtaining a slice address including a sub-picture level slice index of the slice when the slice is a rectangular slice; a decoding means for decoding the slice of the sub-picture based on the slice address; and a forwarding means for forwarding the slice for display as part of a decoded video sequence.
- the disclosure includes an encoder comprising: a partitioning means for partitioning a sub-picture into a slice; a determining means for determining a slice address including a sub-picture level slice index of the slice when the slice is a rectangular slice; an encoding means for: encoding the slice address into a bitstream; and encoding the slice of the sub-picture into the bitstream; and a storing means for storing the bitstream for communication toward a decoder.
- any one of the foregoing embodiments may be combined with any one or more of the other foregoing embodiments to create a new embodiment within the scope of the present disclosure.
- FIG. 1 is a flowchart of an example method of coding a video signal.
- FIG. 2 is a schematic diagram of an example coding and decoding (codec) system for video coding.
- FIG. 3 is a schematic diagram illustrating an example video encoder.
- FIG. 4 is a schematic diagram illustrating an example video decoder.
- FIG. 5A is a schematic diagram illustrating an example picture partitioned into sub-pictures.
- FIG. 5B is a schematic diagram illustrating an example sub-picture partitioned into slices.
- FIG. 5C is a schematic diagram illustrating an example slice partitioned into tiles.
- FIG. 5D is a schematic diagram illustrating an example slice partitioned into coding tree units (CTUs).
- FIG. 6 is a schematic diagram illustrating an example of unidirectional inter-prediction.
- FIG. 7 is a schematic diagram illustrating an example of bidirectional inter-prediction.
- FIG. 8 is a schematic diagram illustrating an example of coding a current block based on candidate motion vectors from adjacent coded blocks.
- FIG. 9 is a schematic diagram illustrating an example pattern for determining a candidate list of motion vectors.
- FIG. 10 is a block diagram illustrating an example in-loop filter.
- FIG. 11 is a schematic diagram illustrating an example bitstream containing coding tool parameters to support decoding a sub-picture of a picture.
- FIG. 12 is a schematic diagram of an example video coding device.
- FIG. 13 is a flowchart of an example method of encoding a video sequence into a bitstream by addressing a slice relative to a sub-picture.
- FIG. 14 is a flowchart of an example method of decoding a video sequence from a bitstream when a slice is addressed relative to a sub-picture.
- FIG. 15 is a schematic diagram of an example system for coding a video sequence of images in a bitstream when a slice is addressed relative to a sub-picture.
- ALF Adaptive Loop Filter
- CTB Coding Tree Block
- CTU Coding Tree Unit
- CU Coding Unit
- CVS Coded Video Sequence
- JVET Motion-Constrained Tile Set
- MTU Maximum Transfer Unit
- NAL Network Abstraction Layer
- POC Picture Order Count
- SAO Sample Adaptive Offset
- SPS Sequence Parameter Set
- TMVP Temporal Motion Vector Prediction
- VVC Versatile Video Coding
- WD Working Draft
- video compression techniques can include performing spatial (e.g., intra-picture) prediction and/or temporal (e.g., inter-picture) prediction to reduce or remove data redundancy in video sequences.
- a video slice e.g., a video picture or a portion of a video picture
- video blocks may also be referred to as treeblocks, coding tree blocks (CTBs), coding tree units (CTUs), coding units (CUs), and/or coding nodes.
- CTBs coding tree blocks
- CTUs coding tree units
- CUs coding units
- Video blocks in an intra-coded (I) slice of a picture are coded using spatial prediction with respect to reference samples in neighboring blocks in the same picture.
- Video blocks in an inter-coded unidirectional prediction (P) or bidirectional prediction (B) slice of a picture may be coded by employing spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures.
- Pictures may be referred to as frames and/or images, and reference pictures may be referred to as reference frames and/or reference images.
- Spatial or temporal prediction results in a predictive block representing an image block. Residual data represents pixel differences between the original image block and the predictive block.
- an inter-coded block is encoded according to a motion vector that points to a block of reference samples forming the predictive block and the residual data indicating the difference between the coded block and the predictive block.
- An intra-coded block is encoded according to an intra-coding mode and the residual data.
- the residual data may be transformed from the pixel domain to a transform domain.
- residual transform coefficients which may be quantized.
- the quantized transform coefficients may initially be arranged in a two-dimensional array.
- the quantized transform coefficients may be scanned in order to produce a one-dimensional vector of transform coefficients.
- Entropy coding may be applied to achieve even more compression. Such video compression techniques are discussed in greater detail below.
- Video coding standards include International Telecommunication Union (ITU) Standardization Sector (ITU-T) H.261, International Organization for Standardization/International Electrotechnical Commission (ISO/IEC) Motion Picture Experts Group (MPEG)-1 Part 2, ITU-T H.262 or ISO/IEC MPEG-2 Part 2, ITU-T H.263, ISO/IEC MPEG-4 Part 2, Advanced Video Coding (AVC), also known as ITU-T H.264 or ISO/IEC MPEG-4 Part 10, and High Efficiency Video Coding (HEVC), also known as ITU-T H.265 or MPEG-H Part 2.
- ITU International Telecommunication Union
- ISO/IEC International Organization for Standardization/International Electrotechnical Commission
- MPEG Motion Picture Experts Group
- ISO/IEC MPEG-4 Part 2 ISO/IEC MPEG-4 Part 2
- AVC Advanced Video Coding
- HEVC High Efficiency Video Coding
- AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC) and Multiview Video Coding plus Depth (MVC+D), and three dimensional (3D) AVC (3D-AVC).
- HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC).
- SHVC Scalable HEVC
- MV-HEVC Multiview HEVC
- 3D HEVC 3D HEVC
- JVET joint video experts team
- VVC is included in a Working Draft (WD), which includes JVET-M1001-v6 which provides an algorithm description, an encoder-side description of the VVC WD, and reference software.
- an image In order to code a video image, the image is first partitioned, and the partitions are coded into a bitstream.
- Various picture partitioning schemes are available. For example, an image can be partitioned into regular slices, dependent slices, tiles, and/or according to Wavefront Parallel Processing (WPP).
- WPP Wavefront Parallel Processing
- HEVC restricteds encoders so that only regular slices, dependent slices, tiles, WPP, and combinations thereof can be used when partitioning a slice into groups of CTBs for video coding.
- Such partitioning can be applied to support Maximum Transfer Unit (MTU) size matching, parallel processing, and reduced end-to-end delay.
- MTU denotes the maximum amount of data that can be transmitted in a single packet. If a packet payload is in excess of the MTU, that payload is split into two packets through a process called fragmentation.
- a regular slice also referred to simply as a slice, is a partitioned portion of an image that can be reconstructed independently from other regular slices within the same picture, notwithstanding some interdependencies due to loop filtering operations.
- Each regular slice is encapsulated in its own Network Abstraction Layer (NAL) unit for transmission.
- NAL Network Abstraction Layer
- in-picture prediction intra sample prediction, motion information prediction, coding mode prediction
- entropy coding dependency across slice boundaries may be disabled to support independent reconstruction.
- independent reconstruction supports parallelization.
- regular slice based parallelization employs minimal inter-processor or inter-core communication.
- each slice is associated with a separate slice header.
- regular slices can incur a substantial coding overhead due to the bit cost of the slice header for each slice and due to the lack of prediction across the slice boundaries.
- regular slices may be employed to support matching for MTU size requirements. Specifically, as a regular slice is encapsulated in a separate NAL unit and can be independently coded, each regular slice should be smaller than the MTU in MTU schemes to avoid breaking the slice into multiple packets. As such, the goal of parallelization and the goal of MTU size matching may place contradicting demands to a slice layout in a picture.
- Dependent slices are similar to regular slices, but have shortened slice headers and allow partitioning of the image treeblock boundaries without breaking in-picture prediction. Accordingly, dependent slices allow a regular slice to be fragmented into multiple NAL units, which provides reduced end-to-end delay by allowing a part of a regular slice to be sent out before the encoding of the entire regular slice is complete.
- a tile is a partitioned portion of an image created by horizontal and vertical boundaries that create columns and rows of tiles. Tiles may be coded in raster scan order (right to left and top to bottom). The scan order of CTBs is local within a tile. Accordingly, CTBs in a first tile are coded in raster scan order, before proceeding to the CTBs in the next tile. Similar to regular slices, tiles break in-picture prediction dependencies as well as entropy decoding dependencies. However, tiles may not be included into individual NAL units, and hence tiles may not be used for MTU size matching.
- Each tile can be processed by one processor/core, and the inter-processor/inter-core communication employed for in-picture prediction between processing units decoding neighboring tiles may be limited to conveying a shared slice header (when adjacent tiles are in the same slice), and performing loop filtering related sharing of reconstructed samples and metadata.
- the entry point byte offset for each tile other than the first entry point offset in the slice may be signaled in the slice header.
- at least one of the following conditions should be fulfilled: 1) all coded treeblocks in a slice belong to the same tile; and 2) all coded treeblocks in a tile belong to the same slice.
- the image is partitioned into single rows of CTBs.
- Entropy decoding and prediction mechanisms may use data from CTBs in other rows.
- Parallel processing is made possible through parallel decoding of CTB rows. For example, a current row may be decoded in parallel with a preceding row. However, decoding of the current row is delayed from the decoding process of the preceding rows by two CTBs. This delay ensures that data related to the CTB above and the CTB above and to the right of the current CTB in the current row is available before the current CTB is coded. This approach appears as a wavefront when represented graphically. This staggered start allows for parallelization with up to as many processors/cores as the image contains CTB rows.
- the inter-processor/inter-core communication to enable in-picture prediction can be substantial.
- the WPP partitioning does consider NAL unit sizes. Hence, WPP does not support MTU size matching. However, regular slices can be used in conjunction with WPP, with certain coding overhead, to implement MTU size matching as desired.
- Tiles may also include motion constrained tile sets.
- a motion constrained tile set (MCTS) is a tile set designed such that associated motion vectors are restricted to point to full-sample locations inside the MCTS and to fractional-sample locations that require only full-sample locations inside the MCTS for interpolation. Further, the usage of motion vector candidates for temporal motion vector prediction derived from blocks outside the MCTS is disallowed. This way, each MCTS may be independently decoded without the existence of tiles not included in the MCTS.
- Temporal MCTSs supplemental enhancement information (SEI) messages may be used to indicate the existence of MCTSs in the bitstream and signal the MCTSs.
- SEI Supplemental Enhancement Information
- the MCTSs SEI message provides supplemental information that can be used in the MCTS sub-bitstream extraction (specified as part of the semantics of the SEI message) to generate a conforming bitstream for an MCTS set.
- the information includes a number of extraction information sets, each defining a number of MCTS sets and containing raw bytes sequence payload (RBSP) bytes of the replacement video parameter set (VPSs), sequence parameter sets (SPSs), and picture parameter sets (PPSs) to be used during the MCTS sub-bitstream extraction process.
- parameter sets may be rewritten or replaced, and slice headers may updated because one or all of the slice address related syntax elements (including first_slice_segment_inpic_flag and slice_segment_address) may employ different values in the extracted sub-bitstream.
- Pictures may also be partitioned into one or more sub-pictures. Partitioning a picture into a sub-picture may allow different portions of a picture to be treated differently from a coding standpoint. For example, a sub-picture can be extracted and displayed without extracting the other sub-pictures. As another example, different sub-pictures can be displayed at different resolutions, repositioned relative to each other (e.g., in teleconferencing applications), or otherwise coded as separate pictures even though the sub-pictures collectively contain data from a common picture.
- a picture can be partitioned into one or more sub-pictures.
- a sub-picture is a rectangular or square set of slices/tile groups that begin with a slice/tile group that has an address equal to zero.
- Each sub-picture may refer to a different PPS, and hence each sub-picture may employ a different partitioning mechanism.
- Sub-pictures may be treated like pictures in the decoding process.
- a current reference picture used for decoding a current sub-picture may be generated by extracting an area collocating with the current sub-picture from the reference pictures in the decoded picture buffer. The extracted area may be a decoded sub-picture, and hence inter-prediction may take place between sub-pictures of the same size and the same location within the picture.
- a tile group may be a sequence of tiles in tile raster scan of a sub-picture. The following may be derived to determine the location of a sub-picture in a picture. Each sub-picture may be included in the next unoccupied location in CTU raster scan order within a picture that is large enough to fit the sub-picture within the picture boundaries.
- inter-prediction may be performed according to one of several inter-prediction modes.
- Certain inter-prediction modes generate candidate lists of motion vector predictors at both the encoder and the decoder. This allows the encoder to signal a motion vector by signaling the index from the candidate list instead of signaling the entire motion vector.
- some systems encode sub-pictures for independent extraction. This allows a current sub-picture to be decoded and displayed without decoding information from other sub-pictures. This may cause errors when a motion vector is employed that points outside of the sub-picture because the data pointed to by the motion vector may not be decoded and hence may not be available.
- a flag that indicates a sub-picture should be treated as a picture is set to support separate extraction of the sub-picture.
- the motion vector predictors obtained from a collocated block include only motion vectors that point inside the sub-picture. Any motion vector predictors that point outside of the sub-picture are excluded. This ensures that motion vectors that point outside of the sub-picture are not selected and associated errors are avoided.
- a collocated block is a block from a different picture from the current picture.
- Motion vector predictors from blocks in the current picture may point outside of the sub-picture because other processes, such as interpolation filters, may prevent errors for such motion vector predictors. Accordingly, the present example provides additional functionality to a video encoder/decoder (codec) by preventing errors when performing sub-picture extraction.
- codec video encoder/decoder
- a flag that indicates a sub-picture should be treated as a picture.
- the current sub-picture should be extracted without reference to other sub-pictures.
- the present example employs a clipping function that is applied when applying interpolation filters. This clipping function ensures that the interpolation filter does not rely on data from adjacent sub-pictures in order to maintain separation between the sub-pictures to support separate extraction.
- the clipping function is applied when the flag is set and a motion vector points outside of the current sub-picture.
- the interpolation filter is then applied to the results of the clipping function.
- the present example provides additional functionality to a video codec by preventing errors when performing sub-picture extraction.
- the first example and the second example address the first example problem.
- video coding systems partition pictures into sub-pictures, slices, tiles, and/or coding tree units, which are then partitioned into blocks. Such blocks are then encoded for transmission toward a decoder. Decoding such blocks may result in a decoded image that contains various types of noise. To correct such issues, video coding systems may apply various filters across block boundaries. These filters can remove blocking, quantization noise, and other undesirable coding artifacts. As noted above, some systems encode sub-pictures for independent extraction. This allows a current sub-picture to be decoded and displayed without decoding information from other sub-pictures. In such systems, the sub-picture may be partitioned into blocks for encoding.
- block boundaries along the sub-picture edge may align with sub-picture boundaries.
- the block boundaries may also align with tile boundaries. Filters may be applied across such block boundaries, and hence applied across sub-picture boundaries and/or tile boundaries. This may cause errors when a current sub-picture is independently extracted as the filtering process may operate in an unexpected manner when data from an adjacent sub-picture is unavailable.
- a flag that controls filtering at the sub-picture level.
- filters can be applied across the sub-picture boundary.
- filters are not applied across the sub-picture boundary.
- the filters can be turned off for sub-pictures that are encoded for separate extraction or turned on for sub-pictures that are encoded for display as a group.
- the present example provides additional functionality to a video codec by preventing filter related errors when performing sub-picture extraction.
- a flag that can be set to control filtering at the tile level.
- filters can be applied across the tile boundary.
- the flag is not set, filters are not applied across the tile boundary.
- the filters can be turned off or on for use at tile boundaries (e.g., while continuing to filter the internal portions of the tile).
- the present example provides additional functionality to a video codec by supporting selective filtering across tile boundaries.
- the third example and the fourth example address the second example problem.
- video coding systems may partition a picture into sub-pictures. This allows different sub-pictures to be treated differently when coding the video. For example, sub-pictures can be separately extracted and displayed, resized independently based on application level changes, etc. In some cases, sub-pictures may be created by partitioning a picture into tiles and assigning the tiles to the sub-pictures. Some video coding systems describe the sub-picture boundaries in terms of the tiles included in the sub-picture. However, tiling schemes may not be employed in some pictures. Accordingly, such boundary descriptions may limit usage of sub-pictures to pictures employing tiles.
- a mechanism for signaling sub-picture boundaries in terms of CTBs and/or CTUs is a mechanism for signaling sub-picture boundaries in terms of CTBs and/or CTUs.
- the width and height of a sub-picture can be signaled in units of CTBs.
- the position of the top left CTU of the sub-picture can be signaled as an offset from the top left CTU of the picture as measured in CTBs.
- CTU and CTB sizes may be set to a predetermined value. Accordingly, signaling the sub-picture dimensions and position in terms of CTBs and CTUs provides sufficient information for a decoder to position the sub-picture for display. This allows sub-pictures to be employed even when tiles are not employed.
- this signaling mechanism both avoids complexity and can be coded using relatively few bits.
- the present example provides additional functionality to a video codec by allowing sub-pictures to be employed independently of tiles. Further, the present example increases coding efficiency, and hence reduces usage of processor, memory, and/or network resources at the encoder and/or decoder. As such, the fifth example addresses the third example problem.
- a picture can be partitioned into a plurality of slices for encoding.
- the slices are addressed based on their position relative to the picture.
- Still other video coding systems employ the concept of sub-pictures.
- a sub-picture can be treated differently from other sub-pictures from a coding perspective.
- a sub-picture can be extracted and displayed independently of other sub-pictures.
- the slice addresses that are generated based on picture position may cease to operate properly as a significant number of the expected slice addresses are omitted.
- Some video coding systems address this issue by dynamically rewriting slice headers upon request to change slice addresses to support sub-picture extraction. Such a process can be resource intensive, as this process may occur each time a user requests to view the sub-picture.
- the slice header may include a sub-picture identifier (ID) and an address of each slice included in the sub-picture.
- a sequence parameter set (SPS) may contain dimensions of the sub-picture that may be referenced by the sub-picture ID. Accordingly, the slice header need not be rewritten when separate extraction of the sub-picture is requested.
- the slice header and SPS contain sufficient information to support positioning the slices in the sub-picture for display.
- the present example increases coding efficiency and/or avoids redundant rewriting of the slice header, and hence reduces usage of processor, memory, and/or network resources at the encoder and/or decoder. Accordingly, the sixth example addresses the fourth example problem.
- FIG. 1 is a flowchart of an example operating method 100 of coding a video signal.
- a video signal is encoded at an encoder.
- the encoding process compresses the video signal by employing various mechanisms to reduce the video file size. A smaller file size allows the compressed video file to be transmitted toward a user, while reducing associated bandwidth overhead.
- the decoder then decodes the compressed video file to reconstruct the original video signal for display to an end user.
- the decoding process generally mirrors the encoding process to allow the decoder to consistently reconstruct the video signal.
- the video signal is input into the encoder.
- the video signal may be an uncompressed video file stored in memory.
- the video file may be captured by a video capture device, such as a video camera, and encoded to support live streaming of the video.
- the video file may include both an audio component and a video component.
- the video component contains a series of image frames that, when viewed in a sequence, gives the visual impression of motion.
- the frames contain pixels that are expressed in terms of light, referred to herein as luma components (or luma samples), and color, which is referred to as chroma components (or color samples).
- the frames may also contain depth values to support three dimensional viewing.
- the video is partitioned into blocks.
- Partitioning includes subdividing the pixels in each frame into square and/or rectangular blocks for compression.
- HEVC High Efficiency Video Coding
- the frame can first be divided into coding tree units (CTUs), which are blocks of a predefined size (e.g., sixty-four pixels by sixty-four pixels).
- the CTUs contain both luma and chroma samples.
- Coding trees may be employed to divide the CTUs into blocks and then recursively subdivide the blocks until configurations are achieved that support further encoding. For example, luma components of a frame may be subdivided until the individual blocks contain relatively homogenous lighting values. Further, chroma components of a frame may be subdivided until the individual blocks contain relatively homogenous color values. Accordingly, partitioning mechanisms vary depending on the content of the video frames.
- inter-prediction and/or intra-prediction may be employed.
- Inter-prediction is designed to take advantage of the fact that objects in a common scene tend to appear in successive frames. Accordingly, a block depicting an object in a reference frame need not be repeatedly described in adjacent frames. Specifically, an object, such as a table, may remain in a constant position over multiple frames. Hence the table is described once and adjacent frames can refer back to the reference frame.
- Pattern matching mechanisms may be employed to match objects over multiple frames. Further, moving objects may be represented across multiple frames, for example due to object movement or camera movement. As a particular example, a video may show an automobile that moves across the screen over multiple frames.
- Motion vectors can be employed to describe such movement.
- a motion vector is a two-dimensional vector that provides an offset from the coordinates of an object in a frame to the coordinates of the object in a reference frame.
- inter-prediction can encode an image block in a current frame as a set of motion vectors indicating an offset from a corresponding block in a reference frame.
- Intra-prediction encodes blocks in a common frame. Intra-prediction takes advantage of the fact that luma and chroma components tend to cluster in a frame. For example, a patch of green in a portion of a tree tends to be positioned adjacent to similar patches of green. Intra-prediction employs multiple directional prediction modes (e.g., thirty-three in HEVC), a planar mode, and a direct current (DC) mode. The directional modes indicate that a current block is similar/the same as samples of a neighbor block in a corresponding direction. Planar mode indicates that a series of blocks along a row/column (e.g., a plane) can be interpolated based on neighbor blocks at the edges of the row.
- a row/column e.g., a plane
- Planar mode in effect, indicates a smooth transition of light/color across a row/column by employing a relatively constant slope in changing values.
- DC mode is employed for boundary smoothing and indicates that a block is similar/the same as an average value associated with samples of all the neighbor blocks associated with the angular directions of the directional prediction modes.
- intra-prediction blocks can represent image blocks as various relational prediction mode values instead of the actual values.
- inter-prediction blocks can represent image blocks as motion vector values instead of the actual values. In either case, the prediction blocks may not exactly represent the image blocks in some cases. Any differences are stored in residual blocks. Transforms may be applied to the residual blocks to further compress the file.
- various filtering techniques may be applied.
- the filters are applied according to an in-loop filtering scheme.
- the block based prediction discussed above may result in the creation of blocky images at the decoder. Further, the block based prediction scheme may encode a block and then reconstruct the encoded block for later use as a reference block.
- the in-loop filtering scheme iteratively applies noise suppression filters, de-blocking filters, adaptive loop filters, and sample adaptive offset (SAO) filters to the blocks/frames. These filters mitigate such blocking artifacts so that the encoded file can be accurately reconstructed. Further, these filters mitigate artifacts in the reconstructed reference blocks so that artifacts are less likely to create additional artifacts in subsequent blocks that are encoded based on the reconstructed reference blocks.
- the bitstream includes the data discussed above as well as any signaling data desired to support proper video signal reconstruction at the decoder.
- data may include partition data, prediction data, residual blocks, and various flags providing coding instructions to the decoder.
- the bitstream may be stored in memory for transmission toward a decoder upon request.
- the bitstream may also be broadcast and/or multicast toward a plurality of decoders.
- the creation of the bitstream is an iterative process. Accordingly, steps 101 , 103 , 105 , 107 , and 109 may occur continuously and/or simultaneously over many frames and blocks.
- FIG. 1 is presented for clarity and ease of discussion, and is not intended to limit the video coding process to a particular order.
- the decoder receives the bitstream and begins the decoding process at step 111 .
- the decoder employs an entropy decoding scheme to convert the bitstream into corresponding syntax and video data.
- the decoder employs the syntax data from the bitstream to determine the partitions for the frames at step 111 .
- the partitioning should match the results of block partitioning at step 103 .
- Entropy encoding/decoding as employed in step 111 is now described.
- the encoder makes many choices during the compression process, such as selecting block partitioning schemes from several possible choices based on the spatial positioning of values in the input image(s). Signaling the exact choices may employ a large number of bins.
- a bin is a binary value that is treated as a variable (e.g., a bit value that may vary depending on context).
- Entropy coding allows the encoder to discard any options that are clearly not viable for a particular case, leaving a set of allowable options.
- Each allowable option is then assigned a code word.
- the length of the code words is based on the number of allowable options (e.g., one bin for two options, two bins for three to four options, etc.)
- the encoder then encodes the code word for the selected option. This scheme reduces the size of the code words as the code words are as big as desired to uniquely indicate a selection from a small sub-set of allowable options as opposed to uniquely indicating the selection from a potentially large set of all possible options.
- the decoder then decodes the selection by determining the set of allowable options in a similar manner to the encoder. By determining the set of allowable options, the decoder can read the code word and determine the selection made by the encoder.
- the decoder performs block decoding. Specifically, the decoder employs reverse transforms to generate residual blocks. Then the decoder employs the residual blocks and corresponding prediction blocks to reconstruct the image blocks according to the partitioning.
- the prediction blocks may include both intra-prediction blocks and inter-prediction blocks as generated at the encoder at step 105 .
- the reconstructed image blocks are then positioned into frames of a reconstructed video signal according to the partitioning data determined at step 111 .
- Syntax for step 113 may also be signaled in the bitstream via entropy coding as discussed above.
- step 115 filtering is performed on the frames of the reconstructed video signal in a manner similar to step 107 at the encoder. For example, noise suppression filters, de-blocking filters, adaptive loop filters, and SAO filters may be applied to the frames to remove blocking artifacts. Once the frames are filtered, the video signal can be output to a display at step 117 for viewing by an end user.
- noise suppression filters For example, noise suppression filters, de-blocking filters, adaptive loop filters, and SAO filters may be applied to the frames to remove blocking artifacts.
- the video signal can be output to a display at step 117 for viewing by an end user.
- FIG. 2 is a schematic diagram of an example coding and decoding (codec) system 200 for video coding.
- codec system 200 provides functionality to support the implementation of operating method 100 .
- Codec system 200 is generalized to depict components employed in both an encoder and a decoder.
- Codec system 200 receives and partitions a video signal as discussed with respect to steps 101 and 103 in operating method 100 , which results in a partitioned video signal 201 .
- Codec system 200 then compresses the partitioned video signal 201 into a coded bitstream when acting as an encoder as discussed with respect to steps 105 , 107 , and 109 in method 100 .
- codec system 200 When acting as a decoder, codec system 200 generates an output video signal from the bitstream as discussed with respect to steps 111 , 113 , 115 , and 117 in operating method 100 .
- the codec system 200 includes a general coder control component 211 , a transform scaling and quantization component 213 , an intra-picture estimation component 215 , an intra-picture prediction component 217 , a motion compensation component 219 , a motion estimation component 221 , a scaling and inverse transform component 229 , a filter control analysis component 227 , an in-loop filters component 225 , a decoded picture buffer component 223 , and a header formatting and context adaptive binary arithmetic coding (CABAC) component 231 .
- CABAC header formatting and context adaptive binary arithmetic coding
- Such components are coupled as shown.
- black lines indicate movement of data to be encoded/decoded while dashed lines indicate movement of control data that controls the operation of other components.
- the components of codec system 200 may all be present in the encoder.
- the decoder may include a subset of the components of codec system 200 .
- the decoder may include the intra-picture prediction component 217 , the motion compensation component 219 , the scaling and inverse transform component 229 , the in-loop filters component 225 , and the decoded picture buffer component 223 .
- the partitioned video signal 201 is a captured video sequence that has been partitioned into blocks of pixels by a coding tree.
- a coding tree employs various split modes to subdivide a block of pixels into smaller blocks of pixels. These blocks can then be further subdivided into smaller blocks.
- the blocks may be referred to as nodes on the coding tree. Larger parent nodes are split into smaller child nodes. The number of times a node is subdivided is referred to as the depth of the node/coding tree.
- the divided blocks can be included in coding units (CUs) in some cases.
- a CU can be a sub-portion of a CTU that contains a luma block, red difference chroma (Cr) block(s), and a blue difference chroma (Cb) block(s) along with corresponding syntax instructions for the CU.
- the split modes may include a binary tree (BT), triple tree (TT), and a quad tree (QT) employed to partition a node into two, three, or four child nodes, respectively, of varying shapes depending on the split modes employed.
- the partitioned video signal 201 is forwarded to the general coder control component 211 , the transform scaling and quantization component 213 , the intra-picture estimation component 215 , the filter control analysis component 227 , and the motion estimation component 221 for compression.
- the general coder control component 211 is configured to make decisions related to coding of the images of the video sequence into the bitstream according to application constraints. For example, the general coder control component 211 manages optimization of bitrate/bitstream size versus reconstruction quality. Such decisions may be made based on storage space/bandwidth availability and image resolution requests.
- the general coder control component 211 also manages buffer utilization in light of transmission speed to mitigate buffer underrun and overrun issues. To manage these issues, the general coder control component 211 manages partitioning, prediction, and filtering by the other components. For example, the general coder control component 211 may dynamically increase compression complexity to increase resolution and increase bandwidth usage or decrease compression complexity to decrease resolution and bandwidth usage.
- the general coder control component 211 controls the other components of codec system 200 to balance video signal reconstruction quality with bit rate concerns.
- the general coder control component 211 creates control data, which controls the operation of the other components.
- the control data is also forwarded to the header formatting and CABAC component 231 to be encoded in the bitstream to signal parameters for decoding at the decoder.
- the partitioned video signal 201 is also sent to the motion estimation component 221 and the motion compensation component 219 for inter-prediction.
- a frame or slice of the partitioned video signal 201 may be divided into multiple video blocks.
- Motion estimation component 221 and the motion compensation component 219 perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference frames to provide temporal prediction.
- Codec system 200 may perform multiple coding passes, e.g., to select an appropriate coding mode for each block of video data.
- Motion estimation component 221 and motion compensation component 219 may be highly integrated, but are illustrated separately for conceptual purposes.
- Motion estimation performed by motion estimation component 221 , is the process of generating motion vectors, which estimate motion for video blocks.
- a motion vector for example, may indicate the displacement of a coded object relative to a predictive block.
- a predictive block is a block that is found to closely match the block to be coded, in terms of pixel difference.
- a predictive block may also be referred to as a reference block.
- Such pixel difference may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics.
- HEVC employs several coded objects including a CTU, coding tree blocks (CTBs), and CUs.
- a CTU can be divided into CTBs, which can then be divided into CBs for inclusion in CUs.
- a CU can be encoded as a prediction unit (PU) containing prediction data and/or a transform unit (TU) containing transformed residual data for the CU.
- the motion estimation component 221 generates motion vectors, PUs, and TUs by using a rate-distortion analysis as part of a rate distortion optimization process. For example, the motion estimation component 221 may determine multiple reference blocks, multiple motion vectors, etc. for a current block/frame, and may select the reference blocks, motion vectors, etc. having the best rate-distortion characteristics. The best rate-distortion characteristics balance both quality of video reconstruction (e.g., amount of data loss by compression) with coding efficiency (e.g., size of the final encoding).
- codec system 200 may calculate values for sub-integer pixel positions of reference pictures stored in decoded picture buffer component 223 .
- video codec system 200 may interpolate values of one-quarter pixel positions, one-eighth pixel positions, or other fractional pixel positions of the reference picture. Therefore, motion estimation component 221 may perform a motion search relative to the full pixel positions and fractional pixel positions and output a motion vector with fractional pixel precision.
- the motion estimation component 221 calculates a motion vector for a PU of a video block in an inter-coded slice by comparing the position of the PU to the position of a predictive block of a reference picture.
- Motion estimation component 221 outputs the calculated motion vector as motion data to header formatting and CABAC component 231 for encoding and motion to the motion compensation component 219 .
- Motion compensation performed by motion compensation component 219 may involve fetching or generating the predictive block based on the motion vector determined by motion estimation component 221 .
- motion estimation component 221 and motion compensation component 219 may be functionally integrated, in some examples.
- motion compensation component 219 may locate the predictive block to which the motion vector points.
- a residual video block is then formed by subtracting pixel values of the predictive block from the pixel values of the current video block being coded, forming pixel difference values.
- motion estimation component 221 performs motion estimation relative to luma components
- motion compensation component 219 uses motion vectors calculated based on the luma components for both chroma components and luma components.
- the predictive block and residual block are forwarded to transform scaling and quantization component 213 .
- the partitioned video signal 201 is also sent to intra-picture estimation component 215 and intra-picture prediction component 217 .
- intra-picture estimation component 215 and intra-picture prediction component 217 may be highly integrated, but are illustrated separately for conceptual purposes.
- the intra-picture estimation component 215 and intra-picture prediction component 217 intra-predict a current block relative to blocks in a current frame, as an alternative to the inter-prediction performed by motion estimation component 221 and motion compensation component 219 between frames, as described above.
- the intra-picture estimation component 215 determines an intra-prediction mode to use to encode a current block.
- intra-picture estimation component 215 selects an appropriate intra-prediction mode to encode a current block from multiple tested intra-prediction modes. The selected intra-prediction modes are then forwarded to the header formatting and CABAC component 231 for encoding.
- the intra-picture estimation component 215 calculates rate-distortion values using a rate-distortion analysis for the various tested intra-prediction modes, and selects the intra-prediction mode having the best rate-distortion characteristics among the tested modes.
- Rate-distortion analysis generally determines an amount of distortion (or error) between an encoded block and an original unencoded block that was encoded to produce the encoded block, as well as a bitrate (e.g., a number of bits) used to produce the encoded block.
- the intra-picture estimation component 215 calculates ratios from the distortions and rates for the various encoded blocks to determine which intra-prediction mode exhibits the best rate-distortion value for the block.
- intra-picture estimation component 215 may be configured to code depth blocks of a depth map using a depth modeling mode (DMM) based on rate-distortion optimization (RDO).
- DDMM depth modeling mode
- RDO rate-distortion optimization
- the intra-picture prediction component 217 may generate a residual block from the predictive block based on the selected intra-prediction modes determined by intra-picture estimation component 215 when implemented on an encoder or read the residual block from the bitstream when implemented on a decoder.
- the residual block includes the difference in values between the predictive block and the original block, represented as a matrix.
- the residual block is then forwarded to the transform scaling and quantization component 213 .
- the intra-picture estimation component 215 and the intra-picture prediction component 217 may operate on both luma and chroma components.
- the transform scaling and quantization component 213 is configured to further compress the residual block.
- the transform scaling and quantization component 213 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to the residual block, producing a video block comprising residual transform coefficient values. Wavelet transforms, integer transforms, sub-band transforms or other types of transforms could also be used.
- the transform may convert the residual information from a pixel value domain to a transform domain, such as a frequency domain.
- the transform scaling and quantization component 213 is also configured to scale the transformed residual information, for example based on frequency.
- Such scaling involves applying a scale factor to the residual information so that different frequency information is quantized at different granularities, which may affect final visual quality of the reconstructed video.
- the transform scaling and quantization component 213 is also configured to quantize the transform coefficients to further reduce bit rate.
- the quantization process may reduce the bit depth associated with some or all of the coefficients.
- the degree of quantization may be modified by adjusting a quantization parameter.
- the transform scaling and quantization component 213 may then perform a scan of the matrix including the quantized transform coefficients.
- the quantized transform coefficients are forwarded to the header formatting and CABAC component 231 to be encoded in the bitstream.
- the scaling and inverse transform component 229 applies a reverse operation of the transform scaling and quantization component 213 to support motion estimation.
- the scaling and inverse transform component 229 applies inverse scaling, transformation, and/or quantization to reconstruct the residual block in the pixel domain, e.g., for later use as a reference block which may become a predictive block for another current block.
- the motion estimation component 221 and/or motion compensation component 219 may calculate a reference block by adding the residual block back to a corresponding predictive block for use in motion estimation of a later block/frame. Filters are applied to the reconstructed reference blocks to mitigate artifacts created during scaling, quantization, and transform. Such artifacts could otherwise cause inaccurate prediction (and create additional artifacts) when subsequent blocks are predicted.
- the filter control analysis component 227 and the in-loop filters component 225 apply the filters to the residual blocks and/or to reconstructed image blocks.
- the transformed residual block from the scaling and inverse transform component 229 may be combined with a corresponding prediction block from intra-picture prediction component 217 and/or motion compensation component 219 to reconstruct the original image block.
- the filters may then be applied to the reconstructed image block.
- the filters may instead be applied to the residual blocks.
- the filter control analysis component 227 and the in-loop filters component 225 are highly integrated and may be implemented together, but are depicted separately for conceptual purposes. Filters applied to the reconstructed reference blocks are applied to particular spatial regions and include multiple parameters to adjust how such filters are applied.
- the filter control analysis component 227 analyzes the reconstructed reference blocks to determine where such filters should be applied and sets corresponding parameters. Such data is forwarded to the header formatting and CABAC component 231 as filter control data for encoding.
- the in-loop filters component 225 applies such filters based on the filter control data.
- the filters may include a deblocking filter, a noise suppression filter, a SAO filter, and an adaptive loop filter. Such filters may be applied in the spatial/pixel domain (e.g., on a reconstructed pixel block) or in the frequency domain, depending on the example.
- the filtered reconstructed image block, residual block, and/or prediction block are stored in the decoded picture buffer component 223 for later use in motion estimation as discussed above.
- the decoded picture buffer component 223 stores and forwards the reconstructed and filtered blocks toward a display as part of an output video signal.
- the decoded picture buffer component 223 may be any memory device capable of storing prediction blocks, residual blocks, and/or reconstructed image blocks.
- the header formatting and CABAC component 231 receives the data from the various components of codec system 200 and encodes such data into a coded bitstream for transmission toward a decoder. Specifically, the header formatting and CABAC component 231 generates various headers to encode control data, such as general control data and filter control data. Further, prediction data, including intra-prediction and motion data, as well as residual data in the form of quantized transform coefficient data are all encoded in the bitstream.
- the final bitstream includes all information desired by the decoder to reconstruct the original partitioned video signal 201 . Such information may also include intra-prediction mode index tables (also referred to as codeword mapping tables), definitions of encoding contexts for various blocks, indications of most probable intra-prediction modes, an indication of partition information, etc.
- Such data may be encoded by employing entropy coding.
- the information may be encoded by employing context adaptive variable length coding (CAVLC), CABAC, syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or another entropy coding technique.
- CAVLC context adaptive variable length coding
- CABAC syntax-based context-adaptive binary arithmetic coding
- PIPE probability interval partitioning entropy
- the coded bitstream may be transmitted to another device (e.g., a video decoder) or archived for later transmission or retrieval.
- FIG. 3 is a block diagram illustrating an example video encoder 300 .
- Video encoder 300 may be employed to implement the encoding functions of codec system 200 and/or implement steps 101 , 103 , 105 , 107 , and/or 109 of operating method 100 .
- Encoder 300 partitions an input video signal, resulting in a partitioned video signal 301 , which is substantially similar to the partitioned video signal 201 .
- the partitioned video signal 301 is then compressed and encoded into a bitstream by components of encoder 300 .
- the partitioned video signal 301 is forwarded to an intra-picture prediction component 317 for intra-prediction.
- the intra-picture prediction component 317 may be substantially similar to intra-picture estimation component 215 and intra-picture prediction component 217 .
- the partitioned video signal 301 is also forwarded to a motion compensation component 321 for inter-prediction based on reference blocks in a decoded picture buffer component 323 .
- the motion compensation component 321 may be substantially similar to motion estimation component 221 and motion compensation component 219 .
- the prediction blocks and residual blocks from the intra-picture prediction component 317 and the motion compensation component 321 are forwarded to a transform and quantization component 313 for transform and quantization of the residual blocks.
- the transform and quantization component 313 may be substantially similar to the transform scaling and quantization component 213 .
- the transformed and quantized residual blocks and the corresponding prediction blocks (along with associated control data) are forwarded to an entropy coding component 331 for coding into a bitstream.
- the entropy coding component 331 may be substantially similar to the header formatting and CABAC component 231 .
- the transformed and quantized residual blocks and/or the corresponding prediction blocks are also forwarded from the transform and quantization component 313 to an inverse transform and quantization component 329 for reconstruction into reference blocks for use by the motion compensation component 321 .
- the inverse transform and quantization component 329 may be substantially similar to the scaling and inverse transform component 229 .
- In-loop filters in an in-loop filters component 325 are also applied to the residual blocks and/or reconstructed reference blocks, depending on the example.
- the in-loop filters component 325 may be substantially similar to the filter control analysis component 227 and the in-loop filters component 225 .
- the in-loop filters component 325 may include multiple filters as discussed with respect to in-loop filters component 225 .
- the filtered blocks are then stored in a decoded picture buffer component 323 for use as reference blocks by the motion compensation component 321 .
- the decoded picture buffer component 323 may be substantially similar to the decoded picture buffer component 223 .
- FIG. 4 is a block diagram illustrating an example video decoder 400 .
- Video decoder 400 may be employed to implement the decoding functions of codec system 200 and/or implement steps 111 , 113 , 115 , and/or 117 of operating method 100 .
- Decoder 400 receives a bitstream, for example from an encoder 300 , and generates a reconstructed output video signal based on the bitstream for display to an end user.
- the bitstream is received by an entropy decoding component 433 .
- the entropy decoding component 433 is configured to implement an entropy decoding scheme, such as CAVLC, CABAC, SBAC, PIPE coding, or other entropy coding techniques.
- the entropy decoding component 433 may employ header information to provide a context to interpret additional data encoded as codewords in the bitstream.
- the decoded information includes any desired information to decode the video signal, such as general control data, filter control data, partition information, motion data, prediction data, and quantized transform coefficients from residual blocks.
- the quantized transform coefficients are forwarded to an inverse transform and quantization component 429 for reconstruction into residual blocks.
- the inverse transform and quantization component 429 may be similar to inverse transform and quantization component 329 .
- the reconstructed residual blocks and/or prediction blocks are forwarded to intra-picture prediction component 417 for reconstruction into image blocks based on intra-prediction operations.
- the intra-picture prediction component 417 may be similar to intra-picture estimation component 215 and an intra-picture prediction component 217 .
- the intra-picture prediction component 417 employs prediction modes to locate a reference block in the frame and applies a residual block to the result to reconstruct intra-predicted image blocks.
- the reconstructed intra-predicted image blocks and/or the residual blocks and corresponding inter-prediction data are forwarded to a decoded picture buffer component 423 via an in-loop filters component 425 , which may be substantially similar to decoded picture buffer component 223 and in-loop filters component 225 , respectively.
- the in-loop filters component 425 filters the reconstructed image blocks, residual blocks and/or prediction blocks, and such information is stored in the decoded picture buffer component 423 .
- Reconstructed image blocks from decoded picture buffer component 423 are forwarded to a motion compensation component 421 for inter-prediction.
- the motion compensation component 421 may be substantially similar to motion estimation component 221 and/or motion compensation component 219 .
- the motion compensation component 421 employs motion vectors from a reference block to generate a prediction block and applies a residual block to the result to reconstruct an image block.
- the resulting reconstructed blocks may also be forwarded via the in-loop filters component 425 to the decoded picture buffer component 423 .
- the decoded picture buffer component 423 continues to store additional reconstructed image blocks, which can be reconstructed into frames via the partition information. Such frames may also be placed in a sequence. The sequence is output toward a display as a reconstructed output video signal.
- FIG. 5A is a schematic diagram illustrating an example picture 500 partitioned into sub-pictures 510 .
- the picture 500 can be partitioned for encoding by a codec system 200 and/or an encoder 300 and partitioned for decoding by a codec system 200 and/or a decoder 400 .
- the picture 500 may be partitioned by an encoder at step 103 of method 100 for use by a decoder at step 111 .
- a picture 500 is an image depicting the complete visual portion of a video sequence at a specified temporal location.
- the picture 500 may also be referred to as an image and/or a frame.
- a picture 500 may be specified by a picture order count (POC).
- the POC is an index that indicates the output/display order of the pictures 500 in a video sequence.
- the picture 500 can be partitioned into sub-pictures 510 .
- a sub-picture 510 is a rectangular or square region of one or more slices/tile groups within a picture 500 .
- Sub-pictures 510 are optional, and hence some video sequences contain sub-pictures 510 while others do not. While four sub-pictures 510 are depicted, the picture 500 can be partitioned into any number of sub-pictures 510 .
- the partitioning of the sub-picture 510 may be consistent over an entire coded video sequence (CVS).
- CVS coded video sequence
- Sub-pictures 510 may be employed to allow different regions of a picture 500 to be treated differently.
- a specified sub-picture 510 may be independently extracted and transmitted to a decoder.
- a user employing a virtual reality (VR) headset may see a sub-set of the picture 500 , which may provide the user with the impression of being physically present in a space as depicted in the picture 500 .
- streaming only the sub-pictures 510 that are likely to be displayed to the user may increase coding efficiency.
- different sub-pictures 510 may be treated differently in certain applications.
- a teleconferencing application may display an active speaker at higher resolution in a more prominent position than users that are not currently speaking. Positioning different users in different sub-pictures 510 supports real time reconfiguring of the displayed image to support this functionality.
- Each sub-picture 510 can be identified by a unique sub-picture ID, which may be consistent for the entire CVS.
- the sub-picture 510 at the top left of the picture 500 may have a sub-picture ID of zero.
- the top left sub-picture 510 of any picture 500 in the sequence can be referred to by the sub-picture ID of zero.
- each sub-picture 510 may include a defined configuration, which may be consistent for the entire CVS.
- a sub-picture 510 may contain a height, a width, and/or an offset. The height and width describe the size of the sub-picture 510 and the offset describes the location of the sub-picture 510 .
- the sum of the widths of all of the sub-pictures 510 in a row is the width of the picture 500 .
- the sum of the heights of all of the sub-pictures 510 in a column is the height of the picture 500 .
- the offset indicates the position of the top left corner of the sub-picture 510 relative to the top left corner of the picture 500 .
- the height, width, and offset of a sub-picture 510 provide sufficient information to position the corresponding sub-picture 510 in the picture 500 . Since the partitioning of sub-pictures 510 may be consistent over an entire CVS, the parameters related to sub-pictures may be contained in a sequence parameter set (SPS).
- SPS sequence parameter set
- FIG. 5B is a schematic diagram illustrating an example sub-picture 510 partitioned into slices 515 .
- sub-picture 510 of a picture 500 may contain one or more slices 515 .
- a slice 515 is an integer number of complete tiles or an integer number of consecutive complete CTU rows within a tile of a picture that are exclusively contained in a single network abstraction layer (NAL) unit. While four slices 515 are depicted, the sub-picture 510 may include any number of slices 515 .
- the slices 515 contain visual data that is specific to a picture 500 of a specified POC. Accordingly, parameters related to slices 515 may be contained in a picture parameter set (PPS) and/or a slice header.
- PPS picture parameter set
- FIG. 5C is a schematic diagram illustrating an example slice 515 partitioned into tiles 517 .
- slice 515 of a picture 500 may contain one or more tiles 517 .
- Tiles 517 may be created by partitioning the picture 500 into rows and columns of rectangles. Accordingly, a tile 517 is a rectangular or square region of CTUs within a particular tile column and a particular tile row in a picture. Tiling is optional, and hence some video sequences contain tiles 517 while others do not. While four tiles 517 are depicted, the slice 515 may include any number of tiles 517 .
- the tiles 517 may contain visual data that is specific to a slice 515 of a picture 500 of a specified POC. In some cases, slices 515 may also be contained in tiles 517 . Accordingly, parameters related to tiles 517 may be contained in a PPS and/or a slice header.
- FIG. 5D is a schematic diagram illustrating an example slice 515 partitioned into CTUs 519 .
- slice 515 (or a tile 517 of a slice 515 ) of a picture 500 may contain one or more CTUs 519 .
- a CTU 519 is a region of the picture 500 that is sub-divided by a coding tree to create coding blocks, which are encoded/decoded.
- a CTU 519 may contain luma samples for a monochrome picture 500 or a combination of luma and chroma samples for a color picture 500 .
- a grouping of luma samples or chroma samples that can be partitioned by a coding tree is referred to as a coding tree block (CTB) 518 .
- CTB coding tree block
- a CTU 519 contains a CTB 518 of luma samples and two corresponding CTBs 518 of chroma samples of a picture 500 that has three sample arrays, or contains a CTB 518 of samples of a monochrome picture or a picture that is coded using three separate color planes and syntax structures used to code the samples.
- a picture 500 may be partitioned into sub-pictures 510 , slices 515 , tiles 517 , CTUs 519 , and/or CTBs 518 , which are then partitioned into blocks. Such blocks are then encoded for transmission toward a decoder. Decoding such blocks may result in a decoded image that contains various types of noise. To correct such issues, video coding systems may apply various filters across block boundaries. These filters can remove blocking, quantization noise, and other undesirable coding artifacts. As noted above, the sub-pictures 510 may be employed when performing independent extraction. In this case, a current sub-picture 510 may be decoded and displayed without decoding information from other sub-pictures 510 .
- block boundaries along the sub-picture 510 edge may align with sub-picture boundaries.
- the block boundaries may also align with tile boundaries. Filters may be applied across such block boundaries, and hence applied across sub-picture boundaries and/or tile boundaries. This may cause errors when a current sub-picture 510 is independently extracted as the filtering process may operate in an unexpected manner when data from an adjacent sub-picture 510 is unavailable.
- a flag may be employed that controls filtering at the sub-picture 510 level.
- the flag may be denoted as a loop_filter_across_subpic_enabled_flag.
- filters can be applied across the corresponding sub-picture boundary.
- filters are not applied across the corresponding sub-picture boundary. In this way, the filters can be turned off for sub-pictures 510 that are encoded for separate extraction or turned on for sub-pictures 510 that are encoded for display as a group.
- Another flag can be set to control filtering at the tile 517 level.
- the flag may be denoted as a loop_filter_across_tiles_enabled_flag.
- filters can be applied across the tile boundary.
- filters are not applied across the tile boundary. In this way, the filters can be turned off or on for use at tile boundaries (e.g., while continuing to filter the internal portions of the tile).
- sub-picture boundaries in terms of the tiles 517 included in the sub-picture 510 .
- sub-picture boundary descriptions in terms of tiles 517 limit the usage of sub-pictures 510 to pictures 500 that employ tiles 517 .
- the sub-pictures 510 may be described in terms of boundaries, in terms of CTBs 518 , and/or CTUs 519 . Specifically, the width and height of a sub-picture 510 can be signaled in units of CTBs 518 .
- the position of the top left CTU 519 of the sub-picture 510 can be signaled as an offset from the top left CTU 519 of the picture 500 as measured in CTBs 518 .
- CTU 519 and CTB 518 sizes may be set to a predetermined value. Accordingly, signaling the sub-picture dimensions and position in terms of CTBs 518 and CTUs 519 provides sufficient information for a decoder to position the sub-picture 510 for display. This allows sub-pictures 510 to be employed even when tiles 517 are not employed.
- a filter is applied across a sub-picture 510 or a tile 517 boundary when the filter is applied to samples on both sides of the boundary.
- some video coding systems address slices 515 based on their position relative to the picture 500 . This creates a problem when sub-pictures 510 are coded for independent extraction and display. In such a case, slices 515 and corresponding addresses associated with the omitted sub-pictures 510 are also omitted. The omission of the addresses of the slices 515 may prevent the decoder from properly positioning the slices 515 . Some video coding systems address this issue by dynamically rewriting the addresses in the slice headers associated with the slices 515 . Since the user may request any sub-picture, such rewriting occurs each time a user requests the video, which is extremely resource intensive.
- the slices 515 are addressed relative to the sub-picture 510 that contains the slice 515 when sub-pictures 510 are employed.
- the slice 515 can be identified by an index or other value that is specific to the sub-picture 510 that contains the slice 515 .
- the slice address can be coded into the slice header associated with the slice 515 .
- the sub-picture ID of the sub-picture 510 that contains the slice 515 can also be encoded in a slice header.
- the dimensions/configuration of the sub-picture 510 can be coded into the SPS along with the sub-picture ID.
- the decoder can obtain the sub-picture 510 configuration from the SPS based on the sub-picture ID and position the slice 515 into the sub-picture 510 without referencing the complete picture 500 .
- slice header rewriting can be omitted when a sub-picture 510 is extracted, which significantly reduces resource usage at the encoder, the decoder, and/or a corresponding slicer.
- the CTBs 518 and/or CTUs 519 can be further split into coding blocks.
- the coding blocks can then be coded according to intra-prediction and/or inter-prediction.
- the present disclosure also includes improvements related to the inter-prediction mechanisms. Inter-prediction can be performed in several different modes that can operate according to unidirectional inter-prediction and/or bidirectional inter-prediction.
- FIG. 6 is a schematic diagram illustrating an example of unidirectional inter-prediction 600 , for example as performed to determine motion vectors (MVs) at block compression step 105 , block decoding step 113 , motion estimation component 221 , motion compensation component 219 , motion compensation component 321 , and/or motion compensation component 421 .
- unidirectional inter-prediction 600 can be employed to determine motion vectors for encoded and/or decoding blocks created when partitioning a picture, such as picture 500 .
- Unidirectional inter-prediction 600 employs a reference frame 630 with a reference block 631 to predict a current block 611 in a current frame 610 .
- the reference frame 630 may be temporally positioned after the current frame 610 as shown (e.g., as a subsequent reference frame), but may also be temporally positioned before the current frame 610 (e.g., as a preceding reference frame) in some examples.
- the current frame 610 is an example frame/picture being encoded/decoded at a particular time.
- the current frame 610 contains an object in the current block 611 that matches an object in the reference block 631 of the reference frame 630 .
- the reference frame 630 is a frame that is employed as a reference for encoding a current frame 610
- a reference block 631 is a block in the reference frame 630 that contains an object also contained in the current block 611 of the current frame 610 .
- the current block 611 is any coding unit that is being encoded/decoded at a specified point in the coding process.
- the current block 611 may be an entire partitioned block, or may be a sub-block when employing affine inter-prediction mode.
- the current frame 610 is separated from the reference frame 630 by some temporal distance (TD) 633 .
- the TD 633 indicates an amount of time between the current frame 610 and the reference frame 630 in a video sequence, and may be measured in units of frames.
- the prediction information for the current block 611 may reference the reference frame 630 and/or reference block 631 by a reference index indicating the direction and temporal distance between the frames.
- the object in the current block 611 moves from a position in the current frame 610 to another position in the reference frame 630 (e.g., the position of the reference block 631 ).
- the object may move along a motion trajectory 613 , which is a direction of movement of an object over time.
- a motion vector 635 describes the direction and magnitude of the movement of the object along the motion trajectory 613 over the TD 633 . Accordingly, an encoded motion vector 635 , a reference block 631 , and a residual including the difference between the current block 611 and the reference block 631 provides information sufficient to reconstruct a current block 611 and position the current block 611 in the current frame 610 .
- FIG. 7 is a schematic diagram illustrating an example of bidirectional inter-prediction 700 , for example as performed to determine MVs at block compression step 105 , block decoding step 113 , motion estimation component 221 , motion compensation component 219 , motion compensation component 321 , and/or motion compensation component 421 .
- bidirectional inter-prediction 700 can be employed to determine motion vectors for encoded and/or decoding blocks created when partitioning a picture, such as picture 500 .
- Bidirectional inter-prediction 700 is similar to unidirectional inter-prediction 600 , but employs a pair of reference frames to predict a current block 711 in a current frame 710 .
- current frame 710 and current block 711 are substantially similar to current frame 610 and current block 611 , respectively.
- the current frame 710 is temporally positioned between a preceding reference frame 720 , which occurs before the current frame 710 in the video sequence, and a subsequent reference frame 730 , which occurs after the current frame 710 in the video sequence.
- Preceding reference frame 720 and subsequent reference frame 730 are otherwise substantially similar to reference frame 630 .
- the current block 711 is matched to a preceding reference block 721 in the preceding reference frame 720 and to a subsequent reference block 731 in the subsequent reference frame 730 . Such a match indicates that, over the course of the video sequence, an object moves from a position at the preceding reference block 721 to a position at the subsequent reference block 731 along a motion trajectory 713 and via the current block 711 .
- the current frame 710 is separated from the preceding reference frame 720 by some preceding temporal distance (TD 0 ) 723 and separated from the subsequent reference frame 730 by some subsequent temporal distance (TD 1 ) 733 .
- the TD 0 723 indicates an amount of time between the preceding reference frame 720 and the current frame 710 in the video sequence in units of frames.
- the TD 1 733 indicates an amount of time between the current frame 710 and the subsequent reference frame 730 in the video sequence in units of frame.
- the object moves from the preceding reference block 721 to the current block 711 along the motion trajectory 713 over a time period indicated by TD 0 723 .
- the object also moves from the current block 711 to the subsequent reference block 731 along the motion trajectory 713 over a time period indicated by TD 1 733 .
- the prediction information for the current block 711 may reference the preceding reference frame 720 and/or preceding reference block 721 and the subsequent reference frame 730 and/or subsequent reference block 731 by a pair of reference indices indicating the direction and temporal distance between the frames.
- a preceding motion vector (MV 0 ) 725 describes the direction and magnitude of the movement of the object along the motion trajectory 713 over the TD 0 723 (e.g., between the preceding reference frame 720 and the current frame 710 ).
- a subsequent motion vector (MV 1 ) 735 describes the direction and magnitude of the movement of the object along the motion trajectory 713 over the TD 1 733 (e.g., between the current frame 710 and the subsequent reference frame 730 ).
- the current block 711 can be coded and reconstructed by employing the preceding reference block 721 and/or the subsequent reference block 731 , MV 0 725 , and MV 1 735 .
- a candidate list is generated by adding candidate motion vectors to a candidate list in an order defined by a candidate list determination pattern.
- Such candidate motion vectors may include motion vectors according to unidirectional inter-prediction 600 , bidirectional inter-prediction 700 , or combinations thereof.
- motion vectors are generated for neighboring blocks when such blocks are encoded.
- Such motion vectors are added to a candidate list for the current block, and the motion vector for the current block is selected from the candidate list.
- the motion vector can then be signaled as the index of the selected motion vector in the candidate list.
- the decoder can construct the candidate list using the same process as the encoder, and can determine the selected motion vector from the candidate list based on the signaled index.
- the candidate motion vectors include motion vectors generated according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 , depending on which approach is used when such neighboring blocks are encoded.
- FIG. 8 is a schematic diagram illustrating an example 800 of coding a current block 801 based on candidate motion vectors from adjacent coded blocks 802 .
- An encoder 300 and/or a decoder 400 operating method 100 and/or employing the functionality of codec system 200 can employ the adjacent blocks 802 to generate a candidate list.
- Such a candidate list can be employed in inter-prediction according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 .
- the candidate list can then be employed to encode/decode the current block 801 , which may be generated by partitioning a picture, such as picture 500 .
- the current block 801 is a block being encoded at an encoder or decoded at a decoder, depending on the example, at a specified time.
- the coded blocks 802 are blocks that are already encoded at the specified time. Hence, the coded blocks 802 are potentially available for use when generating a candidate list.
- the current block 801 and the coded blocks 802 may be included in a common frame and/or may be included in a temporally adjacent frame. When the coded blocks 802 are included in a common frame with the current block 801 , the coded blocks 802 contain a boundary that is immediately adjacent to (e.g., abuts) a boundary of the current block 801 .
- the coded block 802 When a coded block 802 is included in a temporally adjacent frame, the coded block 802 is located at the same position in the temporally adjacent frame as the position of the current block 801 in the current frame.
- the candidate list can be generated by adding the motion vectors from the coded blocks 802 as candidate motion vectors.
- the current block 801 can then be coded by selecting a candidate motion vector from the candidate list and signaling the index of the selected candidate motion vector.
- FIG. 9 is a schematic diagram illustrating an example pattern 900 for determining a candidate list of motion vectors.
- an encoder 300 and/or a decoder 400 operating method 100 and/or employing the functionality of codec system 200 can employ the candidate list determination pattern 900 for use in generating a candidate list 911 for encoding a current block 801 partitioned from a picture 500 .
- the resulting candidate list 911 may be a merge candidate list or an AMVP candidate list, which can be employed in inter-prediction according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 .
- the candidate list determination pattern 900 searches positions 905 , denoted as A 0 , A 1 , B 0 , B 1 , and/or B 2 , in the same picture/frame as the current block 901 for valid candidate motion vectors.
- the candidate list determination pattern 900 may also search collocated block 909 for valid candidate motion vectors.
- the collocated block 909 is a block in the same position as the current block 901 , but is included in a temporally adjacent picture/frame.
- the candidate motion vectors can then be positioned in a candidate list 911 in a predetermined checking order. Accordingly, the candidate list 911 is a procedurally generated list of indexed candidate motion vectors.
- the candidate list 911 can be employed to select a motion vector to perform inter-prediction for the current block 901 .
- the encoder can obtain the samples of the reference blocks pointed to by the candidate motion vectors from the candidate list 911 .
- the encoder can then select the candidate motion vector that points to the reference block that most closely matches the current block 901 .
- the index of the selected candidate motion vector can then be encoded to represent the current block 901 .
- the candidate motion vector(s) point to a reference block that contains partial reference samples 915 .
- an interpolation filter 913 can be employed to reconstruct the complete reference samples 915 to support motion vector selection.
- An interpolation filter 913 is a filter capable of upsampling a signal.
- the interpolation filter 913 is a filter capable of accepting a partial/lower quality signal as an input and determining an approximation of a more complete/higher quality signal.
- the interpolation filter 913 can be employed in certain cases to obtain a complete set of reference samples 915 for use in selecting the reference block for the current block 901 , and hence in selecting the motion vector to encode the current block 901 .
- the preceding mechanisms for coding a block based on inter-prediction by using a candidate list may cause certain errors when sub-pictures, such as sub-pictures 510 , are employed.
- the problems may occur when a current block 901 is contained in a current sub-picture, but a motion vector points to a reference block positioned at least partially in an adjacent sub-picture.
- the current sub-picture may be extracted for presentation without the adjacent sub-picture.
- the portions of the reference block in the adjacent sub-picture may not be transmitted to the decoder, and hence the reference block may not be available for decoding the current block 901 .
- the decoder does not have access to sufficient data to decode the current block 901 .
- a flag is employed that indicates the current sub-picture should be treated as a picture.
- This flag can be set to support separate extraction of the sub-picture. Specifically, when the flag is set, the current sub-picture should be encoded without referencing data in other sub-pictures. In this case, the current sub-picture is treated like a picture in that the current sub-picture is coded separately from other sub-pictures and can be displayed as a separate picture.
- this flag may be denoted as a subpic_treated_aspic_flag[i] where i is an index of the current sub-picture.
- the motion vector candidates also known as motion vector predictors
- the motion vector candidates obtained from a collocated block 909 include only motion vectors that point inside the current sub-picture. Any motion vector predictors that point outside of the current sub-picture are excluded from the candidate list 911 . This ensures that motion vectors that point outside of the current sub-picture are not selected and associated errors are avoided.
- This example specifically applies to motion vectors from the collocated block 909 .
- Motion vectors from search positions 905 in the same picture/frame may be corrected by separate mechanisms as described below.
- Another example may be employed to address the search positions 905 when the current sub-picture is treated as a picture (e.g., when the subpic_treated_as_pic_flag[i] is set).
- the current sub-picture should be extracted without reference to other sub-pictures.
- the example mechanism relates to interpolation filters 913 .
- An interpolation filter 913 can be applied to samples in one location to interpolate (e.g., predict) related samples in another location.
- motion vectors from coded blocks at the search positions 905 may point to reference samples 915 outside the current sub-picture so long as interpolation filters 913 can interpolate such reference samples 915 based only on reference samples 915 from the current sub-picture.
- the present example employs a clipping function that is applied when applying interpolation filters 913 to motion vector candidates from the search positions 905 from the same picture.
- This clipping function clips data from the adjacent sub-pictures and hence removes such data as input to the interpolation filter 913 when determining reference samples 915 pointed to by motion vector candidates.
- This approach maintains separation between the sub-pictures during encoding to support separate extraction and decoding when the sub-picture is treated as a picture.
- the clipping function may be applied to a luma sample bilinear interpolation process, a luma sample eight tap interpolation filtering process, and/or a chroma sample interpolation process.
- FIG. 10 is a block diagram illustrating an example in-loop filter 1000 .
- the in-loop filter 1000 may be employed to implement in-loop filters 225 , 325 , and/or 425 . Further, the in-loop filter 1000 may be applied at the encoder and the decoder when performing method 100 . In addition, the in-loop filter 1000 can be applied to filter a current block 801 partitioned from a picture 500 , which may be coded according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 based on a candidate list generated according to pattern 900 .
- the in-loop filter 1000 includes a deblocking filter 1043 , a SAO filter 1045 , and an adaptive loop filter (ALF) 1047 .
- the filters of in-loop filter 1000 are applied in sequence to reconstructed image blocks at an encoder (e.g., prior to use as reference blocks) and at the decoder prior to display.
- the deblocking filter 1043 is configured to remove block shaped edges created by block based inter and intra prediction.
- the deblocking filter 1043 scans an image portion (e.g., an image slice) for discontinuities in chroma and/or luma values occurring at partition boundaries.
- the deblocking filter 1043 then applies a smoothing function to the block boundaries to remove such discontinuities.
- the strength of the deblocking filter 1043 may be varied depending on the spatial activity (e.g., variance of luma/chroma components) occurring in an area adjacent to the block boundaries.
- the SAO filter 1045 is configured to remove artifacts related to sample distortion caused by the encoding process.
- the SAO filter 1045 at an encoder classifies deblocked samples of a reconstructed image into several categories based on relative deblocking edge shape and/or direction. An offset is then determined and added to the samples based on the categories. The offsets are then encoded in the bitstream and employed by the SAO filter 1045 at the decoder.
- the SAO filter 1045 removes banding artefacts (bands of values instead of smooth transitions) and ringing artefacts (spurious signals near sharp edges).
- the ALF 1047 at the encoder, is configured to compare a reconstructed image to an original image.
- the ALF 1047 determines coefficients that describe the differences between the reconstructed image and the original image, for example via a Wiener based adaptive filter. Such coefficients are encoded in the bitstream and employed by the ALF 1047 at the decoder to remove the differences between the reconstructed image and the original image.
- Image data filtered by the in-loop filter 1000 is output to a picture buffer 1023 , which is substantially similar to decoded picture buffer 223 , 323 , and/or 423 .
- the deblocking filter 1043 , the SAO filter 1045 , and/or the ALF 1047 can be turned off at sub-picture boundaries and/or tile boundaries by flags, such as a loop_filter_across_subpic_enabled flag and/or a loop_filter_across_tiles_enabled_flag, respectively.
- FIG. 11 is a schematic diagram illustrating an example bitstream 1100 containing coding tool parameters to support decoding a sub-picture of a picture.
- the bitstream 1100 can be generated by a codec system 200 and/or an encoder 300 for decoding by a codec system 200 and/or a decoder 400 .
- the bitstream 1100 may be generated by an encoder at step 109 of method 100 for use by a decoder at step 111 .
- bitstream 1100 may contain an encoded picture 500 , corresponding sub-pictures 510 , and/or associated coded blocks, such as current blocks 801 and/or 901 , which may be coded according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 based on a candidate list generated according to pattern 900 .
- the bitstream 1100 may also contain parameters for configuring the in-loop filter 1000 .
- the bitstream 1100 includes a sequence parameter set (SPS) 1110 , a plurality of picture parameter sets (PPSs) 1111 , a plurality of slice headers 1115 , and image data 1120 .
- SPS sequence parameter set
- PPSs picture parameter sets
- An SPS 1110 contains sequence data common to all the pictures in the video sequence contained in the bitstream 1100 . Such data can include picture sizing, bit depth, coding tool parameters, bit rate restrictions, etc.
- the PPS 1111 contains parameters that apply to an entire picture. Hence, each picture in the video sequence may refer to a PPS 1111 . It should be noted that, while each picture refers to a PPS 1111 , a single PPS 1111 can contain data for multiple pictures in some examples. For example, multiple similar pictures may be coded according to similar parameters.
- a single PPS 1111 may contain data for such similar pictures.
- the PPS 1111 can indicate coding tools available for slices in corresponding pictures, quantization parameters, offsets, etc.
- the slice header 1115 contains parameters that are specific to each slice in a picture. Hence, there may be one slice header 1115 per slice in the video sequence.
- the slice header 1115 may contain slice type information, picture order counts (POCs), reference picture lists, prediction weights, tile entry points, deblocking parameters, etc. It should be noted that a slice header 1115 may also be referred to as a tile group header in some contexts.
- the image data 1120 contains video data encoded according to inter-prediction and/or intra-prediction as well as corresponding transformed and quantized residual data.
- a video sequence includes a plurality of pictures coded as image data.
- a picture is a single frame of a video sequence and hence is generally displayed as a single unit when displaying the video sequence.
- sub-pictures may be displayed to implement certain technologies such as virtual reality, picture in picture, etc.
- the pictures each reference a PPS 1111 .
- the pictures are divided into sub-pictures, tiles, and/or slices as discussed above. In some systems, the slices are referred to as tile groups containing tiles.
- the slices and/or tile groups of tiles reference a slice header 1115 .
- the slices are further divided into CTUs and/or CTBs.
- the CTUs/CTBs are further divided into coding blocks based on coding trees. The coding blocks can then be encoded/decoded according to prediction mechanisms.
- the parameter sets in the bitstream 1100 contain various data that can be employed to implement the examples described herein.
- the SPS 1110 of the bitstream 1100 contains a sub-pic treated as a pic flag 1131 related to a specified sub-picture.
- the sub-pic treated as a pic flag 1131 is denoted as a subpic_treated_as_pic_flag[i] where i is an index of the sub-picture associated with the flag.
- the sub-pic treated as a pic flag 1131 may be set equal to one to specify that an i-th sub-picture of each coded picture in a coded video sequence (in the image data 1120 ) is treated as a picture in a decoding process exclusive of in-loop filtering operations.
- the sub-pic treated as a pic flag 1131 may be employed when a current sub-picture in a current picture has been coded according to inter-prediction.
- a candidate list of candidate motion vectors for a current block can be determined by excluding collocated motion vectors from the candidate list that are included in a collocated block and that point outside of the current sub-picture. This ensures that motion vectors that point outside of the current sub-picture are not selected and associated errors are avoided when the current sub-picture is extracted separately from other subpictures.
- the candidate list of motion vectors for the current block is determined according to temporal luma motion vector prediction.
- temporal luma motion vector prediction may be employed when the current block is a luma block of luma samples, a selected current motion vector for the current block is a temporal luma motion vector pointing to reference luma samples in a reference block, and the current block is coded based on the reference luma samples.
- the temporal luma motion vector prediction is performed according to:
- xColBr xCb + cbWidth
- yColBr yCb + cbHeight
- rightBoundaryPos subpic_treated_as_pic_flag[ SubPicIdx ] ?
- SubPicBotBoundaryPos pic_height_in_luma samples ⁇ 1, where xColBr and yColBR specify a location of the collocated block, xCb and yCb specify a top left sample of the current block relative to a top left sample of the current picture, cbWidth is a width of the current block, cbHeight is a height of the current block, SubPicRightBoundaryPos is a position of a right boundary of the sub-picture, SubPicBotBoundaryPos is a position of a bottom boundary of the sub-picture, pic_width_in_luma samples is a width of the current picture measured in luma samples, pic_height_in_luma samples is a height of the current picture measured in luma samples, botBoundaryPos is a computed position of the bottom boundary of the sub-picture, rightBoundaryPos is a computed position of the bottom
- the sub-pic treated as a pic flag 1131 may also be employed for a second example implementation.
- the sub-pic treated as a pic flag 1131 may be employed when a current sub-picture in a current picture has been coded according to inter-prediction.
- a motion vector can be determined for a current block of the sub-picture (e.g., from a candidate list).
- a clipping function can be applied to sample locations in a reference block.
- a sample location is a position in a picture that can contain a single sample including a luma value and/or a pair of chroma values.
- An interpolation filter can then be applied when the motion vector points outside of the current sub-picture. This clipping function ensures that the interpolation filter does not rely on data from adjacent sub-pictures in order to maintain separation between the sub-pictures to support separate extraction.
- the clipping function can be applied in a luma sample bilinear interpolation process.
- the luma sample bilinear interpolation process may receive inputs including a luma location in full sample units (xIntL, yIntL).
- the luma sample bilinear interpolation process outputs a predicted luma sample value (predSampleLXL).
- the clipping function is applied to the sample locations as follows. When subpic_treated_as_pic_flag[SubPicIdx] is equal to one, the following applies:
- x Int i Clip3(SubPicLeftBoundaryPos,SubPicRightBoundaryPos, x Int L+i ), and
- subpic_treated_aspic_flag is the flag set to indicate the sub-picture is treated as a picture
- SubPicIdx is an index of the sub-picture
- xInti and yInti are a clipped sample location at index i
- SubPicRightBoundaryPos is a position of a right boundary of the sub-picture
- SubPicLeftBoundaryPos is a position of a left boundary of the sub-picture
- SubPicTopBoundaryPos is a position of a top boundary of the sub-picture
- SubPicBotBoundaryPos is a position of a bottom boundary of the sub-picture
- Clip3 is the clipping function according to:
- the clipping function can also be applied in a luma sample eight tap interpolation filtering process.
- the luma sample eight tap interpolation filtering process receives inputs including a luma location in full sample units (xIntL, yIntL).
- the luma sample bilinear interpolation process outputs a predicted luma sample value (predSampleLXL).
- the clipping function is applied to the sample locations as follows. When subpic_treated_as_pic_flag [SubPicIdx] is equal to one, the following applies:
- x Int i Clip3(SubPicLeftBoundaryPos,SubPicRightBoundaryPos, x Int L+i ⁇ 3), and
- subpic_treated_as_pic_flag is the flag set to indicate the sub-picture is treated as a picture
- SubPicIdx is an index of the sub-picture
- xInti and yInti are a clipped sample location at index i
- SubPicRightBoundaryPos is a position of a right boundary of the sub-picture
- SubPicLeftBoundaryPos is a position of a left boundary of the sub-picture
- SubPicTopBoundaryPos is a position of a top boundary of the sub-picture
- SubPicBotBoundaryPos is a position of a bottom boundary of the sub-picture
- Clip3 is as described above.
- the clipping function can also be applied in a chroma sample interpolation process.
- the chroma sample interpolation process receives inputs including a chroma location in full sample units (xIntC, yIntC).
- the chroma sample interpolation process outputs a predicted chroma sample value (predSampleLXC).
- predSampleLXC predicted chroma sample value
- x Int i Clip3(SubPicLeftBoundaryPos/SubWidth C ,SubPicRightBoundaryPos/SubWidth C,x Int C+i ), and
- subpic_treated_as_pic_flag is the flag set to indicate the sub-picture is treated as a picture
- SubPicIdx is an index of the sub-picture
- xInti and yInti are a clipped sample location at index i
- SubPicRightBoundaryPos is a position of a right boundary of the sub-picture
- SubPicLeftBoundaryPos is a position of a left boundary of the sub-picture
- SubPicTopBoundaryPos is a position of a top boundary of the sub-picture
- SubPicBotBoundaryPos is a position of a bottom boundary of the sub-picture
- SubWidthC and SubHeightC indicate a horizontal and vertical sampling rate ratio between luma and chroma samples
- Clip3 is as described above.
- a loop filter across sub-pic enabled flag 1132 in the SPS 1110 may be employed for a third example implementation.
- the loop filter across sub-pic enabled flag 1132 may be set to control whether filtering is employed across boundaries of specified sub-pictures.
- the loop filter across sub-pic enabled flag 1132 may be denoted as a loop_filter_across_subpic_enabled_flag.
- the loop filter across sub-pic enabled flag 1132 may be set to one when specifying that in-loop filtering operations can be performed across boundaries of the subpicture or set to zero when specifying that in-loop filtering operations are not performed across boundaries of the subpicture.
- filtering operations may or may not be performed across the sub-picture boundary based on the value of the loop filter across sub-pic enabled flag 1132 .
- the filtering operations may include applying a deblocking filter 1043 , an ALF 1047 , and/or a SAO filter 1045 .
- the filters can be turned off for sub-pictures that are encoded for separate extraction or turned on for sub-pictures that are encoded for display as a group.
- a loop filter across tiles enabled flag 1134 in the PPS 1111 may be employed for a fourth example implementation.
- the loop filter across tiles enabled flag 1134 may be set to control whether filtering is employed across boundaries of specified tiles.
- the loop filter across tiles enabled flag 1134 may be denoted as a loop_filter_across_tiles_enabled_flag.
- the loop filter across tiles enabled flag 1134 may be set to one when specifying that in-loop filtering operations can be performed across boundaries of the tile or set to zero when specifying that in-loop filtering operations are not performed across boundaries of the tile.
- filtering operations may or may not be performed across specified tile boundaries based on the value of the loop filter across tiles enabled flag 1134 .
- the filtering operations may include applying a deblocking filter 1043 , an ALF 1047 , and/or a SAO filter 1045 .
- Sub-picture data 1133 in the SPS 1110 may be employed for a fifth example implementation.
- the sub-picture data 1133 may include a width, height, and offset for each sub-picture in the image data 1120 .
- the width and height of each sub-picture can be described in the sub-picture data 1133 in units of CTBs.
- the width and height of the sub-picture are stored in the sub-picture data 1133 as subpic_width_minus1 and subpic_height_minus1, respectively.
- an offset of each sub-picture can be described in the sub-picture data 1133 in units of CTUs.
- the offset of each sub-picture can be specified as a vertical position and a horizontal position of the top left CTU of the sub-picture.
- the offset of the sub-picture can be specified as a difference between the top left CTU of the picture and the top left CTU of the sub-picture.
- the vertical position and the horizontal position of the top left CTU of the sub-picture is stored in the sub-picture data 1133 as a subpic_ctu_top_left_y and subpic_ctu_top_left_x, respectively.
- This example implementation describes the sub-pictures in the sub-picture data 1133 in terms of CTBs/CTUs instead of in terms of tiles. This allows sub-pictures to be employed even when tiles are not employed in the corresponding picture/sub-picture.
- the sub-picture data 1133 in the SPS 1110 , a slice address 1136 in the slice header 1115 , and a slice sub-picture ID 1135 in the slice header 1115 may be employed for a sixth example implementation.
- the sub-picture data 1133 may be implemented as described in the fifth example implementation.
- the slice address 1136 may include a sub-picture level slice index of a slice (e.g., in image data 1120 ) associated with the slice header 1115 .
- the slice is indexed based on the slice's position in the sub-picture instead of based on the slice's position in the picture.
- the slice address 1136 may be stored in a slice address variable.
- the slice sub-picture ID 1135 includes an ID of the sub-picture that contains the slice associated with the slice header 1115 .
- the slice sub-picture ID 1135 may reference the description (e.g., width, height, and offset) of the corresponding sub-picture in the sub-picture data 1133 .
- the slice sub-picture ID 1135 may be stored in a slice_subpic_id variable. Accordingly, the slice address 1136 is signaled as an index based on the slice's position in the sub-picture denoted by the slice sub-picture ID 1135 as described in the sub-picture data 1133 .
- the position of the slice in the sub-picture can be determined even when the sub-picture is separately extracted and other sub-pictures are omitted from the bitstream 1100 .
- this addressing scheme segregates each sub-picture's addresses from other sub-pictures.
- the slice header 1115 does not need to be rewritten when the sub-picture is extracted as would be required in an addressing scheme where the slice is addressed based on the slice's position in the picture.
- this approach may be employed when the slice is a rectangular/square slice (as opposed to a raster scan slice).
- a rect_slice_flag in the PPS 1111 can be set equal to one to indicate the slice is a rectangular/square slice.
- sub-pictures used in some video coding systems is as follows.
- Information related to sub-pictures that may be present in a CVS may be signaled in a SPS. Such signaling may include the following information.
- the number of sub-pictures that are present in each picture of the CVS may be included in the SPS.
- the collocated sub-pictures for all the access units (AUs) may collectively be referred to as a sub-picture sequence.
- a loop for further specifying information related to properties of each sub-picture may also be included in the SPS.
- Such information may include the sub-picture identification, the location of sub-picture (e.g., the offset distance between the top-left corner luma sample of the sub-picture and the top-left corner luma sample of the picture), and the size of the sub-picture.
- the SPS may also be employed to signal whether each of the sub-pictures is a motion-constrained sub-picture, where a motion-constrained sub-picture is a sub-picture that contains a MCTS.
- Profile, tier, and level information for each sub-picture may be included in a bitstream unless such information is otherwise derivable.
- Such information may be employed for profile, tier, and level information for an extracted bitstream created from extracting the sub-picture from the original bitstream including the entire picture.
- the profile and tier of each sub-picture may be derived to be the same as the profile and tier of the original.
- the level for each sub-picture may be signaled explicitly. Such signaling may be present in the loop described above.
- Sequence-level hypothetical reference decoder (HRD) parameters may be signaled in a video usability information (VUI) portion of the SPS for each sub-picture (or equivalently, each sub-picture sequence).
- VUI video usability information
- the properties of the sub-picture may be not signaled in the bitstream.
- each access unit in the new bitstream may not contain sub-pictures, because the resulting image data in each AU in the new bitstream is not partitioned into multiple sub-pictures. Therefore, the sub-picture properties such as location and size may be omitted from the SPS since such information can be derived from the picture properties.
- the sub-picture identification is still signaled as this ID may be referred to by video coding layer (VCL) NAL units/tile groups included in the extracted sub-picture. Changing the sub-picture ID should be avoided when extracting the sub-picture to reduce resource usage.
- VCL video coding layer
- the location of a sub-picture in the picture can be signaled in units of luma samples and may represent the distance between the top-left corner luma sample of the sub-picture and top-left corner luma sample of the picture.
- the location of a sub-picture in the picture can be signaled in units of the minimum coding luma block size (MinCbSizeY) and may represent the distance between top-left corner luma sample of the sub-picture and top-left corner luma sample of the picture.
- MinCbSizeY minimum coding luma block size
- the unit of sub-picture location offsets may be explicitly indicated by a syntax element in a parameter set, and the unit may be CtbSizeY, MinCbSizeY, luma sample, or other values.
- the codec may require that when a sub-picture's right border does not coincide with picture's right border, the sub-picture's width shall be an integer multiple of luma CTU size (CtbSizeY).
- the codec may further require that when a sub-picture's bottom border does not coincide with picture's bottom border, the sub-picture's height shall be an integer multiple of CtbSizeY.
- the codec may also require that when a sub-picture's width is not an integer multiple of luma CTU size, the sub-picture is located at a right most position in the picture. Likewise, the codec may also require the sub-picture to be located at the bottom most position in the picture when the sub-picture's height is not an integer multiple of luma CTU size.
- the actual width in luma samples may be derived based on the sub-picture's offset location, the sub-picture's width in luma CTU size, and the picture's width in luma samples.
- the actual height in luma samples can be derived based on the sub-picture's offset location, the sub-picture's height in luma CTU size, and the picture's height in luma samples.
- the sub-picture ID may be different from the sub-picture index.
- the sub-picture index may be the index of the sub-picture as signaled in the loop of sub-pictures in the SPS.
- the sub-picture index may be an index assigned in sub-picture raster scan order relative to the picture.
- the sub-picture ID may be signaled or derived.
- the sub-picture ID of each sub-picture is different from its sub-picture index, the sub-picture ID is explicitly signaled.
- the number of bits for signaling sub-picture IDs may be signaled in the same parameter set that contains sub-picture properties (e.g., in the SPS).
- Some values for sub-picture ID may be reserved for certain purposes. Such value reservation can be as follows. When tile group/slice headers contain a sub-picture ID to specify which sub-picture the tile group, the value zero may be reserved and may not be used for sub-pictures to ensure the first few bits in the beginning of a tile group/slice header are not all zeros to avoid generating an emulation prevention code.
- a value (e.g., value one) may be reserved for tile groups that are not part of any of the sub-pictures.
- the sub-picture ID of the remaining area may be explicitly signaled.
- the number of bits for signaling sub-picture ID may be constrained as follows. The value range should be enough to uniquely identify all sub-pictures in a picture, including the reserved values of sub-picture ID. For example, the minimum number of bits for a sub-picture ID can be the value of Ceil(Log 2(number of sub-pictures in a picture+number of reserved sub-picture ID).
- the union of sub-pictures in a loop may be required to cover the whole picture without gap and without overlap.
- a flag is present for each sub-picture to specify whether the sub-picture is a motion-constrained sub-picture which means the sub-picture can be extracted.
- the union of sub-pictures may not cover the entire picture. However, there may be no overlap among sub-pictures of a picture.
- Sub-picture IDs may be present immediately after a NAL unit header to assist the sub-picture extraction process so the extractor need not understand the rest of the NAL unit bits.
- the sub-picture ID may be present in the first bits of tile group headers.
- the sub-picture ID may not be required to be present immediately after the NAL unit header for the SPS. Concerning the PPS, when all tile groups of the same picture are constrained to refer to the same PPS, there is no need for sub-picture ID to be present immediately after the NAL unit header.
- the sub-picture ID may be present in the first bits of PPS (e.g., immediately after the PPS NAL unit header). In this case, no two different tile groups of one picture are allowed to share the same PPS.
- no sub-picture ID is present in the PPS syntax.
- a list of sub-picture IDs is present in the PPS syntax.
- the list indicates the sub-pictures to which the PPS applies.
- the non-VCL unit applies to the picture level (e.g., access unit delimeter, end of sequence, end of bitstream, etc.) or above, then there is no need for sub-picture ID to be present immediately after its NAL unit header. Otherwise, the sub-picture ID may be present immediately after the NAL unit header.
- Tile partitioning within individual sub-pictures may be signaled in the PPS, but tile groups within the same picture are allowed to refer to different PPSs. In this case, tiles are grouped within each sub-picture instead of across the picture. Accordingly, the tile grouping concept in such a case includes a partitioning of a sub-picture into tiles.
- a Sub-Picture Parameter Set (SPPS) may be employed for describing the tile partitioning within individual sub-pictures.
- An SPPS refers to an SPS by employing a syntax element referring to the SPS ID.
- An SPPS may contain sub-picture ID. For sub-picture extraction purposes, the syntax element referring to the sub-picture ID is the first syntax element in SPPS.
- the SPPS contains a tile structure indicating a number of columns, a number of rows, uniform tile spacing, etc.
- the SPPS may contain a flag to indicate whether or not loop filter is enabled across associated sub-picture boundaries.
- the sub-picture properties for each sub-picture may be signaled in the SPPS instead of in the SPS.
- Tile partitioning within individual sub-pictures may be signaled in the PPS, but tile groups within the same picture are allowed to refer to different PPSs.
- SPPSs may be active at any moment during the decoding process of a single-layer bitstream with multiple sub-pictures, and an SPPS may be shared by different sub-pictures of an AU.
- SPPS and PPS can be merged into one parameter set. For this to occur, all tile groups that are included into the same sub-picture may be constrained to refer to the same parameter set resulting from the merge between SPPS and PPS.
- the number of bits used for signaling the sub-picture ID may be signaled in the NAL unit header. Such information, when present, assists the sub-picture extraction process in parsing sub-picture ID values for the beginning of a NAL unit's payload (e.g., the first few bits immediately after NAL unit header). For such signaling, some of the reserved bits in a NAL unit header may be used to avoid increasing the length of the NAL unit header. The number of bits for such signaling should cover the value of sub-picture-ID-bit-len. For example, four bits out of seven reserved bits in the VVCs NAL unit header may be used for this purpose.
- each coding tree block denoted as vertical CTB position (xCtb) and horizontal CTB position (yCtb)
- xCtb vertical CTB position
- yCtb horizontal CTB position
- SubpictureXOffset and SubpictureYOffset are derived based on the sub-picture position (subpic_x_offset and subpic_y_offset).
- the values of the variables are added to the values of the luma sample location x and y coordinates, respectively, of each coding tree block in the sub-picture.
- the sub-picture extraction process can be defined as follows.
- the input to the process includes the target sub-picture to be extracted. This can be input in the form of a sub-picture ID or a sub-picture location.
- the associated sub-picture ID can be resolved by parsing the sub-picture information in the SPS.
- the syntax elements in the SPS related to picture size and level are updated with the sub-picture's size and level information.
- non-VCL NAL units are not altered by extraction: PPS, access unit delimiter (AUD), end of sequence (EOS), end of bitstream (EOB), and any other non-VCL NAL units that are applicable to picture level or above.
- the remaining non-VCL NAL units with sub-picture ID not equal to the target sub-picture ID are removed.
- VCL NAL units with sub-picture ID not equal to the target sub-picture ID are also removed.
- a sub-picture nesting SEI message may be used for nesting of AU-level or sub-picture-level SEI messages for a set of sub-pictures.
- the data carried in the sub-picture nesting SEI message may include buffering period, picture timing, and non-HRD SEI messages.
- the syntax and semantics of this SEI message can be as follows. For systems operations, such as omnidirectional media format (OMAF) environments, a set of sub-picture sequences covering a viewport may be requested and decoded by the OMAF player. Therefore, a sequence-level SEI message may carry information of a set of sub-picture sequences that collectively include a rectangular or square picture region.
- OMAF omnidirectional media format
- the information can be used by systems, and the information is indicative of the minimum decoding capability as well as the bitrate of the set of sub-picture sequences.
- the information includes the level of the bitstream including only the set of sub-picture sequences, the bit rate of the bitstream, and optionally a sub-bitstream extraction process specified for the set of sub-picture sequences.
- the preceding implementation includes several problems.
- the signaling of the width and height of the picture and/or the widths/heights/offsets of the sub-pictures is not efficient. More bits can be saved for signaling such information.
- the PPS includes the tile configuration. Further, a PPS is allowed to be shared by multiple sub-pictures of the same picture. Hence, the value ranges for num_tile_columns_minus1 and num_tile_rows_minus1 should be more clearly specified. Further, the semantics of the flag indicating whether a sub-picture is motion constrained is not clearly specified. The level is mandatorily signaled for each sub-picture sequence.
- each of the PPS syntax elements pps_seq_parameter_set_id and loop_filter_across_tiles_enabled_flag should be the same in all PPSs referred to by the tile group headers of a coded picture. This is because the active SPS should not change within a CVS, and the value of loop_filter_across_tiles_enabled_flag should be the same for all tiles within a picture for parallel processing based on tiles.
- Whether to allow mixing of rectangular and raster-scan tile groups within a picture should be clearly specified. Whether to allow for sub-pictures that are part of different pictures and employ the same sub-picture ID in a CVS to use different tile group modes should also be specified.
- the derivation process for temporal luma motion vector prediction may not enable treating sub-picture boundaries as picture boundaries in temporal motion vector prediction (TMVP).
- TMVP temporal motion vector prediction
- the luma sample bilinear interpolation process, the luma sample 8-tap interpolation filtering process, and the chroma sample interpolation process may not be configured to treat sub-picture boundaries as picture boundaries in motion compensation.
- a mechanism for control of deblocking, SAO, and ALF filtering operations at sub-picture boundaries should also be specified.
- loop_filter_across_tile_groups_enabled_flag may be less useful. This is because turning off in-loop filtering operations for parallel processing purposes may also be satisfied by setting loop_filter_across_tile_groups_enabled_flag equal to zero. Further, turning off in-loop filtering operations for enabling independent extraction and decoding of certain regions of the pictures may also be satisfied by setting loop_filter_across_sub_pic_enabled_flag equal to zero.
- the present disclosure includes designs for supporting sub-pictures based video coding.
- a sub-picture is a rectangular or square area within a picture that may or may not be decoded independently using the same decoding process as a picture.
- the descriptions of the techniques are based on the Versatile Video Coding (VVC) standard. However, the techniques may also apply to other video codec specifications.
- VVC Versatile Video Coding
- a size unit is signaled for the picture width and height syntax elements and the list of sub-picture width/height/offset_x/offset_y syntax elements. All syntax elements are signaled in the form of xxx_minus1. For example, when the size unit is sixty four luma samples, a width value of ninety nine specifies a picture width of six thousand four hundred luma samples. The same example applies for other of these syntax elements. In another example, one or more of the following applies.
- a size unit may be signaled for the picture width and height syntax elements in the form of xxx_minus1.
- Such a size unit signaled for the list of sub-picture width/height/offset_x/offset_y syntax elements may be in the form of xxx_minus1.
- a size unit for the picture width and the list of sub-picture width/offset_x syntax elements may be signaled in the form of xxx_minus1.
- a size unit for the picture height and the list of sub-picture height/offset_y syntax elements may be signaled in the form of xxx_minus1.
- the picture width and height syntax elements in the form of xxx_minus1 may be signaled in units of minimum coding units.
- the sub-picture width/height/offset_x/offset_y syntax elements in the form of xxx_minus1 may be signaled in units of CTUs or CTBs.
- the sub-picture width for each sub-picture at the right picture boundary may be derived.
- the sub-picture height for each sub-picture at the bottom picture boundary may be derived.
- Other values of the sub-picture width/height/offset_x/offset_y may all be signaled in the bitstream.
- a mode for signaling of the widths and heights of the sub-pictures as well as their positions within the picture may be added for cases when the sub-pictures have a uniform size.
- the sub-pictures have uniform size when they include the same sub-picture rows and sub-picture columns.
- the number of sub-picture rows, the number of sub-picture columns, the width of each sub-picture column, and the height of each sub-picture row may all be signaled.
- signaling of the sub-picture width and height may not be included in the PPS.
- the num_tile_columns_minus1 and num_tile_rows_minus1 should be in the range of zero to one an integer value such as a thousand twenty four, inclusive.
- two syntax elements conditioned by a presence flag may be signaled in the PPS. These syntax elements are employed for signaling the sub-picture width and height in units of CTBs and specify the size of all sub-pictures referring to the PPS.
- a flag such as a sub_pic_treated_as_pic_flag[i] may be signaled for each sub-picture sequence to indicate whether the sub-pictures of the sub-picture sequence are treated as pictures in the decoding process for purposes other than in-loop filtering operations.
- the level to which a sub-picture sequence conforms may only be signaled when the sub_pic_treated_as_pic_flag[i] is equal to one.
- a sub-picture sequence is a CVS of sub-pictures with the same sub-picture ID.
- the level of the sub-picture sequence may also be signaled. This can be controlled by a flag for the all the sub-picture sequences or by one flag per each sub-picture sequence.
- sub-bitstream extraction may be enabled without changing VCL NAL units. This can be accomplished by removing explicit tile group ID signaling from the PPS.
- the semantics of tile_group_address are specified when rect_tile_group_flag is equal to one indicating rectangular tile groups.
- the tile_group_address may include the tile group index of the tile group among tile groups within the sub-picture.
- each of the PPS syntax elements pps_seq_parameter_set_id and loop_filter_across_tiles_enabled_flag shall be the same in all PPSs referred to by the tile group headers of a coded picture.
- Other PPS syntax elements may be different for different PPSs referred to the tile group headers of a coded picture.
- the value of single_tile_in_pic_flag may be different for different PPSs referred to the tile group headers of a coded picture. This way, some pictures in a CVS may have only one tile, while some other pictures in a CVS may have multiple tiles. This also allows some sub-pictures of a picture (e.g., those that are very big) to have multiple tiles while other sub-pictures of the same picture (e.g., those that are very small) have only one tile.
- a picture may include a mix of rectangular/square and raster-scan tile groups. Accordingly, some sub-pictures of the picture use the rectangular/square tile group mode, while other sub-pictures use the raster-scan tile group mode. This flexibility is beneficial for bitstream merging scenarios.
- a constraint may require that all sub-pictures of a picture shall use the same tile group mode.
- the sub-pictures from different pictures with the same sub-picture ID in a CVS may not use different tile group modes.
- the sub-pictures from different pictures with the same sub-picture ID in a CVS may use different tile group modes.
- collocated motion vectors for temporal motion vector prediction for the sub-picture are limited to come from within the boundaries of the sub-picture. Accordingly, temporal motion vector prediction for the sub-picture is treated as if the sub-picture boundaries were picture boundaries.
- clipping operations are specified as a part of the luma sample bilinear interpolation process, the luma sample 8-tap interpolation filtering process, and the chroma sample interpolation process, to enable treating sub-picture boundaries as picture boundaries in motion compensation for sub-pictures for which the sub_pic_treated_as_pic_flag[i] is equal to one.
- each sub-picture is associated with a signaled flag, such as a loop_filter_across_sub_pic_enabled_flag.
- the flag is employed for control of in-loop filtering operations at the boundaries of the sub-picture and for control of the filtering operations in the corresponding decoding processes.
- the deblocking filter process may not be applied to coding sub-block edges and transform block edges that coincide with the boundaries of sub-pictures for which loop_filter_across_sub_pic_enabled_flag is equal to zero.
- the deblocking filter process is not applied to coding sub-block edges and transform block edges that coincide with the upper or left boundaries of sub-pictures for which loop_filter_across_sub_pic_enabled_flag is equal to zero.
- the deblocking filter process is not applied to coding sub-block edges and transform block edges that coincide with the boundaries of sub-pictures for which sub_pic_treated_as_pic_flag[i] is equal to one or zero.
- the deblocking filter process is not applied to coding sub-block edges and transform block edges that coincide with the upper or left boundaries of sub-pictures.
- a clipping operation may be specified to turn off the SAO filtering operation across the boundaries of a sub-picture when loop_filter_across_sub_pic_enabled_flag for the sub-picture is equal to zero.
- a clipping operation may be specified to turn off the ALF filtering operation across the boundaries of the sub-picture when loop_filter_across_sub_pic_enabled_flag is equal to zero for a sub-picture.
- the loop_filter_across_tile_groups_enabled_flag may also be removed from the PPS. Accordingly, when the loop_filter_across_tiles_enabled_flag is equal to zero, in-loop filtering operations across tile group boundaries that are not sub-picture boundaries are not turned off.
- the loop filter operations may include deblocking, SAO, and ALF.
- a clipping operation is specified to turn off the ALF filtering operation across the boundaries of a tile when loop_filter_across_tiles_enabled_flag for the tile is equal to zero.
- a sub-picture may be defined as a rectangular or square region of one or more tile groups or slices within a picture.
- the following divisions of processing elements may form spatial or component-wise partitioning: the division of each picture into components, the division of each component into CTBs, the division of each picture into sub-pictures, the division of each sub-picture into tile columns within a sub-picture, the division of each sub-picture into tile rows within a sub-picture, the division of each tile column within a sub-picture into tiles, the division of each tile row within a sub-picture into tiles, and the division of each sub-picture into tile groups.
- the process for CTB raster and tile scanning process within a sub-picture may be as follows.
- the list ColWidth[i] for i ranging from zero to num_tile_columns_minus1, inclusive, specifying the width of the i-th tile column in units of CTBs, may be derived as follows:
- RowHeight[j] for j ranging from zero to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs, is derived as follows:
- RowBd[j] for j ranging from zero to num_tile_rows_minus1+1, inclusive, specifying the location of the j-th tile row boundary in units of CTBs, is derived as follows:
- CtbAddrRsToTs[ctbAddrRs] for ctbAddrRs ranging from zero to SubPicSizeInCtbsY ⁇ 1, inclusive, specifying the conversion from a CTB address in CTB raster scan of a sub-picture to a CTB address in tile scan of the sub-picture, is derived as follows:
- TileId[ctbAddrTs] for ctbAddrTs ranging from 0 to SubPicSizeInCtbsY ⁇ 1, inclusive, specifying the conversion from a CTB address in tile scan of a sub-picture to a tile ID, is derived as follows:
- the values of RowHeightInLumaSamples[j], specifying the height of the j-th tile row in units of luma samples, are set equal to RowHeight[j] ⁇ Ctb Log 2SizeY for j ranging from 0 to num_tile_rows_minus1, inclusive.
- An example sequence parameter set RBSP syntax is as follows.
- An example picture parameter set RBSP syntax is as follows.
- An example general tile group header syntax is as follows.
- tile_group_header( ) Descriptor tile_group_pic_parameter_set_id ue(v) tile_group_sub_pic_id u(v) if( NumTilesInSubPic > 1
- An example coding tree unit syntax is as follows.
- bit_depth_chroma_minus8 specifies the bit depth of the samples of the chroma arrays BitDepthC and the value of the chroma quantization parameter range offset QpBdOffsetC is as follows:
- BitDepth C 8+bit_depth_chroma_minus8 (7-4)
- bit_depth_chroma_minus8 shall be in the range of zero to eight, inclusive.
- the num_sub_pics_minus1 plus one specifies the number of sub-pictures in each coded picture in the CVS.
- the value of num_sub_pics_minus1 shall be in the range of zero to one thousand twenty four, inclusive.
- the sub_pic_id_len_minus1 plus one specifies the number of bits used to represent the syntax element sub_pic_id[i] in the SPS and the syntax element tile_group_sub_pic_id in the tile group headers.
- the value of sub_pic_id_len_minus1 shall be in the range of Ceil(Log 2(numsub_pic_minus1+1) ⁇ 1 to nine, inclusive.
- the sub_pic_level_present_flag is set to one to specify that the syntax element sub_pic_level_idc[i] may be present.
- the sub_pic_level_present_flag is set to zero to specify that the syntax element sub_pic_level_idc[i] is not present.
- the sub_pic_id[i] specifies the sub-picture ID of the i-th sub-picture of each coded picture in the CVS.
- the length of sub_pic_id[i] is sub_pic_id_len_minus1+1 bits.
- the sub_pic_treated_as_pic_flag[i] is set equal to one to specify that the i-th sub-picture of each coded picture in the CVS is treated as a picture in the decoding process excluding in-loop filtering operations.
- the sub_pic_treated_as_pic_flag[i] is set equal to zero to specify that the i-th sub-picture of each coded picture in the CVS is not treated as a picture in the decoding process excluding in-loop filtering operations.
- the sub_pic_level_idc[i] indicates the level to which the i-th sub-picture sequence conforms, where the i-th sub-picture sequence consisting of only the VCL NAL units of the sub-pictures with sub-picture ID equal to sub_pic_id[i] in the CVS and their associated non-VCL NAL units.
- the sub_pic_x_offset[i] specifies the horizontal offset, in units of luma samples, of the top-left corner luma sample of the i-th sub-picture relative to the top-left corner luma sample of each picture in the CVS. When not present, the value of sub_pic_x_offset[i] is inferred to be equal to zero.
- the sub_pic_y_offset[i] specifies the vertical offset, in units of luma samples, of the top-left corner luma sample of the i-th sub-picture relative to the top-left corner luma sample of each picture in the CVS. When not present, the value of sub_pic_y_offset[i] is inferred to be equal to zero.
- the sub_pic_width_in_luma_samples[i] specifies the width, in units of luma samples, of the i-th sub-picture of each picture in the CVS.
- sub_pic_width_in_luma_samples[i] When the sum of sub_pic_x_offset[i] and sub_pic_width_in_luma_samples[i] is less than pic_width_in_luma samples, the value of sub_pic_width_in_luma_samples[i] shall be an integer multiple of CtbSizeY. When not present, the value of sub_pic_width_in_luma_samples[i] is inferred to be equal to pic_width_in_luma_samples.
- the sub_pic_height_in_luma_samples[i] specifies the height, in units of luma samples, of the i-th sub-picture for each picture in the CVS.
- sub_pic_height_in_luma samples[i] When the sum of sub_pic_y_offset[i] and sub_pic_height_in_luma samples[i] is less than pic_height_in_luma_samples, the value of sub_pic_height_in_luma samples[i] shall be an integer multiple of CtbSizeY. When not present, the value of sub_pic_height_in_luma samples[i] is inferred to be equal to pic_height_in_luma_samples.
- any integer values of i and j when i is equal to j, the values of sub_pic_id[i] and sub_pic_id[j] shall not be the same.
- any coded tile group NAL unit of subPicA when the sub-picture ID of subpicA is less than the sub-picture ID of subpicB, any coded tile group NAL unit of subPicA shall succeed any coded tile group NAL unit of subPicB in decoding order.
- the shapes of the sub-pictures shall be such that each sub-picture, when decoded, shall have its entire left boundary and entire top boundary consisting of a picture boundary or consisting of boundaries of previously decoded sub-picture(s).
- SubPicIdx[spId] for spId values equal to sub_pic_id[i] with i ranging from 0 to num_sub_pics_minus1, inclusive, specifying the conversion from a sub-picture ID to the sub-picture index, is derived as follows:
- the log 2_max_pic_order_cnt_lsb_minus4 specifies the value of the variable MaxPicOrderCntLsb that is used in the decoding process for picture order count as follows:
- MaxPicOrderCntLsb 2(log 2_max_pic_order_cnt_lsb_minus4+4) (7-5)
- log 2_max_pic_order_cnt_lsb_minus4 shall be in the range of zero to twelve, inclusive.
- An example picture parameter set RBSP semantics is as follows.
- each of the PPS syntax elements pps_seq_parameter_set_id and loop_filter_across_tiles_enabled_flag shall be the same in all PPSs referred to by the tile group headers of a coded picture.
- the pps_pic_parameter_set_id identifies the PPS for reference by other syntax elements.
- the value of pps_pic_parameter_set_id shall be in the range of zero to sixty three, inclusive.
- the pps_seq_parameter_set_id specifies the value of sps_seq_parameter_set_id for the active SPS.
- the value of pps_seq_parameter_set_id shall be in the range of zero to fifteen, inclusive.
- the loop_filter_across_sub_pic_enabled_flag is set equal to one to specify that in-loop filtering operations may be performed across the boundaries of the sub-picture referring to the PPS.
- the loop_filter_across_sub_pic_enabled_flag is set equal to zero to specify that in-loop filtering operations are not performed across the boundaries of the sub-picture referring to the PPS.
- the single_tile_in_sub_pic_flag is set equal to one to specify that there is only one tile in each sub-picture referring to the PPS.
- the single_tile_in_sub_pic_flag is set equal to zero to specify that there is more than one tile in each sub-picture referring to the PPS.
- the num_tile_columns_minus1 plus 1 specifies the number of tile columns partitioning the sub-picture.
- the num_tile_columns_minus1 shall be in the range of zero to one thousand twenty four, inclusive. When not present, the value of num_tile_columns_minus1 is inferred to be equal to zero.
- the num_tile_rows_minus1 plus 1 specifies the number of tile rows partitioning the sub-picture.
- the num_tile_rows_minus1 shall be in the range of zero to one thousand twenty four. When not present, the value of num_tile_rows_minus1 is inferred to be equal to zero.
- the variable NumTilesInSubPic is set equal to (num_tile_columns_minus1+1)*(num_tile_rows_minus1+1). When single_tile_in_sub_pic_flag is equal to zero, NumTilesInSubPic shall be greater than one.
- the uniform_tile_spacing_flag is set equal to one to specify that tile column boundaries and likewise tile row boundaries are distributed uniformly across the sub-picture.
- the uniform_tile_spacing_flag is set equal to zero to specify that tile column boundaries and likewise tile row boundaries are not distributed uniformly across the sub-picture but signaled explicitly using the syntax elements tile_column_width_minus1[i] and tile_row_height_minus1[i].
- the value of uniform_tile_spacing_flag is inferred to be equal to one.
- the tile_column_width_minus1[i] plus 1 specifies the width of the i-th tile column in units of CTBs.
- the tile_row_height_minus1[i] plus 1 specifies the height of the i-th tile row in units of CTBs.
- the single_tile_per_tile_group is set equal to one to specify that each tile group that refers to this PPS includes one tile.
- the single_tile_per_tile_group is set equal to zero to specify that a tile group that refers to this PPS may include more than one tile.
- the rect_tile_group_flag is set equal to zero to specify that tiles within each tile group of the sub-picture are in raster scan order and the tile group information is not signaled in PPS.
- the rect_tile_group_flag is set equal to one to specify that tiles within each tile group cover a rectangular or square region of the sub-picture and the tile group information is signaled in the PPS.
- single_tile_per_tile_group_flag is set to one rect_tile_group_flag is inferred to be equal to one.
- the num_tile_groups_in_sub_pic_minus1 plus 1 specifies the number of tile groups in each sub-picture referring to the PPS.
- num_tile_groups_in_sub_pic_minus1 shall be in the range of zero to NumTilesInSubPic ⁇ 1, inclusive.
- the value of num_tile_groups_in_sub_pic_minus1 is inferred to be equal to NumTilesInSubPic ⁇ 1.
- the top_left_tile_idx[i] specifies the tile index of the tile located at the top-left corner of the i-th tile group of the sub-picture.
- the value of top_left_tile_idx[i] shall not be equal to the value of top_left_tile_idx[j] for any i not equal to j.
- the value of top_left_tile_idx[i] is inferred to be equal to i.
- the length of the top_left_tile_idx[i] syntax element is Ceil(Log 2(NumTilesInSubPic) bits.
- the bottom_right_tile_idx[i] specifies the tile index of the tile located at the bottom-right corner of the i-th tile group of the sub-picture.
- the bottom_right_tile_idx[i] is inferred to be equal to top_left_tile_idx[i].
- the length of the bottom_right_tile_idx[i] syntax element is Ceil(Log 2(NumTilesInSubPic)) bits.
- deltaTileIdx bottom_right_tile_idx[ i ] ⁇ top_left_tile_idx[ i ]
- NumTileRowsInTileGroupMinus1[ i ] deltaTileIdx / ( num_tile_columns_minus1 + 1 )
- NumTileColumnsInTileGroupMinus1[ i ] deltaTileIdx % ( num_tile_columns_minus1 + 1 ) (7-33)
- NumTilesInTileGroup[ i ] ( NumTileRowsInTileGroupMinus1 [ i ] + 1 ) * ( NumTileColumnsInTileGroupMinus1[ i ] + 1 )
- the loop_filter_across_tiles_enabled_flag is set equal to one to specify that in-loop filtering operations may be performed across tile boundaries in sub-pictures referring to the PPS.
- the loop_filter_across_tiles_enabled_flag is set equal to zero to specify that in-loop filtering operations are not performed across tile boundaries in sub-pictures referring to the PPS.
- the in-loop filtering operations include the deblocking filter, sample adaptive offset filter, and adaptive loop filter operations. When not present, the value of loop_filter_across_tiles_enabled_flag is inferred to be equal to one.
- the num_ref_idx_default_active_minus1[i] plus 1 when i is equal to zero, specifies the inferred value of the variable NumRefIdxActive[0] for P or B tile groups with num_ref_idx_active_override_flag equal to 0, and, when i is equal to one, specifies the inferred value of NumRefIdxActive[1] for B tile groups with num_ref_idx_active_override_flag equal to zero.
- the value of num_ref_idx_default_active_minus1[i] shall be in the range of zero to fourteen, inclusive.
- tile_group_pic_parameter_set_id specifies the value of pps_pic_parameter_set_id for the PPS in use.
- the value of tile_group_pic_parameter_set_id shall be in the range of zero to sixty three, inclusive.
- the value of TemporalId of the current picture shall be greater than or equal to the value of TemporalId of each PPS referred to by a tile group of the current picture.
- the tile_group_sub_pic_id identifies the sub-picture to which the tile group belongs.
- the length of tile_group_sub_pic_id is sub_pic_id_len_minus1+1 bits.
- the value of tile_group_sub_pic_id shall be the same for all tile group headers of a coded sub-picture.
- SubPicWidthInCtbsY The variables SubPicWidthInCtbsY, SubPicHeightInCtbsY, and SubPicSizeInCtbsY are derived as follows:
- SubPicWidthInCtbsY Ceil( sub_pic_width_in_luma_samples[ i ] ⁇ CtbSizeY ) (7-34)
- SubPicHeightInCtbsY Ceil( sub_pic_height_in_luma_ samples[ i ] ⁇ CtbSizeY )
- SubPicSizeInCtbsY SubPicWidthInCtbsY * SubPicHeightInCtbsY
- the following variables are derived by invoking the CTB raster and tile scanning conversion process: the list ColWidth[i] for i ranging from zero to num_tile_columns_minus1, inclusive, specifying the width of the i-th tile column in units of CTBs; the list RowHeight[j] for j ranging from zero to num_tile_rows_minus1, inclusive, specifying the height of the j-th tile row in units of CTBs; the list ColBd[i] for i ranging from zero to num_tile_columns_minus1+1, inclusive, specifying the location of the i-th tile column boundary in units of CTBs; the list RowBd[j] for j ranging from zero to num_tile_rows_minus1+1, inclusive, specifying the location of the j-th tile row boundary in units of CTBs; the list CtbAddrRsToTs [ctbAddrRs] for ctbAddrRs ranging
- SubPicLeftBoundaryPos sub_pic_x_offset[ i ]
- SubPicRightBoundaryPos SubPicLeftBoundaryPos + sub_pic_width_in_luma_samples[ i ] ⁇ 1
- SubPicTopBoundaryPos sub_pic_y_offset[ i ]
- SubPicBotBoundaryPos SubPicTopBoundaryPos + sub_pic_height_in_luma_samples[ i ] ⁇ 1 (7-34) ⁇
- TileLeftBoundaryPos[i] TileTopBoundaryPos[i]
- TileRightBoundaryPos[i] TileBotBoundaryPos[i]
- TileLeftBoundaryPos[ i ] SubPicLeftBoundaryPos + ( ColBd[ tileColIdx ] ⁇ CtbLog2SizeY ) )
- the tile_group_address specifies the tile address of the first tile in the tile group. When not present, the value of tile_group_address is inferred to be equal to zero. If rect_tile_group_flag is equal to 0, the following applies: the tile address is the tile ID; the length of tile_group_address is Ceil(Log 2 (NumTilesInSubPic)) bits; and the value of tile_group_address shall be in the range of zero to NumTilesInSubPic ⁇ 1, inclusive.
- the tile address is the tile group index of the tile group among tile groups in the sub-picture;
- the length of tile_group_address is Ceil(Log 2 (num_tile_groups_in_sub_pic_minus1+1)) bits; and the value of tile_group_address shall be in the range of 0 to num_tile_groups_in_sub_pic_minus1, inclusive.
- tile_group_address shall not be equal to the value of tile_group_address of any other coded tile group NAL unit of the same coded sub-picture.
- the tile groups of a sub-picture shall be in increasing order of their tile_group_address values.
- the shapes of the tile groups of a sub-picture shall be such that each tile, when decoded, shall have its entire left boundary and entire top boundary consisting of a sub-picture boundary or consisting of boundaries of previously decoded tile(s).
- the num_tiles_in_tile_group_minus1 when present, specifies the number of tiles in the tile group minus one.
- the value of num_tiles_in_tile_group_minus1 shall be in the range of zero to NumTilesInSubPic ⁇ 1, inclusive. When not present, the value of num_tiles_in_tile_group_minus1 is inferred to be equal to zero.
- the variable NumTilesInCurrTileGroup which specifies the number of tiles in the current tile group, and TgTileIdx[i], which specifies the tile index of the i-th tile in the current tile group, are derived as follows:
- An example derivation process for temporal luma motion vector prediction is as follows.
- the variables mvLXCol and availableFlagLXCol are derived as follows: If tile_group_temporal_mvp_enabled_flag is equal to zero, both components of mvLXCol are set equal to zero and availableFlagLXCol is set equal to zero. Otherwise (tile_group_temporal_mvp_enabled_flag is equal to one), the following ordered steps apply:
- the bottom right collocated motion vector, and the bottom and right boundary sample locations are derived as follows:
- xColBr xCb + cbWidth (8-414)
- yColBr yCb + cbHeight (8-415)
- rightBoundaryPos sub_pic_treated_as_pic_flag[ SubPicIdx[ tile_group_subpic_id ] ] ?
- SubPicRightBoundaryPos pic_width_in_luma_samples ⁇ 1 (8-415)
- botBoundaryPos sub_pic_treated_as_pic_flag[ SubPicIdx[ tile_group_subpic_id ] ] ?
- SubPicBotBoundaryPos pic_height_in_luma_samples ⁇ 1 (8-415) If yCb>>Ctb Log 2SizeY is equal to yColBr>>Ctb Log 2SizeY, yColBr is less than or equal to botBoundaryPos and xColBr is less than or equal to rightBoundaryPos, the following applies:
- the variable colCb specifies the luma coding block covering the modified location given by ((xColBr>>3) ⁇ 3, (yColBr>>3) ⁇ 3) inside the collocated picture specified by ColPic.
- the luma location (xColCb, yColCb) is set equal to the top-left sample of the collocated luma coding block specified by colCb relative to the top-left luma sample of the collocated picture specified by ColPic.
- the derivation process for collocated motion vectors is invoked with currCb, colCb, (xColCb, yColCb), refIdxLX and sbFlag set equal to zero as inputs, and the output is assigned to mvLXCol and availableFlagLXCol. Otherwise, both components of mvLXCol are set equal to zero and availableFlagLXCol is set equal to zero.
- An example luma sample bilinear interpolation process is as follows.
- An example luma sample 8-tap interpolation filtering process is as follows.
- x Int i Clip3(SubPicLeftBoundaryPos,SubPicRightBoundaryPos, x Int L+i ⁇ 3) (8-830)
- chroma sample interpolation process is as follows.
- the variable xOffset is set equal to (sps_ref_wraparound_offset_minus1+1)*MinCbSizeY)/SubWidthC.
- sub_pic_treated_aspic_flag[SubPicIdx[tile_group_subpic_id]] is equal to one, the following applies:
- xInti Clip3( SubPicLeftBoundaryPos / SubWidthC, SubPicRightBoundaryPos / SubWidthC , xIntL + i ) (8-844)
- ClipH( xOffset, picWC, xIntC + i ⁇ 1 ) : (8-845) Clip3( 0, picWC ⁇ 1, xIntC + i ⁇ 1 ) yInti Clip3( 0, picHC ⁇ 1, yIntC + i ⁇ 1 ) (8-846)
- An example deblocking filter process is as follows.
- the deblocking filter process is applied to all coding sub-block edges and transform block edges of a picture, except the following types of edges: edges that are at the boundary of the picture; edges that coincide with boundaries of sub-pictures for which loop_filter_across_sub_pic_enabled_flag is equal to zero; edges that coincide with boundaries of tiles for which loop_filter_across_tiles_enabled_flag is equal to zero; edges that coincide with the upper or left boundaries of or within tile groups with tile_group_deblocking_filter_disabled_flag equal to one; edges that do not correspond to 8 ⁇ 8 sample grid boundaries of the considered component; edges within chroma components for which both sides of the edge use inter prediction; edges of chroma transform blocks that are not edges of the associated transform unit; and edges across the luma transform blocks of a coding unit that has an IntraSubPartitionsSplit value not equal to ISP_NO_SPLIT.
- An example deblocking filter process for one direction is as follows. For each coding unit with coding block width log 2CbW, coding block height log 2CbH and location of top-left sample of the coding block (xCb, yCb), when edgeType is equal to EDGE_VER and xCb % 8 is equal zero or when edgeType is equal to EDGE_HOR and yCb % 8 is equal to zero, the edges are filtered by the following ordered steps.
- the coding block width nCbW is set equal to 1 ⁇ log 2CbW and the coding block height nCbH is set equal to 1 ⁇ log 2CbH.
- the variable filterEdgeFlag is derived as follows.
- filterEdgeFlag is set equal to zero.
- the left boundary of the current coding block is the left boundary of the picture.
- the left boundary of the current coding block is the left or right boundary of the sub-picture and loop_filter_across_sub_pic_enabled_flag is equal to zero.
- the left boundary of the current coding block is the left boundary of the tile and loop_filter_across_tiles_enabled_flag is equal to zero.
- the variable filterEdgeFlag is set equal to 0.
- the top boundary of the current luma coding block is the top boundary of the picture.
- the top boundary of the current coding block is the top or bottom boundary of the sub-picture and loop_filter_across_sub_pic_enabled_flag is equal to zero.
- the top boundary of the current coding block is the top boundary of the tile and loop_filter_across_tiles_enabled_flag is equal to zero. Otherwise, filterEdgeFlag is set equal to one.
- edgeIdx is set equal to 0.
- the sample at location (xSik′, ySjk′) is outside the picture boundaries.
- the sample at location (xSik′, ySjk′) belongs to a different sub-picture and loop_filter_across_sub_pic_enabled_flag in the tile group which the sample recPicture[xSi] [ySj] belongs to is equal to 0.
- the loop_filter_across_tiles_enabled_flag is equal to zero and the sample at location (xSik′, ySjk′) belongs to a different tile.
- the locations (hx, vy) for each of the corresponding luma samples (x, y) inside the given array recPicture of luma samples are derived as follows. If loop_filter_across_tiles_enabled_flag for the tile tileA containing the luma sample at location (hx, vy) is equal to zero, let the variable tileIdx be the tile index of tileA, the following applies:
- hx Clip3(TileLeftBoundaryPos[tileIdx],TileRightBoundaryPos[tileIdx], x Ctb+ x ) (8-1140)
- vy Clip3(TileTopBoundaryPos[tileIdx],TileBotBoundaryPos[tileIdx], y Ctb+ y ) (8-1141)
- loop_filter_across_sub_pic_enabled_flag in the sub-picture containing the luma sample at location (hx, vy) is equal to zero, the following applies:
- hx Clip3(SubPicLeftBoundaryPos,SubPicRightBoundaryPos, x Ctb+ x ) (8-1140)
- vy Clip3(SubPicTopBoundaryPos,SubPicBotBoundaryPos, y Ctb+ y ) (8-1141)
- hx Clip3(0,pic_width_in_luma_samples ⁇ 1 ,x Ctb+ x ) (8-1140)
- vy Clip3(0,pic_height_in_luma_samples ⁇ 1 ,y Ctb+ y ) (8-1141)
- An example derivation process for ALF transpose and filter index for luma samples is as follows.
- the locations (hx, vy) for each of the corresponding luma samples (x, y) inside the given array recPicture of luma samples are derived as follows. If loop_filter_across_tiles_enabled_flag for the tile tileA containing the luma sample at location (hx, vy) is equal to zero, let the tileIdx be the tile index of tileA, the following applies:
- hx Clip3(TileLeftBoundaryPos[tileIdx],TileRightBoundaryPos[tileIdx], x ) (8-1140)
- vy Clip3(TileTopBoundaryPos[tileIdx],TileBotBoundaryPos[tileIdx], y ) (8-1141)
- loop_filter_across_sub_pic_enabled_flag for the sub-picture containing the luma sample at location (hx, vy) is equal to zero, the following applies:
- hx Clip3(SubPicLeftBoundaryPos,SubPicRightBoundaryPos, x ) (8-1140)
- hx Clip3(0,pic_width_in_luma_samples ⁇ 1 ,x ) (8-1145)
- the locations (hx, vy) for each of the corresponding chroma samples (x, y) inside the given array recPicture of chroma samples are derived as follows. If loop_filter_across_tiles_enabled_flag for the tile tileA containing the chroma sample at location (hx, vy) is equal to zero, let the tileIdx be the tile index of tileA, the following applies:
- hx Clip3(TileLeftBoundaryPos[tileIdx]/SubWidth C ,TileRightBoundaryPos[tileIdx]/SubWidth C,x Ctb+ x ) (8-1140)
- vy Clip3(TileTopBoundaryPos[tileIdx]/SubWidth C ,TileBotBoundaryPos[tileIdx]/SubWidth C,y Ctb+ y ) (8-1141)
- loop_filter_across_sub_pic_enabled_flag for the sub-picture containing the chroma sample at location (hx, vy) is equal to zero, the following applies:
- hx Clip3(SubPicLeftBoundaryPos/SubWidth C ,SubPicRightBoundaryPos/SubWidth C,x Ctb+ x ) (8-1140)
- vy Clip3(SubPicTopBoundaryPos/SubWidth C ,SubPicBotBoundaryPos/SubWidth C,y Ctb+ y ) (8-1141)
- hx Clip3(0,pic_width_in_luma_samples/SubWidth C ⁇ 1 ,x CtbC+ x ) (8-1177)
- vy Clip3(0,pic_height_in_luma_samples/SubHeight C ⁇ 1 ,y CtbC+ y ) (8-1178)
- variable sum is derived as follows:
- FIG. 12 is a schematic diagram of an example video coding device 1200 .
- the video coding device 1200 is suitable for implementing the disclosed examples/embodiments as described herein.
- the video coding device 1200 comprises downstream ports 1220 , upstream ports 1250 , and/or transceiver units (Tx/Rx) 1210 , including transmitters and/or receivers for communicating data upstream and/or downstream over a network.
- the video coding device 1200 also includes a processor 1230 including a logic unit and/or central processing unit (CPU) to process the data and a memory 1232 for storing the data.
- CPU central processing unit
- the video coding device 1200 may also comprise electrical, optical-to-electrical (OE) components, electrical-to-optical (EO) components, and/or wireless communication components coupled to the upstream ports 1250 and/or downstream ports 1220 for communication of data via electrical, optical, or wireless communication networks.
- the video coding device 1200 may also include input and/or output (I/O) devices 1260 for communicating data to and from a user.
- the I/O devices 1260 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc.
- the I/O devices 1260 may also include input devices, such as a keyboard, mouse, trackball, etc., and/or corresponding interfaces for interacting with such output devices.
- the processor 1230 is implemented by hardware and software.
- the processor 1230 may be implemented as one or more CPU chips, cores (e.g., as a multi-core processor), field-programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), and digital signal processors (DSPs).
- the processor 1230 is in communication with the downstream ports 1220 , Tx/Rx 1210 , upstream ports 1250 , and memory 1232 .
- the processor 1230 comprises a coding module 1214 .
- the coding module 1214 implements the disclosed embodiments described herein, such as methods 100 , 1300 , and 1400 , which may employ an in-loop filter 1000 , a bitstream 1100 , a picture 500 , and/or current blocks 801 and/or 901 which may be coded according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 based on a candidate list generated according to pattern 900 .
- the coding module 1214 may also implement any other method/mechanism described herein. Further, the coding module 1214 may implement a codec system 200 , an encoder 300 , and/or a decoder 400 .
- the coding module 1214 can implement the first, second, third, fourth, fifth, and/or sixth example implementation as described above.
- coding module 1214 causes the video coding device 1200 to provide additional functionality and/or coding efficiency when coding video data.
- the coding module 1214 improves the functionality of the video coding device 1200 as well as addresses problems that are specific to the video coding arts.
- the coding module 1214 effects a transformation of the video coding device 1200 to a different state.
- the coding module 1214 can be implemented as instructions stored in the memory 1232 and executed by the processor 1230 (e.g., as a computer program product stored on a non-transitory medium).
- the memory 1232 comprises one or more memory types such as disks, tape drives, solid-state drives, read only memory (ROM), random access memory (RAM), flash memory, ternary content-addressable memory (TCAM), static random-access memory (SRAM), etc.
- the memory 1232 may be used as an over-flow data storage device, to store programs when such programs are selected for execution, and to store instructions and data that are read during program execution.
- FIG. 13 is a flowchart of an example method 1300 of encoding a video sequence into a bitstream, such as bitstream 1100 , by addressing a slice, such as slice 515 , relative to a sub-picture, such as sub-picture 510 .
- Method 1300 may be employed by an encoder, such as a codec system 200 , an encoder 300 , and/or a video coding device 1200 when performing method 100 to encode a current block 801 and/or 901 according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 by employing in-loop filter 1000 and/or on a candidate list generated according to pattern 900 .
- an encoder such as a codec system 200 , an encoder 300 , and/or a video coding device 1200 when performing method 100 to encode a current block 801 and/or 901 according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 by employing in-loop filter 1000 and/or on
- Method 1300 may begin when an encoder receives a video sequence including a plurality of pictures and determines to encode that video sequence into a bitstream, for example based on user input.
- the encoder partitions a picture into a sub-picture, and the sub-picture into a slice.
- the encoder determines a slice address for the slice.
- the slice address includes a sub-picture level slice index of the slice when the slice is a rectangular or square slice.
- a sub-picture level index is an index that is based on the slice's position in the sub-picture instead of based on the slice's position in the picture.
- the encoder determines a sub-picture ID of the sub-picture containing the slice.
- the slice may be a rectangular or square slice when a rect_slice_flag is set equal to one.
- the rect_slice_flag may be encoded in a SPS and/or PPS.
- the encoder encodes the slice address and the sub-picture ID into the bitstream.
- the encoder can encode a slice header into the bitstream.
- the slice header is associated with the slice and contains parameters used to encode/decode the slice.
- the slice may reference the slice header.
- the slice address and sub-picture ID may be encoded into the slice header in the bitstream.
- the slice address is encoded into a slice_address variable
- the sub-picture ID is encoded into a slice_subpic_id variable.
- the encoder encodes slice of the sub-picture into the bitstream.
- the encoder may also encode the entire sub-picture and/or the entire picture in the bitstream.
- the encoder can also encode an SPS into the bitstream.
- the encoder can encode a description of various sub-picture(s) into the SPS.
- the sub-picture ID may reference the description of the relevant sub-picture in the SPS.
- the description of the sub-picture includes a width of the sub-picture in units of CTBs, a height of the sub-picture in units of CTBs, and an offset of the sub-picture in units of CTBs specified as a vertical position of a top left CTU of the sub-picture and a horizontal position of the top left CTU of the sub-picture.
- the encoder stores the bitstream for communication toward a decoder.
- FIG. 14 is a flowchart of an example method 1400 of decoding a video sequence from a bitstream, such as bitstream 1100 , when a slice, such as slice 515 , is addressed relative to a sub-picture, such as sub-picture 510 .
- Method 1400 may be employed by a decoder, such as a codec system 200 , a decoder 400 , and/or a video coding device 1200 when performing method 100 to decode a current block 801 and/or 901 according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 by employing in-loop filter 1000 and/or on a candidate list generated according to pattern 900 .
- a decoder such as a codec system 200 , a decoder 400 , and/or a video coding device 1200 when performing method 100 to decode a current block 801 and/or 901 according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 by employing in
- Method 1400 may begin when a decoder begins receiving a bitstream of coded data representing a video sequence, for example as a result of method 1300 .
- the decoder receives a bitstream.
- the bitstream may comprise an SPS, a PPS, a slice header, and a sub-picture containing a slice.
- the bitstream may also include an entire picture including a plurality of sub-pictures.
- the decoder obtains a slice address.
- the slice address includes a sub-picture level slice index of the slice when the slice is a rectangular or square slice.
- a sub-picture level index is an index that is based on the slice's position in the sub-picture instead of based on the slice's position in the picture.
- a sub-picture level index is an index that is based on the slice's position in the sub-picture instead of based on the slice's position in the picture.
- the decoder may obtain a sub-picture ID of the sub-picture containing the slice.
- the slice header may be associated with the slice, and may contain parameters used to encode/decode the slice.
- the slice may reference the slice header.
- the slice address and sub-picture ID may be obtained from the slice header in the bitstream.
- the slice address is encoded into a slice_address variable
- the sub-picture ID is encoded into a slice_subpic_id variable.
- the slice may be a rectangular or square slice when a rect_slice_flag is set equal to one.
- the rect_slice_flag may be obtained from the SPS and/or PPS.
- the decoder may obtain a description of the sub-picture from the SPS.
- the sub-picture ID may reference the associated sub-picture, and hence may reference the description of the sub-picture in the SPS.
- the description of the sub-picture includes a width of the sub-picture in units of CTBs, a height of the sub-picture in units of CTBs, and an offset of the sub-picture in CTBs specified as a vertical position of a top left CTU of the sub-picture and a horizontal position of the top left CTU of the sub-picture.
- the decoder may position the slice in the sub-picture based on the slice address, sub-picture ID, and the description of the sub-picture from the SPS.
- the decoder decodes the slice of the sub-picture based on the slice address. The decoder can then forward the slice for display as part of a decoded video sequence.
- FIG. 15 is a schematic diagram of an example system 1500 for coding a video sequence of images in a bitstream, such as bitstream 1100 , when a slice, such as slice 515 , is addressed relative to a sub-picture, such as sub-picture 510 .
- System 1500 may be implemented by an encoder and a decoder such as a codec system 200 , an encoder 300 , a decoder 400 , and/or a video coding device 1200 .
- system 1500 may be employed when implementing method 100 , 1300 , and/or 1400 to code a current block 801 and/or 901 according to unidirectional inter-prediction 600 and/or bidirectional inter-prediction 700 by employing in-loop filter 1000 and/or on a candidate list generated according to pattern 900 .
- the system 1500 includes a video encoder 1502 .
- the video encoder 1502 comprises a partitioning module 1505 for partitioning a sub-picture into a slice.
- the video encoder 1502 further comprises a determining module 1506 for determining a slice address including a sub-picture level slice index of the slice when the slice is a rectangular or square slice.
- the video encoder 1502 further comprises an encoding module 1507 for encoding the slice address into a bitstream.
- the encoding module 1507 is further for encoding the slice of the sub-picture into the bitstream.
- the video encoder 1502 further comprises a storing module 1508 for storing the bitstream for communication toward a decoder.
- the video encoder 1502 further comprises a transmitting module 1509 for transmitting the bitstream toward video decoder 1510 .
- the video encoder 1502 may be further configured to perform any of the steps of method 1300 .
- the system 1500 also includes a video decoder 1510 .
- the video decoder 1510 comprises a receiving module 1511 for receiving a bitstream comprising a sub-picture containing a slice.
- the video decoder 1510 further comprises an obtaining module 1512 for obtaining a slice address including a sub-picture level slice index of the slice when the slice is a rectangular or square slice.
- the video decoder 1510 further comprises a decoding module 1513 for decoding the slice of the sub-picture based on the slice address.
- the video decoder 1510 further comprises a forwarding module 1515 for forwarding the slice for display as part of a decoded video sequence.
- the video decoder 1510 may be further configured to perform any of the steps of method 1400 .
- a first component is directly coupled to a second component when there are no intervening components, except for a line, a trace, or another medium between the first component and the second component.
- the first component is indirectly coupled to the second component when there are intervening components other than a line, a trace, or another medium between the first component and the second component.
- the term “coupled” and its variants include both directly coupled and indirectly coupled. The use of the term “about” means a range including ⁇ 10% of the subsequent number unless otherwise stated.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Discrete Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/470,354 US20210409730A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Based Slice Addresses In Video Coding |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962816751P | 2019-03-11 | 2019-03-11 | |
US201962826659P | 2019-03-29 | 2019-03-29 | |
PCT/US2020/022080 WO2020185883A1 (en) | 2019-03-11 | 2020-03-11 | Sub-picture based slice addresses in video coding |
US17/470,354 US20210409730A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Based Slice Addresses In Video Coding |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2020/022080 Continuation WO2020185883A1 (en) | 2019-03-11 | 2020-03-11 | Sub-picture based slice addresses in video coding |
Publications (1)
Publication Number | Publication Date |
---|---|
US20210409730A1 true US20210409730A1 (en) | 2021-12-30 |
Family
ID=72426045
Family Applications (7)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/470,448 Pending US20210409785A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Configuration Signaling In Video Coding |
US17/470,363 Active 2040-11-20 US11831816B2 (en) | 2019-03-11 | 2021-09-09 | Sub-picture motion vectors in video coding |
US17/470,387 Pending US20220007014A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Level Filtering In Video Coding |
US17/470,407 Pending US20210409703A1 (en) | 2019-03-11 | 2021-09-09 | Tile Level Filtering In Video Coding |
US17/470,376 Active 2040-12-18 US12028517B2 (en) | 2019-03-11 | 2021-09-09 | Interpolation filter clipping for sub-picture motion vectors |
US17/470,354 Pending US20210409730A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Based Slice Addresses In Video Coding |
US18/519,875 Pending US20240171738A1 (en) | 2019-03-11 | 2023-11-27 | Sub-Picture Motion Vectors In Video Coding |
Family Applications Before (5)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/470,448 Pending US20210409785A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Configuration Signaling In Video Coding |
US17/470,363 Active 2040-11-20 US11831816B2 (en) | 2019-03-11 | 2021-09-09 | Sub-picture motion vectors in video coding |
US17/470,387 Pending US20220007014A1 (en) | 2019-03-11 | 2021-09-09 | Sub-Picture Level Filtering In Video Coding |
US17/470,407 Pending US20210409703A1 (en) | 2019-03-11 | 2021-09-09 | Tile Level Filtering In Video Coding |
US17/470,376 Active 2040-12-18 US12028517B2 (en) | 2019-03-11 | 2021-09-09 | Interpolation filter clipping for sub-picture motion vectors |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/519,875 Pending US20240171738A1 (en) | 2019-03-11 | 2023-11-27 | Sub-Picture Motion Vectors In Video Coding |
Country Status (11)
Country | Link |
---|---|
US (7) | US20210409785A1 (ja) |
EP (5) | EP3932074B9 (ja) |
JP (10) | JP7519373B2 (ja) |
KR (6) | KR20210129221A (ja) |
CN (6) | CN113557744A (ja) |
DK (1) | DK3931748T3 (ja) |
FI (1) | FI3931748T3 (ja) |
MX (6) | MX2021011016A (ja) |
PT (1) | PT3931748T (ja) |
SG (1) | SG11202109980WA (ja) |
WO (6) | WO2020185885A1 (ja) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220166985A1 (en) * | 2019-08-10 | 2022-05-26 | Beijing Bytedance Network Technology Co., Ltd. | Subpicture dependent signaling in video bitstreams |
US20220385924A1 (en) * | 2019-09-23 | 2022-12-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Segment position signalling with subpicture slice position deriving |
US11539950B2 (en) | 2019-10-02 | 2022-12-27 | Beijing Bytedance Network Technology Co., Ltd. | Slice level signaling in video bitstreams that include subpictures |
US11956432B2 (en) | 2019-10-18 | 2024-04-09 | Beijing Bytedance Network Technology Co., Ltd | Interplay between subpictures and in-loop filtering |
US20240129541A1 (en) * | 2020-05-27 | 2024-04-18 | Bytedance Inc. | Using Subpictures And Tiles In Video Coding |
Families Citing this family (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2577056B (en) * | 2018-09-11 | 2022-12-14 | British Broadcasting Corp | Bitstream decoder |
JP7519373B2 (ja) * | 2019-03-11 | 2024-07-19 | 華為技術有限公司 | エンコーダ、デコーダ及び対応する方法 |
US20220150487A1 (en) * | 2019-03-21 | 2022-05-12 | Kaonmedia Co., Ltd. | Image encoding method, image decoding method, and device for processing picture partitions |
WO2020197236A1 (ko) * | 2019-03-24 | 2020-10-01 | 엘지전자 주식회사 | 서브 픽처 핸들링 구조 기반 영상 또는 비디오 코딩 |
CN113647110B (zh) | 2019-04-01 | 2022-11-08 | 北京字节跳动网络技术有限公司 | 帧间编码模式中的二分之一像素插值滤波器的指示 |
WO2020231219A1 (ko) * | 2019-05-15 | 2020-11-19 | 현대자동차주식회사 | 영상 부호화 및 복호화 방법 및 장치 |
KR20220016839A (ko) | 2019-06-04 | 2022-02-10 | 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 | 기하학적 분할 모드 코딩을 갖는 모션 후보 리스트 |
EP3963890A4 (en) | 2019-06-04 | 2022-11-02 | Beijing Bytedance Network Technology Co., Ltd. | BUILDING A LIST OF MOVEMENT CANDIDATES USING NEIGHBOR BLOCK INFORMATION |
EP3967040A4 (en) | 2019-06-06 | 2022-11-30 | Beijing Bytedance Network Technology Co., Ltd. | CONSTRUCTION OF MOTION CANDIDATE LISTS FOR VIDEO ENCODING |
JP7433346B2 (ja) | 2019-06-14 | 2024-02-19 | 北京字節跳動網絡技術有限公司 | ビデオ単位境界および仮想境界の処理 |
WO2020249124A1 (en) | 2019-06-14 | 2020-12-17 | Beijing Bytedance Network Technology Co., Ltd. | Handling video unit boundaries and virtual boundaries based on color format |
WO2020256522A1 (ko) * | 2019-06-20 | 2020-12-24 | 한국전자통신연구원 | 영역 분할을 사용하는 영상 부호화 및 영상 복호화를 위한 방법 및 장치 |
JP2022536967A (ja) * | 2019-06-21 | 2022-08-22 | ヴィド スケール インコーポレイテッド | オプティカルフローによる動き補償のための精度精緻化 |
EP3984215A4 (en) | 2019-07-14 | 2022-08-24 | Beijing Bytedance Network Technology Co., Ltd. | TRANSFORM BLOCK SIZE RESTRICTION IN VIDEO CODING |
US11095916B2 (en) * | 2019-07-23 | 2021-08-17 | Qualcomm Incorporated | Wraparound motion compensation in video coding |
JP7359942B2 (ja) | 2019-08-20 | 2023-10-11 | 北京字節跳動網絡技術有限公司 | 映像処理における代替の補間フィルタの選択的使用 |
EP4020984A4 (en) | 2019-08-20 | 2023-07-19 | Apple Inc. | IMAGE SIGNAL ENCODING/DECODING METHOD AND RELATED DEVICE |
CN117319645A (zh) | 2019-08-23 | 2023-12-29 | 北京字节跳动网络技术有限公司 | 用于处理视频数据的方法、装置以及计算机可读存储介质 |
CN117294847A (zh) | 2019-09-18 | 2023-12-26 | 北京字节跳动网络技术有限公司 | 视频编解码中自适应环路滤波器的两部分信令 |
US11716488B2 (en) | 2019-09-20 | 2023-08-01 | Qualcomm Incorporated | Subpicture signaling in high-level syntax for video coding |
JP7318120B2 (ja) | 2019-09-22 | 2023-07-31 | 北京字節跳動網絡技術有限公司 | 適応ループフィルタリングにおけるパディングプロセス |
KR20210035062A (ko) * | 2019-09-23 | 2021-03-31 | 한국전자통신연구원 | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 |
KR20220065057A (ko) * | 2019-09-24 | 2022-05-19 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 서브픽처 디블로킹을 위한 필터 플래그 |
KR20220044843A (ko) * | 2019-09-24 | 2022-04-11 | 엘지전자 주식회사 | 서브픽처 기반 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 |
CN117834924A (zh) | 2019-09-27 | 2024-04-05 | 北京字节跳动网络技术有限公司 | 不同视频单元之间的自适应环路滤波 |
WO2021057996A1 (en) | 2019-09-28 | 2021-04-01 | Beijing Bytedance Network Technology Co., Ltd. | Geometric partitioning mode in video coding |
WO2021068906A1 (en) | 2019-10-10 | 2021-04-15 | Beijing Bytedance Network Technology Co., Ltd. | Padding process at unavailable sample locations in adaptive loop filtering |
CN114641992B (zh) * | 2019-10-23 | 2024-04-05 | 北京字节跳动网络技术有限公司 | 参考图片重采样的信令 |
WO2021078178A1 (en) | 2019-10-23 | 2021-04-29 | Beijing Bytedance Network Technology Co., Ltd. | Calculation for multiple coding tools |
WO2021083257A1 (en) | 2019-10-29 | 2021-05-06 | Beijing Bytedance Network Technology Co., Ltd. | Cross-component adaptive loop filter |
US11509938B2 (en) * | 2019-11-05 | 2022-11-22 | Hfi Innovation Inc. | Method and apparatus of signaling subpicture information in video coding |
US20210176475A1 (en) * | 2019-12-05 | 2021-06-10 | Mediatek Inc. | Specifying Layout In Video Pictures |
KR20240006699A (ko) | 2019-12-11 | 2024-01-15 | 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 | 크로스 컴포넌트 적응적 루프 필터링을 위한 샘플 패딩 |
GB2590632B (en) * | 2019-12-20 | 2023-07-26 | Canon Kk | Video coding and decoding |
US11973955B2 (en) * | 2019-12-20 | 2024-04-30 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Video coding in relation to subpictures |
JP2023509838A (ja) * | 2019-12-27 | 2023-03-10 | アリババ グループ ホウルディング リミテッド | サブピクチャ分割情報をシグナリングするための方法及び機器 |
US11470358B2 (en) * | 2020-04-02 | 2022-10-11 | Sharp Kabushiki Kaisha | Systems and methods for signaling scaling window information in video coding |
EP4173290A4 (en) | 2020-06-30 | 2024-01-10 | Beijing Bytedance Network Technology Co., Ltd. | BOUNDARY LOCATION FOR ADAPTIVE LOOP FILTERING |
US11785239B2 (en) * | 2021-06-29 | 2023-10-10 | Tencent America LLC | Independent coded region output supplementary enhancement information message |
KR20240050412A (ko) * | 2021-09-27 | 2024-04-18 | 바이트댄스 아이엔씨 | 비디오 처리를 위한 방법, 기기 및 매체 |
US11954775B2 (en) * | 2022-02-23 | 2024-04-09 | International Business Machines Corporation | Artboard element positioning in a series of computer-based artboards |
EP4254950A1 (en) * | 2022-03-31 | 2023-10-04 | Beijing Xiaomi Mobile Software Co., Ltd. | Encoding/decoding video picture partitionned in ctu grids |
US20240015305A1 (en) * | 2022-07-07 | 2024-01-11 | Tencent America LLC | Subblock intra and inter coding |
US20240104766A1 (en) * | 2022-09-23 | 2024-03-28 | Apple Inc. | Method and Device for Generating Metadata Estimations based on Metadata Subdivisions |
CN118042163A (zh) * | 2022-11-14 | 2024-05-14 | 杭州海康威视数字技术股份有限公司 | 一种图像处理方法、装置、电子设备及存储介质 |
CN117372933B (zh) * | 2023-12-06 | 2024-02-20 | 南京智绘星图信息科技有限公司 | 图像去冗方法、装置及电子设备 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019078169A1 (ja) * | 2017-10-20 | 2019-04-25 | シャープ株式会社 | 動画像符号化装置及び動画像復号装置 |
US20200186833A1 (en) * | 2017-07-04 | 2020-06-11 | Lg Electronics Inc. | Area-based processing method and apparatus for 360-degree video |
Family Cites Families (66)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2382940A (en) * | 2001-11-27 | 2003-06-11 | Nokia Corp | Encoding objects and background blocks |
US8933989B2 (en) * | 2009-04-22 | 2015-01-13 | Lg Electronics Inc. | Reference picture list changing method of multi-view video |
EP2628299B1 (en) | 2010-10-14 | 2019-08-07 | InterDigital VC Holdings, Inc. | Method and apparatus for improved entropy encoding and decoding |
US10244239B2 (en) * | 2010-12-28 | 2019-03-26 | Dolby Laboratories Licensing Corporation | Parameter set for picture segmentation |
KR101956284B1 (ko) * | 2011-06-30 | 2019-03-08 | 엘지전자 주식회사 | 보간 방법 및 이를 이용한 예측 방법 |
US9462298B2 (en) * | 2011-10-21 | 2016-10-04 | Qualcomm Incorporated | Loop filtering around slice boundaries or tile boundaries in video coding |
US20130107973A1 (en) * | 2011-10-28 | 2013-05-02 | Qualcomm Incorporated | Loop filtering control over tile boundaries |
US9332259B2 (en) * | 2012-01-18 | 2016-05-03 | Qualcomm Incorporated | Indication of use of wavefront parallel processing in video coding |
EP2805511B1 (en) * | 2012-01-20 | 2019-03-06 | Sun Patent Trust | Methods and apparatus for encoding and decoding video using temporal motion vector prediction |
US10244246B2 (en) * | 2012-02-02 | 2019-03-26 | Texas Instruments Incorporated | Sub-pictures for pixel rate balancing on multi-core platforms |
US9967563B2 (en) * | 2012-02-03 | 2018-05-08 | Hfi Innovation Inc. | Method and apparatus for loop filtering cross tile or slice boundaries |
US20130208808A1 (en) | 2012-02-08 | 2013-08-15 | Panasonic Corporation | Image coding method and image decoding method |
CN104272743B (zh) * | 2012-05-09 | 2019-01-01 | 太阳专利托管公司 | 执行运动矢量预测的方法、编码和解码方法及其装置 |
EP2868103B1 (en) * | 2012-06-29 | 2016-12-07 | GE Video Compression, LLC | Video data stream concept |
US9602827B2 (en) * | 2012-07-02 | 2017-03-21 | Qualcomm Incorporated | Video parameter set including an offset syntax element |
US20140003504A1 (en) * | 2012-07-02 | 2014-01-02 | Nokia Corporation | Apparatus, a Method and a Computer Program for Video Coding and Decoding |
JP6787667B2 (ja) * | 2012-09-21 | 2020-11-18 | ノキア テクノロジーズ オサケユイチア | ビデオコーディングのための方法と装置 |
US9554146B2 (en) * | 2012-09-21 | 2017-01-24 | Qualcomm Incorporated | Indication and activation of parameter sets for video coding |
US9161039B2 (en) * | 2012-09-24 | 2015-10-13 | Qualcomm Incorporated | Bitstream properties in video coding |
US20140085415A1 (en) * | 2012-09-27 | 2014-03-27 | Nokia Corporation | Method and apparatus for video coding |
US9491457B2 (en) * | 2012-09-28 | 2016-11-08 | Qualcomm Incorporated | Signaling of regions of interest and gradual decoding refresh in video coding |
US20140092978A1 (en) * | 2012-10-01 | 2014-04-03 | Nokia Corporation | Method and apparatus for video coding |
US9596461B2 (en) * | 2012-11-26 | 2017-03-14 | Qualcomm Incorporated | Loop filtering across constrained intra block boundaries in video coding |
US9374585B2 (en) * | 2012-12-19 | 2016-06-21 | Qualcomm Incorporated | Low-delay buffering model in video coding |
CN105027567A (zh) * | 2013-01-07 | 2015-11-04 | 诺基亚技术有限公司 | 用于视频编码和解码的方法和装置 |
US20140218473A1 (en) * | 2013-01-07 | 2014-08-07 | Nokia Corporation | Method and apparatus for video coding and decoding |
US9578339B2 (en) * | 2013-03-05 | 2017-02-21 | Qualcomm Incorporated | Parallel processing for video coding |
US20140301477A1 (en) * | 2013-04-07 | 2014-10-09 | Sharp Laboratories Of America, Inc. | Signaling dpb parameters in vps extension and dpb operation |
US9591321B2 (en) * | 2013-04-07 | 2017-03-07 | Dolby International Ab | Signaling change in output layer sets |
SG10201913551WA (en) * | 2013-04-07 | 2020-03-30 | Dolby Int Ab | Signaling change in output layer sets |
CA2909601A1 (en) * | 2013-07-07 | 2015-01-15 | Wilus Institute Of Standards And Technology Inc. | Method and apparatus for processing video signal |
EP3020202B1 (en) * | 2013-07-10 | 2019-09-04 | Sharp Kabushiki Kaisha | Scaling list signaling and parameter sets activation |
GB2516224A (en) * | 2013-07-11 | 2015-01-21 | Nokia Corp | An apparatus, a method and a computer program for video coding and decoding |
JP6352317B2 (ja) * | 2013-07-14 | 2018-07-04 | シャープ株式会社 | 復号方法 |
CN105379273B (zh) * | 2013-07-14 | 2019-03-15 | 夏普株式会社 | 对来自比特流的视频进行解码的方法和设备 |
GB2516424A (en) * | 2013-07-15 | 2015-01-28 | Nokia Corp | A method, an apparatus and a computer program product for video coding and decoding |
GB2516824A (en) * | 2013-07-23 | 2015-02-11 | Nokia Corp | An apparatus, a method and a computer program for video coding and decoding |
GB2516826B (en) * | 2013-07-23 | 2016-06-22 | Canon Kk | Method, device and computer program for encapsulating partitioned timed media data by creating tracks to be independently encapsulated in at least one media f |
US20150103924A1 (en) * | 2013-10-13 | 2015-04-16 | Sharp Laboratories Of America, Inc. | On operation of decoded picture buffer for interlayer pictures |
WO2015052943A1 (en) * | 2013-10-13 | 2015-04-16 | Sharp Kabushiki Kaisha | Signaling parameters in vps extension and dpb operation |
US20150103895A1 (en) * | 2013-10-13 | 2015-04-16 | Sharp Laboratories Of America, Inc. | Electronic devices for signaling multiple initial buffering parameters |
JP6472449B2 (ja) * | 2014-01-02 | 2019-02-20 | シャープ株式会社 | ビデオシーケンスを復号するための方法 |
US20150195554A1 (en) * | 2014-01-03 | 2015-07-09 | Sharp Laboratories Of America, Inc. | Constraints and enhancements for a scalable video coding system |
US10250895B2 (en) * | 2014-03-14 | 2019-04-02 | Sharp Kabushiki Kaisha | DPB capacity limits |
US9699480B2 (en) * | 2014-06-13 | 2017-07-04 | Sharp Laboratories Of America, Inc. | Level limits |
US20160212423A1 (en) * | 2015-01-16 | 2016-07-21 | Microsoft Technology Licensing, Llc | Filtering to mitigate artifacts when changing chroma sampling rates |
US9854201B2 (en) * | 2015-01-16 | 2017-12-26 | Microsoft Technology Licensing, Llc | Dynamically updating quality to higher chroma sampling rate |
US9749646B2 (en) * | 2015-01-16 | 2017-08-29 | Microsoft Technology Licensing, Llc | Encoding/decoding of high chroma resolution details |
EP3354029A4 (en) * | 2015-09-23 | 2019-08-21 | Nokia Technologies Oy | METHOD, APPARATUS AND COMPUTER PROGRAM PRODUCT FOR ENCODING 360-DEGREE PANORAMIC VIDEO |
CN114786009A (zh) * | 2016-03-16 | 2022-07-22 | 寰发股份有限公司 | 视频编码中限制块尺寸的视频数据处理方法与装置 |
CN116546209A (zh) * | 2016-04-08 | 2023-08-04 | 韩国电子通信研究院 | 用于导出运动预测信息的方法和装置 |
US10382781B2 (en) * | 2016-09-28 | 2019-08-13 | Qualcomm Incorporated | Interpolation filters for intra prediction in video coding |
WO2018083378A1 (en) * | 2016-11-01 | 2018-05-11 | Nokia Technologies Oy | An apparatus, a method and a computer program for video coding and decoding |
GB2555788A (en) * | 2016-11-08 | 2018-05-16 | Nokia Technologies Oy | An apparatus, a method and a computer program for video coding and decoding |
JP2018107500A (ja) * | 2016-12-22 | 2018-07-05 | キヤノン株式会社 | 符号化装置、符号化方法及びプログラム、復号装置、復号方法及びプログラム |
US11363248B2 (en) * | 2017-03-17 | 2022-06-14 | Lg Electronics Inc. | Method and device for transmitting region information of 360-degree video |
US11212497B2 (en) * | 2017-03-30 | 2021-12-28 | Samsung Electronics Co., Ltd. | Method and apparatus for producing 360 degree image content on rectangular projection by selectively applying in-loop filter |
WO2018191224A1 (en) * | 2017-04-11 | 2018-10-18 | Vid Scale, Inc. | 360-degree video coding using face continuities |
US11297349B2 (en) * | 2017-05-31 | 2022-04-05 | Sharp Kabushiki Kaisha | Video decoding device and video encoding device |
CN116320399A (zh) * | 2017-07-03 | 2023-06-23 | 汉阳大学校产学协力团 | 利用包含追加区域的分割单位的影像解码方法以及装置 |
CN118042095A (zh) * | 2017-10-09 | 2024-05-14 | 诺基亚技术有限公司 | 用于视频编码和解码的装置、方法和计算机程序 |
EP4351138A3 (en) | 2018-01-25 | 2024-06-05 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Efficient sub-picture extraction |
CN113056920B (zh) * | 2018-11-22 | 2024-05-24 | 北京字节跳动网络技术有限公司 | 基于子块的帧间预测的协调方法 |
AU2019392557A1 (en) | 2018-12-04 | 2021-06-24 | Vid Scale, Inc. | Tile group partitioning |
AU2019416633A1 (en) * | 2018-12-28 | 2021-08-19 | B1 Institute Of Image Technology, Inc. | Intra prediction-based video encoding/decoding method and device |
JP7519373B2 (ja) * | 2019-03-11 | 2024-07-19 | 華為技術有限公司 | エンコーダ、デコーダ及び対応する方法 |
-
2020
- 2020-03-11 JP JP2021555043A patent/JP7519373B2/ja active Active
- 2020-03-11 WO PCT/US2020/022083 patent/WO2020185885A1/en unknown
- 2020-03-11 JP JP2021555026A patent/JP7430197B2/ja active Active
- 2020-03-11 JP JP2021555037A patent/JP2022524627A/ja active Pending
- 2020-03-11 MX MX2021011016A patent/MX2021011016A/es unknown
- 2020-03-11 KR KR1020217032481A patent/KR20210129221A/ko not_active Application Discontinuation
- 2020-03-11 EP EP20770767.0A patent/EP3932074B9/en active Active
- 2020-03-11 CN CN202080020606.5A patent/CN113557744A/zh active Pending
- 2020-03-11 CN CN202080020459.1A patent/CN113557737A/zh active Pending
- 2020-03-11 KR KR1020217032446A patent/KR20210135307A/ko not_active Application Discontinuation
- 2020-03-11 JP JP2021555031A patent/JP7485689B2/ja active Active
- 2020-03-11 MX MX2021011027A patent/MX2021011027A/es unknown
- 2020-03-11 PT PT207696253T patent/PT3931748T/pt unknown
- 2020-03-11 CN CN202080020590.8A patent/CN113615203A/zh active Pending
- 2020-03-11 KR KR1020217032475A patent/KR20210135308A/ko active Search and Examination
- 2020-03-11 MX MX2021011029A patent/MX2021011029A/es unknown
- 2020-03-11 CN CN202080020571.5A patent/CN113574892A/zh active Pending
- 2020-03-11 FI FIEP20769625.3T patent/FI3931748T3/fi active
- 2020-03-11 KR KR1020217032480A patent/KR20210134389A/ko not_active Application Discontinuation
- 2020-03-11 EP EP24162837.9A patent/EP4358036A3/en active Pending
- 2020-03-11 MX MX2021011023A patent/MX2021011023A/es unknown
- 2020-03-11 WO PCT/US2020/022089 patent/WO2020185890A1/en active Application Filing
- 2020-03-11 DK DK20769625.3T patent/DK3931748T3/da active
- 2020-03-11 EP EP20769625.3A patent/EP3931748B1/en active Active
- 2020-03-11 CN CN202080020604.6A patent/CN113557736A/zh active Pending
- 2020-03-11 WO PCT/US2020/022087 patent/WO2020185889A1/en active Application Filing
- 2020-03-11 JP JP2021555029A patent/JP7401554B2/ja active Active
- 2020-03-11 EP EP20770255.6A patent/EP3932072A4/en active Pending
- 2020-03-11 CN CN202080020562.6A patent/CN113574541A/zh active Pending
- 2020-03-11 KR KR1020217032479A patent/KR20210134033A/ko not_active Application Discontinuation
- 2020-03-11 KR KR1020217032477A patent/KR20210135309A/ko not_active Application Discontinuation
- 2020-03-11 JP JP2021555038A patent/JP2022525124A/ja active Pending
- 2020-03-11 SG SG11202109980W patent/SG11202109980WA/en unknown
- 2020-03-11 MX MX2021011032A patent/MX2021011032A/es unknown
- 2020-03-11 MX MX2021011025A patent/MX2021011025A/es unknown
- 2020-03-11 WO PCT/US2020/022082 patent/WO2020185884A1/en unknown
- 2020-03-11 WO PCT/US2020/022080 patent/WO2020185883A1/en unknown
- 2020-03-11 WO PCT/US2020/022091 patent/WO2020185892A1/en active Application Filing
- 2020-03-11 EP EP24158779.9A patent/EP4350640A3/en active Pending
-
2021
- 2021-09-09 US US17/470,448 patent/US20210409785A1/en active Pending
- 2021-09-09 US US17/470,363 patent/US11831816B2/en active Active
- 2021-09-09 US US17/470,387 patent/US20220007014A1/en active Pending
- 2021-09-09 US US17/470,407 patent/US20210409703A1/en active Pending
- 2021-09-09 US US17/470,376 patent/US12028517B2/en active Active
- 2021-09-09 US US17/470,354 patent/US20210409730A1/en active Pending
-
2023
- 2023-11-02 JP JP2023188632A patent/JP2024012507A/ja active Pending
- 2023-11-17 JP JP2023195849A patent/JP2024020449A/ja active Pending
- 2023-11-24 JP JP2023199453A patent/JP2024028754A/ja active Pending
- 2023-11-24 JP JP2023199455A patent/JP2024019407A/ja active Pending
- 2023-11-27 US US18/519,875 patent/US20240171738A1/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200186833A1 (en) * | 2017-07-04 | 2020-06-11 | Lg Electronics Inc. | Area-based processing method and apparatus for 360-degree video |
WO2019078169A1 (ja) * | 2017-10-20 | 2019-04-25 | シャープ株式会社 | 動画像符号化装置及び動画像復号装置 |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220166985A1 (en) * | 2019-08-10 | 2022-05-26 | Beijing Bytedance Network Technology Co., Ltd. | Subpicture dependent signaling in video bitstreams |
US11523108B2 (en) | 2019-08-10 | 2022-12-06 | Beijing Bytedance Network Technology Co., Ltd. | Position restriction for inter coding mode |
US11533513B2 (en) | 2019-08-10 | 2022-12-20 | Beijing Bytedance Network Technology Co., Ltd. | Subpicture size definition in video processing |
US11553177B2 (en) | 2019-08-10 | 2023-01-10 | Beijing Bytedance Network Technology Co., Ltd. | Buffer management in subpicture decoding |
US12047558B2 (en) * | 2019-08-10 | 2024-07-23 | Beijing Bytedance Network Technology Co., Ltd. | Subpicture dependent signaling in video bitstreams |
US20220385924A1 (en) * | 2019-09-23 | 2022-12-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Segment position signalling with subpicture slice position deriving |
US11539950B2 (en) | 2019-10-02 | 2022-12-27 | Beijing Bytedance Network Technology Co., Ltd. | Slice level signaling in video bitstreams that include subpictures |
US11546593B2 (en) | 2019-10-02 | 2023-01-03 | Beijing Bytedance Network Technology Co., Ltd. | Syntax for subpicture signaling in a video bitstream |
US11956432B2 (en) | 2019-10-18 | 2024-04-09 | Beijing Bytedance Network Technology Co., Ltd | Interplay between subpictures and in-loop filtering |
US11962771B2 (en) | 2019-10-18 | 2024-04-16 | Beijing Bytedance Network Technology Co., Ltd | Syntax constraints in parameter set signaling of subpictures |
US20240129541A1 (en) * | 2020-05-27 | 2024-04-18 | Bytedance Inc. | Using Subpictures And Tiles In Video Coding |
Also Published As
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12028517B2 (en) | Interpolation filter clipping for sub-picture motion vectors | |
US11997291B2 (en) | Flexible tiling improvements in video coding | |
US11284092B2 (en) | Tile group signaling in video coding | |
US11889087B2 (en) | Tile group assignment for raster scan and rectangular tile groups in video coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
AS | Assignment |
Owner name: HUAWEI TECHNOLOGIES CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FUTUREWEI TECHNOLOGIES, INC.;REEL/FRAME:064909/0136 Effective date: 20210316 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |