19 #ifndef AVUTIL_PIXELUTILS_H 20 #define AVUTIL_PIXELUTILS_H 30 const uint8_t *src2, ptrdiff_t stride2);
av_pixelutils_sad_fn av_pixelutils_get_sad_fn(int w_bits, int h_bits, int aligned, void *log_ctx)
Get a potentially optimized pointer to a Sum-of-absolute-differences function (see the av_pixelutils_...
static int aligned(int val)
int(* av_pixelutils_sad_fn)(const uint8_t *src1, ptrdiff_t stride1, const uint8_t *src2, ptrdiff_t stride2)
Sum of abs(src1[x] - src2[x])
common internal and external API header