Lines Matching refs:width

220     RK_S32 width, height;  in hal_h265d_v382_output_pps_packet()  local
249 width = (dxva_cxt->pp.PicWidthInMinCbsY << log2_min_cb_size); in hal_h265d_v382_output_pps_packet()
252 mpp_put_bits(&bp, width , 16); in hal_h265d_v382_output_pps_packet()
342 RK_S32 ctu_width_in_pic = (width + in hal_h265d_v382_output_pps_packet()
362 RK_S32 pic_in_cts_width = (width + in hal_h265d_v382_output_pps_packet()
384 column_width[0] = (width + MaxCUWidth - 1) / MaxCUWidth; in hal_h265d_v382_output_pps_packet()
440 RK_S32 width, RK_S32 height, void *dxva) in h265d_refine_rcb_size() argument
451 width = MPP_ALIGN(width, ctu_size); in h265d_refine_rcb_size()
455 if (width >= 8192) { in h265d_refine_rcb_size()
458 rcb_bits = (MPP_ALIGN(width, ctu_size) + factor - 1) / factor * 24 + ext_align_size; in h265d_refine_rcb_size()
464 if (width >= 8192) in h265d_refine_rcb_size()
465 rcb_bits = (MPP_ALIGN(width - 8192, 4) << 1) + ext_align_size; in h265d_refine_rcb_size()
478 rcb_bits = width * 22 + ext_align_size; in h265d_refine_rcb_size()
486 rcb_bits = width * ((chroma_fmt_idc ? 1 : 0) + 1) * 11 + ext_align_size; in h265d_refine_rcb_size()
492 rcb_bits = width * ( 4 + 6 * bit_depth); in h265d_refine_rcb_size()
494 rcb_bits = width * ( 2 + 6 * bit_depth); in h265d_refine_rcb_size()
497 rcb_bits = width * ( 4 + 8 * bit_depth); in h265d_refine_rcb_size()
499 rcb_bits = width * ( 2 + 8 * bit_depth); in h265d_refine_rcb_size()
506 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in h265d_refine_rcb_size()
508 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in h265d_refine_rcb_size()
515 rcb_bits = width * (chroma_fmt_idc - 1) * 2 * bit_depth; in h265d_refine_rcb_size()
543 RK_S32 width, RK_S32 height) in hal_h265d_rcb_info_update() argument
557 reg_ctx->width != width || in hal_h265d_rcb_info_update()
562 …reg_ctx->rcb_buf_size = vdpu382_get_rcb_buf_size((Vdpu382RcbInfo*)reg_ctx->rcb_info, width, height… in hal_h265d_rcb_info_update()
563 h265d_refine_rcb_size((Vdpu382RcbInfo*)reg_ctx->rcb_info, hw_regs, width, height, dxva_cxt); in hal_h265d_rcb_info_update()
580 reg_ctx->width = width; in hal_h265d_rcb_info_update()
618 RK_U32 width = (dxva_cxt->pp.PicWidthInMinCbsY << log2_min_cb_size); in hal_h265d_vdpu382_setup_colmv_buf() local
624 mv_size = vdpu382_get_colmv_size(width, height, ctu_size, colmv_byte, colmv_size, compress); in hal_h265d_vdpu382_setup_colmv_buf()
652 RK_S32 width, height; in hal_h265d_vdpu382_gen_regs() local
720 width = (dxva_cxt->pp.PicWidthInMinCbsY << log2_min_cb_size); in hal_h265d_vdpu382_gen_regs()
918 hal_h265d_rcb_info_update(hal, dxva_cxt, hw_regs, width, height); in hal_h265d_vdpu382_gen_regs()