• Martin Storsjö's avatar
    checkasm: motion: Test different h parameters · d69d12a5
    Martin Storsjö authored
    Previously, the checkasm test always passed h=8, so no other cases
    were tested.
    
    Out of the me_cmp functions, in practice, some functions are hardcoded
    to always assume a 8x8 block (ignoring the h parameter), while others
    do use the parameter. For those with hardcoded height, both the
    reference C function and the assembly implementations ignore the
    parameter similarly.
    
    The documentation for the functions indicate that heights between
    w/2 and 2*w, within the range of 4 to 16, should be supported. This
    patch just tests random heights in that range, without knowing what
    width the current function actually uses.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    d69d12a5
motion.c 5.37 KB