Home
last modified time | relevance | path

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

/external/libavc/encoder/
Dih264e_encode.c218 WORD32 ctxt_sel = 0, i, i4_rc_pre_enc_skip; in ih264e_encode() local
249 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_encode()
252 ps_codec->ai4_pic_cnt[ctxt_sel] = -1; in ih264e_encode()
253 ps_codec->s_rate_control.post_encode_skip[ctxt_sel] = 0; in ih264e_encode()
254 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = 0; in ih264e_encode()
257 ps_codec->as_out_buf[ctxt_sel] = s_out_buf; in ih264e_encode()
373 ps_video_encode_op->s_ive_op.s_out_buf = ps_codec->as_out_buf[ctxt_sel].s_bits_buf; in ih264e_encode()
401 WORD32 proc_ctxt_select = ctxt_sel * MAX_PROCESS_THREADS; in ih264e_encode()
412 ps_codec->ai4_pic_cnt[ctxt_sel] = ps_codec->i4_pic_cnt; in ih264e_encode()
485 if (ps_codec->s_rate_control.post_encode_skip[ctxt_sel] in ih264e_encode()
[all …]
Dih264e_process.c141 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()
312 WORD32 ctxt_sel = ps_proc->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_entropy() local
355 s_out_buf = ps_codec->as_out_buf[ctxt_sel]; in ih264e_entropy()
586 ps_codec, ctxt_sel, in ih264e_entropy()
590 if (ps_codec->s_rate_control.post_encode_skip[ctxt_sel]) in ih264e_entropy()
606 if (!ps_codec->s_rate_control.post_encode_skip[ctxt_sel] in ih264e_entropy()
614 ps_codec->as_out_buf[ctxt_sel].s_bits_buf.u4_bytes = in ih264e_entropy()
621 ps_codec->au4_entropy_thread_active[ctxt_sel] = 0; in ih264e_entropy()
[all …]
Dih264e_process.h311 WORD32 ih264e_update_rc_post_enc(codec_t *ps_codec, WORD32 ctxt_sel, WORD32 pic_cnt);
Dih264e_utils.c195 UWORD32 ctxt_sel, u4_pic_id, u4_pic_disp_id; in ih264e_input_queue_update() local
341 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_input_queue_update()
342 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = i4_skip; in ih264e_input_queue_update()
1417 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_pic_init() local
1790 j = ctxt_sel * MAX_PROCESS_THREADS; in ih264e_pic_init()
2171 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init()