/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 835 u32 height, u32 width, const u8 *ref, u32 ref_stride, in decode_plane() 870 const u8 *refp = ref + j * 8 * ref_stride + in decode_plane() 878 ref_stride, ref_step); in decode_plane() 901 ref_stride, ref_step); in decode_plane() 912 unsigned int ref_stride, unsigned int ref_chroma_stride, in fwht_decode_frame() 920 if (!decode_plane(cf, &rlco, height, width, ref->luma, ref_stride, in fwht_decode_frame() 951 if (!decode_plane(cf, &rlco, height, width, ref->alpha, ref_stride, in fwht_decode_frame() 834 decode_plane(struct fwht_cframe *cf, const __be16 **rlco, u32 height, u32 width, const u8 *ref, u32 ref_stride, unsigned int ref_step, u8 *dst, unsigned int dst_stride, unsigned int dst_step, bool uncompressed, const __be16 *end_of_rlco_buf) decode_plane() argument 909 fwht_decode_frame(struct fwht_cframe *cf, u32 hdr_flags, unsigned int components_num, unsigned int width, unsigned int height, const struct fwht_raw_frame *ref, unsigned int ref_stride, unsigned int ref_chroma_stride, struct fwht_raw_frame *dst, unsigned int dst_stride, unsigned int dst_chroma_stride) fwht_decode_frame() argument
|
H A D | codec-v4l2-fwht.h | 33 unsigned int ref_stride; member
|
H A D | codec-fwht.h | 147 unsigned int ref_stride, unsigned int ref_chroma_stride,
|
H A D | codec-v4l2-fwht.c | 292 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 D | vicodec-core.c | 170 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() 1596 state->ref_stride = state->stride; in vicodec_start_streaming() 1599 state->ref_stride = q_data->coded_width * info->luma_alpha_step; in vicodec_start_streaming()
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 836 u32 height, u32 width, const u8 *ref, u32 ref_stride, in decode_plane() 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() 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() 835 decode_plane(struct fwht_cframe *cf, const __be16 **rlco, u32 height, u32 width, const u8 *ref, u32 ref_stride, unsigned int ref_step, u8 *dst, unsigned int dst_stride, unsigned int dst_step, bool uncompressed, const __be16 *end_of_rlco_buf) decode_plane() argument 910 fwht_decode_frame(struct fwht_cframe *cf, u32 hdr_flags, unsigned int components_num, unsigned int width, unsigned int height, const struct fwht_raw_frame *ref, unsigned int ref_stride, unsigned int ref_chroma_stride, struct fwht_raw_frame *dst, unsigned int dst_stride, unsigned int dst_chroma_stride) fwht_decode_frame() argument
|
H A D | codec-fwht.h | 115 unsigned int ref_stride, unsigned int ref_chroma_stride,
|
H A D | codec-v4l2-fwht.h | 33 unsigned int ref_stride; member
|
H A D | codec-v4l2-fwht.c | 292 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 D | vicodec-core.c | 170 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | hfi_plat_bufs_v6.c | 954 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()
|