CPC H04N 19/44 (2014.11) [H04N 19/105 (2014.11); H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 11 Claims |
1. A method of encoding video data by an electronic device, the method comprising:
receiving an image frame of the video data;
determining a block unit from the received image frame;
determining a split line of the block unit;
receiving first motion information and second motion information from a candidate list to reconstruct the block unit, wherein the first motion information includes a first list flag for selecting a first reference frame and the second motion information includes a second list flag for selecting a second reference frame;
determining a sub-block in the block unit;
determining whether the sub-block is included in a specific one of a plurality of block regions separated based on the split line, wherein the specific one of the plurality of block regions covers the split line;
comparing the first list flag with the second list flag when the sub-block is included in the specific one of the plurality of block regions;
storing a predefined one of the first motion information and the second motion information as stored motion information for the sub-block without checking whether the first reference frame and the second reference frame are included in a specific one of a plurality of reference lists indicated by a specific one of a plurality of flag values different from the first list flag and the second list flag when the first list flag is identical to the second list flag and the sub-block is included in the specific one of the plurality of block regions;
storing the first motion information and the second motion information together as the stored motion information for the sub-block when the first list flag is different from the second list flag and the sub-block is included in the specific one of the plurality of block regions; and
reconstructing, based on the stored motion information, a following block that is reconstructed after reconstructing the block unit.
|