Home
last modified time | relevance | path

Searched refs:ref_idx (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_if.c266 int ref_idx = *idx; in vp9_ref_cnt_fb() local
268 if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { in vp9_ref_cnt_fb()
269 vsi->frm_bufs[ref_idx].ref_cnt--; in vp9_ref_cnt_fb()
271 if (vsi->frm_bufs[ref_idx].ref_cnt == 0) { in vp9_ref_cnt_fb()
273 vsi->frm_bufs[ref_idx].buf.fb)) { in vp9_ref_cnt_fb()
277 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb()
281 vsi->frm_bufs[ref_idx].buf.fb); in vp9_ref_cnt_fb()
Dvdec_av1_req_lat_if.c679 u64 ref_idx[V4L2_AV1_REFS_PER_FRAME]; member
1500 int ref_idx = ctrl_fh->ref_frame_idx[i]; in vdec_av1_slice_setup_ref() local
1502 pfc->ref_idx[i] = ctrl_fh->reference_frame_ts[ref_idx]; in vdec_av1_slice_setup_ref()
1503 slot_id = frame->ref_frame_map[ref_idx]; in vdec_av1_slice_setup_ref()
1507 ctrl_fh->reference_frame_ts[ref_idx]); in vdec_av1_slice_setup_ref()
1817 vb = vb2_find_buffer(vq, pfc->ref_idx[i]); in vdec_av1_slice_setup_core_buffer()
Dvdec_vp9_req_lat_if.c390 u64 ref_idx[3]; member
935 pfc->ref_idx[0] = hdr->last_frame_ts; in vdec_vp9_slice_setup_ref_idx()
936 pfc->ref_idx[1] = hdr->golden_frame_ts; in vdec_vp9_slice_setup_ref_idx()
937 pfc->ref_idx[2] = hdr->alt_frame_ts; in vdec_vp9_slice_setup_ref_idx()
1712 vb = vb2_find_buffer(vq, pfc->ref_idx[i]); in vdec_vp9_slice_setup_core_buffer()
/linux-6.6.21/drivers/media/platform/verisilicon/
Drockchip_av1_entropymode.h267 void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx);
Drockchip_av1_entropymode.c4401 void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx) in rockchip_av1_get_cdfs() argument
4405 av1_dec->cdfs = &av1_dec->cdfs_last[ref_idx]; in rockchip_av1_get_cdfs()
4406 av1_dec->cdfs_ndvc = &av1_dec->cdfs_last_ndvc[ref_idx]; in rockchip_av1_get_cdfs()