Lines Matching refs:ctxt_sel
141 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_generate_sps_pps() local
144 entropy_ctxt_t *ps_entropy = &ps_codec->as_process[ctxt_sel * MAX_PROCESS_THREADS].s_entropy; in ih264e_generate_sps_pps()
156 out_buf_t *ps_out_buf = &ps_codec->as_out_buf[ctxt_sel]; in ih264e_generate_sps_pps()
318 WORD32 ctxt_sel = ps_proc->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_entropy() local
361 s_out_buf = ps_codec->as_out_buf[ctxt_sel]; in ih264e_entropy()
383 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
386 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
432 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
439 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
499 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
545 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
550 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
570 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
623 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
628 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
642 ps_codec, ctxt_sel, in ih264e_entropy()
646 if (ps_codec->s_rate_control.post_encode_skip[ctxt_sel]) in ih264e_entropy()
654 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
663 if (!ps_codec->s_rate_control.post_encode_skip[ctxt_sel] in ih264e_entropy()
671 ps_codec->as_out_buf[ctxt_sel].s_bits_buf.u4_bytes = in ih264e_entropy()
681 ps_codec->au4_entropy_thread_active[ctxt_sel] = 0; in ih264e_entropy()
1998 WORD32 ctxt_sel = ps_proc->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_process() local
2367 ps_codec->as_rec_buf[ctxt_sel].i4_pic_cnt = ps_proc->i4_pic_cnt; in ih264e_process()
2370 ps_codec->as_rec_buf[ctxt_sel].s_pic_buf = *ps_proc->ps_cur_pic; in ih264e_process()
2373 ps_codec->as_rec_buf[ctxt_sel].u4_is_last = ps_proc->s_entropy.u4_is_last; in ih264e_process()
2376 … ps_codec->as_rec_buf[ctxt_sel].u4_timestamp_high = ps_proc->s_entropy.u4_timestamp_high; in ih264e_process()
2377 … ps_codec->as_rec_buf[ctxt_sel].u4_timestamp_low = ps_proc->s_entropy.u4_timestamp_low; in ih264e_process()
2416 WORD32 ih264e_update_rc_post_enc(codec_t *ps_codec, WORD32 ctxt_sel, WORD32 i4_is_first_frm) in ih264e_update_rc_post_enc() argument
2419 WORD32 i4_proc_ctxt_sel_base = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_update_rc_post_enc()
2498 &ps_codec->s_rate_control.post_encode_skip[ctxt_sel], in ih264e_update_rc_post_enc()
2554 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_process_thread() local
2556 volatile UWORD32 *pu4_buf = &ps_codec->au4_entropy_thread_active[ctxt_sel]; in ih264e_process_thread()