Home
last modified time | relevance | path

Searched refs:s_job (Results 1 – 7 of 7) sorted by relevance

/external/libmpeg2/decoder/
Dimpeg2d_dec_hdr.c965 job_t s_job; in impeg2d_dec_pic_data_thread() local
969 e_ret = impeg2_jobq_dequeue(ps_dec->pv_jobq, &s_job, sizeof(s_job), 1, 1); in impeg2d_dec_pic_data_thread()
973 if(CMD_PROCESS == s_job.i4_cmd) in impeg2d_dec_pic_data_thread()
975 pu1_buf = ps_dec->pu1_inp_bits_buf + s_job.i4_bistream_ofst; in impeg2d_dec_pic_data_thread()
977 (ps_dec->u4_num_inp_bytes - s_job.i4_bistream_ofst)); in impeg2d_dec_pic_data_thread()
978 i4_cur_row = s_job.i2_start_mb_y; in impeg2d_dec_pic_data_thread()
979 ps_dec->i4_start_mb_y = s_job.i2_start_mb_y; in impeg2d_dec_pic_data_thread()
980 ps_dec->i4_end_mb_y = s_job.i2_end_mb_y; in impeg2d_dec_pic_data_thread()
990 start_row = s_job.i2_start_mb_y << 4; in impeg2d_dec_pic_data_thread()
991 num_rows = MIN((s_job.i2_end_mb_y << 4), ps_dec->u2_vertical_size); in impeg2d_dec_pic_data_thread()
[all …]
/external/libhevc/decoder/
Dihevcd_decode.c773 proc_job_t s_job; in ihevcd_decode() local
775 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_decode()
776 s_job.i2_ctb_cnt = 0; in ihevcd_decode()
777 s_job.i2_ctb_x = 0; in ihevcd_decode()
778 s_job.i2_ctb_y = i; in ihevcd_decode()
779 s_job.i2_slice_idx = 0; in ihevcd_decode()
780 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_decode()
782 &s_job, sizeof(proc_job_t), 1); in ihevcd_decode()
794 proc_job_t s_job; in ihevcd_decode() local
800 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_decode()
[all …]
Dihevcd_utils.c1309 proc_job_t s_job; in ihevcd_parse_pic_init() local
1311 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_parse_pic_init()
1312 s_job.i2_ctb_cnt = 0; in ihevcd_parse_pic_init()
1313 s_job.i2_ctb_x = 0; in ihevcd_parse_pic_init()
1314 s_job.i2_ctb_y = i; in ihevcd_parse_pic_init()
1315 s_job.i2_slice_idx = 0; in ihevcd_parse_pic_init()
1316 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_parse_pic_init()
1318 &s_job, sizeof(proc_job_t), 1); in ihevcd_parse_pic_init()
Dihevcd_process_slice.c1600 proc_job_t s_job; in ihevcd_process_thread() local
1602 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_process_thread()
1607 ps_proc->i4_ctb_cnt = s_job.i2_ctb_cnt; in ihevcd_process_thread()
1608 ps_proc->i4_ctb_x = s_job.i2_ctb_x; in ihevcd_process_thread()
1609 ps_proc->i4_ctb_y = s_job.i2_ctb_y; in ihevcd_process_thread()
1610 ps_proc->i4_cur_slice_idx = s_job.i2_slice_idx; in ihevcd_process_thread()
1614 if(CMD_PROCESS == s_job.i4_cmd) in ihevcd_process_thread()
1616 ihevcd_init_proc_ctxt(ps_proc, s_job.i4_tu_coeff_data_ofst); in ihevcd_process_thread()
1619 else if(CMD_FMTCONV == s_job.i4_cmd) in ihevcd_process_thread()
1635 … num_rows = MIN(num_rows, (ps_codec->i4_disp_ht - (s_job.i2_ctb_y << ps_sps->i1_log2_ctb_size))); in ihevcd_process_thread()
[all …]
Dihevcd_parse_slice.c2602 proc_job_t s_job; in ihevcd_parse_slice_data() local
2604 s_job.i4_cmd = CMD_PROCESS; in ihevcd_parse_slice_data()
2605 s_job.i2_ctb_cnt = (WORD16)ps_tile->u2_wd; in ihevcd_parse_slice_data()
2606 s_job.i2_ctb_x = (WORD16)ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data()
2607 s_job.i2_ctb_y = (WORD16)ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2608 s_job.i2_slice_idx = (WORD16)ps_codec->s_parse.i4_cur_slice_idx; in ihevcd_parse_slice_data()
2609 s_job.i4_tu_coeff_data_ofst = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data - in ihevcd_parse_slice_data()
2611 … ret = ihevcd_jobq_queue((jobq_t *)ps_codec->s_parse.pv_proc_jobq, &s_job, sizeof(proc_job_t), 1); in ihevcd_parse_slice_data()
/external/libavc/encoder/
Dih264e_process.c1033 job_t s_job; in ih264e_update_proc_ctxt() local
1036 s_job.i4_cmd = CMD_ENTROPY; in ih264e_update_proc_ctxt()
1039 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_update_proc_ctxt()
1042 s_job.i2_mb_x = 0; in ih264e_update_proc_ctxt()
1045 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1048s_job.i2_proc_base_idx = (ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS) ? (MAX_PROCESS_CTXT / … in ih264e_update_proc_ctxt()
1051 error_status |= ih264_list_queue(ps_proc->pv_entropy_jobq, &s_job, 1); in ih264e_update_proc_ctxt()
2453 job_t s_job; in ih264e_process_thread() local
2479 ret = ih264_list_dequeue(ps_proc->pv_entropy_jobq, &s_job, is_blocking); in ih264e_process_thread()
2497 ret = ih264_list_dequeue(ps_proc->pv_proc_jobq, &s_job, 1); in ih264e_process_thread()
[all …]
Dih264e_utils.c2166 job_t s_job; in ih264e_pic_init() local
2172 s_job.i4_cmd = CMD_PROCESS; in ih264e_pic_init()
2175 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init()
2178 s_job.i2_mb_x = 0; in ih264e_pic_init()
2181 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init()
2186 s_job.i2_mb_y = i; in ih264e_pic_init()
2189 ret = ih264_list_queue(ps_codec->pv_proc_jobq, &s_job, 1); in ih264e_pic_init()