/external/libhevc/decoder/arm/ |
ihevcd_function_selector_a9q.c | 61 void ihevcd_init_function_ptr_a9q(codec_t *ps_codec) 63 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz_a9q; 64 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert_a9q; 65 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert_a9q; 66 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz_a9q; 67 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy_a9q; 68 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out_a9q; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz_a9q; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out_a9q; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
ihevcd_function_selector_noneon.c | 61 void ihevcd_init_function_ptr_noneon(codec_t *ps_codec) 63 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz; 64 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert; 65 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert; 66 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz; 67 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy; 68 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
ihevcd_function_selector.c | 61 void ihevcd_init_function_ptr_neonintr(codec_t *ps_codec); 62 void ihevcd_init_function_ptr_noneon(codec_t *ps_codec); 63 void ihevcd_init_function_ptr_a9q(codec_t *ps_codec); 64 void ihevcd_init_function_ptr_av8(codec_t *ps_codec); 67 codec_t *ps_codec = (codec_t *)pv_codec; local 70 switch(ps_codec->e_processor_arch) 74 ihevcd_init_function_ptr_neonintr(ps_codec); 78 ihevcd_init_function_ptr_noneon(ps_codec); 87 ihevcd_init_function_ptr_a9q(ps_codec); 89 ihevcd_init_function_ptr_noneon(ps_codec); 121 codec_t *ps_codec = (codec_t *)pv_codec; local [all...] |
/external/libhevc/decoder/arm64/ |
ihevcd_function_selector_av8.c | 61 void ihevcd_init_function_ptr_av8(codec_t *ps_codec) 63 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz_av8; 64 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert_av8; 65 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert_av8; 66 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz_av8; 67 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy_av8; 68 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out_av8; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz_av8; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out_av8; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
/external/libhevc/decoder/mips/ |
ihevcd_function_selector.c | 61 void ihevcd_init_function_ptr_mips_generic(codec_t *ps_codec); 62 void ihevcd_init_function_ptr_mips_32(codec_t *ps_codec); 66 codec_t *ps_codec = (codec_t *)pv_codec; local 67 switch(ps_codec->e_processor_arch) 71 ihevcd_init_function_ptr_mips_32(ps_codec); 76 ihevcd_init_function_ptr_mips_generic(ps_codec); 83 codec_t *ps_codec = (codec_t *)pv_codec; local 84 ps_codec->e_processor_arch = ARCH_MIPS_32;
|
ihevcd_function_selector_mips_generic.c | 61 void ihevcd_init_function_ptr_mips_generic(codec_t *ps_codec) 63 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz; 64 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert; 65 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert; 66 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz; 67 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy; 68 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
/external/libhevc/decoder/x86/ |
ihevcd_function_selector_generic.c | 63 codec_t *ps_codec = (codec_t *)pv_codec; local 65 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz; 66 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert; 67 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert; 68 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz; 72 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out; 73 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
ihevcd_function_selector_sse42.c | 63 codec_t *ps_codec = (codec_t *)pv_codec; local 65 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz_ssse3; 66 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert_ssse3; 67 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert_ssse3; 68 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz_ssse3; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy_sse42; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out_sse42; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz_ssse3; 72 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out_ssse3; 73 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
ihevcd_function_selector_ssse3.c | 63 codec_t *ps_codec = (codec_t *)pv_codec; local 65 ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz_ssse3; 66 ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert_ssse3; 67 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert_ssse3; 68 ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz_ssse3; 69 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy_ssse3; 70 ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out_ssse3; 71 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz_ssse3; 72 ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_chroma_horz_w16out_ssse3; 73 ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_chroma_ver (…) [all...] |
ihevcd_function_selector.c | 63 codec_t *ps_codec = (codec_t *)pv_codec; local 64 switch(ps_codec->e_processor_arch) 90 codec_t *ps_codec = (codec_t *)pv_codec; local 94 ps_codec->e_processor_arch = ARCH_X86_GENERIC; 96 ps_codec->e_processor_arch = ARCH_X86_SSE42; 98 ps_codec->e_processor_arch = ARCH_X86_AVX2; 100 ps_codec->e_processor_arch = ARCH_X86_SSSE3; 103 ps_codec->e_processor_arch = ARCH_X86_SSSE3;
|
/external/libhevc/decoder/ |
ihevcd_parse_headers.h | 38 void ihevcd_copy_sps(codec_t *ps_codec, WORD32 sps_id, WORD32 sps_id_ref); 39 void ihevcd_copy_pps(codec_t *ps_codec, WORD32 pps_id, WORD32 pps_id_ref); 40 void ihevcd_copy_slice_hdr(codec_t *ps_codec, WORD32 slice_idx, WORD32 slice_idx_ref); 42 IHEVCD_ERROR_T ihevcd_parse_vps(codec_t *ps_codec); 43 IHEVCD_ERROR_T ihevcd_parse_sps(codec_t *ps_codec); 44 IHEVCD_ERROR_T ihevcd_parse_pps(codec_t *ps_codec); 45 IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec,
|
ihevcd_decode.c | 84 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec, 91 WORD32 ihevcd_init(codec_t *ps_codec); 105 * @param[in] ps_codec 163 * @param[in] ps_codec 178 static void ihevcd_fill_outargs(codec_t *ps_codec, 183 ps_dec_op->u4_error_code = ihevcd_map_error((IHEVCD_ERROR_T)ps_codec->i4_error_code); 185 - ps_codec->i4_bytes_remaining; 186 if(ps_codec->i4_sps_done) 188 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd; 189 ps_dec_op->u4_pic_ht = ps_codec->i4_disp_ht 337 codec_t *ps_codec = (codec_t *)(ps_codec_obj->pv_codec_handle); local [all...] |
ihevcd_parse_slice.h | 41 IHEVCD_ERROR_T ihevcd_parse_mvd(codec_t *ps_codec, mv_t *ps_mv); 42 IHEVCD_ERROR_T ihevcd_parse_slice_data(codec_t *ps_codec);
|
ihevcd_nal.c | 319 * @param[in,out] ps_codec 321 * ps_codec) 330 IHEVCD_ERROR_T ihevcd_nal_unit(codec_t *ps_codec) 337 ret = ihevcd_nal_unit_header(&ps_codec->s_parse.s_bitstrm, &s_nal); 340 if(ps_codec->i4_slice_error) 341 s_nal.i1_nal_unit_type = ps_codec->s_parse.ps_slice_hdr->i1_nal_unit_type; 349 ps_codec->i4_rasl_output_flag = 0; 357 ps_codec->i4_rasl_output_flag = 1; 361 ps_codec->i4_rasl_output_flag = (0 == ps_codec->u4_pic_cnt) ? 0 : 1 [all...] |
ihevcd_utils.c | 418 WORD32 ihevcd_nctb_cnt(codec_t *ps_codec, sps_t *ps_sps) 421 UNUSED(ps_codec); 524 * @param[in] ps_codec 534 IHEVCD_ERROR_T ihevcd_pic_buf_mgr_add_bufs(codec_t *ps_codec) 550 ps_sps = ps_codec->s_parse.ps_sps; 557 level = ps_codec->i4_init_level; 572 max_num_bufs = MIN(max_dpb_size, (ps_codec->i4_init_num_ref + ps_codec->i4_init_num_reorder + 1)); 575 pu1_buf = (UWORD8 *)ps_codec->ps_pic_buf; 577 ps_pic_buf = (pic_buf_t *)ps_codec->ps_pic_buf [all...] |
ihevcd_parse_slice.c | 103 * @param[in] ps_codec 114 WORD32 ihevcd_parse_transform_tree(codec_t *ps_codec, 129 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; 133 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; 135 max_trafo_depth = ps_codec->s_parse.s_cu.i4_max_trafo_depth; 136 ps_sps = ps_codec->s_parse.ps_sps; 137 ps_pps = ps_codec->s_parse.ps_pps; 138 intra_split_flag = ps_codec->s_parse.s_cu.i4_intra_split_flag; 161 (PRED_MODE_INTER == ps_codec->s_parse.s_cu.i4_pred_mode) && 162 (PART_2Nx2N != ps_codec->s_parse.s_cu.i4_part_mode) & [all...] |
ihevcd_ilf_padding.c | 83 codec_t *ps_codec; local 89 ps_codec = ps_deblk_ctxt->ps_codec; 109 (0 == ps_codec->i4_disable_deblk_pic)) 158 * ps_codec->i4_strd); 161 + (i4_ctb_y * ctb_size * ps_codec->i4_strd / 2); 173 ps_codec->s_func_selector.ihevc_pad_left_luma_fptr(pu1_cur_ctb_luma - 8 * ps_codec->i4_strd, ps_codec->i4_strd, pad_ht_luma, PAD_LEFT); 174 ps_codec->s_func_selector.ihevc_pad_left_chroma_fptr(pu1_cur_ctb_chroma - 8 * ps_codec->i4_strd, ps_codec-> (…) [all...] |
ihevcd_intra_pred_mode_prediction.h | 40 void ihevcd_intra_pred_mode_prediction(codec_t *ps_codec,
|
ihevcd_ref_list.h | 37 WORD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hdr);
|
ihevcd_api.c | 2450 codec_t *ps_codec; local 2976 DecStruct *ps_codec; local 3031 codec_t *ps_codec; local 3124 codec_t *ps_codec = (codec_t *)(ps_codec_obj->pv_codec_handle); local 3208 codec_t *ps_codec; local 3259 codec_t *ps_codec; local 3443 codec_t *ps_codec; local 3613 codec_t *ps_codec; local 3728 codec_t *ps_codec; local 3783 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local 3832 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local 3881 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local 4005 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local 4146 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local 4216 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local 4262 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; local [all...] |
ihevcd_parse_residual.h | 39 WORD32 ihevcd_parse_residual_coding(codec_t *ps_codec,
|
ihevcd_fmt_conv.c | 690 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec, 728 ps_disp_pic = ps_codec->ps_disp_buf; 734 pu1_luma += ps_codec->i4_strd * ps_sps->i2_pic_crop_top_offset * crop_unit_y + ps_sps->i2_pic_crop_left_offset * crop_unit_x; 737 pu1_chroma += ps_codec->i4_strd * ps_sps->i2_pic_crop_top_offset + ps_sps->i2_pic_crop_left_offset * 2; 740 is_u_first = (IV_YUV_420SP_UV == ps_codec->e_ref_chroma_fmt) ? 1 : 0; 744 if(1 == ps_codec->i4_share_disp_buf) 752 pu1_y_src = pu1_luma + cur_row * ps_codec->i4_strd; 753 pu1_uv_src = pu1_chroma + (cur_row / 2) * ps_codec->i4_strd; 756 pu2_rgb_dst_tmp += cur_row * ps_codec->i4_disp_strd; 758 pu4_rgb_dst_tmp += cur_row * ps_codec->i4_disp_strd [all...] |
ihevcd_parse_slice_header.c | 129 * @param[in] ps_codec 206 * @param[in] ps_codec 217 IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec, 229 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; 238 if(ps_codec->i4_slice_error == 1) 255 ps_pps = ps_codec->s_parse.ps_pps_base + pps_id; 258 pps_t *ps_pps_ref = ps_codec->ps_pps_base; 262 if((ps_pps_ref - ps_codec->ps_pps_base >= MAX_PPS_CNT - 1)) 265 ihevcd_copy_pps(ps_codec, pps_id, ps_pps_ref->i1_pps_id); 272 ps_sps = ps_codec->s_parse.ps_sps_base + sps_id [all...] |
ihevcd_nal.h | 68 IHEVCD_ERROR_T ihevcd_nal_unit(codec_t *ps_codec);
|
ihevcd_intra_pred_mode_prediction.c | 91 * @param[in] ps_codec 105 void ihevcd_intra_pred_mode_prediction(codec_t *ps_codec, 118 parse_ctxt_t *ps_parse = &ps_codec->s_parse; 119 parse_cu_t *ps_cu = &ps_codec->s_parse.s_cu; 145 UWORD8 *pu1_pic_intra_flag = ps_codec->s_parse.pu1_pic_intra_flag; 163 if((0 == ps_cu->i4_pos_x) && (((0 == ps_codec->s_parse.i4_ctb_slice_x) && (0 == ps_codec->s_parse.i4_ctb_slice_y)) || 164 (0 == ps_codec->s_parse.i4_ctb_tile_x))) 171 UWORD8 *pu1_pic_intra_flag = ps_codec->s_parse.pu1_pic_intra_flag; 303 ps_codec->s_func_selector.ihevc_memset_fptr(pu1_luma_intra_pred_mode_left + i * block_offset_in_min_pu, int (…) [all...] |