Lines Matching refs:MAX_HEIGHT
44 #define MAX_HEIGHT 128 macro
76 LOCAL_ALIGNED_32(uint8_t, src0, [MAX_STRIDE * MAX_HEIGHT * 2]); in check_uyvy_to_422p()
77 LOCAL_ALIGNED_32(uint8_t, src1, [MAX_STRIDE * MAX_HEIGHT * 2]); in check_uyvy_to_422p()
78 LOCAL_ALIGNED_32(uint8_t, dst_y_0, [MAX_STRIDE * MAX_HEIGHT]); in check_uyvy_to_422p()
79 LOCAL_ALIGNED_32(uint8_t, dst_y_1, [MAX_STRIDE * MAX_HEIGHT]); in check_uyvy_to_422p()
80 LOCAL_ALIGNED_32(uint8_t, dst_u_0, [(MAX_STRIDE/2) * MAX_HEIGHT]); in check_uyvy_to_422p()
81 LOCAL_ALIGNED_32(uint8_t, dst_u_1, [(MAX_STRIDE/2) * MAX_HEIGHT]); in check_uyvy_to_422p()
82 LOCAL_ALIGNED_32(uint8_t, dst_v_0, [(MAX_STRIDE/2) * MAX_HEIGHT]); in check_uyvy_to_422p()
83 LOCAL_ALIGNED_32(uint8_t, dst_v_1, [(MAX_STRIDE/2) * MAX_HEIGHT]); in check_uyvy_to_422p()
89 randomize_buffers(src0, MAX_STRIDE * MAX_HEIGHT * 2); in check_uyvy_to_422p()
90 memcpy(src1, src0, MAX_STRIDE * MAX_HEIGHT * 2); in check_uyvy_to_422p()
94 memset(dst_y_0, 0, MAX_STRIDE * MAX_HEIGHT); in check_uyvy_to_422p()
95 memset(dst_y_1, 0, MAX_STRIDE * MAX_HEIGHT); in check_uyvy_to_422p()
96 memset(dst_u_0, 0, (MAX_STRIDE/2) * MAX_HEIGHT); in check_uyvy_to_422p()
97 memset(dst_u_1, 0, (MAX_STRIDE/2) * MAX_HEIGHT); in check_uyvy_to_422p()
98 memset(dst_v_0, 0, (MAX_STRIDE/2) * MAX_HEIGHT); in check_uyvy_to_422p()
99 memset(dst_v_1, 0, (MAX_STRIDE/2) * MAX_HEIGHT); in check_uyvy_to_422p()
105 if (memcmp(dst_y_0, dst_y_1, MAX_STRIDE * MAX_HEIGHT) || in check_uyvy_to_422p()
106 memcmp(dst_u_0, dst_u_1, (MAX_STRIDE/2) * MAX_HEIGHT) || in check_uyvy_to_422p()
107 memcmp(dst_v_0, dst_v_1, (MAX_STRIDE/2) * MAX_HEIGHT)) in check_uyvy_to_422p()
117 LOCAL_ALIGNED_16(uint8_t, src0_buf, [MAX_STRIDE*MAX_HEIGHT+1]); in check_interleave_bytes()
118 LOCAL_ALIGNED_16(uint8_t, src1_buf, [MAX_STRIDE*MAX_HEIGHT+1]); in check_interleave_bytes()
119 LOCAL_ALIGNED_16(uint8_t, dst0_buf, [2*MAX_STRIDE*MAX_HEIGHT+2]); in check_interleave_bytes()
120 LOCAL_ALIGNED_16(uint8_t, dst1_buf, [2*MAX_STRIDE*MAX_HEIGHT+2]); in check_interleave_bytes()
131 randomize_buffers(src0, MAX_STRIDE * MAX_HEIGHT); in check_interleave_bytes()
132 randomize_buffers(src1, MAX_STRIDE * MAX_HEIGHT); in check_interleave_bytes()
139 int h = 1 + (rnd() % (MAX_HEIGHT-2)); in check_interleave_bytes()
145 memset(dst0, 0, 2 * MAX_STRIDE * MAX_HEIGHT); in check_interleave_bytes()
146 memset(dst1, 0, 2 * MAX_STRIDE * MAX_HEIGHT); in check_interleave_bytes()
172 bench_new(src0, src1, dst1, 127, MAX_HEIGHT, in check_interleave_bytes()
178 bench_new(src0_buf, src1_buf, dst1_buf, 128, MAX_HEIGHT, in check_interleave_bytes()