Lines Matching refs:total_size

2796         WORD32 total_size = 0;  in ih264e_fill_num_mem_rec()  local
2799 total_size += sizeof(WORD32); in ih264e_fill_num_mem_rec()
2800 total_size = ALIGN8(total_size); in ih264e_fill_num_mem_rec()
2803 total_size += (max_mb_cols * max_mb_rows); in ih264e_fill_num_mem_rec()
2805 total_size += max_mb_cols; in ih264e_fill_num_mem_rec()
2806 total_size = ALIGN128(total_size); in ih264e_fill_num_mem_rec()
2809 total_size += sizeof(bitstrm_t); in ih264e_fill_num_mem_rec()
2810 total_size = ALIGN128(total_size); in ih264e_fill_num_mem_rec()
2813 total_size += (max_mb_cols * 4 * sizeof(UWORD8)); in ih264e_fill_num_mem_rec()
2814 total_size = ALIGN128(total_size); in ih264e_fill_num_mem_rec()
2817 total_size += (max_mb_cols * 4 * sizeof(UWORD8)); in ih264e_fill_num_mem_rec()
2818 total_size = ALIGN128(total_size); in ih264e_fill_num_mem_rec()
2821 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
2823 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3008 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3011 total_size += max_mb_cnt; in ih264e_fill_num_mem_rec()
3012 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3015 total_size += sizeof(UWORD16) * max_mb_cnt; in ih264e_fill_num_mem_rec()
3018 total_size = ALIGN128(total_size); in ih264e_fill_num_mem_rec()
3020 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3033 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3036 total_size = ALIGN64(max_mb_cnt); in ih264e_fill_num_mem_rec()
3039 total_size += 1; in ih264e_fill_num_mem_rec()
3042 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3043 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3116 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3119 total_size = max_mb_cnt; in ih264e_fill_num_mem_rec()
3122 total_size += max_mb_cols; in ih264e_fill_num_mem_rec()
3125 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3126 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3137 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3140 total_size = max_mb_cnt; in ih264e_fill_num_mem_rec()
3143 total_size += max_mb_cols; in ih264e_fill_num_mem_rec()
3145 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3148 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3149 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3160 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3163 total_size = max_mb_cnt; in ih264e_fill_num_mem_rec()
3166 total_size += max_mb_cols; in ih264e_fill_num_mem_rec()
3169 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3171 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3217 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3221 total_size += sizeof(UWORD8) * 16 * 16; in ih264e_fill_num_mem_rec()
3222 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3225 total_size += sizeof(UWORD8) * 16 * 16; in ih264e_fill_num_mem_rec()
3226 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3229 total_size += sizeof(UWORD8) * 16 * 16; in ih264e_fill_num_mem_rec()
3230 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3233 total_size += sizeof(UWORD8) * 16 * 16; in ih264e_fill_num_mem_rec()
3234 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3237 total_size += sizeof(UWORD8) * 16 * 8; in ih264e_fill_num_mem_rec()
3238 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3241 total_size += sizeof(UWORD8) * 16 * 8; in ih264e_fill_num_mem_rec()
3242 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3245 total_size += sizeof(WORD16) * SIZE_TRANS_BUFF; in ih264e_fill_num_mem_rec()
3246 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3249 total_size += sizeof(WORD16) * SIZE_TRANS_BUFF; in ih264e_fill_num_mem_rec()
3250 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3253 total_size += sizeof(WORD32) * SIZE_TMP_BUFF_ITRANS; in ih264e_fill_num_mem_rec()
3254 total_size = ALIGN64(total_size); in ih264e_fill_num_mem_rec()
3258 total_size += (ALIGN64(i4_tmp_size) * SUBPEL_BUFF_CNT); in ih264e_fill_num_mem_rec()
3261 total_size *= MAX_PROCESS_CTXT; in ih264e_fill_num_mem_rec()
3263 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3281 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3284 total_size += ALIGN64(sizeof(quant_params_t)) * 3; in ih264e_fill_num_mem_rec()
3289 total_size += ALIGN64(sizeof(WORD16) * 4 * 4) * 3; in ih264e_fill_num_mem_rec()
3294 total_size += ALIGN64(sizeof(WORD16) * 4 * 4) * 3; in ih264e_fill_num_mem_rec()
3297 total_size += ALIGN64(sizeof(UWORD16) * 9) * 3; in ih264e_fill_num_mem_rec()
3300 total_size *= MAX_PROCESS_CTXT; in ih264e_fill_num_mem_rec()
3302 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3323 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3327 total_size += (max_mb_cols + 1) * sizeof(mb_info_t); in ih264e_fill_num_mem_rec()
3330 total_size += max_mb_cols * sizeof(UWORD8) * 16; in ih264e_fill_num_mem_rec()
3334 total_size += (max_mb_cols + 1) * sizeof(enc_pu_t); in ih264e_fill_num_mem_rec()
3337 total_size = ALIGN128(total_size); in ih264e_fill_num_mem_rec()
3340 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3341 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3362 WORD32 total_size = 0; in ih264e_fill_num_mem_rec() local
3381 total_size = vert_bs_size + horz_bs_size + qp_size; in ih264e_fill_num_mem_rec()
3384 total_size *= MAX_CTXT_SETS; in ih264e_fill_num_mem_rec()
3386 ps_mem_rec->u4_mem_size = total_size; in ih264e_fill_num_mem_rec()
3992 WORD32 total_size = 0; in ih264e_init_mem_rec() local
3995 total_size = max_mb_cnt; in ih264e_init_mem_rec()
3998 total_size += max_mb_cols; in ih264e_init_mem_rec()
4008 ps_codec->as_process[i].pu1_proc_map = pu1_buf + total_size in ih264e_init_mem_rec()
4020 WORD32 total_size = 0; in ih264e_init_mem_rec() local
4023 total_size = max_mb_cnt; in ih264e_init_mem_rec()
4026 total_size += max_mb_cols; in ih264e_init_mem_rec()
4029 total_size = ALIGN64(total_size); in ih264e_init_mem_rec()
4040 ps_codec->as_process[i].pu1_deblk_map = pu1_buf + total_size in ih264e_init_mem_rec()
4053 WORD32 total_size = 0; in ih264e_init_mem_rec() local
4056 total_size = max_mb_cnt; in ih264e_init_mem_rec()
4059 total_size += max_mb_cols; in ih264e_init_mem_rec()
4069 ps_codec->as_process[i].pu1_me_map = pu1_buf + total_size in ih264e_init_mem_rec()
4177 WORD32 total_size = 0; in ih264e_init_mem_rec() local
4200 ps_qp_params[0] = (quant_params_t *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4201 total_size = total_size + size_quant_param; in ih264e_init_mem_rec()
4202 ps_qp_params[1] = (quant_params_t *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4203 total_size = total_size + size_quant_param; in ih264e_init_mem_rec()
4204 ps_qp_params[2] = (quant_params_t *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4205 total_size = total_size + size_quant_param; in ih264e_init_mem_rec()
4208 ps_qp_params[0]->pu2_thres_mat = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4209 total_size = total_size + size_thres_mat; in ih264e_init_mem_rec()
4210 ps_qp_params[1]->pu2_thres_mat = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4211 total_size = total_size + size_thres_mat; in ih264e_init_mem_rec()
4212 ps_qp_params[2]->pu2_thres_mat = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4213 total_size = total_size + size_thres_mat; in ih264e_init_mem_rec()
4216 ps_qp_params[0]->pu2_weigh_mat = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4217 total_size = total_size + size_fwd_weight_mat; in ih264e_init_mem_rec()
4218 ps_qp_params[1]->pu2_weigh_mat = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4219 total_size = total_size + size_fwd_weight_mat; in ih264e_init_mem_rec()
4220 ps_qp_params[2]->pu2_weigh_mat = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4221 total_size = total_size + size_fwd_weight_mat; in ih264e_init_mem_rec()
4224 ps_qp_params[0]->pu2_sad_thrsh = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4225 total_size = total_size + size_satqd_weight_mat; in ih264e_init_mem_rec()
4226 ps_qp_params[1]->pu2_sad_thrsh = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4227 total_size = total_size + size_satqd_weight_mat; in ih264e_init_mem_rec()
4228 ps_qp_params[2]->pu2_sad_thrsh = (void *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4229 total_size = total_size + size_satqd_weight_mat; in ih264e_init_mem_rec()
4231 total_size = ALIGN128(total_size); in ih264e_init_mem_rec()
4238 WORD32 total_size = 0, size_csbp, size_intra_modes, size_mv; in ih264e_init_mem_rec() local
4255 total_size = size_csbp + size_intra_modes + size_mv; in ih264e_init_mem_rec()
4272 (mb_info_t *) (pu1_buf + total_size); in ih264e_init_mem_rec()
4274 + total_size + size_csbp; in ih264e_init_mem_rec()
4276 (enc_pu_t *) (pu1_buf + total_size + size_csbp in ih264e_init_mem_rec()
4287 WORD32 total_size = 0; in ih264e_init_mem_rec() local
4306 total_size = vert_bs_size + horz_bs_size + qp_size; in ih264e_init_mem_rec()
4332 pu1_buf_pong += total_size; in ih264e_init_mem_rec()