Searched refs:s_job (Results 1 – 7 of 7) sorted by relevance
/external/libmpeg2/decoder/ |
D | impeg2d_dec_hdr.c | 868 job_t s_job; in impeg2d_dec_pic_data_thread() local 872 e_ret = impeg2_jobq_dequeue(ps_dec->pv_jobq, &s_job, sizeof(s_job), 1, 1); in impeg2d_dec_pic_data_thread() 876 if(CMD_PROCESS == s_job.i4_cmd) in impeg2d_dec_pic_data_thread() 878 pu1_buf = ps_dec->pu1_inp_bits_buf + s_job.i4_bistream_ofst; in impeg2d_dec_pic_data_thread() 880 (ps_dec->u4_num_inp_bytes - s_job.i4_bistream_ofst) + 8); in impeg2d_dec_pic_data_thread() 881 i4_cur_row = s_job.i2_start_mb_y; in impeg2d_dec_pic_data_thread() 882 ps_dec->i4_start_mb_y = s_job.i2_start_mb_y; in impeg2d_dec_pic_data_thread() 883 ps_dec->i4_end_mb_y = s_job.i2_end_mb_y; in impeg2d_dec_pic_data_thread() 893 start_row = s_job.i2_start_mb_y << 4; in impeg2d_dec_pic_data_thread() 894 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/ |
D | ihevcd_decode.c | 720 proc_job_t s_job; in ihevcd_decode() local 722 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_decode() 723 s_job.i2_ctb_cnt = 0; in ihevcd_decode() 724 s_job.i2_ctb_x = 0; in ihevcd_decode() 725 s_job.i2_ctb_y = i; in ihevcd_decode() 726 s_job.i2_slice_idx = 0; in ihevcd_decode() 727 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_decode() 729 &s_job, sizeof(proc_job_t), 1); in ihevcd_decode() 741 proc_job_t s_job; in ihevcd_decode() local 747 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_decode() [all …]
|
D | ihevcd_utils.c | 1143 proc_job_t s_job; in ihevcd_parse_pic_init() local 1145 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_parse_pic_init() 1146 s_job.i2_ctb_cnt = 0; in ihevcd_parse_pic_init() 1147 s_job.i2_ctb_x = 0; in ihevcd_parse_pic_init() 1148 s_job.i2_ctb_y = i; in ihevcd_parse_pic_init() 1149 s_job.i2_slice_idx = 0; in ihevcd_parse_pic_init() 1150 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_parse_pic_init() 1152 &s_job, sizeof(proc_job_t), 1); in ihevcd_parse_pic_init()
|
D | ihevcd_process_slice.c | 1579 proc_job_t s_job; in ihevcd_process_thread() local 1581 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_process_thread() 1586 ps_proc->i4_ctb_cnt = s_job.i2_ctb_cnt; in ihevcd_process_thread() 1587 ps_proc->i4_ctb_x = s_job.i2_ctb_x; in ihevcd_process_thread() 1588 ps_proc->i4_ctb_y = s_job.i2_ctb_y; in ihevcd_process_thread() 1589 ps_proc->i4_cur_slice_idx = s_job.i2_slice_idx; in ihevcd_process_thread() 1593 if(CMD_PROCESS == s_job.i4_cmd) in ihevcd_process_thread() 1595 ihevcd_init_proc_ctxt(ps_proc, s_job.i4_tu_coeff_data_ofst); in ihevcd_process_thread() 1598 else if(CMD_FMTCONV == s_job.i4_cmd) in ihevcd_process_thread() 1614 … 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 …]
|
D | ihevcd_parse_slice.c | 2469 proc_job_t s_job; in ihevcd_parse_slice_data() local 2471 s_job.i4_cmd = CMD_PROCESS; in ihevcd_parse_slice_data() 2472 s_job.i2_ctb_cnt = (WORD16)ps_tile->u2_wd; in ihevcd_parse_slice_data() 2473 s_job.i2_ctb_x = (WORD16)ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data() 2474 s_job.i2_ctb_y = (WORD16)ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data() 2475 s_job.i2_slice_idx = (WORD16)ps_codec->s_parse.i4_cur_slice_idx; in ihevcd_parse_slice_data() 2476 s_job.i4_tu_coeff_data_ofst = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data - in ihevcd_parse_slice_data() 2478 … 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/ |
D | ih264e_process.c | 1025 job_t s_job; in ih264e_update_proc_ctxt() local 1028 s_job.i4_cmd = CMD_ENTROPY; in ih264e_update_proc_ctxt() 1031 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_update_proc_ctxt() 1034 s_job.i2_mb_x = 0; in ih264e_update_proc_ctxt() 1037 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt() 1040 …s_job.i2_proc_base_idx = (ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS) ? (MAX_PROCESS_CTXT / … in ih264e_update_proc_ctxt() 1043 error_status |= ih264_list_queue(ps_proc->pv_entropy_jobq, &s_job, 1); in ih264e_update_proc_ctxt() 2445 job_t s_job; in ih264e_process_thread() local 2471 ret = ih264_list_dequeue(ps_proc->pv_entropy_jobq, &s_job, is_blocking); in ih264e_process_thread() 2489 ret = ih264_list_dequeue(ps_proc->pv_proc_jobq, &s_job, 1); in ih264e_process_thread() [all …]
|
D | ih264e_utils.c | 2156 job_t s_job; in ih264e_pic_init() local 2162 s_job.i4_cmd = CMD_PROCESS; in ih264e_pic_init() 2165 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init() 2168 s_job.i2_mb_x = 0; in ih264e_pic_init() 2171 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init() 2176 s_job.i2_mb_y = i; in ih264e_pic_init() 2179 ret = ih264_list_queue(ps_codec->pv_proc_jobq, &s_job, 1); in ih264e_pic_init()
|