Searched refs:ctxt_sel (Results 1 – 5 of 5) sorted by relevance
/external/libavc/encoder/ |
D | ih264e_encode.c | 221 WORD32 ctxt_sel = 0, i, i4_rc_pre_enc_skip; in ih264e_encode() local 255 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_encode() 258 ps_codec->ai4_pic_cnt[ctxt_sel] = -1; in ih264e_encode() 259 ps_codec->s_rate_control.post_encode_skip[ctxt_sel] = 0; in ih264e_encode() 260 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = 0; in ih264e_encode() 263 ps_codec->as_out_buf[ctxt_sel] = s_out_buf; in ih264e_encode() 449 ps_video_encode_op->s_ive_op.s_out_buf = ps_codec->as_out_buf[ctxt_sel].s_bits_buf; in ih264e_encode() 487 WORD32 proc_ctxt_select = ctxt_sel * MAX_PROCESS_THREADS; in ih264e_encode() 498 ps_codec->ai4_pic_cnt[ctxt_sel] = ps_codec->i4_pic_cnt; in ih264e_encode() 571 if (ps_codec->s_rate_control.post_encode_skip[ctxt_sel] in ih264e_encode() [all …]
|
D | ih264e_process.c | 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() [all …]
|
D | ih264e_encode_header.h | 101 #define RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel) \ argument 105 ps_codec->au4_entropy_thread_active[ctxt_sel] = 0; \
|
D | ih264e_process.h | 311 WORD32 ih264e_update_rc_post_enc(codec_t *ps_codec, WORD32 ctxt_sel, WORD32 pic_cnt);
|
D | ih264e_utils.c | 195 UWORD32 ctxt_sel, u4_pic_id, u4_pic_disp_id; in ih264e_input_queue_update() local 345 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_input_queue_update() 346 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = i4_skip; in ih264e_input_queue_update() 1429 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_pic_init() local 1802 j = ctxt_sel * MAX_PROCESS_THREADS; in ih264e_pic_init() 2183 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init()
|