Lines Matching refs:width

227     RK_S32 width, height;  in hal_h265d_v345_output_pps_packet()  local
256 width = (dxva_cxt->pp.PicWidthInMinCbsY << log2_min_cb_size); in hal_h265d_v345_output_pps_packet()
259 mpp_put_bits(&bp, width , 16); in hal_h265d_v345_output_pps_packet()
349 RK_S32 ctu_width_in_pic = (width + in hal_h265d_v345_output_pps_packet()
369 RK_S32 pic_in_cts_width = (width + in hal_h265d_v345_output_pps_packet()
391 column_width[0] = (width + MaxCUWidth - 1) / MaxCUWidth; in hal_h265d_v345_output_pps_packet()
451 RK_S32 width, height; in hal_h265d_output_pps_packet() local
482 width = (dxva_cxt->pp.PicWidthInMinCbsY << log2_min_cb_size); in hal_h265d_output_pps_packet()
485 mpp_put_bits(&bp, width , 16);//yandong in hal_h265d_output_pps_packet()
575 RK_S32 ctu_width_in_pic = (width + in hal_h265d_output_pps_packet()
595 RK_S32 pic_in_cts_width = (width + in hal_h265d_output_pps_packet()
617 column_width[0] = (width + MaxCUWidth - 1) / MaxCUWidth; in hal_h265d_output_pps_packet()
669 RK_S32 width, RK_S32 height, void *dxva) in h265d_refine_rcb_size() argument
680 width = MPP_ALIGN(width, ctu_size); in h265d_refine_rcb_size()
684 if (width > 8192) { in h265d_refine_rcb_size()
686 rcb_bits = (MPP_ALIGN(width, ctu_size) + factor - 1) * factor * 24 + ext_align_size; in h265d_refine_rcb_size()
692 if (width > 8192) in h265d_refine_rcb_size()
693 rcb_bits = (MPP_ALIGN(width - 8192, 4) << 1) + ext_align_size; in h265d_refine_rcb_size()
706 rcb_bits = width * 22 + ext_align_size; in h265d_refine_rcb_size()
714 rcb_bits = width * 48 + ext_align_size; in h265d_refine_rcb_size()
720 rcb_bits = width * ( 4 + 6 * bit_depth); in h265d_refine_rcb_size()
722 rcb_bits = width * ( 2 + 6 * bit_depth); in h265d_refine_rcb_size()
725 rcb_bits = width * ( 4 + 8 * bit_depth); in h265d_refine_rcb_size()
727 rcb_bits = width * ( 2 + 8 * bit_depth); in h265d_refine_rcb_size()
734 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in h265d_refine_rcb_size()
736 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in h265d_refine_rcb_size()
743 rcb_bits = width * (chroma_fmt_idc - 1) * 2 * bit_depth; in h265d_refine_rcb_size()
772 RK_S32 width, RK_S32 height) in hal_h265d_rcb_info_update() argument
786 reg_ctx->width != width || in hal_h265d_rcb_info_update()
791 …reg_ctx->rcb_buf_size = vdpu34x_get_rcb_buf_size((Vdpu34xRcbInfo*)reg_ctx->rcb_info, width, height… in hal_h265d_rcb_info_update()
792 h265d_refine_rcb_size((Vdpu34xRcbInfo*)reg_ctx->rcb_info, hw_regs, width, height, dxva_cxt); in hal_h265d_rcb_info_update()
809 reg_ctx->width = width; in hal_h265d_rcb_info_update()
842 RK_S32 width, height; in hal_h265d_vdpu34x_gen_regs() local
913 width = (dxva_cxt->pp.PicWidthInMinCbsY << log2_min_cb_size); in hal_h265d_vdpu34x_gen_regs()
915 mv_size = vdpu34x_get_colmv_size(width, height, ctu_size, 16, 16, COLMV_COMPRESS_EN); in hal_h265d_vdpu34x_gen_regs()
1143 hal_h265d_rcb_info_update(hal, dxva_cxt, hw_regs, width, height); in hal_h265d_vdpu34x_gen_regs()