Searched refs:s_job (Results 1 – 7 of 7) sorted by relevance
/external/libmpeg2/decoder/ |
D | impeg2d_dec_hdr.c | 965 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/ |
D | ihevcd_decode.c | 784 proc_job_t s_job; in ihevcd_decode() local 786 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_decode() 787 s_job.i2_ctb_cnt = 0; in ihevcd_decode() 788 s_job.i2_ctb_x = 0; in ihevcd_decode() 789 s_job.i2_ctb_y = i; in ihevcd_decode() 790 s_job.i2_slice_idx = 0; in ihevcd_decode() 791 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_decode() 793 &s_job, sizeof(proc_job_t), 1); in ihevcd_decode() 805 proc_job_t s_job; in ihevcd_decode() local 811 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_decode() [all …]
|
D | ihevcd_utils.c | 1325 proc_job_t s_job; in ihevcd_parse_pic_init() local 1327 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_parse_pic_init() 1328 s_job.i2_ctb_cnt = 0; in ihevcd_parse_pic_init() 1329 s_job.i2_ctb_x = 0; in ihevcd_parse_pic_init() 1330 s_job.i2_ctb_y = i; in ihevcd_parse_pic_init() 1331 s_job.i2_slice_idx = 0; in ihevcd_parse_pic_init() 1332 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_parse_pic_init() 1334 &s_job, sizeof(proc_job_t), 1); in ihevcd_parse_pic_init()
|
D | ihevcd_process_slice.c | 1626 proc_job_t s_job; in ihevcd_process_thread() local 1628 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_process_thread() 1633 ps_proc->i4_ctb_cnt = s_job.i2_ctb_cnt; in ihevcd_process_thread() 1634 ps_proc->i4_ctb_x = s_job.i2_ctb_x; in ihevcd_process_thread() 1635 ps_proc->i4_ctb_y = s_job.i2_ctb_y; in ihevcd_process_thread() 1636 ps_proc->i4_cur_slice_idx = s_job.i2_slice_idx; in ihevcd_process_thread() 1640 if(CMD_PROCESS == s_job.i4_cmd) in ihevcd_process_thread() 1642 ihevcd_init_proc_ctxt(ps_proc, s_job.i4_tu_coeff_data_ofst); in ihevcd_process_thread() 1645 else if(CMD_FMTCONV == s_job.i4_cmd) in ihevcd_process_thread() 1662 (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 | 2602 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/ |
D | ih264e_process.c | 1093 job_t s_job; in ih264e_update_proc_ctxt() local 1096 s_job.i4_cmd = CMD_ENTROPY; in ih264e_update_proc_ctxt() 1099 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_update_proc_ctxt() 1102 s_job.i2_mb_x = 0; in ih264e_update_proc_ctxt() 1105 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt() 1108 …s_job.i2_proc_base_idx = (ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS) ? (MAX_PROCESS_CTXT / … in ih264e_update_proc_ctxt() 1111 error_status = ih264_list_queue(ps_proc->pv_entropy_jobq, &s_job, 1); in ih264e_update_proc_ctxt() 2537 job_t s_job; in ih264e_process_thread() local 2564 ret = ih264_list_dequeue(ps_proc->pv_entropy_jobq, &s_job, is_blocking); in ih264e_process_thread() 2582 ret = ih264_list_dequeue(ps_proc->pv_proc_jobq, &s_job, 1); in ih264e_process_thread() [all …]
|
D | ih264e_utils.c | 2168 job_t s_job; in ih264e_pic_init() local 2174 s_job.i4_cmd = CMD_PROCESS; in ih264e_pic_init() 2177 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init() 2180 s_job.i2_mb_x = 0; in ih264e_pic_init() 2183 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init() 2188 s_job.i2_mb_y = i; in ih264e_pic_init() 2191 ret = ih264_list_queue(ps_codec->pv_proc_jobq, &s_job, 1); in ih264e_pic_init()
|