diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-12 23:40:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-12 23:46:52 +0200 |
commit | 4d59d075a96c7bc9fc7a118f96015fbf5156708a (patch) | |
tree | 67268f7c0ca19cf2a2da0b1bd8fb52535a85d17b /tests/checkasm | |
parent | ee94b1a50ad981b2f93cebfe57c63d2ad337cf0a (diff) | |
download | ffmpeg-4d59d075a96c7bc9fc7a118f96015fbf5156708a.tar.gz |
tests/checkasm/vf_colorspace: Fix dst array sizes
Suggested & Approved by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/vf_colorspace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/checkasm/vf_colorspace.c b/tests/checkasm/vf_colorspace.c index fcbb62af89..9ac841cfd4 100644 --- a/tests/checkasm/vf_colorspace.c +++ b/tests/checkasm/vf_colorspace.c @@ -207,12 +207,12 @@ static void check_rgb2yuv(void) LOCAL_ALIGNED_32(int16_t, src_u, [W * H * 2]); LOCAL_ALIGNED_32(int16_t, src_v, [W * H * 2]); int16_t *src[3] = { src_y, src_u, src_v }; - LOCAL_ALIGNED_32(uint8_t, dst0_y, [W * H]); - LOCAL_ALIGNED_32(uint8_t, dst0_u, [W * H]); - LOCAL_ALIGNED_32(uint8_t, dst0_v, [W * H]); - LOCAL_ALIGNED_32(uint8_t, dst1_y, [W * H]); - LOCAL_ALIGNED_32(uint8_t, dst1_u, [W * H]); - LOCAL_ALIGNED_32(uint8_t, dst1_v, [W * H]); + LOCAL_ALIGNED_32(uint8_t, dst0_y, [W * H * 2]); + LOCAL_ALIGNED_32(uint8_t, dst0_u, [W * H * 2]); + LOCAL_ALIGNED_32(uint8_t, dst0_v, [W * H * 2]); + LOCAL_ALIGNED_32(uint8_t, dst1_y, [W * H * 2]); + LOCAL_ALIGNED_32(uint8_t, dst1_u, [W * H * 2]); + LOCAL_ALIGNED_32(uint8_t, dst1_v, [W * H * 2]); uint8_t *dst0[3] = { dst0_y, dst0_u, dst0_v }, *dst1[3] = { dst1_y, dst1_u, dst1_v }; LOCAL_ALIGNED_32(int16_t, offset, [8]); LOCAL_ALIGNED_32(int16_t, coeff_buf, [3 * 3 * 8]); |