Lines Matching refs:res_ctr
656 WORD32 res_ctr, in ihevce_create_ports() local
663 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_create_ports()
665 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_create_ports()
674 &ps_mres_output_data_buffs_desc->s_output_data_buffs[res_ctr][0], in ihevce_create_ports()
675 &ps_mres_recon_data_buffs_desc->s_recon_data_buffs[res_ctr][0]); in ihevce_create_ports()
683 if(0 == res_ctr) in ihevce_create_ports()
724 WORD32 ctr, res_ctr; in ihevce_hle_interface_thrd() local
781 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
783 i4_num_bit_rate_instances[res_ctr] = in ihevce_hle_interface_thrd()
784 ps_enc_ctxt_base->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_thrd()
792 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
794 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
807 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
811 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
920 for(i = 0; i < i4_num_bit_rate_instances[res_ctr]; i++) in ihevce_hle_interface_thrd()
955 for(i = 0; i < i4_num_bit_rate_instances[res_ctr]; i++) in ihevce_hle_interface_thrd()
966 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
968 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1067 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1069 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1101 for(i = 0; i < i4_num_bit_rate_instances[res_ctr]; i++) in ihevce_hle_interface_thrd()
1227 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1233 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1236 ps_enc_ctxt_base->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_thrd()
1252 aps_entropy_thrd_ctxt[res_ctr][ctr] = (frm_proc_thrd_ctxt_t *)s_memtab.pv_base; in ihevce_hle_interface_thrd()
1255 aps_entropy_thrd_ctxt[res_ctr][ctr]->i4_thrd_id = ctr; in ihevce_hle_interface_thrd()
1256 aps_entropy_thrd_ctxt[res_ctr][ctr]->ps_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1257 aps_entropy_thrd_ctxt[res_ctr][ctr]->pv_enc_ctxt = (void *)ps_enc_ctxt; in ihevce_hle_interface_thrd()
1268 (void *)(aps_entropy_thrd_ctxt[res_ctr] in ihevce_hle_interface_thrd()
1283 apv_entropy_thrd_hdls[res_ctr][ctr] = in ihevce_hle_interface_thrd()
1285 if(NULL == apv_entropy_thrd_hdls[res_ctr][ctr]) in ihevce_hle_interface_thrd()
1295 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1300 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1304 for(i4_loop_count = 0; i4_loop_count < res_ctr; i4_loop_count++) in ihevce_hle_interface_thrd()
1344 aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr] = (frm_proc_thrd_ctxt_t *)s_memtab.pv_base; in ihevce_hle_interface_thrd()
1347 aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->i4_thrd_id = ctr; in ihevce_hle_interface_thrd()
1349 aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->ps_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1351 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1353 aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->pv_enc_ctxt = (void *)ps_enc_ctxt; in ihevce_hle_interface_thrd()
1363 s_thread_attr.thread_param = (void *)(aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1396 apv_enc_frm_proc_hdls[res_ctr][ctr] = in ihevce_hle_interface_thrd()
1398 if(NULL == apv_enc_frm_proc_hdls[res_ctr][ctr]) in ihevce_hle_interface_thrd()
1409 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1414 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1418 for(i4_loop_count = 0; i4_loop_count < res_ctr; i4_loop_count++) in ihevce_hle_interface_thrd()
1462 aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr] = (frm_proc_thrd_ctxt_t *)s_memtab.pv_base; in ihevce_hle_interface_thrd()
1465 aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->i4_thrd_id = ctr; in ihevce_hle_interface_thrd()
1467 aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->ps_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1468 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1469 aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->pv_enc_ctxt = (void *)ps_enc_ctxt; in ihevce_hle_interface_thrd()
1479 s_thread_attr.thread_param = (void *)(aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1518 apv_pre_enc_frm_proc_hdls[res_ctr][ctr] = in ihevce_hle_interface_thrd()
1520 if(NULL == apv_pre_enc_frm_proc_hdls[res_ctr][ctr]) in ihevce_hle_interface_thrd()
1538 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1540 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1545 osal_thread_wait(apv_pre_enc_frm_proc_hdls[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1548 osal_thread_destroy(apv_pre_enc_frm_proc_hdls[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1552 s_memtab.pv_base = (void *)aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr]; in ihevce_hle_interface_thrd()
1562 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1564 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1569 osal_thread_wait(apv_enc_frm_proc_hdls[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1572 osal_thread_destroy(apv_enc_frm_proc_hdls[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1576 s_memtab.pv_base = (void *)aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr]; in ihevce_hle_interface_thrd()
1586 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_thrd()
1589 ps_enc_ctxt_base->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_thrd()
1595 osal_thread_wait(apv_entropy_thrd_hdls[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1598 osal_thread_destroy(apv_entropy_thrd_hdls[res_ctr][ctr]); in ihevce_hle_interface_thrd()
1604 s_memtab.pv_base = (void *)aps_entropy_thrd_ctxt[res_ctr][ctr]; in ihevce_hle_interface_thrd()
2039 WORD32 ctr = 0, i, res_ctr, i4_num_resolutions; in ihevce_hle_interface_delete() local
2050 for(res_ctr = 0; res_ctr < i4_num_resolutions && ps_hle_ctxt->apv_enc_hdl[res_ctr]; res_ctr++) in ihevce_hle_interface_delete()
2052 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_delete()
2054 if(res_ctr == 0) in ihevce_hle_interface_delete()
2074 for(i = 0; i < ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_delete()
2188 if(res_ctr == 0) in ihevce_hle_interface_delete()
2215 (res_ctr == 0)) in ihevce_hle_interface_delete()
2225 if(res_ctr == (i4_num_resolutions - 1)) in ihevce_hle_interface_delete()
2246 ps_hle_ctxt->apv_enc_hdl[res_ctr] = NULL; in ihevce_hle_interface_delete()
2250 for(res_ctr = 0; res_ctr < i4_num_resolutions; res_ctr++) in ihevce_hle_interface_delete()
2254 PROFILE_END(&ps_hle_ctxt->profile_pre_enc[res_ctr], "pre enc process"); in ihevce_hle_interface_delete()
2255 for(i4_br_id = 0; i4_br_id < ai4_num_bitrate_instances[res_ctr]; i4_br_id++) in ihevce_hle_interface_delete()
2257 PROFILE_END(&ps_hle_ctxt->profile_enc[res_ctr][i4_br_id], "enc process"); in ihevce_hle_interface_delete()
2258 PROFILE_END(&ps_hle_ctxt->profile_entropy[res_ctr][i4_br_id], "entropy process"); in ihevce_hle_interface_delete()