Home
last modified time | relevance | path

Searched refs:dec_params (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/staging/media/hantro/ !
Dhantro_g2_vp9_dec.c29 static int start_prepare_run(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame **dec_params) in start_prepare_run() argument
42 *dec_params = ctrl->p_cur.p; in start_prepare_run()
68 fctx_idx = v4l2_vp9_reset_frame_ctx(*dec_params, vp9_ctx->frame_context); in start_prepare_run()
88 v4l2_vp9_fw_update_probs(&vp9_ctx->probability_tables, prob_updates, *dec_params); in start_prepare_run()
94 const struct v4l2_ctrl_vp9_frame *dec_params) in chroma_offset() argument
96 int bytes_per_pixel = dec_params->bit_depth == 8 ? 1 : 2; in chroma_offset()
102 const struct v4l2_ctrl_vp9_frame *dec_params) in mv_offset() argument
104 size_t cr_offset = chroma_offset(ctx, dec_params); in mv_offset()
128 const struct v4l2_ctrl_vp9_frame *dec_params) in update_dec_buf_info() argument
130 buf->vp9.width = dec_params->frame_width_minus_1 + 1; in update_dec_buf_info()
[all …]
Dhantro_drv.c278 const struct v4l2_ctrl_vp9_frame *dec_params = ctrl->p_new.p_vp9_frame; in hantro_try_ctrl() local
281 if (dec_params->profile != 0) in hantro_try_ctrl()
/linux-5.19.10/drivers/staging/media/rkvdec/ !
Drkvdec-vp9.c312 const struct v4l2_ctrl_vp9_frame *dec_params; in init_probs() local
320 dec_params = run->decode_params; in init_probs()
322 seg = &dec_params->seg; in init_probs()
326 intra_only = !!(dec_params->flags & in init_probs()
490 const struct v4l2_ctrl_vp9_frame *dec_params) in update_dec_buf_info() argument
492 buf->vp9.width = dec_params->frame_width_minus_1 + 1; in update_dec_buf_info()
493 buf->vp9.height = dec_params->frame_height_minus_1 + 1; in update_dec_buf_info()
494 buf->vp9.bit_depth = dec_params->bit_depth; in update_dec_buf_info()
499 const struct v4l2_ctrl_vp9_frame *dec_params) in update_ctx_cur_info() argument
502 vp9_ctx->cur.reference_mode = dec_params->reference_mode; in update_ctx_cur_info()
[all …]
Drkvdec-h264.c639 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in assemble_hw_pps() local
640 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_pps()
725 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_pps()
738 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in lookup_ref_buf_idx() local
741 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in lookup_ref_buf_idx()
763 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in assemble_hw_rps() local
764 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_rps()
780 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_rps()
805 if (WARN_ON(ref->index >= ARRAY_SIZE(dec_params->dpb))) in assemble_hw_rps()
906 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in config_registers() local
[all …]
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/ !
Dvdec_h264_req_multi_if.c125 struct v4l2_ctrl_h264_decode_params dec_params; member
178 const struct v4l2_ctrl_h264_decode_params *dec_params; in vdec_h264_slice_fill_decode_parameters() local
183 dec_params = in vdec_h264_slice_fill_decode_parameters()
185 if (IS_ERR(dec_params)) in vdec_h264_slice_fill_decode_parameters()
186 return PTR_ERR(dec_params); in vdec_h264_slice_fill_decode_parameters()
201 if (dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC) { in vdec_h264_slice_fill_decode_parameters()
212 memcpy(&share_info->dec_params, dec_params, sizeof(*dec_params)); in vdec_h264_slice_fill_decode_parameters()
219 const struct v4l2_ctrl_h264_decode_params *dec_params; in get_vdec_sig_decode_parameters() local
232 dec_params = in get_vdec_sig_decode_parameters()
234 if (IS_ERR(dec_params)) in get_vdec_sig_decode_parameters()
[all …]
Dvdec_h264_req_if.c99 const struct v4l2_ctrl_h264_decode_params *dec_params; in get_vdec_decode_parameters() local
112 dec_params = in get_vdec_decode_parameters()
114 if (IS_ERR(dec_params)) in get_vdec_decode_parameters()
115 return PTR_ERR(dec_params); in get_vdec_decode_parameters()
130 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in get_vdec_decode_parameters()
136 dec_params, inst->dpb); in get_vdec_decode_parameters()
141 v4l2_h264_init_reflist_builder(&reflist_builder, dec_params, sps, in get_vdec_decode_parameters()
338 const struct v4l2_ctrl_h264_decode_params *dec_params = in vdec_h264_slice_decode() local
381 data[1] = (dec_params->nal_ref_idc << 5) | in vdec_h264_slice_decode()
382 ((dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC) in vdec_h264_slice_decode()
/linux-5.19.10/drivers/media/v4l2-core/ !
Dv4l2-vp9.c1225 const struct v4l2_ctrl_vp9_frame *dec_params) in update_coef_probs() argument
1359 const struct v4l2_ctrl_vp9_frame *dec_params) in update_mv_probs() argument
1402 if (dec_params->flags & V4L2_VP9_FRAME_FLAG_ALLOW_HIGH_PREC_MV) { in update_mv_probs()
1417 const struct v4l2_ctrl_vp9_frame *dec_params) in v4l2_vp9_fw_update_probs() argument
1422 update_coef_probs(probs, deltas, dec_params); in v4l2_vp9_fw_update_probs()
1426 if (dec_params->flags & V4L2_VP9_FRAME_FLAG_KEY_FRAME || in v4l2_vp9_fw_update_probs()
1427 dec_params->flags & V4L2_VP9_FRAME_FLAG_INTRA_ONLY) in v4l2_vp9_fw_update_probs()
1432 if (dec_params->interpolation_filter == V4L2_VP9_INTERP_FILTER_SWITCHABLE) in v4l2_vp9_fw_update_probs()
1437 update_frame_reference_mode_probs(dec_params->reference_mode, probs, deltas); in v4l2_vp9_fw_update_probs()
1443 update_mv_probs(probs, deltas, dec_params); in v4l2_vp9_fw_update_probs()
[all …]
Dv4l2-h264.c32 const struct v4l2_ctrl_h264_decode_params *dec_params, in v4l2_h264_init_reflist_builder() argument
40 cur_frame_num = dec_params->frame_num; in v4l2_h264_init_reflist_builder()
43 if (!(dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC)) { in v4l2_h264_init_reflist_builder()
44 b->cur_pic_order_count = min(dec_params->bottom_field_order_cnt, in v4l2_h264_init_reflist_builder()
45 dec_params->top_field_order_cnt); in v4l2_h264_init_reflist_builder()
47 } else if (dec_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD) { in v4l2_h264_init_reflist_builder()
48 b->cur_pic_order_count = dec_params->bottom_field_order_cnt; in v4l2_h264_init_reflist_builder()
51 b->cur_pic_order_count = dec_params->top_field_order_cnt; in v4l2_h264_init_reflist_builder()
/linux-5.19.10/include/media/ !
Dv4l2-vp9.h165 const struct v4l2_ctrl_vp9_frame *dec_params);
178 u8 v4l2_vp9_reset_frame_ctx(const struct v4l2_ctrl_vp9_frame *dec_params,
Dv4l2-h264.h50 const struct v4l2_ctrl_h264_decode_params *dec_params,