CPC H04N 19/563 (2014.11) [H04N 19/119 (2014.11); H04N 19/17 (2014.11); H04N 19/46 (2014.11); H04N 19/51 (2014.11); H04N 19/597 (2014.11); H04N 19/70 (2014.11); H04N 19/91 (2014.11)] | 17 Claims |
1. A method of encoding a current picture for video encoding using at least one processor, the method comprising:
making a first determination that padding is applied to a plurality of sub-regions of the current picture;
based on the first determination indicating that the padding is applied, making a second determination that the padding comprises wrap-around padding;
based on the second determination indicating that the padding comprises the wrap-around padding encoding the plurality of sub-regions based on the wrap-around padding;
generating picture partitioning information based on the first determination and the second determination, wherein the picture partitioning information directly specifies a left wrap-around padding width in luma samples and a right wrap-around padding width in luma samples used to compute a wrap-around position used to select a reference block corresponding to a current block of the current picture;
generating a picture parameter set that includes (i) a flag indicating that wrap-around padding is enabled, (ii) a first syntax element that specifies the left wrap-around padding width in luma samples, and (iii) a second syntax element that specifies the right wrap-around padding width in luma samples; and
encoding the current picture based on the encoded plurality of sub-regions and the picture partitioning information,
wherein a pixel position for motion compensated prediction in a reference picture is determined by performing clipping based on syntax elements corresponding to the wrap-around padding,
wherein an offset used to compute the wrap-around position is determined based on a difference between a picture width of the current picture and a sum of the left wrap-around padding width and the right wrap-around padding width.
|