US 12,382,015 B2
Method and apparatus of encoding or decoding with mode dependent intra smoothing filter in intra prediction
Chia-Ming Tsai, Hsinchu (TW); and Chih-Wei Hsu, Hsinchu (TW)
Assigned to HFI INNOVATION INC., Zhubei (TW)
Appl. No. 17/605,126
Filed by MEDIATEK INC., Hsinchu (TW)
PCT Filed Apr. 22, 2020, PCT No. PCT/CN2020/086170
§ 371(c)(1), (2) Date Oct. 20, 2021,
PCT Pub. No. WO2020/216255, PCT Pub. Date Oct. 29, 2020.
Claims priority of provisional application 62/862,202, filed on Jun. 17, 2019.
Claims priority of provisional application 62/851,136, filed on May 22, 2019.
Claims priority of provisional application 62/838,392, filed on Apr. 25, 2019.
Prior Publication US 2022/0201286 A1, Jun. 23, 2022
Int. Cl. H04N 19/593 (2014.01); H04N 19/105 (2014.01); H04N 19/117 (2014.01); H04N 19/132 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01); H04N 19/82 (2014.01)
CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/82 (2014.11)] 17 Claims
OG exemplary drawing
 
1. A method of encoding or decoding video data in a video coding system, comprising:
receiving input data associated with a current block coded or to be coded by intra prediction in a video picture;
determining an intra prediction mode for the current block;
determining reference samples of the current block according to the intra prediction mode of the current block;
determining an intra reference sample filter from a Gaussian interpolation filter and an alternative interpolation filter according to the intra prediction mode and a block size of the current block, wherein the determining between the Gaussian interpolation filter and the alternative interpolation filter is depending on a comparison of a mode difference value calculated by the intra prediction mode with a size-dependent threshold, wherein the size-dependent threshold is determined according to a variable nTbS, and the variable nTbS is defined as Log 2 of a width of the current block plus Log 2 of a height of the current block shifted by one (nTbS=Log 2(width)+Log 2(height)>>1), wherein the size-dependent threshold is set to be equal to 24 for blocks with block sizes smaller than or equal to 32 samples, wherein the mode difference value calculated by the intra prediction mode is a minimum of an absolute mode number difference between the intra prediction mode and a horizontal mode and an absolute mode number difference between the intra prediction mode and a vertical mode;
applying the intra reference sample filter to the reference samples of the current block to generate an intra predictor for the current block; and
encoding or decoding the current block in the video picture based on the intra predictor.