Searched refs:ref_idx (Results 1 – 5 of 5) sorted by relevance
266 int ref_idx = *idx; in vp9_ref_cnt_fb() local268 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()
679 u64 ref_idx[V4L2_AV1_REFS_PER_FRAME]; member1500 int ref_idx = ctrl_fh->ref_frame_idx[i]; in vdec_av1_slice_setup_ref() local1502 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()
390 u64 ref_idx[3]; member935 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()
267 void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx);
4401 void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx) in rockchip_av1_get_cdfs() argument4405 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()