/linux/drivers/staging/media/hantro/ |
A D | hantro_h264.c | 231 const struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in prepare_table() local 237 tbl->poc[i * 2] = dpb[i].top_field_order_cnt; in prepare_table() 292 cdpb = &ctx->h264_dec.dpb[j]; in update_dpb() 302 if (j == ARRAY_SIZE(ctx->h264_dec.dpb)) in update_dpb() 317 if (WARN_ON(j >= ARRAY_SIZE(ctx->h264_dec.dpb))) in update_dpb() 320 cdpb = &ctx->h264_dec.dpb[j]; in update_dpb() 329 struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in hantro_h264_get_ref_buf() local 353 const struct v4l2_h264_dpb_entry *dpb = &ctx->h264_dec.dpb[dpb_idx]; in hantro_h264_get_ref_nbr() local 358 return dpb->pic_num; in hantro_h264_get_ref_nbr() 359 return dpb->frame_num; in hantro_h264_get_ref_nbr() [all …]
|
A D | hantro_g2_hevc_dec.c | 277 if (dpb[i].pic_order_cnt[0] == pic_order_cnt) in find_ref_pic_index() 289 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; in set_ref_pic_list() local 333 list0[j++] = find_ref_pic_index(dpb, decode_params->poc_st_curr_before[i]); in set_ref_pic_list() 335 list0[j++] = find_ref_pic_index(dpb, decode_params->poc_st_curr_after[i]); in set_ref_pic_list() 337 list0[j++] = find_ref_pic_index(dpb, decode_params->poc_lt_curr[i]); in set_ref_pic_list() 346 list1[j++] = find_ref_pic_index(dpb, decode_params->poc_st_curr_after[i]); in set_ref_pic_list() 348 list1[j++] = find_ref_pic_index(dpb, decode_params->poc_st_curr_before[i]); in set_ref_pic_list() 350 list1[j++] = find_ref_pic_index(dpb, decode_params->poc_lt_curr[i]); in set_ref_pic_list() 368 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; in set_ref() local 441 luma_addr = hantro_hevc_get_ref_buf(ctx, dpb[i].pic_order_cnt[0]); in set_ref() [all …]
|
A D | hantro_hw.h | 97 struct v4l2_h264_dpb_entry dpb[HANTRO_H264_DPB_SIZE]; member
|
/linux/drivers/media/platform/mtk-vcodec/vdec/ |
A D | vdec_h264_req_if.c | 108 struct slice_h264_dpb_entry dpb[16]; member 212 struct v4l2_h264_dpb_entry dpb[16]; member 233 const struct slice_h264_dpb_entry *dpb; in get_h264_dpb_list() local 236 dpb = &slice_param->decode_params.dpb[index]; in get_h264_dpb_list() 245 index, dpb->reference_ts); in get_h264_dpb_list() 407 cdpb = &dpb[j]; in update_dpb() 418 if (j == ARRAY_SIZE(dec_param->dpb)) in update_dpb() 436 cdpb = &dpb[j]; in update_dpb() 466 update_dpb(dec_params, inst->dpb); in get_vdec_decode_parameters() 472 inst->dpb); in get_vdec_decode_parameters() [all …]
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-h264.c | 48 if (!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in v4l2_h264_init_reflist_builder() 51 b->refs[i].pic_num = dpb[i].pic_num; in v4l2_h264_init_reflist_builder() 61 if (dpb[i].frame_num > cur_frame_num) in v4l2_h264_init_reflist_builder() 62 b->refs[i].frame_num = (int)dpb[i].frame_num - in v4l2_h264_init_reflist_builder() 65 b->refs[i].frame_num = dpb[i].frame_num; in v4l2_h264_init_reflist_builder() 67 if (dpb[i].fields == V4L2_H264_FRAME_REF) in v4l2_h264_init_reflist_builder() 68 pic_order_count = min(dpb[i].top_field_order_cnt, in v4l2_h264_init_reflist_builder() 69 dpb[i].bottom_field_order_cnt); in v4l2_h264_init_reflist_builder() 70 else if (dpb[i].fields & V4L2_H264_BOTTOM_FIELD_REF) in v4l2_h264_init_reflist_builder() 71 pic_order_count = dpb[i].bottom_field_order_cnt; in v4l2_h264_init_reflist_builder() [all …]
|
A D | v4l2-ctrls-core.c | 551 &p_h264_dec_params->dpb[i]; in std_validate_compound() 630 &p_hevc_decode_params->dpb[i]; in std_validate_compound()
|
/linux/drivers/staging/media/rkvdec/ |
A D | rkvdec-h264.c | 642 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_pps() local 732 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_rps() local 756 p[i] = dpb[i].frame_num; in assemble_hw_rps() 760 p[i] = dpb[i].frame_num - max_frame_num; in assemble_hw_rps() 780 if (idx >= ARRAY_SIZE(dec_params->dpb)) in assemble_hw_rps() 782 dpb_valid = !!(dpb[idx].flags & in assemble_hw_rps() 862 const struct v4l2_h264_dpb_entry *dpb = run->decode_params->dpb; in get_ref_buf() local 868 dpb[dpb_idx].reference_ts, 0); in get_ref_buf() 886 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in config_registers() local 966 writel_relaxed(dpb[i].top_field_order_cnt, in config_registers() [all …]
|
/linux/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus_h264.c | 111 for (i = 0; i < ARRAY_SIZE(decode->dpb); i++) { in cedrus_write_frame_list() 112 const struct v4l2_h264_dpb_entry *dpb = &decode->dpb[i]; in cedrus_write_frame_list() local 116 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_VALID)) in cedrus_write_frame_list() 119 buf_idx = vb2_find_timestamp(cap_q, dpb->reference_ts, 0); in cedrus_write_frame_list() 127 if (run->dst->vb2_buf.timestamp == dpb->reference_ts) { in cedrus_write_frame_list() 132 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in cedrus_write_frame_list() 136 dpb->top_field_order_cnt, in cedrus_write_frame_list() 137 dpb->bottom_field_order_cnt, in cedrus_write_frame_list() 186 const struct v4l2_h264_dpb_entry *dpb; in _cedrus_write_ref_list() local 193 dpb = &decode->dpb[dpb_idx]; in _cedrus_write_ref_list() [all …]
|
A D | cedrus_h265.c | 136 const struct v4l2_hevc_dpb_entry *dpb, in cedrus_h265_frame_info_write_dpb() argument 144 int buffer_index = vb2_find_timestamp(vq, dpb[i].timestamp, 0); in cedrus_h265_frame_info_write_dpb() 146 dpb[i].pic_order_cnt[0], in cedrus_h265_frame_info_write_dpb() 147 dpb[i].pic_order_cnt[1] in cedrus_h265_frame_info_write_dpb() 150 cedrus_h265_frame_info_write_single(ctx, i, dpb[i].field_pic, in cedrus_h265_frame_info_write_dpb() 157 const struct v4l2_hevc_dpb_entry *dpb, in cedrus_h265_ref_pic_list_write() argument 172 if (dpb[index].rps == V4L2_HEVC_DPB_ENTRY_RPS_LT_CURR) in cedrus_h265_ref_pic_list_write() 607 cedrus_h265_frame_info_write_dpb(ctx, decode_params->dpb, in cedrus_h265_setup() 625 cedrus_h265_ref_pic_list_write(dev, decode_params->dpb, in cedrus_h265_setup() 644 cedrus_h265_ref_pic_list_write(dev, decode_params->dpb, in cedrus_h265_setup()
|
/linux/include/media/ |
A D | v4l2-h264.h | 48 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]);
|
A D | hevc-ctrls.h | 220 struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; member
|
/linux/drivers/media/platform/sti/delta/ |
A D | delta-debug.c | 21 s->profile, s->level, s->dpb, in delta_streaminfo_str()
|
A D | delta.h | 71 u32 dpb; member
|
A D | delta-mjpeg-dec.c | 364 streaminfo->dpb = 1; in delta_mjpeg_get_streaminfo()
|
A D | delta-v4l2.c | 1438 *num_buffers += streaminfo->dpb + DELTA_PEAK_FRAME_SMOOTHING; in delta_vb2_frame_queue_setup()
|
/linux/drivers/media/platform/s5p-mfc/ |
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() 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/Documentation/userspace-api/media/v4l/ |
A D | ext-ctrls-codec-stateless.rst | 489 - Index into the :c:type:`v4l2_ctrl_h264_decode_params`.dpb array. 544 - ``dpb[16]``
|
A D | ext-ctrls-codec.rst | 3368 - The number of entries in ``dpb``. 3370 - ``dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
|
/linux/include/uapi/linux/ |
A D | v4l2-controls.h | 1588 struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]; member
|