| /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);
|
| H A D | vdec_hevc_req_multi_if.c | 202 struct slice_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; member 396 const struct slice_hevc_dpb_entry *dpb; in vdec_hevc_fill_dpb_info() local 403 dpb = &decode_params->dpb[index]; in vdec_hevc_fill_dpb_info() 407 vb = vb2_find_buffer(vq, dpb->timestamp); in vdec_hevc_fill_dpb_info() 411 index, dpb->timestamp); in vdec_hevc_fill_dpb_info() 415 hevc_dpb_info[index].field = dpb->field_pic; in vdec_hevc_fill_dpb_info() 557 const struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]) in vdec_hevc_copy_decode_params() 563 for (i = 0; i < ARRAY_SIZE(dst_param->dpb); i++) { in vdec_hevc_copy_decode_params() 564 dst_entry = &dst_param->dpb[i]; in vdec_hevc_copy_decode_params() 565 src_entry = &dpb[i]; in vdec_hevc_copy_decode_params() [all …]
|
| H A D | vdec_h264_req_if.c | 93 struct v4l2_h264_dpb_entry dpb[16]; member 129 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in get_vdec_decode_parameters() 135 dec_params, inst->dpb); in get_vdec_decode_parameters() 141 inst->dpb); in get_vdec_decode_parameters()
|
| H A D | vdec_h264_req_multi_if.c | 261 struct v4l2_h264_dpb_entry dpb[16]; member 344 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in get_vdec_sig_decode_parameters() 350 mtk_vdec_h264_copy_decode_params(&slice_param->decode_params, dec_params, inst->dpb); in get_vdec_sig_decode_parameters() 355 v4l2_h264_init_reflist_builder(&reflist_builder, dec_params, sps, inst->dpb); in get_vdec_sig_decode_parameters() 381 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in vdec_h264_slice_fill_decode_reflist() 384 inst->dpb); in vdec_h264_slice_fill_decode_reflist() 391 inst->dpb); in vdec_h264_slice_fill_decode_reflist()
|
| H A D | vdec_vp9_req_lat_if.c | 464 struct vdec_vp9_slice_ref dpb[VB2_MAX_FRAME]; member 1696 instance->dpb[vb->index].width = w; in vdec_vp9_slice_setup_core_buffer() 1697 instance->dpb[vb->index].height = h; in vdec_vp9_slice_setup_core_buffer() 1713 ref->frame_width = instance->dpb[idx].width; in vdec_vp9_slice_setup_core_buffer() 1714 ref->frame_height = instance->dpb[idx].height; in vdec_vp9_slice_setup_core_buffer()
|
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-vdpu383-h264.c | 99 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; 190 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in set_dec_params() 192 dpb[i].top_field_order_cnt); in set_dec_params() 194 dpb[i].bottom_field_order_cnt); in assemble_hw_pps() 197 !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM)); in assemble_hw_pps() 199 !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_FIELD)); in assemble_hw_pps() 201 !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)); in assemble_hw_pps() local 203 !!(dpb[i].fields & V4L2_H264_TOP_FIELD_REF)); in assemble_hw_pps() 205 !!(dpb[ in assemble_hw_pps() 133 set_field_order_cnt(struct rkvdec_pps * pps,const struct v4l2_h264_dpb_entry * dpb) set_field_order_cnt() argument 171 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; set_dec_params() local [all...] |
| H A D | rkvdec-h264.c | 94 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in set_ps_field() 180 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_pps() 183 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in assemble_hw_pps() 233 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in set_poc_reg() 295 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in config_registers() 313 base->field_ref = !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_FIELD); in config_registers() 314 base->colmv_use_flag_ref = !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE); in config_registers() 315 base->topfield_used_ref = !!(dpb[ in config_registers() 115 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; assemble_hw_pps() local 254 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; config_registers() local [all...] |
| H A D | rkvdec-vdpu381-h264.c | 93 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_pps() local 180 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_pps() 181 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in assemble_hw_pps() 212 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in config_registers() local 297 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in config_registers() 320 !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_FIELD); in config_registers() 322 !!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE); in config_registers() 324 !!(dpb[i].fields & V4L2_H264_TOP_FIELD_REF); in config_registers() 326 !!(dpb[i].fields & V4L2_H264_BOTTOM_FIELD_REF); in config_registers() 329 dpb[i].top_field_order_cnt; in config_registers() [all …]
|
| H A D | rkvdec-vdpu383-hevc.c | 316 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_pps() 320 dec_params->dpb[i].pic_order_cnt_val); in assemble_hw_pps() 410 for (i = 0; i < ARRAY_SIZE(dec_params->dpb) - 1; i++) { in config_registers() 200 set_pps_ref_pic_poc(struct rkvdec_hevc_sps_pps * hw_ps,const struct v4l2_hevc_dpb_entry * dpb) set_pps_ref_pic_poc() argument
|
| H A D | rkvdec-hevc.c | 296 const struct v4l2_hevc_dpb_entry *dpb; 321 dpb = decode_params->dpb; in assemble_sw_rps() 338 const struct v4l2_hevc_dpb_entry dpb_l0 = dpb[sl_params->ref_idx_l0[i]]; in assemble_sw_rps() 349 const struct v4l2_hevc_dpb_entry dpb_l1 = dpb[sl_params->ref_idx_l1[i]]; in assemble_sw_rps() 388 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; in assemble_sw_rps() 466 ? dpb[i].pic_order_cnt_val in config_registers() 317 const struct v4l2_hevc_dpb_entry *dpb; assemble_sw_rps() local 409 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; config_registers() local
|
| H A D | rkvdec-vdpu381-hevc.c | 383 const struct v4l2_hevc_dpb_entry *dpb = dec_params->dpb; in config_registers() local 461 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in config_registers() 473 dpb[i].pic_order_cnt_val; in config_registers()
|
| H A D | rkvdec-hevc-common.c | 365 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; in st_ref_pic_set_calculate() 370 buf = vb2_find_buffer(cap_q, dpb[dpb_idx].timestamp); in st_ref_pic_set_calculate() 424 const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb; get_ref_buf() local
|
| /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()
|
| H A D | v4l2-ctrls-core.c | 1188 &p_h264_dec_params->dpb[i]; in std_validate_compound()
|
| /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 [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
|
| H A D | delta-mjpeg-dec.c | 364 streaminfo->dpb = 1; in delta_mjpeg_get_streaminfo()
|
| H A D | delta-v4l2.c | 1442 *num_buffers += streaminfo->dpb + DELTA_PEAK_FRAME_SMOOTHING; in delta_vb2_frame_queue_setup()
|