CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 20 Claims |
1. A method for encoding video data by an encoder, the method comprising:
coding a video block of the video data using a linear model of a template-based video coding technique, the coding comprises:
using a single look up table to determine a first parameter of the linear model, the single look up table including values for determining least significant bits, wherein the determining of the first parameter of the linear model comprises:
determining minimum and maximum values derived from luma samples neighboring the video block;
determining minimum and maximum values derived from chroma samples neighboring the video block; and
computing the first parameter of the linear model as a function of (i) the minimum and the maximum values of the chroma samples and (ii) a reciprocal of a difference between the minimum and the maximum values of the luma samples, wherein the reciprocal is derived from the single look up table, and
predicting samples of the video block based on the linear model.
|