Lines Matching refs:vsh

47     Avs2dSeqHeader_t *vsh = &p_dec->vsh;  in dpb_get_size()  local
48 mini_cu_width = (vsh->horizontal_size + mini_size - 1) / mini_size; in dpb_get_size()
49 if (vsh->progressive_sequence == 0 && vsh->field_coded_sequence == 0) { in dpb_get_size()
50 mini_cu_height = (vsh->vertical_size + 2 * mini_size - 1) / (2 * mini_size); in dpb_get_size()
52 mini_cu_height = (vsh->vertical_size + mini_size - 1) / mini_size; in dpb_get_size()
55 avs2d_dbg_dpb("level_id %d, pic_size %d", vsh->level_id, pic_size); in dpb_get_size()
57 switch (vsh->level_id) { in dpb_get_size()
90 AVS2D_DBG(AVS2D_DBG_WARNNING, "invalid level id(%d)", vsh->level_id); in dpb_get_size()
94 if (dpb_size < (RK_U32)(vsh->num_of_rps + 1)) { in dpb_get_size()
95 dpb_size = (RK_U32)(vsh->num_of_rps + 1); in dpb_get_size()
205 Avs2dSeqHeader_t *vsh = &p_dec->vsh; in compute_frame_order_index() local
237 avs2d_dbg_dpb("low_delay %d, reorder_delay %d\n", vsh->low_delay, vsh->picture_reorder_delay); in compute_frame_order_index()
238 if (vsh->low_delay == 0) { in compute_frame_order_index()
239 ph->poi = ph->doi + ph->picture_output_delay - vsh->picture_reorder_delay; in compute_frame_order_index()
436 static Avs2dFrame_t *dpb_get_one_frame(Avs2dFrameMgr_t *mgr, Avs2dSeqHeader_t *vsh, Avs2dPicHeader_… in dpb_get_one_frame() argument
442 if (vsh->field_coded_sequence) { in dpb_get_one_frame()
471 Avs2dSeqHeader_t *vsh = &p_dec->vsh; in dpb_alloc_frame() local
477 frm = dpb_get_one_frame(mgr, vsh, ph); in dpb_alloc_frame()
494 if (vsh->chroma_format == CHROMA_420 && vsh->bit_depth == 8) { in dpb_alloc_frame()
496 } else if (vsh->chroma_format == CHROMA_420 && vsh->bit_depth == 10) { in dpb_alloc_frame()
502 RK_U32 fbc_hdr_stride = MPP_ALIGN(vsh->horizontal_size, 64); in dpb_alloc_frame()
507 fbc_hdr_stride = MPP_ALIGN(vsh->horizontal_size, 256) | 256; in dpb_alloc_frame()
512 RK_U32 ctu_size = 1 << (p_dec->vsh.lcu_size); in dpb_alloc_frame()
515 mpp_frame_set_ver_stride(mframe, MPP_ALIGN(vsh->vertical_size, ctu_size) + 16); in dpb_alloc_frame()
528 mpp_frame_set_width(mframe, vsh->horizontal_size); in dpb_alloc_frame()
529 mpp_frame_set_height(mframe, vsh->vertical_size); in dpb_alloc_frame()
546 if (vsh->progressive_sequence) { in dpb_alloc_frame()
555 if (vsh->field_coded_sequence) { in dpb_alloc_frame()