| CPC H04N 19/105 (2014.11) [H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |

|
1. A method comprising:
based on a location of a current block (CB) associated with video determining a location of a candidate reference block (RB);
based on transforming one or more samples, of a template of the CB, from a luma mapped domain to a spatial domain, determining a first inverse luma mapping of the one or more samples of the template of the CB;
based on transforming one or more samples, of a template of the RB, from a luma mapped domain to the spatial domain, determining a second inverse luma mapping of the one or more samples of the template of the RB; and
determining a template matching cost associated with the candidate RB based on a difference between:
the one or more samples of the template of the CB; and
the one or more samples of the template of the RB.
|