Home
last modified time | relevance | path

Searched refs:num_luma_samples (Results 1 – 4 of 4) sorted by relevance

/external/libhevc/decoder/
Dihevcd_utils.h42 WORD32 ihevcd_get_pic_mv_bank_size(WORD32 num_luma_samples);
43 WORD32 ihevcd_get_tu_data_size(WORD32 num_luma_samples);
Dihevcd_utils.c254 WORD32 num_luma_samples; in ihevcd_get_total_pic_buf_size() local
293 num_luma_samples = max_wd * min_ht; in ihevcd_get_total_pic_buf_size()
314 num_luma_samples += (pad * pad) + pad * (max_wd + min_ht); in ihevcd_get_total_pic_buf_size()
318 num_samples = num_luma_samples * 3 / 2; in ihevcd_get_total_pic_buf_size()
320 num_samples = num_luma_samples / 2; in ihevcd_get_total_pic_buf_size()
348 WORD32 ihevcd_get_pic_mv_bank_size(WORD32 num_luma_samples) in ihevcd_get_pic_mv_bank_size() argument
357 pic_size = num_luma_samples; in ihevcd_get_pic_mv_bank_size()
399 WORD32 ihevcd_get_tu_data_size(WORD32 num_luma_samples) in ihevcd_get_tu_data_size() argument
406 num_ctb = num_luma_samples / (MIN_CTB_SIZE * MIN_CTB_SIZE); in ihevcd_get_tu_data_size()
408 num_luma_tu = num_luma_samples / (MIN_TU_SIZE * MIN_TU_SIZE); in ihevcd_get_tu_data_size()
/external/libavc/encoder/
Dih264e_utils.c658 WORD32 num_luma_samples; in ih264e_get_total_pic_buf_size() local
675 num_luma_samples = gai4_ih264_max_luma_pic_size[lvl_idx]; in ih264e_get_total_pic_buf_size()
676 num_luma_samples = MAX(num_luma_samples, pic_size); in ih264e_get_total_pic_buf_size()
679 num_samples = num_luma_samples * 3 / 2; in ih264e_get_total_pic_buf_size()
731 WORD32 ih264e_get_pic_mv_bank_size(WORD32 num_luma_samples) in ih264e_get_pic_mv_bank_size() argument
737 WORD32 num_pu = num_luma_samples / (ENC_MIN_PU_SIZE * ENC_MIN_PU_SIZE); in ih264e_get_pic_mv_bank_size()
740 WORD32 num_mb = num_luma_samples / (MB_SIZE * MB_SIZE); in ih264e_get_pic_mv_bank_size()
880 WORD32 num_luma_samples = ALIGN16(ps_codec->s_cfg.u4_wd) in ih264e_mv_buf_mgr_add_bufs() local
905 pic_mv_bank_size = ih264e_get_pic_mv_bank_size(num_luma_samples); in ih264e_mv_buf_mgr_add_bufs()
907 num_pu = num_luma_samples / (ENC_MIN_PU_SIZE * ENC_MIN_PU_SIZE); in ih264e_mv_buf_mgr_add_bufs()
[all …]
Dih264e_utils.h212 WORD32 ih264e_get_pic_mv_bank_size(WORD32 num_luma_samples);