/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
D | hantro_h264.c | 231 const struct v4l2_h264_dpb_entry *dpb = ctx->h264_dec.dpb; in prepare_table() local 235 tbl->poc[i * 2] = dpb[i].top_field_order_cnt; in prepare_table() 236 tbl->poc[i * 2 + 1] = dpb[i].bottom_field_order_cnt; in prepare_table() 255 DECLARE_BITMAP(new, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in update_dpb() 256 DECLARE_BITMAP(used, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in update_dpb() 262 for (i = 0; i < ARRAY_SIZE(ctx->h264_dec.dpb); i++) in update_dpb() 263 ctx->h264_dec.dpb[i].flags &= ~V4L2_H264_DPB_ENTRY_FLAG_ACTIVE; in update_dpb() 266 for (i = 0; i < ARRAY_SIZE(dec_param->dpb); i++) { in update_dpb() 267 const struct v4l2_h264_dpb_entry *ndpb = &dec_param->dpb[i]; in update_dpb() 276 for_each_clear_bit(j, used, ARRAY_SIZE(ctx->h264_dec.dpb)) { in update_dpb() [all …]
|
D | hantro_g1_h264_dec.c | 130 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()
|
D | hantro_hw.h | 90 struct v4l2_h264_dpb_entry dpb[HANTRO_H264_DPB_SIZE]; member
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-h264.c | 28 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]) in v4l2_h264_init_reflist_builder() 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() 52 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) 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() [all …]
|
D | v4l2-ctrls.c | 1848 &p_h264_dec_params->dpb[i]; in std_validate_compound() 1929 &p_hevc_slice_params->dpb[i]; in std_validate_compound()
|
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/ |
D | rkvdec-h264.c | 643 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_pps() local 719 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_pps() 722 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM) in assemble_hw_pps() 735 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in lookup_ref_buf_idx() 737 const struct v4l2_h264_dpb_entry *dpb = run->decode_params->dpb; in lookup_ref_buf_idx() local 741 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE) in lookup_ref_buf_idx() 743 dpb[i].reference_ts, 0); in lookup_ref_buf_idx() 753 const struct v4l2_h264_dpb_entry *dpb = dec_params->dpb; in assemble_hw_rps() local 771 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { in assemble_hw_rps() 772 if (!(dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE)) in assemble_hw_rps() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
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 …]
|
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() 153 cedrus_h265_frame_info_write_single(ctx, i, dpb[i].field_pic, in cedrus_h265_frame_info_write_dpb() 160 const struct v4l2_hevc_dpb_entry *dpb, in cedrus_h265_ref_pic_list_write() argument 175 if (dpb[index].rps == V4L2_HEVC_DPB_ENTRY_RPS_LT_CURR) in cedrus_h265_ref_pic_list_write() 533 cedrus_h265_frame_info_write_dpb(ctx, slice_params->dpb, in cedrus_h265_setup() 551 cedrus_h265_ref_pic_list_write(dev, slice_params->dpb, in cedrus_h265_setup() 570 cedrus_h265_ref_pic_list_write(dev, slice_params->dpb, in cedrus_h265_setup()
|
/kernel/linux/linux-5.10/include/media/ |
D | v4l2-h264.h | 48 const struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]);
|
D | h264-ctrls.h | 211 struct v4l2_h264_dpb_entry dpb[V4L2_H264_NUM_DPB_ENTRIES]; member
|
D | hevc-ctrls.h | 205 struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; member
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
D | delta-debug.c | 21 s->profile, s->level, s->dpb, in delta_streaminfo_str()
|
D | delta.h | 71 u32 dpb; member
|
D | delta-mjpeg-dec.c | 364 streaminfo->dpb = 1; in delta_mjpeg_get_streaminfo()
|
D | delta-v4l2.c | 1441 *num_buffers += streaminfo->dpb + DELTA_PEAK_FRAME_SMOOTHING; in delta_vb2_frame_queue_setup()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
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()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-codec.rst | 1944 - Index into the :c:type:`v4l2_ctrl_h264_decode_params`.dpb array. 1992 - ``dpb[16]`` 4172 - The number of entries in ``dpb``. 4194 - ``dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 177331 + v4l2_klog(LOGLVL_BRIEF, "reso=%d:%d,bitdepth=%d,stride=%d,dpb=%d:%d,orig yuvfmt=%d",
|