Home
last modified time | relevance | path

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

/external/libavc/encoder/svc/
Disvce_encode.c184 WORD32 ctxt_sel = 0, i4_rc_pre_enc_skip; in isvce_encode() local
233 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in isvce_encode()
236 ps_codec->ai4_pic_cnt[ctxt_sel] = -1; in isvce_encode()
237 ps_codec->s_rate_control.post_encode_skip[ctxt_sel] = 0; in isvce_encode()
238 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = 0; in isvce_encode()
241 ps_codec->as_out_buf[ctxt_sel] = s_out_buf; in isvce_encode()
406 ps_video_encode_op->s_ive_op.s_out_buf = ps_codec->as_out_buf[ctxt_sel].as_bits_buf[0]; in isvce_encode()
412 ps_codec->as_out_buf[ctxt_sel].as_bits_buf[i].pv_buf, in isvce_encode()
413 ps_codec->as_out_buf[ctxt_sel].as_bits_buf[i].u4_bytes); in isvce_encode()
416 ps_codec->as_out_buf[ctxt_sel].as_bits_buf[i].u4_bytes; in isvce_encode()
[all …]
Disvce_process.c284 WORD32 isvce_update_rc_post_enc(isvce_codec_t *ps_codec, WORD32 ctxt_sel, WORD32 i4_is_first_frm) in isvce_update_rc_post_enc() argument
286 WORD32 i4_proc_ctxt_sel_base = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in isvce_update_rc_post_enc()
367 &ps_codec->s_rate_control.post_encode_skip[ctxt_sel], u1_frame_qp, in isvce_update_rc_post_enc()
501 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in isvce_update_rc_post_enc()
560 WORD32 ctxt_sel = ps_proc->i4_encode_api_call_cnt % MAX_CTXT_SETS; in isvce_entropy() local
604 s_out_buf = ps_codec->as_out_buf[ctxt_sel]; in isvce_entropy()
633 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in isvce_entropy()
661 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in isvce_entropy()
680 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in isvce_entropy()
718 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in isvce_entropy()
[all …]
Disvce_encode_header.h106 #define RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel) \ argument
110 ps_codec->au4_entropy_thread_active[ctxt_sel] = 0; \
Disvce_utils.c1828 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in isvce_svc_au_init() local
1917 if(ps_codec->as_process[ctxt_sel * MAX_PROCESS_THREADS].u1_spatial_layer_id > 0) in isvce_svc_au_init()
2019 j = ctxt_sel * MAX_PROCESS_THREADS; in isvce_svc_au_init()
4212 UWORD32 ctxt_sel, u4_pic_id, u4_pic_disp_id; in isvce_input_queue_update() local
4395 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in isvce_input_queue_update()
4396 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = i4_skip; in isvce_input_queue_update()
/external/libavc/encoder/
Dih264e_encode.c222 WORD32 ctxt_sel = 0, i, i4_rc_pre_enc_skip; in ih264e_encode() local
256 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_encode()
259 ps_codec->ai4_pic_cnt[ctxt_sel] = -1; in ih264e_encode()
260 ps_codec->s_rate_control.post_encode_skip[ctxt_sel] = 0; in ih264e_encode()
261 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = 0; in ih264e_encode()
264 ps_codec->as_out_buf[ctxt_sel] = s_out_buf; in ih264e_encode()
485 ps_video_encode_op->s_ive_op.s_out_buf = ps_codec->as_out_buf[ctxt_sel].s_bits_buf; in ih264e_encode()
523 WORD32 proc_ctxt_select = ctxt_sel * MAX_PROCESS_THREADS; in ih264e_encode()
534 ps_codec->ai4_pic_cnt[ctxt_sel] = ps_codec->i4_pic_cnt; in ih264e_encode()
614 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()
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()
435 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
442 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
502 RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel); in ih264e_entropy()
[all …]
Dih264e_encode_header.h101 #define RETURN_ENTROPY_IF_ERROR(ps_codec, ps_entropy, ctxt_sel) \ argument
105 ps_codec->au4_entropy_thread_active[ctxt_sel] = 0; \
Dih264e_process.h311 WORD32 ih264e_update_rc_post_enc(codec_t *ps_codec, WORD32 ctxt_sel, WORD32 pic_cnt);
Dih264e_utils.c196 UWORD32 ctxt_sel, u4_pic_id, u4_pic_disp_id; in ih264e_input_queue_update() local
350 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_input_queue_update()
351 ps_codec->s_rate_control.pre_encode_skip[ctxt_sel] = i4_skip; in ih264e_input_queue_update()
1436 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_pic_init() local
1809 j = ctxt_sel * MAX_PROCESS_THREADS; in ih264e_pic_init()
2190 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init()