Searched refs:dpb (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| H A D | vdec_h264_req_common.c | 50 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() 60 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) { 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() 74 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM)) in mtk_vdec_h264_fill_dpb_info() 198 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]) in mtk_vdec_h264_copy_decode_params() 204 for (i = 0; i < ARRAY_SIZE(dst_params->dpb); i++) { in mtk_vdec_h264_copy_decode_params() 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() [all …]
|
| H A D | vdec_h264_req_common.h | 138 struct slice_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]; member 249 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]); 258 struct v4l2_h264_dpb_entry *dpb);
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-h264.c | 34 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()
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_h264.c | 104 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() 120 if (run->dst->vb2_buf.timestamp == 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() [all …]
|
| H A D | cedrus_h265.c | 149 const struct v4l2_hevc_dpb_entry *dpb, in cedrus_h265_frame_info_write_dpb() argument 157 struct vb2_buffer *buf = vb2_find_buffer(vq, dpb[i].timestamp); in cedrus_h265_frame_info_write_dpb() 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 188 if (dpb[index].flags & V4L2_HEVC_DPB_ENTRY_LONG_TERM_REFERENCE) in cedrus_h265_ref_pic_list_write() 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() [all …]
|
| /linux/include/media/ |
| H A D | v4l2-h264.h | 52 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]);
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 381 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() 1069 unsigned int dpb; in s5p_mfc_set_flush() local 1072 dpb = mfc_read(dev, S5P_FIMV_SI_CH0_DPB_CONF_CTRL) | ( in s5p_mfc_set_flush() 1075 dpb = mfc_read(dev, S5P_FIMV_SI_CH0_DPB_CONF_CTRL) & in s5p_mfc_set_flush() 1077 mfc_write(dev, dpb, S5P_FIMV_SI_CH0_DPB_CONF_CTRL); in s5p_mfc_set_flush()
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta.h | 71 u32 dpb; member
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-codec-stateless.rst | 490 - Index into the :c:type:`v4l2_ctrl_h264_decode_params`.dpb array. 545 - ``dpb[16]`` 2648 See :ref:`HEVC dpb field pic Flags <hevc_dpb_field_pic_flags>` 2662 ``HEVC dpb field pic Flags`` 2903 - The number of entries in ``dpb``. 2935 - ``dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
|