Patent ID: 11956460
Assignee: HULU, LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 19:
20. An apparatus comprising:
one or more computer processors; and
a non-transitory computer-readable storage medium comprising instructions, that when executed, control the one or more computer processors to be operable for:
selecting a first template of pixels that is outside of a first block and a second template of pixels that is outside of the first block, wherein the first template and the first block are in a same frame and the second template and the first block are in the same frame;
selecting a first region of pixels that are inside the first block and a second region of pixels that are inside the first block, wherein the first template and first region are similar sizes of a height and a width in the same frame and the second template and the second region are similar sizes of a height and a width in the same frame;
calculating a first weight based on the first template of pixels and the first region of pixels;
calculating a second weight based on the second template of pixels and the second region of pixels;
applying the first weight to a third template of pixels that is outside of a second block to generate a weighted third template of pixels and the second weight to a fourth template of pixels that is outside of the second block to generate a weighted fourth template of pixels; and
using the weighted third template of pixels and the weighted fourth template of pixels in a motion prediction search to determine a reference block for a block being coded in a different frame than the reference block.