/external/libhevc/decoder/ |
ihevcd_process_slice.c | 93 process_ctxt_t *ps_proc, 109 void ihevcd_proc_map_check(process_ctxt_t *ps_proc, proc_type_t proc_type, WORD32 nctb) 111 tile_t *ps_tile = ps_proc->ps_tile; 112 sps_t *ps_sps = ps_proc->ps_sps; 113 pps_t *ps_pps = ps_proc->ps_pps; 114 codec_t *ps_codec = ps_proc->ps_codec; 120 if(ps_proc->i4_check_proc_status) 134 if(ps_proc->i4_ctb_y > 0) 136 x_pos = (ps_proc->i4_ctb_tile_x + nctb); 142 idx += ((ps_proc->i4_ctb_y - 1 [all...] |
ihevcd_process_slice.h | 40 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);
|
ihevcd_iquant_itrans_recon_ctb.c | 340 WORD32 ihevcd_get_intra_nbr_flag(process_ctxt_t *ps_proc, 362 ps_sps = ps_proc->ps_sps; 377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; 378 y_cur = ps_proc->i4_ctb_y * ctb_size + cur_y * MIN_TU_SIZE; 380 pu1_pic_intra_flag = ps_proc->pu1_pic_intra_flag; 495 - (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) 503 - (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) 530 WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc) 576 ps_sps = ps_proc->ps_sps; 577 ps_pps = ps_proc->ps_pps [all...] |
ihevcd_inter_pred.c | 113 void ihevcd_inter_pred_ctb(process_ctxt_t *ps_proc) 168 ps_codec = ps_proc->ps_codec; 169 ps_slice_hdr = ps_proc->ps_slice_hdr; 170 ps_pps = ps_proc->ps_pps; 171 ps_sps = ps_proc->ps_sps; 172 cur_ctb_idx = ps_proc->i4_ctb_x 173 + ps_proc->i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); 178 next_ctb_idx = ps_proc->i4_next_pu_ctb_cnt; 179 i4_pu_cnt = ps_proc->pu4_pic_pu_idx[next_ctb_idx] - ps_proc->pu4_pic_pu_idx[cur_ctb_idx] [all...] |
ihevcd_inter_pred.h | 40 void ihevcd_inter_pred_ctb(process_ctxt_t *ps_proc);
|
ihevcd_decode.c | 85 process_ctxt_t *ps_proc, 468 process_ctxt_t *ps_proc = &ps_codec->as_process[prev_proc_idx]; local 469 if(0 == ps_proc->i4_init_done) 471 ihevcd_init_proc_ctxt(ps_proc, 0); 707 process_ctxt_t *ps_proc; local 710 ps_proc = &ps_codec->as_process[ps_codec->i4_num_cores - 1]; 717 (ps_codec->i4_disp_buf_id == ps_proc->i4_cur_pic_buf_id)) 742 process_ctxt_t *ps_proc; local 745 ps_proc = &ps_codec->as_process[ps_codec->i4_num_cores - 1]; 747 ret = ihevcd_jobq_dequeue((jobq_t *)ps_proc->pv_proc_jobq, &s_job 791 process_ctxt_t *ps_proc = &ps_codec->as_process[proc_idx]; local [all...] |
ihevcd_debug.h | 119 #define DEBUG_VALIDATE_PADDED_REGION(ps_proc) ihevcd_debug_validate_padded_region(ps_proc); 123 #define DEBUG_VALIDATE_PADDED_REGION(ps_proc)
|
ihevcd_iquant_itrans_recon_ctb.h | 65 WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc);
|
/external/libavc/encoder/ |
ih264e_process.c | 207 * @param[in] ps_proc 216 IH264E_ERROR_T ih264e_init_entropy_ctxt(process_ctxt_t *ps_proc) 219 codec_t *ps_codec = ps_proc->ps_codec; 222 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; 231 ps_entropy->i4_cur_slice_idx = ps_proc->pu1_slice_idx[ps_entropy->i4_mb_start_add]; 266 * @param[in] ps_proc 276 IH264E_ERROR_T ih264e_entropy(process_ctxt_t *ps_proc) 279 codec_t *ps_codec = ps_proc->ps_codec; 282 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; 297 WORD32 i4_slice_type = ps_proc->i4_slice_type 2331 process_ctxt_t *ps_proc = &ps_codec->as_process[i4_proc_ctxt_sel_base]; local 2440 process_ctxt_t *ps_proc = pv_proc; local [all...] |
ih264e_me.c | 213 static void ih264e_get_search_candidates(process_ctxt_t *ps_proc, 218 WORD32 i4_mb_x = ps_proc->i4_mb_x; 233 block_neighbors_t *ps_ngbr_avbl = ps_proc->ps_ngbr_avbl; 247 ps_left_mv = &ps_proc->s_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; 248 ps_top_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x)->s_me_info[i4_reflist].s_mv; 249 ps_top_left_mv = &ps_proc->s_top_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; 250 ps_top_right_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x + 1)->s_me_info[i4_reflist].s_mv; 252 i4_left_mode = ps_proc->s_left_mb_pu_ME.b2_pred_mode != i4_cmpl_predmode; 253 i4_top_mode = (ps_proc->ps_top_row_pu_ME + i4_mb_x)->b2_pred_mode != i4_cmpl_predmode; 254 i4_top_left_mode = ps_proc->s_top_left_mb_pu_ME.b2_pred_mode != i4_cmpl_predmode [all...] |
ih264e_mc.c | 94 * @param[in] ps_proc 109 void ih264e_motion_comp_luma(process_ctxt_t *ps_proc, UWORD8 **pu1_pseudo_pred, 113 codec_t *ps_codec = ps_proc->ps_codec; 116 me_ctxt_t *ps_me_ctxt = &ps_proc->s_me_ctxt; 131 WORD32 i4_pred_strd = ps_proc->i4_pred_strd; 158 i4_ref_strd[0] = ps_proc->i4_rec_strd; 163 for (u4_num_prtn = 0; u4_num_prtn < ps_proc->u4_num_sub_partitions; 169 ps_curr_pu = ps_proc->ps_pu + u4_num_prtn; 178 pu1_ref[0] = ps_proc->apu1_ref_buf_luma[0]; 183 pu1_ref[0] = ps_proc->apu1_ref_buf_luma[1] [all...] |
ih264e_intra_modes_eval.c | 116 void ih264e_derive_nghbr_avbl_of_mbs(process_ctxt_t *ps_proc) 118 UWORD8 *pu1_slice_idx_curr = ps_proc->pu1_slice_idx; 127 i4_mb_x = ps_proc->i4_mb_x; 128 i4_mb_y = ps_proc->i4_mb_y; 130 i4_wd_mbs = ps_proc->i4_wd_mbs; 137 ps_ngbr_avbl = ps_proc->ps_ngbr_avbl; 326 void ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff(process_ctxt_t *ps_proc) 329 codec_t *ps_codec = ps_proc->ps_codec; 335 UWORD32 u4_lambda = ps_proc->u4_lambda; 344 UWORD8 *pu1_ngbr_pels_i16 = ps_proc->au1_ngbr_pels [all...] |
ih264e_deblk.h | 65 * @param[in] ps_proc 75 void ih264e_compute_bs(process_ctxt_t * ps_proc); 85 * @param[in] ps_proc 97 void ih264e_deblock_mb(process_ctxt_t *ps_proc, deblk_ctxt_t * ps_deblk);
|
ih264e_process.h | 78 * @param[in] ps_proc 87 IH264E_ERROR_T ih264e_init_entropy_ctxt(process_ctxt_t *ps_proc); 101 * @param[in] ps_proc 112 IH264E_ERROR_T ih264e_entropy(process_ctxt_t *ps_proc); 124 * @param[in] ps_proc 135 process_ctxt_t *ps_proc 156 * @param[in] ps_proc 167 process_ctxt_t *ps_proc 182 * @param[in] ps_proc 191 IH264E_ERROR_T ih264e_init_proc_ctxt(process_ctxt_t *ps_proc); [all...] |
ih264e_debug.h | 48 #define DEBUG_DUMP_COST_SAD_PU(ps_proc) ih264e_debug_dump_cost_sad_pu(ps_proc); 59 #define DEBUG_DUMP_COST_SAD_PU(ps_proc) (void);
|
ih264e_me.h | 104 * @param[in] ps_proc 132 * @param[in] ps_proc 160 * @param[in] ps_proc 188 * @param[in] ps_proc 243 * @param[in] ps_proc 262 * @param[in] ps_proc 282 * @param[in] ps_proc 291 void ih264e_init_me(process_ctxt_t *ps_proc); 302 * @param[in] ps_proc 311 void ih264e_compute_me_nmb(process_ctxt_t *ps_proc, UWORD32 u4_nmb_count) [all...] |
ih264e_deblk.c | 344 * @param[in] ps_proc 353 static UWORD32 ih264e_calculate_csbp(process_ctxt_t *ps_proc) 356 UWORD8 *pu1_curr_nnz = (UWORD8 *)ps_proc->au4_nnz; 384 * @param[in] ps_proc 393 void ih264e_compute_bs(process_ctxt_t * ps_proc) 396 bs_ctxt_t *ps_bs = &(ps_proc->s_deblk_ctxt.s_bs_ctxt); 411 WORD32 i4_wd_mbs = ps_proc->i4_wd_mbs; 422 i4_intra = ps_proc->u4_is_intra; 436 mb_info_t *ps_left_mb_syntax_ele = &ps_proc->s_left_mb_syntax_ele; 439 mb_info_t *ps_top_mb_syntax_ele = ps_proc->ps_top_row_mb_syntax_ele + i4_mb_x [all...] |
ih264e_utils.c | 962 * @param[in] ps_proc 974 void ih264e_init_quant_params(process_ctxt_t *ps_proc, int qp) 1788 process_ctxt_t *ps_proc = NULL; local [all...] |
ih264e_core_coding.c | [all...] |
ih264e_mc.h | 60 * @param[in] ps_proc 75 void ih264e_motion_comp_luma(process_ctxt_t *ps_proc, 89 * @param[in] ps_proc 100 process_ctxt_t *ps_proc
|
ih264e_encode_header.c | [all...] |
ih264e_rate_control.c | 393 * @param[in] ps_proc 405 process_ctxt_t *ps_proc = pv_proc; local 408 WORD32 mb_type = !ps_proc->u4_is_intra; 411 ps_frame_info->tot_mb_sad[mb_type] += ps_proc->i4_mb_distortion; 414 ps_frame_info->qp_sum[mb_type] += gau1_h264_to_mpeg2_qmap[ps_proc->u4_mb_qp]; 420 if (ps_proc->u4_is_intra) 422 ps_frame_info->intra_mb_cost_sum += ps_proc->i4_mb_cost;
|
/external/libavc/encoder/x86/ |
ih264e_function_selector_sse42.c | 108 process_ctxt_t *ps_proc = NULL; local 130 ps_proc = &ps_codec->as_process[i]; 132 ps_me_ctxt = &ps_proc->s_me_ctxt;
|
/external/libavc/encoder/arm/ |
ih264e_function_selector_a9q.c | 108 process_ctxt_t *ps_proc = NULL; local 221 ps_proc = &ps_codec->as_process[i]; 222 ps_me_ctxt = &ps_proc->s_me_ctxt;
|
ih264e_function_selector_av8.c | 115 process_ctxt_t *ps_proc = NULL; local 231 ps_proc = &ps_codec->as_process[i]; 232 ps_me_ctxt = &ps_proc->s_me_ctxt;
|