/external/libmpeg2/decoder/ |
D | impeg2d_dec_hdr.c | 991 job_t s_job; in impeg2d_dec_pic_data_thread() local 995 e_ret = impeg2_jobq_dequeue(ps_dec->pv_jobq, &s_job, sizeof(s_job), 1, 1); in impeg2d_dec_pic_data_thread() 999 if(CMD_PROCESS == s_job.i4_cmd) in impeg2d_dec_pic_data_thread() 1001 pu1_buf = ps_dec->pu1_inp_bits_buf + s_job.i4_bistream_ofst; in impeg2d_dec_pic_data_thread() 1003 (ps_dec->u4_num_inp_bytes - s_job.i4_bistream_ofst)); in impeg2d_dec_pic_data_thread() 1004 i4_cur_row = s_job.i2_start_mb_y; in impeg2d_dec_pic_data_thread() 1005 ps_dec->i4_start_mb_y = s_job.i2_start_mb_y; in impeg2d_dec_pic_data_thread() 1006 ps_dec->i4_end_mb_y = s_job.i2_end_mb_y; in impeg2d_dec_pic_data_thread() 1016 start_row = s_job.i2_start_mb_y << 4; in impeg2d_dec_pic_data_thread() 1017 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 | 860 proc_job_t s_job; in ihevcd_decode() local 862 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_decode() 863 s_job.i2_ctb_cnt = 0; in ihevcd_decode() 864 s_job.i2_ctb_x = 0; in ihevcd_decode() 865 s_job.i2_ctb_y = i; in ihevcd_decode() 866 s_job.i2_slice_idx = 0; in ihevcd_decode() 867 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_decode() 869 &s_job, sizeof(proc_job_t), 1); in ihevcd_decode() 881 proc_job_t s_job; in ihevcd_decode() local 887 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_decode() [all …]
|
D | ihevcd_utils.c | 1337 proc_job_t s_job; in ihevcd_parse_pic_init() local 1339 s_job.i4_cmd = CMD_FMTCONV; in ihevcd_parse_pic_init() 1340 s_job.i2_ctb_cnt = 0; in ihevcd_parse_pic_init() 1341 s_job.i2_ctb_x = 0; in ihevcd_parse_pic_init() 1342 s_job.i2_ctb_y = i; in ihevcd_parse_pic_init() 1343 s_job.i2_slice_idx = 0; in ihevcd_parse_pic_init() 1344 s_job.i4_tu_coeff_data_ofst = 0; in ihevcd_parse_pic_init() 1346 &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 | 2628 proc_job_t s_job; in ihevcd_parse_slice_data() local 2630 s_job.i4_cmd = CMD_PROCESS; in ihevcd_parse_slice_data() 2631 s_job.i2_ctb_cnt = (WORD16)ps_tile->u2_wd; in ihevcd_parse_slice_data() 2632 s_job.i2_ctb_x = (WORD16)ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data() 2633 s_job.i2_ctb_y = (WORD16)ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data() 2634 s_job.i2_slice_idx = (WORD16)ps_codec->s_parse.i4_cur_slice_idx; in ihevcd_parse_slice_data() 2635 s_job.i4_tu_coeff_data_ofst = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data - in ihevcd_parse_slice_data() 2637 … 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 | 1096 job_t s_job; in ih264e_update_proc_ctxt() local 1099 s_job.i4_cmd = CMD_ENTROPY; in ih264e_update_proc_ctxt() 1102 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_update_proc_ctxt() 1105 s_job.i2_mb_x = 0; in ih264e_update_proc_ctxt() 1108 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt() 1111 …s_job.i2_proc_base_idx = (ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS) ? (MAX_PROCESS_CTXT / … in ih264e_update_proc_ctxt() 1114 error_status = ih264_list_queue(ps_proc->pv_entropy_jobq, &s_job, 1); in ih264e_update_proc_ctxt() 2543 job_t s_job; in ih264e_process_thread() local 2570 ret = ih264_list_dequeue(ps_proc->pv_entropy_jobq, &s_job, is_blocking); in ih264e_process_thread() 2588 ret = ih264_list_dequeue(ps_proc->pv_proc_jobq, &s_job, 1); in ih264e_process_thread() [all …]
|
D | ih264e_utils.c | 2175 job_t s_job; in ih264e_pic_init() local 2181 s_job.i4_cmd = CMD_PROCESS; in ih264e_pic_init() 2184 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init() 2187 s_job.i2_mb_x = 0; in ih264e_pic_init() 2190 s_job.i2_proc_base_idx = ctxt_sel ? (MAX_PROCESS_CTXT / 2) : 0; in ih264e_pic_init() 2195 s_job.i2_mb_y = i; in ih264e_pic_init() 2198 ret = ih264_list_queue(ps_codec->pv_proc_jobq, &s_job, 1); in ih264e_pic_init()
|
/external/libavc/encoder/svc/ |
D | isvce_process.c | 1586 job_t s_job; in isvce_update_proc_ctxt() local 1589 s_job.i4_cmd = CMD_ENTROPY; in isvce_update_proc_ctxt() 1592 s_job.i2_mb_cnt = ps_proc->i4_wd_mbs; in isvce_update_proc_ctxt() 1595 s_job.i2_mb_x = 0; in isvce_update_proc_ctxt() 1598 s_job.i2_mb_y = ps_proc->i4_mb_y; in isvce_update_proc_ctxt() 1601 error_status = ih264_list_queue(ps_proc->pv_entropy_jobq, &s_job, 1); in isvce_update_proc_ctxt() 2678 job_t s_job; in isvce_process_thread() local 2708 ret = ih264_list_dequeue(ps_proc->pv_entropy_jobq, &s_job, is_blocking); in isvce_process_thread() 2726 ret = ih264_list_dequeue(ps_proc->pv_proc_jobq, &s_job, 1); in isvce_process_thread() 2740 switch(s_job.i4_cmd) in isvce_process_thread() [all …]
|
D | isvce_utils.c | 2457 job_t s_job; in isvce_svc_layer_pic_init() local 2459 s_job.i4_cmd = CMD_PROCESS; in isvce_svc_layer_pic_init() 2460 s_job.i2_mb_cnt = in isvce_svc_layer_pic_init() 2462 s_job.i2_mb_x = 0; in isvce_svc_layer_pic_init() 2468 s_job.i2_mb_y = i; in isvce_svc_layer_pic_init() 2470 ret = ih264_list_queue(ps_codec->pv_proc_jobq, &s_job, 1); in isvce_svc_layer_pic_init()
|