US 10,893,285 B2
Device and method for coding video data based on one or more reference lines
Hui-Yu Jiang, Hsinchu (TW); and Yao-Jen Chang, Hsinchu (TW)
Assigned to FG Innovation Company Limited, Tuen Mun (HK)
Filed by FG Innovation Company Limited, Tuen Mun (HK)
Filed on Jun. 26, 2019, as Appl. No. 16/453,580.
Claims priority of provisional application 62/692,175, filed on Jun. 29, 2018.
Prior Publication US 2020/0007879 A1, Jan. 2, 2020
Int. Cl. H04N 11/02 (2006.01); H04N 19/44 (2014.01); H04N 19/105 (2014.01); H04N 19/176 (2014.01); H04N 19/174 (2014.01); H04N 19/46 (2014.01)
CPC H04N 19/44 (2014.11) [H04N 19/105 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] 18 Claims
OG exemplary drawing
 
1. A method of decoding a bitstream by an electronic device, the method comprising:
determining a block size of a block unit from an image frame according to the bitstream;
determining a number of a plurality of reference lines based on the block size;
determining a line index of the block unit in the bitstream;
comparing the line index with a first predefined value to determine whether a mode flag is included in the bitstream;
determining a mode index in the bitstream for directly selecting a prediction mode of the block unit from a most probable mode (MPM) list of the block unit when the mode flag is not included in the bitstream;
determining whether the mode flag is equal to a second predefined value for determining whether the prediction mode is selected from the MPM list based on the mode index when the mode flag is included in the bitstream;
selecting one of the plurality of reference lines based on the line index; and
reconstructing the block unit based on the selected one of the plurality of reference lines and the prediction mode.