Home
last modified time | relevance | path

Searched refs:dpb_idx (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_h264.c357 unsigned int dpb_idx) in hantro_h264_get_ref_buf() argument
364 if (dpb[dpb_idx].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE) in hantro_h264_get_ref_buf()
365 dma_addr = hantro_get_ref(ctx, dpb[dpb_idx].reference_ts); in hantro_h264_get_ref_buf()
380 flags = dpb[dpb_idx].flags & V4L2_H264_DPB_ENTRY_FLAG_FIELD ? 0x2 : 0; in hantro_h264_get_ref_buf()
381 flags |= abs(dpb[dpb_idx].top_field_order_cnt - cur_poc) < in hantro_h264_get_ref_buf()
382 abs(dpb[dpb_idx].bottom_field_order_cnt - cur_poc) ? in hantro_h264_get_ref_buf()
388 u16 hantro_h264_get_ref_nbr(struct hantro_ctx *ctx, unsigned int dpb_idx) in hantro_h264_get_ref_nbr() argument
390 const struct v4l2_h264_dpb_entry *dpb = &ctx->h264_dec.dpb[dpb_idx]; in hantro_h264_get_ref_nbr()
Dhantro_hw.h432 unsigned int dpb_idx);
434 unsigned int dpb_idx);
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/
Dh264.c658 unsigned int dpb_idx) in get_ref_buf() argument
664 if (dpb[dpb_idx].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE) in get_ref_buf()
665 vb = vb2_find_buffer(cap_q, dpb[dpb_idx].reference_ts); in get_ref_buf()
813 int dpb_idx = dpb_id[i].index; in tegra_vde_h264_setup_frames() local
815 ref = get_ref_buf(ctx, dst, dpb_idx); in tegra_vde_h264_setup_frames()
817 err = tegra_vde_h264_setup_frame(ctx, h264, &b, ref, dpb_idx, in tegra_vde_h264_setup_frames()
822 if (b.refs[dpb_idx].top_field_order_cnt < b.cur_pic_order_count) in tegra_vde_h264_setup_frames()
/linux-6.6.21/drivers/staging/media/sunxi/cedrus/
Dcedrus_h264.c210 u8 dpb_idx; in _cedrus_write_ref_list() local
212 dpb_idx = ref_list[i].index; in _cedrus_write_ref_list()
213 dpb = &decode->dpb[dpb_idx]; in _cedrus_write_ref_list()