• Debargha Mukherjee's avatar
    Adds option to use 1/32 subpel precision for gm/wm · 16056f5b
    Debargha Mukherjee authored
    Adds filters for 1/32 subpel precision for warping.
    To use 1/32 subpel precision make WARPEDPIXEL_PREC_BITS 5.
    By default, WARPEDPIXEL_PREC_BITS is set as 6 in common/mv.h,
    which uses 1/64 subpel precision.
    
    If 1/32 precision is used, BDRATE drops:
    on lowres:
    -1.101 (vs. -1.186% with 1/64) w/warped-motion
    -1.587 (vs. -1.650% with 1/64) w/global-motion
    
    on cam_lowres:
    -2.638 (vs. -2.707% with 1/64) w/warped-motion
    -3.396 (vs. -3.453% with 1/64) w/global-motion
    
    Change-Id: I82fbfddaad9bd9be658fe382401d212833c7ceef
    16056f5b
warped_motion.c 73.8 KB