lavutil/pixelutils: add sad_32x32 in pixelutils API.

add sad_32x32 in pixelutils API, and update the fate.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
This commit is contained in:
Jun Zhao
2018-07-10 00:34:26 +08:00
committed by Jun Zhao
parent a9a433564d
commit b8bf7408dc
3 changed files with 15 additions and 1 deletions

View File

@@ -51,12 +51,14 @@ DECLARE_BLOCK_FUNCTIONS(2)
DECLARE_BLOCK_FUNCTIONS(4)
DECLARE_BLOCK_FUNCTIONS(8)
DECLARE_BLOCK_FUNCTIONS(16)
DECLARE_BLOCK_FUNCTIONS(32)
static const av_pixelutils_sad_fn sad_c[] = {
block_sad_2x2_c,
block_sad_4x4_c,
block_sad_8x8_c,
block_sad_16x16_c,
block_sad_32x32_c,
};
#endif /* CONFIG_PIXELUTILS */

View File

@@ -115,7 +115,7 @@ int main(void)
goto end;
/* Exact buffer sizes, to check for overreads */
for (i = 1; i <= 4; i++) {
for (i = 1; i <= 5; i++) {
for (align = 0; align < 3; align++) {
int size1, size2;