Home
last modified time | relevance | path

Searched refs:dpb (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/drivers/media/platform/verisilicon/
A Dhantro_h264.c238 const struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in prepare_table() local
244 tbl->poc[i * 2] = dpb[i].top_field_order_cnt; in prepare_table()
258 if (dpb[i].fields & V4L2_H264_TOP_FIELD_REF) in prepare_table()
307 ctx->h264_dec.dpb[i].flags = 0; in update_dpb()
323 cdpb = &ctx->h264_dec.dpb[j]; in update_dpb()
332 if (j == ARRAY_SIZE(ctx->h264_dec.dpb)) in update_dpb()
350 cdpb = &ctx->h264_dec.dpb[j]; in update_dpb()
359 struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in hantro_h264_get_ref_buf() local
390 const struct v4l2_h264_dpb_entry *dpb = &ctx->h264_dec.dpb[dpb_idx]; in hantro_h264_get_ref_nbr() local
394 return dpb->frame_num; in hantro_h264_get_ref_nbr()
[all …]
A Dhantro_g2_hevc_dec.c382 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; in set_ref() local
429 char poc_diff = decode_params->pic_order_cnt_val - dpb[i].pic_order_cnt_val; in set_ref()
456 luma_addr = hantro_hevc_get_ref_buf(ctx, dpb[i].pic_order_cnt_val); in set_ref()
463 if (dpb[i].flags & V4L2_HEVC_DPB_ENTRY_LONG_TERM_REFERENCE) in set_ref()
A Dhantro_hw.h102 struct v4l2_h264_dpb_entry dpb[HANTRO_H264_DPB_SIZE]; member
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/
A Dvdec_h264_req_common.c50 const struct slice_h264_dpb_entry *dpb; in mtk_vdec_h264_fill_dpb_info() local
59 dpb = &decode_params->dpb[index]; in mtk_vdec_h264_fill_dpb_info()
65 vb = vb2_find_buffer(vq, dpb->reference_ts); in mtk_vdec_h264_fill_dpb_info()
69 index, dpb->reference_ts); in mtk_vdec_h264_fill_dpb_info()
205 dst_entry = &dst_params->dpb[i]; in mtk_vdec_h264_copy_decode_params()
206 src_entry = &dpb[i]; in mtk_vdec_h264_copy_decode_params()
242 struct v4l2_h264_dpb_entry *dpb) in mtk_vdec_h264_update_dpb() argument
270 cdpb = &dpb[j]; in mtk_vdec_h264_update_dpb()
281 if (j == ARRAY_SIZE(dec_param->dpb)) in mtk_vdec_h264_update_dpb()
296 if (WARN_ON(j >= ARRAY_SIZE(dec_param->dpb))) in mtk_vdec_h264_update_dpb()
[all …]
A Dvdec_h264_req_common.h138 struct slice_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]; member
246 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]);
255 struct v4l2_h264_dpb_entry *dpb);
A Dvdec_h264_req_if.c94 struct v4l2_h264_dpb_entry dpb[16]; member
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()
142 inst->dpb); in get_vdec_decode_parameters()
A Dvdec_h264_req_multi_if.c170 struct v4l2_h264_dpb_entry dpb[16]; member
250 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in get_vdec_sig_decode_parameters()
256 mtk_vdec_h264_copy_decode_params(&slice_param->decode_params, dec_params, inst->dpb); in get_vdec_sig_decode_parameters()
261 v4l2_h264_init_reflist_builder(&reflist_builder, dec_params, sps, inst->dpb); in get_vdec_sig_decode_parameters()
290 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in vdec_h264_slice_fill_decode_reflist()
293 inst->dpb); in vdec_h264_slice_fill_decode_reflist()
300 inst->dpb); in vdec_h264_slice_fill_decode_reflist()
A Dvdec_vp9_req_lat_if.c466 struct vdec_vp9_slice_ref dpb[VB2_MAX_FRAME]; member
1705 instance->dpb[i].width = w; in vdec_vp9_slice_setup_core_buffer()
1706 instance->dpb[i].height = h; in vdec_vp9_slice_setup_core_buffer()
1725 ref->frame_width = instance->dpb[idx].width; in vdec_vp9_slice_setup_core_buffer()
1726 ref->frame_height = instance->dpb[idx].height; in vdec_vp9_slice_setup_core_buffer()
/linux-6.3-rc2/drivers/staging/media/rkvdec/
A Drkvdec-h264.c640 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_pps() local
725 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_pps()
743 const struct v4l2_h264_dpb_entry *dpb = run->decode_params->dpb; in lookup_ref_buf_idx() local
751 dpb[i].reference_ts); in lookup_ref_buf_idx()
763 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_rps() local
889 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in config_registers() local
970 if (dpb[i].fields & V4L2_H264_TOP_FIELD_REF) in config_registers()
972 if (dpb[i].fields & V4L2_H264_BOTTOM_FIELD_REF) in config_registers()
975 writel_relaxed(dpb[i].top_field_order_cnt, in config_registers()
977 writel_relaxed(dpb[i].bottom_field_order_cnt, in config_registers()
[all …]
/linux-6.3-rc2/drivers/media/v4l2-core/
A Dv4l2-h264.c34 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]) in v4l2_h264_init_reflist_builder()
56 if (!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in v4l2_h264_init_reflist_builder()
59 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in v4l2_h264_init_reflist_builder()
68 if (!b->refs[i].longterm && dpb[i].frame_num > cur_frame_num) in v4l2_h264_init_reflist_builder()
69 b->refs[i].frame_num = (int)dpb[i].frame_num - in v4l2_h264_init_reflist_builder()
72 b->refs[i].frame_num = dpb[i].frame_num; in v4l2_h264_init_reflist_builder()
74 b->refs[i].top_field_order_cnt = dpb[i].top_field_order_cnt; in v4l2_h264_init_reflist_builder()
75 b->refs[i].bottom_field_order_cnt = dpb[i].bottom_field_order_cnt; in v4l2_h264_init_reflist_builder()
86 if (dpb[i].fields & V4L2_H264_TOP_FIELD_REF) { in v4l2_h264_init_reflist_builder()
94 if (dpb[i].fields & V4L2_H264_BOTTOM_FIELD_REF) { in v4l2_h264_init_reflist_builder()
A Dv4l2-ctrls-core.c781 &p_h264_dec_params->dpb[i]; in std_validate_compound()
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/
A Dcedrus_h264.c104 for (i = 0; i < ARRAY_SIZE(decode->dpb); i++) { in cedrus_write_frame_list()
105 const struct v4l2_h264_dpb_entry *dpb = &decode->dpb[i]; in cedrus_write_frame_list() local
109 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_VALID)) in cedrus_write_frame_list()
112 buf = vb2_find_buffer(cap_q, dpb->reference_ts); in cedrus_write_frame_list()
125 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in cedrus_write_frame_list()
129 dpb->top_field_order_cnt, in cedrus_write_frame_list()
130 dpb->bottom_field_order_cnt, in cedrus_write_frame_list()
206 const struct v4l2_h264_dpb_entry *dpb; in _cedrus_write_ref_list() local
213 dpb = &decode->dpb[dpb_idx]; in _cedrus_write_ref_list()
215 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in _cedrus_write_ref_list()
[all …]
A Dcedrus_h265.c149 const struct v4l2_hevc_dpb_entry *dpb, in cedrus_h265_frame_info_write_dpb() argument
159 dpb[i].pic_order_cnt_val, in cedrus_h265_frame_info_write_dpb()
160 dpb[i].pic_order_cnt_val in cedrus_h265_frame_info_write_dpb()
166 cedrus_h265_frame_info_write_single(ctx, i, dpb[i].field_pic, in cedrus_h265_frame_info_write_dpb()
173 const struct v4l2_hevc_dpb_entry *dpb, in cedrus_h265_ref_pic_list_write() argument
336 const struct v4l2_hevc_dpb_entry *dpb; in cedrus_h265_is_low_delay() local
342 dpb = run->h265.decode_params->dpb; in cedrus_h265_is_low_delay()
345 if (dpb[slice_params->ref_idx_l0[i]].pic_order_cnt_val > poc) in cedrus_h265_is_low_delay()
765 cedrus_h265_frame_info_write_dpb(ctx, decode_params->dpb, in cedrus_h265_setup()
783 cedrus_h265_ref_pic_list_write(dev, decode_params->dpb, in cedrus_h265_setup()
[all …]
/linux-6.3-rc2/drivers/media/test-drivers/visl/
A Dvisl-dec.c128 for (i = 0; i < ARRAY_SIZE(run->h264.dpram->dpb); i++) { in visl_get_ref_frames()
129 vb2_buf = vb2_find_buffer(cap_q, run->h264.dpram->dpb[i].reference_ts); in visl_get_ref_frames()
131 run->h264.dpram->dpb[i].reference_ts, in visl_get_ref_frames()
144 for (i = 0; i < ARRAY_SIZE(run->hevc.dpram->dpb); i++) { in visl_get_ref_frames()
145 vb2_buf = vb2_find_buffer(cap_q, run->hevc.dpram->dpb[i].timestamp); in visl_get_ref_frames()
147 run->hevc.dpram->dpb[i].timestamp, in visl_get_ref_frames()
397 for (i = 0; i < ARRAY_SIZE(run->h264.dpram->dpb); i++) in visl_trace_ctrls()
398 trace_v4l2_h264_dpb_entry(&run->h264.dpram->dpb[i], i); in visl_trace_ctrls()
409 for (i = 0; i < ARRAY_SIZE(run->hevc.dpram->dpb); i++) in visl_trace_ctrls()
410 trace_v4l2_hevc_dpb_entry(&run->hevc.dpram->dpb[i]); in visl_trace_ctrls()
/linux-6.3-rc2/drivers/media/platform/nvidia/tegra-vde/
A Dh264.c660 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in get_ref_buf() local
664 if (dpb[dpb_idx].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE) in get_ref_buf()
665 vb = vb2_find_buffer(cap_q, dpb[dpb_idx].reference_ts); in get_ref_buf()
763 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in tegra_vde_h264_setup_frames() local
802 v4l2_h264_init_reflist_builder(&b, h->decode_params, h->sps, dpb); in tegra_vde_h264_setup_frames()
/linux-6.3-rc2/include/media/
A Dv4l2-h264.h52 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]);
/linux-6.3-rc2/drivers/media/platform/st/sti/delta/
A Ddelta-debug.c21 s->profile, s->level, s->dpb, in delta_streaminfo_str()
A Ddelta.h71 u32 dpb; member
A Ddelta-mjpeg-dec.c364 streaminfo->dpb = 1; in delta_mjpeg_get_streaminfo()
A Ddelta-v4l2.c1438 *num_buffers += streaminfo->dpb + DELTA_PEAK_FRAME_SMOOTHING; in delta_vb2_frame_queue_setup()
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc_opr_v5.c381 unsigned int dpb; in s5p_mfc_set_dec_frame_buffer_v5() local
389 dpb = mfc_read(dev, S5P_FIMV_SI_CH0_DPB_CONF_CTRL) & in s5p_mfc_set_dec_frame_buffer_v5()
391 mfc_write(dev, ctx->total_dpb_count | dpb, in s5p_mfc_set_dec_frame_buffer_v5()
1067 unsigned int dpb; in s5p_mfc_set_flush() local
1070 dpb = mfc_read(dev, S5P_FIMV_SI_CH0_DPB_CONF_CTRL) | ( in s5p_mfc_set_flush()
1073 dpb = mfc_read(dev, S5P_FIMV_SI_CH0_DPB_CONF_CTRL) & in s5p_mfc_set_flush()
1075 mfc_write(dev, dpb, S5P_FIMV_SI_CH0_DPB_CONF_CTRL); in s5p_mfc_set_flush()
/linux-6.3-rc2/include/uapi/linux/
A Dv4l2-controls.h1583 struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]; member
2404 struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; member
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dext-ctrls-codec-stateless.rst489 - Index into the :c:type:`v4l2_ctrl_h264_decode_params`.dpb array.
544 - ``dpb[16]``
2647 See :ref:`HEVC dpb field pic Flags <hevc_dpb_field_pic_flags>`
2661 ``HEVC dpb field pic Flags``
2902 - The number of entries in ``dpb``.
2927 - ``dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``

Completed in 63 milliseconds