![]() |
![]() |
Functions | |
void | IMG_mad_8x8 (const unsigned char *ref_data, const unsigned char *src_data, int pitch, int sx, int sy, unsigned int *match) |
void IMG_mad_8x8 | ( | const unsigned char * | ref_data, | |
const unsigned char * | src_data, | |||
int | pitch, | |||
int | sx, | |||
int | sy, | |||
unsigned int * | match | |||
) |
31 16 15 0 +----------------+----------------+ match[0]: | X offset | Y offset | +----------------+----------------+ 31 0 +---------------------------------+ match[1]: | Minimum Absolute Difference | +---------------------------------+
ref_data | Reference image to search | |
src_data | Source 8x8 image block | |
pitch | Width of reference image | |
sx | Horizontal size of search area | |
sy | Vertical size of search area (must be a multiple of 2) | |
match | Result: match[0] is packed x, y match[1] is MAD value |