Home
last modified time | relevance | path

Searched refs:ps_proc (Results 1 – 25 of 34) sorted by relevance

12

/external/libhevc/decoder/
Dihevcd_process_slice.c93 process_ctxt_t *ps_proc,
109 void ihevcd_proc_map_check(process_ctxt_t *ps_proc, proc_type_t proc_type, WORD32 nctb) in ihevcd_proc_map_check() argument
111 tile_t *ps_tile = ps_proc->ps_tile; in ihevcd_proc_map_check()
112 sps_t *ps_sps = ps_proc->ps_sps; in ihevcd_proc_map_check()
113 pps_t *ps_pps = ps_proc->ps_pps; in ihevcd_proc_map_check()
114 codec_t *ps_codec = ps_proc->ps_codec; in ihevcd_proc_map_check()
120 if(ps_proc->i4_check_proc_status) in ihevcd_proc_map_check()
134 if(ps_proc->i4_ctb_y > 0) in ihevcd_proc_map_check()
136 x_pos = (ps_proc->i4_ctb_tile_x + nctb); in ihevcd_proc_map_check()
142 idx += ((ps_proc->i4_ctb_y - 1) in ihevcd_proc_map_check()
[all …]
Dihevcd_iquant_itrans_recon_ctb.c340 WORD32 ihevcd_get_intra_nbr_flag(process_ctxt_t *ps_proc, in ihevcd_get_intra_nbr_flag() argument
362 ps_sps = ps_proc->ps_sps; in ihevcd_get_intra_nbr_flag()
377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
378 y_cur = ps_proc->i4_ctb_y * ctb_size + cur_y * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
380 pu1_pic_intra_flag = ps_proc->pu1_pic_intra_flag; in ihevcd_get_intra_nbr_flag()
495 - (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag()
503 - (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag()
530 WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc) in ihevcd_iquant_itrans_recon_ctb() argument
578 ps_sps = ps_proc->ps_sps; in ihevcd_iquant_itrans_recon_ctb()
579 ps_pps = ps_proc->ps_pps; in ihevcd_iquant_itrans_recon_ctb()
[all …]
Dihevcd_decode.c87 process_ctxt_t *ps_proc,
506 process_ctxt_t *ps_proc = &ps_codec->as_process[prev_proc_idx]; in ihevcd_decode() local
507 if(0 == ps_proc->i4_init_done) in ihevcd_decode()
509 ihevcd_init_proc_ctxt(ps_proc, 0); in ihevcd_decode()
756 process_ctxt_t *ps_proc; in ihevcd_decode() local
759 ps_proc = &ps_codec->as_process[ps_codec->i4_num_cores - 1]; in ihevcd_decode()
766 (ps_codec->i4_disp_buf_id == ps_proc->i4_cur_pic_buf_id)) in ihevcd_decode()
791 process_ctxt_t *ps_proc; in ihevcd_decode() local
794 ps_proc = &ps_codec->as_process[ps_codec->i4_num_cores - 1]; in ihevcd_decode()
796 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job, in ihevcd_decode()
[all …]
Dihevcd_inter_pred.c113 void ihevcd_inter_pred_ctb(process_ctxt_t *ps_proc) in ihevcd_inter_pred_ctb() argument
168 ps_codec = ps_proc->ps_codec; in ihevcd_inter_pred_ctb()
169 ps_slice_hdr = ps_proc->ps_slice_hdr; in ihevcd_inter_pred_ctb()
170 ps_pps = ps_proc->ps_pps; in ihevcd_inter_pred_ctb()
171 ps_sps = ps_proc->ps_sps; in ihevcd_inter_pred_ctb()
172 cur_ctb_idx = ps_proc->i4_ctb_x in ihevcd_inter_pred_ctb()
173 + ps_proc->i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_inter_pred_ctb()
178 next_ctb_idx = ps_proc->i4_next_pu_ctb_cnt; in ihevcd_inter_pred_ctb()
179 i4_pu_cnt = ps_proc->pu4_pic_pu_idx[next_ctb_idx] - ps_proc->pu4_pic_pu_idx[cur_ctb_idx]; in ihevcd_inter_pred_ctb()
181 ps_pu = ps_proc->ps_pu; in ihevcd_inter_pred_ctb()
[all …]
Dihevcd_process_slice.h40 IHEVCD_ERROR_T ihevcd_process(process_ctxt_t *ps_proc);
41 void ihevcd_init_proc_ctxt(process_ctxt_t *ps_proc, WORD32 tu_coeff_data_ofst);
42 void ihevcd_process_thread(process_ctxt_t *ps_proc);
Dihevcd_debug.h119 #define DEBUG_VALIDATE_PADDED_REGION(ps_proc) ihevcd_debug_validate_padded_region(ps_proc); argument
123 #define DEBUG_VALIDATE_PADDED_REGION(ps_proc) argument
/external/libavc/encoder/
Dih264e_process.c216 IH264E_ERROR_T ih264e_init_entropy_ctxt(process_ctxt_t *ps_proc) in ih264e_init_entropy_ctxt() argument
219 codec_t *ps_codec = ps_proc->ps_codec; in ih264e_init_entropy_ctxt()
222 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_init_entropy_ctxt()
231 ps_entropy->i4_cur_slice_idx = ps_proc->pu1_slice_idx[ps_entropy->i4_mb_start_add]; in ih264e_init_entropy_ctxt()
276 IH264E_ERROR_T ih264e_entropy(process_ctxt_t *ps_proc) in ih264e_entropy() argument
279 codec_t *ps_codec = ps_proc->ps_codec; in ih264e_entropy()
282 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_entropy()
297 WORD32 i4_slice_type = ps_proc->i4_slice_type; in ih264e_entropy()
312 WORD32 ctxt_sel = ps_proc->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_entropy()
338 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
[all …]
Dih264e_me.c213 static void ih264e_get_search_candidates(process_ctxt_t *ps_proc, in ih264e_get_search_candidates() argument
218 WORD32 i4_mb_x = ps_proc->i4_mb_x; in ih264e_get_search_candidates()
233 block_neighbors_t *ps_ngbr_avbl = ps_proc->ps_ngbr_avbl; in ih264e_get_search_candidates()
247 ps_left_mv = &ps_proc->s_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
248 ps_top_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x)->s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
249 ps_top_left_mv = &ps_proc->s_top_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
250 ps_top_right_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x + 1)->s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
252 i4_left_mode = ps_proc->s_left_mb_pu_ME.b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
253 i4_top_mode = (ps_proc->ps_top_row_pu_ME + i4_mb_x)->b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
254 i4_top_left_mode = ps_proc->s_top_left_mb_pu_ME.b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
[all …]
Dih264e_intra_modes_eval.c116 void ih264e_derive_nghbr_avbl_of_mbs(process_ctxt_t *ps_proc) in ih264e_derive_nghbr_avbl_of_mbs() argument
118 UWORD8 *pu1_slice_idx_curr = ps_proc->pu1_slice_idx; in ih264e_derive_nghbr_avbl_of_mbs()
127 i4_mb_x = ps_proc->i4_mb_x; in ih264e_derive_nghbr_avbl_of_mbs()
128 i4_mb_y = ps_proc->i4_mb_y; in ih264e_derive_nghbr_avbl_of_mbs()
130 i4_wd_mbs = ps_proc->i4_wd_mbs; in ih264e_derive_nghbr_avbl_of_mbs()
137 ps_ngbr_avbl = ps_proc->ps_ngbr_avbl; in ih264e_derive_nghbr_avbl_of_mbs()
326 void ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff(process_ctxt_t *ps_proc) in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff() argument
329 codec_t *ps_codec = ps_proc->ps_codec; in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
335 UWORD32 u4_lambda = ps_proc->u4_lambda; in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
344 UWORD8 *pu1_ngbr_pels_i16 = ps_proc->au1_ngbr_pels; in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
[all …]
Dih264e_utils.c974 void ih264e_init_quant_params(process_ctxt_t *ps_proc, int qp) in ih264e_init_quant_params() argument
1014 ps_qp_params = ps_proc->ps_qp_params[plane]; in ih264e_init_quant_params()
1045 if (ps_proc->i4_slice_type != ISLICE in ih264e_init_quant_params()
1046 && ps_proc->i4_slice_type != SISLICE) in ih264e_init_quant_params()
1052 if (ps_proc->ps_codec->s_cfg.u4_enable_satqd) in ih264e_init_quant_params()
1788 process_ctxt_t *ps_proc = NULL; in ih264e_pic_init() local
1795 ps_proc = &ps_codec->as_process[i]; in ih264e_pic_init()
1800 ps_proc->pu1_src_buf_luma_base = ps_codec->pu1_y_csc_buf_base; in ih264e_pic_init()
1804 ps_proc->pu1_src_buf_luma_base = in ih264e_pic_init()
1812 ps_proc->pu1_src_buf_chroma_base = in ih264e_pic_init()
[all …]
Dih264e_mc.c109 void ih264e_motion_comp_luma(process_ctxt_t *ps_proc, UWORD8 **pu1_pseudo_pred, in ih264e_motion_comp_luma() argument
113 codec_t *ps_codec = ps_proc->ps_codec; in ih264e_motion_comp_luma()
116 me_ctxt_t *ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_motion_comp_luma()
131 WORD32 i4_pred_strd = ps_proc->i4_pred_strd; in ih264e_motion_comp_luma()
158 i4_ref_strd[0] = ps_proc->i4_rec_strd; in ih264e_motion_comp_luma()
163 for (u4_num_prtn = 0; u4_num_prtn < ps_proc->u4_num_sub_partitions; in ih264e_motion_comp_luma()
169 ps_curr_pu = ps_proc->ps_pu + u4_num_prtn; in ih264e_motion_comp_luma()
178 pu1_ref[0] = ps_proc->apu1_ref_buf_luma[0]; in ih264e_motion_comp_luma()
183 pu1_ref[0] = ps_proc->apu1_ref_buf_luma[1]; in ih264e_motion_comp_luma()
195 pu1_ref[0] = ps_proc->apu1_ref_buf_luma[0]; in ih264e_motion_comp_luma()
[all …]
Dih264e_core_coding.c1483 UWORD8 ih264e_code_luma_intra_macroblock_16x16(process_ctxt_t *ps_proc) in ih264e_code_luma_intra_macroblock_16x16() argument
1486 codec_t *ps_codec = ps_proc->ps_codec; in ih264e_code_luma_intra_macroblock_16x16()
1489 UWORD8 *pu1_ref_mb = ps_proc->pu1_rec_buf_luma; in ih264e_code_luma_intra_macroblock_16x16()
1492 UWORD8 *pu1_curr_mb = ps_proc->pu1_src_buf_luma; in ih264e_code_luma_intra_macroblock_16x16()
1498 WORD16 *pi2_res_mb = ps_proc->pi2_res_buf; in ih264e_code_luma_intra_macroblock_16x16()
1501 WORD32 i4_src_strd = ps_proc->i4_src_strd; in ih264e_code_luma_intra_macroblock_16x16()
1502 WORD32 i4_rec_strd = ps_proc->i4_rec_strd; in ih264e_code_luma_intra_macroblock_16x16()
1503 WORD32 i4_pred_strd = ps_proc->i4_pred_strd; in ih264e_code_luma_intra_macroblock_16x16()
1504 WORD32 i4_res_strd = ps_proc->i4_res_strd; in ih264e_code_luma_intra_macroblock_16x16()
1507 UWORD8 u1_intra_mode = ps_proc->u1_l_i16_mode; in ih264e_code_luma_intra_macroblock_16x16()
[all …]
Dih264e_deblk.c353 static UWORD32 ih264e_calculate_csbp(process_ctxt_t *ps_proc) in ih264e_calculate_csbp() argument
356 UWORD8 *pu1_curr_nnz = (UWORD8 *)ps_proc->au4_nnz; in ih264e_calculate_csbp()
393 void ih264e_compute_bs(process_ctxt_t * ps_proc) in ih264e_compute_bs() argument
396 bs_ctxt_t *ps_bs = &(ps_proc->s_deblk_ctxt.s_bs_ctxt); in ih264e_compute_bs()
411 WORD32 i4_wd_mbs = ps_proc->i4_wd_mbs; in ih264e_compute_bs()
422 i4_intra = ps_proc->u4_is_intra; in ih264e_compute_bs()
436 mb_info_t *ps_left_mb_syntax_ele = &ps_proc->s_left_mb_syntax_ele; in ih264e_compute_bs()
439 mb_info_t *ps_top_mb_syntax_ele = ps_proc->ps_top_row_mb_syntax_ele + i4_mb_x; in ih264e_compute_bs()
442 enc_pu_t *ps_top_row_pu = ps_proc->ps_top_row_pu + i4_mb_x; in ih264e_compute_bs()
445 ps_proc->u4_csbp = ih264e_calculate_csbp(ps_proc); in ih264e_compute_bs()
[all …]
Dih264e_process.h87 IH264E_ERROR_T ih264e_init_entropy_ctxt(process_ctxt_t *ps_proc);
112 IH264E_ERROR_T ih264e_entropy(process_ctxt_t *ps_proc);
135 process_ctxt_t *ps_proc
167 process_ctxt_t *ps_proc
191 IH264E_ERROR_T ih264e_init_proc_ctxt(process_ctxt_t *ps_proc);
226 process_ctxt_t *ps_proc,
252 process_ctxt_t *ps_proc,
281 WORD32 ih264e_process(process_ctxt_t *ps_proc);
Dih264e_encode_header.c1274 WORD32 ih264e_populate_slice_header(process_ctxt_t *ps_proc, in ih264e_populate_slice_header() argument
1280 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_populate_slice_header()
1282 codec_t *ps_codec = ps_proc->ps_codec; in ih264e_populate_slice_header()
1284 if (ps_proc->ps_codec->u4_is_curr_frm_ref) in ih264e_populate_slice_header()
1297 ps_slice_hdr->u1_slice_type = ps_proc->i4_slice_type; in ih264e_populate_slice_header()
1306 ps_slice_hdr->i4_frame_num = ps_proc->i4_frame_num; in ih264e_populate_slice_header()
1320 if (ps_proc->u4_is_idr) in ih264e_populate_slice_header()
1322 ps_slice_hdr->u2_idr_pic_id = ps_proc->u4_idr_pic_id; in ih264e_populate_slice_header()
1355 if (ps_proc->i4_slice_type == BSLICE) in ih264e_populate_slice_header()
1360 …if (ps_proc->i4_slice_type == PSLICE || ps_proc->i4_slice_type == SPSLICE || ps_proc->i4_slice_typ… in ih264e_populate_slice_header()
[all …]
Dih264e_core_coding.h510 process_ctxt_t *ps_proc
539 process_ctxt_t *ps_proc
568 process_ctxt_t *ps_proc
598 process_ctxt_t *ps_proc
624 process_ctxt_t *ps_proc
650 process_ctxt_t *ps_proc
Dih264e_me.h291 void ih264e_init_me(process_ctxt_t *ps_proc);
311 void ih264e_compute_me_nmb(process_ctxt_t *ps_proc, UWORD32 u4_nmb_count);
331 void ih264e_mv_pred(process_ctxt_t *ps_proc, WORD32 i4_reflist);
351 void ih264e_mv_pred_me(process_ctxt_t *ps_proc, WORD32 i4_ref_list);
Dih264e_debug.h48 #define DEBUG_DUMP_COST_SAD_PU(ps_proc) ih264e_debug_dump_cost_sad_pu(ps_proc); argument
59 #define DEBUG_DUMP_COST_SAD_PU(ps_proc) (void); argument
Dih264e_rate_control.c405 process_ctxt_t *ps_proc = pv_proc; in ih264e_update_rc_mb_info() local
408 WORD32 mb_type = !ps_proc->u4_is_intra; in ih264e_update_rc_mb_info()
411 ps_frame_info->tot_mb_sad[mb_type] += ps_proc->i4_mb_distortion; in ih264e_update_rc_mb_info()
414 ps_frame_info->qp_sum[mb_type] += gau1_h264_to_mpeg2_qmap[ps_proc->u4_mb_qp]; in ih264e_update_rc_mb_info()
420 if (ps_proc->u4_is_intra) in ih264e_update_rc_mb_info()
422 ps_frame_info->intra_mb_cost_sum += ps_proc->i4_mb_cost; in ih264e_update_rc_mb_info()
Dih264e_deblk.h75 void ih264e_compute_bs(process_ctxt_t * ps_proc);
97 void ih264e_deblock_mb(process_ctxt_t *ps_proc, deblk_ctxt_t * ps_deblk);
Dih264e_mc.h75 void ih264e_motion_comp_luma(process_ctxt_t *ps_proc,
100 process_ctxt_t *ps_proc
Dih264e_function_selector_generic.c117 process_ctxt_t *ps_proc = NULL; in ih264e_init_function_ptr_generic() local
233 ps_proc = &ps_codec->as_process[i]; in ih264e_init_function_ptr_generic()
235 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_generic()
/external/libavc/encoder/x86/
Dih264e_function_selector_sse42.c108 process_ctxt_t *ps_proc = NULL; in ih264e_init_function_ptr_sse42() local
130 ps_proc = &ps_codec->as_process[i]; in ih264e_init_function_ptr_sse42()
132 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_sse42()
/external/libavc/encoder/arm/
Dih264e_function_selector_av8.c115 process_ctxt_t *ps_proc = NULL; in ih264e_init_function_ptr_neon_av8() local
231 ps_proc = &ps_codec->as_process[i]; in ih264e_init_function_ptr_neon_av8()
232 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_neon_av8()
Dih264e_function_selector_a9q.c108 process_ctxt_t *ps_proc = NULL; in ih264e_init_function_ptr_neon_a9q() local
221 ps_proc = &ps_codec->as_process[i]; in ih264e_init_function_ptr_neon_a9q()
222 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_neon_a9q()

12