Lines Matching refs:n_enc_layers
1028 S32 hme_derive_num_layers(S32 n_enc_layers, S32 *p_wd, S32 *p_ht, S32 *p_disp_wd, S32 *p_disp_ht) in hme_derive_num_layers() argument
1034 ASSERT(n_enc_layers < MAX_NUM_LAYERS); in hme_derive_num_layers()
1035 ASSERT(n_enc_layers > 0); in hme_derive_num_layers()
1047 for(i = 1; i < n_enc_layers; i++) in hme_derive_num_layers()
1059 ASSERT(p_wd[n_enc_layers - 1] >= 2 * MIN_WD_COARSE); in hme_derive_num_layers()
1060 ASSERT(p_ht[n_enc_layers - 1] >= 2 * MIN_HT_COARSE); in hme_derive_num_layers()
1062 for(i = n_enc_layers; i < MAX_NUM_LAYERS; i++) in hme_derive_num_layers()
1137 S32 n_tot_layers, n_enc_layers; in hme_enc_alloc_init_mem() local
1150 n_enc_layers = ps_prms->num_simulcast_layers; in hme_enc_alloc_init_mem()
1221 n_tot_layers = hme_derive_num_layers(n_enc_layers, a_wd, a_ht, a_disp_wd, a_disp_ht); in hme_enc_alloc_init_mem()
1240 memset(ps_frm_ctxt->u1_encode, 1, n_enc_layers); in hme_enc_alloc_init_mem()
2292 WORD32 n_enc_layers = 1, n_tot_layers, n_dep_tabs = 0, i; in hme_coarse_dep_mngr_alloc_mem() local
2310 n_tot_layers = hme_derive_num_layers(n_enc_layers, a_wd, a_ht, a_disp_wd, a_disp_ht); in hme_coarse_dep_mngr_alloc_mem()
2359 WORD32 n_enc_layers = 1, n_tot_layers, n_dep_tabs = 0, i; in hme_coarse_dep_mngr_init() local
2378 n_tot_layers = hme_derive_num_layers(n_enc_layers, a_wd, a_ht, a_disp_wd, a_disp_ht); in hme_coarse_dep_mngr_init()
2467 WORD32 n_enc_layers = 1, n_tot_layers, i; in hme_coarse_dep_mngr_delete() local
2485 n_tot_layers = hme_derive_num_layers(n_enc_layers, a_wd, a_ht, a_disp_wd, a_disp_ht); in hme_coarse_dep_mngr_delete()
2859 void hme_set_resolution(void *pv_me_ctxt, S32 n_enc_layers, S32 *p_wd, S32 *p_ht, S32 me_frm_id) in hme_set_resolution() argument
2867 memcpy(a_wd, p_wd, n_enc_layers * sizeof(S32)); in hme_set_resolution()
2868 memcpy(a_ht, p_ht, n_enc_layers * sizeof(S32)); in hme_set_resolution()
2878 n_tot_layers = hme_derive_num_layers(n_enc_layers, a_wd, a_ht, a_disp_wd, a_disp_ht); in hme_set_resolution()
2886 memset(ps_ctxt->u1_encode, 1, n_enc_layers); in hme_set_resolution()
2931 void hme_coarse_set_resolution(void *pv_me_ctxt, S32 n_enc_layers, S32 *p_wd, S32 *p_ht) in hme_coarse_set_resolution() argument
2937 memcpy(a_wd, p_wd, n_enc_layers * sizeof(S32)); in hme_coarse_set_resolution()
2938 memcpy(a_ht, p_ht, n_enc_layers * sizeof(S32)); in hme_coarse_set_resolution()
2945 n_tot_layers = hme_derive_num_layers(n_enc_layers, a_wd, a_ht, a_disp_wd, a_disp_ht); in hme_coarse_set_resolution()
2953 memset(ps_ctxt->u1_encode, 1, n_enc_layers); in hme_coarse_set_resolution()