Lines Matching refs:hor_stride

242     RK_U32 hor_stride = MPP_ALIGN(width, 16);  in copy_align_raw_buffer_to_dest()  local
244 RK_U8 *dst_u = dst_buf + hor_stride * ver_stride; in copy_align_raw_buffer_to_dest()
245 RK_U8 *dst_v = dst_u + hor_stride * ver_stride / 4; in copy_align_raw_buffer_to_dest()
251 memcpy(dst_buf + row * hor_stride, src_buf + index, width); in copy_align_raw_buffer_to_dest()
255 memcpy(dst_u + row * hor_stride, src_buf + index, width); in copy_align_raw_buffer_to_dest()
261 memcpy(dst_buf + row * hor_stride, src_buf + index, width); in copy_align_raw_buffer_to_dest()
265 memcpy(dst_u + row * hor_stride / 2, src_buf + index, width / 2); in copy_align_raw_buffer_to_dest()
269 memcpy(dst_v + row * hor_stride / 2, src_buf + index, width / 2); in copy_align_raw_buffer_to_dest()
276 memcpy(dst_buf + row * hor_stride * 3, src_buf + row * width * 3, width * 3); in copy_align_raw_buffer_to_dest()
284 memcpy(dst_buf + row * hor_stride * 4, src_buf + row * width * 4, width * 4); in copy_align_raw_buffer_to_dest()
709 RK_U32 hor_stride = MPP_ALIGN(width, 16); in decode() local
773 ret = mpp_buffer_get(memGroup, &pic_buf, hor_stride * ver_stride * 3 / 2); in decode()
1080 RK_U32 hor_stride = MPP_ALIGN(width, 16); in encode() local
1100 mpp_frame_set_hor_stride(frame, hor_stride); in encode()
1106 mpp_frame_set_hor_stride(frame, hor_stride * 2); in encode()
1110 mpp_frame_set_hor_stride(frame, hor_stride * 3); in encode()
1116 mpp_frame_set_hor_stride(frame, hor_stride * 4); in encode()
1181 ret = mpp_buffer_get(memGroup, &str_buf, hor_stride * ver_stride); in encode()
1341 RK_U32 hor_stride = MPP_ALIGN(width, 16); in encoder_sendframe() local
1364 mpp_frame_set_hor_stride(frame, hor_stride); in encoder_sendframe()
1370 mpp_frame_set_hor_stride(frame, hor_stride * 2); in encoder_sendframe()
1374 mpp_frame_set_hor_stride(frame, hor_stride * 3); in encoder_sendframe()
1380 mpp_frame_set_hor_stride(frame, hor_stride * 4); in encoder_sendframe()
1428 align_size = hor_stride * MPP_ALIGN(ver_stride, 16) * 3 / 2; in encoder_sendframe()
1430 align_size = hor_stride * MPP_ALIGN(ver_stride, 16) * 3 / 2; in encoder_sendframe()
1432 align_size = hor_stride * MPP_ALIGN(ver_stride, 16) * 3; in encoder_sendframe()
1434 align_size = hor_stride * MPP_ALIGN(ver_stride, 16) * 4; in encoder_sendframe()