CPC H04N 19/105 (2014.11) [H04N 19/136 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 18 Claims |
1. A method of decoding video data performed by an electronic device, the method comprising:
receiving the video data;
determining, from an image frame of the video data, a block unit;
determining a first intra prediction of the block unit based on a decoder-side intra mode derivation (DIMD) mode, wherein determining the first intra prediction of the block unit based on the DIMD mode comprises:
generating a histogram of gradient (HoG) list based on a first template region of the block unit, the HoG list comprising a plurality of angular modes associated with the block unit, wherein:
a plurality of template angles and a plurality of template amplitudes corresponding to the plurality of template angles are calculated by applying a filter on each of a plurality of positions in the first template region, and
each of the plurality of template angles corresponds to one of the plurality of angular modes;
determining a second intra prediction of the block unit based on an intra prediction mode other than the DIMD mode;
generating a third intra prediction based on the first intra prediction and the second intra prediction; and
reconstructing the block unit based on the third intra prediction.
|