FFmpeg
|
Go to the source code of this file.
Functions | |
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_sad_fn prototype). | |
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_sad_fn prototype).
w_bits | 1<<w_bits is the requested width of the block size |
h_bits | 1<<h_bits is the requested height of the block size |
aligned | If set to 2, the returned sad function will assume src1 and src2 addresses are aligned on the block size. If set to 1, the returned sad function will assume src1 is aligned on the block size. If set to 0, the returned sad function assume no particular alignment. |
log_ctx | context used for logging, can be NULL |
Definition at line 63 of file pixelutils.c.
Referenced by config_input(), and init().