| CPC H04N 19/70 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/503 (2014.11)] | 20 Claims |

|
1. A method for video encoding, the method comprising:
determining a split direction for a coding block to be coded in a triangular prediction mode and partitioned into a first prediction unit and a second prediction unit according to the split direction;
determining a first merge index identifying first motion information in a merge candidate list constructed for the coding block;
determining a second merge index identifying second motion information in the merge candidate list constructed for the coding block;
setting a split direction syntax element, a first index syntax element, and a second index syntax element that are associated with the coding block of a picture, the first index syntax element being coded according to first one or more bins, the second index syntax element being coded according to second one or more bins, the split direction syntax element indicating the split direction;
encoding the split direction syntax element, the first index syntax element, and the second index syntax element in a bitstream; and
encoding the coding block according to the first motion information, the second motion information, and the split direction, wherein
the first index syntax element indicates a first value m,
the second index syntax element indicates a second value n,
the first merge index is m,
the second merge index is n based on n being less than m, and
the second merge index is (n+1) based on n being equal to or greater than m.
|