Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/media/hantro/
Dhantro_h264.c256 const struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in prepare_table() local
260 tbl->poc[i * 2] = dpb[i].top_field_order_cnt; in prepare_table()
261 tbl->poc[i * 2 + 1] = dpb[i].bottom_field_order_cnt; in prepare_table()
271 const struct v4l2_h264_dpb_entry *dpb; member
299 const struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in init_reflist_builder() local
306 b->dpb = dpb; in init_reflist_builder()
310 for (i = 0; i < ARRAY_SIZE(ctx->h264_dec.dpb); i++) { in init_reflist_builder()
313 if (!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in init_reflist_builder()
316 buf_idx = vb2_find_timestamp(cap_q, dpb[i].reference_ts, 0); in init_reflist_builder()
321 b->pocs[i] = get_poc(buf->field, dpb[i].top_field_order_cnt, in init_reflist_builder()
[all …]
Dhantro_g1_h264_dec.c130 struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in set_ref() local
144 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE) in set_ref()
147 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in set_ref()
161 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in set_ref()
162 reg |= G1_REG_REF_PIC_REFER0_NBR(dpb[i].pic_num); in set_ref()
164 reg |= G1_REG_REF_PIC_REFER0_NBR(dpb[i].frame_num); in set_ref()
166 if (dpb[i + 1].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in set_ref()
167 reg |= G1_REG_REF_PIC_REFER1_NBR(dpb[i + 1].pic_num); in set_ref()
169 reg |= G1_REG_REF_PIC_REFER1_NBR(dpb[i + 1].frame_num); in set_ref()
Dhantro_hw.h88 struct v4l2_h264_dpb_entry dpb[HANTRO_H264_DPB_SIZE]; member
/Linux-v5.4/drivers/staging/media/sunxi/cedrus/
Dcedrus_h264.c109 for (i = 0; i < ARRAY_SIZE(decode->dpb); i++) { in cedrus_write_frame_list()
110 const struct v4l2_h264_dpb_entry *dpb = &decode->dpb[i]; in cedrus_write_frame_list() local
114 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_VALID)) in cedrus_write_frame_list()
117 buf_idx = vb2_find_timestamp(cap_q, dpb->reference_ts, 0); 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()
179 const struct v4l2_h264_dpb_entry *dpb; in _cedrus_write_ref_list() local
187 dpb = &decode->dpb[dpb_idx]; in _cedrus_write_ref_list()
189 if (!(dpb->flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in _cedrus_write_ref_list()
[all …]
/Linux-v5.4/drivers/media/platform/sti/delta/
Ddelta-debug.c21 s->profile, s->level, s->dpb, in delta_streaminfo_str()
Ddelta.h71 u32 dpb; member
Ddelta-mjpeg-dec.c364 streaminfo->dpb = 1; in delta_mjpeg_get_streaminfo()
Ddelta-v4l2.c1439 *num_buffers += streaminfo->dpb + DELTA_PEAK_FRAME_SMOOTHING; in delta_vb2_frame_queue_setup()
/Linux-v5.4/include/media/
Dh264-ctrls.h202 struct v4l2_h264_dpb_entry dpb[16]; member
/Linux-v5.4/drivers/media/platform/s5p-mfc/
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-v5.4/Documentation/media/uapi/v4l/
Dext-ctrls-codec.rst1937 - ``dpb[16]``