IP Library Granted Patent US 12,382,015
Granted Patent B2
US 12,382,015 · App. 17/605,126 · Granted Aug 5, 2025

Method and apparatus of encoding or decoding with mode dependent intra smoothing filter in intra prediction

Inventors: Chia-Ming Tsai (Hsinchu, TW); Chih-Wei Hsu (Hsinchu, TW)
Assignee: HFI INNOVATION INC.
H04N19/105H04N19/132H04N19/159H04N19/176H04N19/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,382,015
App. No.
17/605,126
Granted
Aug 5, 2025
Kind
B2
Abstract

A video processing method for a video encoder or decoder comprises receiving input data of a current block, determining an intra prediction mode and reference samples according to the intra prediction mode, determining an intra reference sample filter from a Gaussian interpolation filter and an alternative interpolation filter for the current block, applying the intra reference sample filter to the reference samples to generate an intra predictor for the current block, and encoding or decoding the current block based on the intra predictor. A determination between the Gaussian and alternative interpolation filters is depending on a comparison of a mode difference value calculated by the intra prediction mode with a size-dependent threshold. The size-dependent threshold is set to be equal to 24 for blocks with block size smaller than or equal to 32 samples according to an embodiment. The alternative interpolation filter may be a DCT-IF interpolation filter.

Claims (35)

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.

2. The method of claim 1 , wherein the Gaussian interpolation filter is determined to be applied when the mode difference value calculated by the intra prediction mode of the current block is larger than the size-dependent threshold, and the alternative interpolation filter is determined to be applied when the mode difference value calculated by the intra prediction mode of the current block is smaller than or equal to the size-dependent threshold.

3. The method of claim 1 , wherein the reference samples of the current block are determined from neighboring reconstructed samples of the current block.

4. The method of claim 1 , wherein the size-dependent threshold is equal to 24 when the variable nTbS is 2.

5. The method of claim 1 , wherein the size-dependent threshold is equal to 14 when the variable nTbS is 3, the size-dependent threshold is equal to 2 when the variable nTbS is 4, and the size-dependent threshold is equal to 0 when the variable nTbS is equal to or larger than 5.

6. The method of claim 1 , wherein the alternative interpolation filter is a Cubic or DCT-IF interpolation filter.

7. The method of claim 1 , wherein the intra prediction mode of the current block is a regular directional intra prediction mode or a wide-angle intra prediction mode.

8. The method of claim 1 , wherein the current block is a luma Coding Block (CB), and the block size counts a number of luma samples in the current block.

9. The method of claim 1 , further comprising: determining a [1 2 1] reference sample smoothing filter for the current block when the block size is larger than 32 samples and when the intra prediction mode of the current block is a predefined mode.

10. The method of claim 9 , wherein the predefined mode is one or a combination of Planar mode, modes −14, −12, −10, −6, 2, 34, 66, 72, 76, 78, and 80.

11. The method of claim 1 , wherein the determining step comprises excluding the Gaussian interpolation filter when the intra prediction mode of the current block is one of Planar mode, modes −14, −12, −10, −6, 2, 34, 66, 72, 76, 78, and 80.

12. The method of claim 1 , wherein the determining step comprises determining the alternative interpolation filter for the current block if the intra prediction mode is a vertical or horizontal mode, and the alternative interpolation filter is a DCT-IF filter with coefficients [0 64 0 0].

13. The method of claim 1 , wherein the determining step comprises excluding a [1 2 1] reference sample smoothing filter for the current block if the block size is 4×4, 4×8, or 8×4 and the intra prediction mode is mode 2, 34, or 66, or if the block size is 4×8 and the intra prediction mode is mode −6, or if the block size is 8×4 and the intra prediction mode is mode 72.

14. The method of claim 1 , wherein the determining step comprises determining from a [1 2 1] reference sample filter and the Gaussian interpolation filter for the current block if the block size is larger than 32 samples, wherein the alternative interpolation filter is a DCT-IF interpolation filter, and the determining step comprises determining the DCT-IF interpolation filter for the current block if the block size is smaller than or equal to 32 samples.

15. An apparatus for performing video coding, comprising: a computer processor configured for receiving video data; and programming executable on the computer processor for video coding by performing steps 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.

16. A non-transitory computer readable medium storing program instruction causing a processing circuit of an apparatus to perform a video processing method for video data, and the method 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.

17. The apparatus of claim 15 , wherein the programming is executable on the computer processor to further perform the step of applying the Gaussian interpolation filter when two conditions are met.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 8, 2022
From: MEDIATEK INC.
To: HFI INNOVATION INC.
Reel/Frame 059339/0015 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 28, 2021
From: TSAI, CHIA-MING; HSU, CHIH-WEI
To: MEDIATEK INC.
Reel/Frame 058217/0945 →
Continuity (4)
Provisional Application 62862202 · Jun 17, 2019
Provisional Application 62851136 · May 22, 2019
Provisional Application 62838392 · Apr 25, 2019
Related Publication 20220201286A1 · Jun 23, 2022
References Cited (54)
US 9179148B2 · Li et al. · 2015 [cited by applicant]
US 10200719B2 · Zhang · 2019 [cited by examiner]
US 10284866B1 · Zhao · 2019 [cited by examiner]
US 10419757B2 · Chen · 2019 [cited by examiner]
US 10469845B1 · Zhao · 2019 [cited by examiner]
US 10491893B1 · Zhao · 2019 [cited by examiner]
US 10645416B2 · Min · 2020 [cited by examiner]
US 10652575B2 · Zhang · 2020 [cited by examiner]
US 10750172B2 · Vanam · 2020 [cited by examiner]
US 10757407B2 · Yoo et al. · 2020 [cited by applicant]
US 10771782B2 · Zhao · 2020 [cited by examiner]
US 10834393B2 · Zhao · 2020 [cited by examiner]
US 10841593B2 · Zhao · 2020 [cited by examiner]
US 10951884B2 · Moon · 2021 [cited by examiner]
US 11044467B2 · Lainema · 2021 [cited by examiner]
US 11051021B2 · Aono · 2021 [cited by examiner]
US 11196998B2 · Onno · 2021 [cited by examiner]
US 11284108B2 · Ko · 2022 [cited by examiner]
US 11310517B2 · Jun · 2022 [cited by examiner]
US 11418816B2 · Hanhart · 2022 [cited by examiner]
US 11457198B2 · Hanhart · 2022 [cited by examiner]
US 11463689B2 · Zhao · 2022 [cited by examiner]
US 11689722B2 · Bossen · 2023 [cited by examiner]
US 20120183041A1 · Maani · 2012 [cited by examiner]
US 20130121401A1 · Zheludkov et al. · 2013 [cited by applicant]
US 20160373742A1 · Zhao · 2016 [cited by examiner]
US 20160373770A1 · Zhao · 2016 [cited by examiner]
US 20160373782A1 · Zhao · 2016 [cited by examiner]
US 20190208198A1 · Pettersson · 2019 [cited by examiner]
US 20190306516A1 · Misra et al. · 2019 [cited by applicant]
US 20200366900A1 · Jun · 2020 [cited by examiner]
CN 104041051A · 2014 [cited by applicant]
CN 109314782A · 2019 [cited by applicant]
TW 201717626A · 2017 [cited by applicant]
WO 2018221817A1 · 2018 [cited by applicant]
Benjamin Bross, VVC Draft 5 (Year: 2019). [cited by examiner]
Shohei Matsuo, Improved Intra Angular Prediction By DCT-Based Interpolation Filter, European Signal Processing Conference (EUSIPCO 2012) Bucharest, Romania, Aug. 27-31, 2012 (Year: 2012). [cited by examiner]
Geert Van der Auwera, JV ET-L0324- v2, Oct. 3-12, 2018 (Year: 2018). [cited by examiner]
Tsai, C., et al.; “CE3-related: Simplification and unification for intra reference sample filtering_v4_Spec Test 2” (retrieved on Jun. 25, 2019). [cited by applicant]
Bross, B.; et al.; “Versatile Video Coding (Draft 5)” (retrieved on Apr. 12, 2019). [cited by applicant]
Van Der Auwera, G., et al.; “CE3: Intra reference sample interpolation filer selection using MDIS conditions (Test 3.1.2)” (retrieved on Oct. 2, 2018). [cited by applicant]
International Search Report and Written Opinion dated Jul. 20, 2020, issued in application No. PCT/CN2020/086170. [cited by applicant]
Filippov, A., et al.; “Non-CE3: Extended Mode-Dependent Intra Smoothing;” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11; Jan. 2019; pp. 1-4. [cited by applicant]
Filippov, A., et al.; “CE3: A combination of tests 3.1.2 and 3.1.4 for intra reference sample interpolation filter;” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11; Oct. 2018; pp. 1-5. [cited by applicant]
Chinese language office action dated Jun. 21, 2021, issued in application No. TW 109113769. [cited by applicant]
Tsai, C., et al.; “CE3-related: Simplification and unification for intra reference sample filtering_v1” (retrieved on Jun. 25, 2019). [cited by applicant]
Tsai, C., et al.; “CE3-related: Simplification and unification for intra reference sample filtering_v4 _Spec Test2” (retrieved on Jul. 5, 2019). [cited by applicant]
Tsai, C., et al.; “CE3-related: Simplification and unification for intra reference sample filtering_v5_Presentation” (retrieved on Jul. 5, 2019). [cited by applicant]
Lee, J., et al.; “CE3: Intra reference sample interpolation (Test 3.1.3)” (retrieved on Sep. 24, 2018). [cited by applicant]
Filippov. A., et al.; “CE3-related: Interpolation filtering for intra-prediction within rectangular blocks” (published on Jul. 12, 2018). [cited by applicant]
Van Der Auwera, G., et al.; “CE3: Intra reference sample interpolation filter selection using MDIS conditions (Test 3.1.2)” (retrieved on Oct. 2, 2018). [cited by applicant]
Matsuo, S., et al.; “Improved intra angular prediction by DCT-based interpolation filter” (published on Aug. 31, 2012). [cited by applicant]
EP Search Report dated Nov. 23, 2022 in European Application No. 20794000.8-1208/PCT/CN2020086170. [cited by applicant]
Bross et al., JVET-N1001-v8.docx, Versatile Video Coding (Draft 5), pp. 1 and 148-149 are included, the entire document accessible via link https://jvet-experts.org/doc_end_user/current_document.php?id=6640 and selectio… [cited by applicant]