Home
last modified time | relevance | path

Searched refs:ref_stride (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c836 u32 height, u32 width, const u8 *ref, u32 ref_stride, in decode_plane() argument
871 const u8 *refp = ref + j * 8 * ref_stride + in decode_plane()
879 ref_stride, ref_step); in decode_plane()
902 ref_stride, ref_step); in decode_plane()
913 unsigned int ref_stride, unsigned int ref_chroma_stride, in fwht_decode_frame() argument
921 if (!decode_plane(cf, &rlco, height, width, ref->luma, ref_stride, in fwht_decode_frame()
952 if (!decode_plane(cf, &rlco, height, width, ref->alpha, ref_stride, in fwht_decode_frame()
H A Dcodec-v4l2-fwht.h33 unsigned int ref_stride; member
H A Dcodec-fwht.h115 unsigned int ref_stride, unsigned int ref_chroma_stride,
H A Dcodec-v4l2-fwht.c292 unsigned int ref_chroma_stride = state->ref_stride; in v4l2_fwht_decode()
355 ref_size = state->ref_stride * state->coded_height; in v4l2_fwht_decode()
363 &state->ref_frame, state->ref_stride, ref_chroma_stride, in v4l2_fwht_decode()
H A Dvicodec-core.c170 unsigned int ref_stride = state->ref_stride; in copy_cap_to_ref() local
181 ref_stride /= 2; in copy_cap_to_ref()
188 ref_stride *= 2; in copy_cap_to_ref()
192 memcpy(row_ref, row_cap, ref_stride); in copy_cap_to_ref()
193 row_ref += ref_stride; in copy_cap_to_ref()
197 p_ref += ref_stride * (state->coded_height / h_div); in copy_cap_to_ref()
1587 state->ref_stride = state->stride; in vicodec_start_streaming()
1590 state->ref_stride = q_data->coded_width * info->luma_alpha_step; in vicodec_start_streaming()
/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c954 u32 ref_buf_size, ref_stride; in enc_scratch2_size() local
982 ref_stride = 4 * (ref_luma_stride_bytes / 3); in enc_scratch2_size()
983 ref_stride = (ref_stride + (128 - 1)) & (~(128 - 1)); in enc_scratch2_size()
984 luma_size = ref_buf_height * ref_stride; in enc_scratch2_size()
987 chroma_size = ref_stride * ref_chroma_height_bytes; in enc_scratch2_size()