/external/libhevc/decoder/ |
D | ihevcd_job_queue.c | 99 IHEVCD_ERROR_T ihevcd_jobq_lock(jobq_t *ps_jobq) in ihevcd_jobq_lock() 105 return (IHEVCD_ERROR_T)IHEVCD_FAIL; in ihevcd_jobq_lock() 107 return (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_jobq_lock() 129 IHEVCD_ERROR_T ihevcd_jobq_unlock(jobq_t *ps_jobq) in ihevcd_jobq_unlock() 135 return (IHEVCD_ERROR_T)IHEVCD_FAIL; in ihevcd_jobq_unlock() 137 return (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_jobq_unlock() 162 IHEVCD_ERROR_T ihevcd_jobq_yield(jobq_t *ps_jobq) in ihevcd_jobq_yield() 165 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_jobq_yield() 167 IHEVCD_ERROR_T rettmp; in ihevcd_jobq_yield() 169 RETURN_IF((rettmp != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), rettmp); in ihevcd_jobq_yield() [all …]
|
D | ihevcd_parse_headers.h | 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_sei(codec_t *ps_codec, nal_header_t *ps_nal); 46 IHEVCD_ERROR_T ihevcd_parse_pic_timing_sei(codec_t *ps_codec, sps_t *ps_sps); 47 IHEVCD_ERROR_T ihevcd_parse_buffering_period_sei(codec_t *ps_codec, sps_t *ps_sps); 48 IHEVCD_ERROR_T ihevcd_parse_time_code_sei(codec_t *ps_codec); 49 IHEVCD_ERROR_T ihevcd_parse_user_data_registered_itu_t_t35(codec_t *ps_codec, UWORD32 u4_payload_si… 50 IHEVCD_ERROR_T ihevcd_parse_active_parameter_sets_sei(codec_t *ps_codec, sps_t *ps_sps); 51 IHEVCD_ERROR_T ihevcd_read_rbsp_trailing_bits(codec_t *ps_codec, UWORD32 u4_bits_left); [all …]
|
D | ihevcd_nal.c | 181 IHEVCD_ERROR_T ihevcd_nal_remv_emuln_bytes(UWORD8 *pu1_src, in ihevcd_nal_remv_emuln_bytes() 192 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_nal_remv_emuln_bytes() 289 IHEVCD_ERROR_T ihevcd_nal_unit_header(bitstrm_t *ps_bitstrm, nal_header_t *ps_nal) in ihevcd_nal_unit_header() 292 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_nal_unit_header() 331 IHEVCD_ERROR_T ihevcd_nal_unit(codec_t *ps_codec) in ihevcd_nal_unit() 333 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_nal_unit() 339 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_nal_unit() 401 if(ret == (IHEVCD_ERROR_T)IHEVCD_SUCCESS) in ihevcd_nal_unit() 425 if(ret == (IHEVCD_ERROR_T)IHEVCD_SUCCESS) in ihevcd_nal_unit() 445 if(ret == (IHEVCD_ERROR_T)IHEVCD_SUCCESS) in ihevcd_nal_unit()
|
D | ihevcd_job_queue.h | 63 IHEVCD_ERROR_T ihevcd_jobq_free(jobq_t *ps_jobq); 64 IHEVCD_ERROR_T ihevcd_jobq_reset(jobq_t *ps_jobq); 65 IHEVCD_ERROR_T ihevcd_jobq_deinit(jobq_t *ps_jobq); 66 IHEVCD_ERROR_T ihevcd_jobq_terminate(jobq_t *ps_jobq); 67 IHEVCD_ERROR_T ihevcd_jobq_queue(jobq_t *ps_jobq, void *pv_job, WORD32 job_size, WORD32 blocking); 68 IHEVCD_ERROR_T ihevcd_jobq_dequeue(jobq_t *ps_jobq, void *pv_job, WORD32 job_size, WORD32 blocking);
|
D | ihevcd_parse_headers.c | 151 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_pred_wt_ofst() 354 IHEVCD_ERROR_T ihevcd_short_term_ref_pic_set(bitstrm_t *ps_bitstrm, in ihevcd_short_term_ref_pic_set() 360 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_short_term_ref_pic_set() 548 WORD32 ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_sub_layer_hrd_parameters() 573 WORD32 ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_hrd_parameters() 670 WORD32 ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_vui_parameters() 826 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_vui_parameters() 882 static IHEVCD_ERROR_T ihevcd_parse_profile_tier_level_layer(bitstrm_t *ps_bitstrm, in ihevcd_parse_profile_tier_level_layer() 887 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_profile_tier_level_layer() 955 static IHEVCD_ERROR_T ihevcd_profile_tier_level(bitstrm_t *ps_bitstrm, in ihevcd_profile_tier_level() [all …]
|
D | ihevcd_utils.c | 349 IHEVCD_ERROR_T ihevcd_get_tile_pos(pps_t *ps_pps, in ihevcd_get_tile_pos() 368 return (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_get_tile_pos() 429 return (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_get_tile_pos() 453 IHEVCD_ERROR_T ihevcd_pic_buf_mgr_add_bufs(codec_t *ps_codec) in ihevcd_pic_buf_mgr_add_bufs() 455 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_pic_buf_mgr_add_bufs() 616 IHEVCD_ERROR_T ihevcd_mv_buf_mgr_add_bufs(codec_t *ps_codec) in ihevcd_mv_buf_mgr_add_bufs() 618 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_mv_buf_mgr_add_bufs() 721 IHEVCD_ERROR_T ihevcd_check_out_buf_size(codec_t *ps_codec) in ihevcd_check_out_buf_size() 736 return (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_check_out_buf_size() 788 return (IHEVCD_ERROR_T)IV_FAIL; in ihevcd_check_out_buf_size() [all …]
|
D | ihevcd_parse_slice.c | 125 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_transform_tree() 221 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree() 225 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree() 229 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree() 233 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree() 434 IHEVCD_ERROR_T ihevcd_parse_mvd(codec_t *ps_codec, mv_t *ps_mv) in ihevcd_parse_mvd() 436 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_mvd() 537 IHEVCD_ERROR_T ihevcd_parse_pcm_sample(codec_t *ps_codec, in ihevcd_parse_pcm_sample() 542 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_pcm_sample() 637 IHEVCD_ERROR_T ihevcd_parse_pu_mvp(codec_t *ps_codec, pu_t *ps_pu) in ihevcd_parse_pu_mvp() [all …]
|
D | 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);
|
D | ihevcd_nal.h | 62 IHEVCD_ERROR_T ihevcd_nal_remv_emuln_bytes(UWORD8 *pu1_src, 68 IHEVCD_ERROR_T ihevcd_nal_unit(codec_t *ps_codec);
|
D | ihevcd_utils.h | 46 IHEVCD_ERROR_T ihevcd_get_tile_pos(pps_t *ps_pps, 53 IHEVCD_ERROR_T ihevcd_parse_pic_init(codec_t *ps_codec);
|
D | ihevcd_decode.c | 85 IHEVCD_ERROR_T ihevcd_check_out_buf_size(codec_t *ps_codec); 86 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec, 125 static UWORD32 ihevcd_map_error(IHEVCD_ERROR_T e_error) in ihevcd_map_error() 188 ps_dec_op->u4_error_code = ihevcd_map_error((IHEVCD_ERROR_T)ps_codec->i4_error_code); in ihevcd_fill_outargs() 514 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_decode() 770 IHEVCD_ERROR_T ret; in ihevcd_decode() 779 if(ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS) in ihevcd_decode() 789 IHEVCD_ERROR_T ret; in ihevcd_decode() 798 if((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret) in ihevcd_decode()
|
D | ihevcd_cabac.c | 132 IHEVCD_ERROR_T ihevcd_cabac_init(cab_ctxt_t *ps_cabac, in ihevcd_cabac_init() 172 return ((IHEVCD_ERROR_T)IHEVCD_FAIL); in ihevcd_cabac_init() 175 return ((IHEVCD_ERROR_T)IHEVCD_SUCCESS); in ihevcd_cabac_init() 178 IHEVCD_ERROR_T ihevcd_cabac_reset(cab_ctxt_t *ps_cabac, in ihevcd_cabac_reset() 201 return ((IHEVCD_ERROR_T)IHEVCD_SUCCESS); in ihevcd_cabac_reset()
|
D | ihevcd_cabac.h | 210 IHEVCD_ERROR_T ihevcd_cabac_init 281 IHEVCD_ERROR_T ihevcd_cabac_flush(cab_ctxt_t *ps_cabac); 283 IHEVCD_ERROR_T ihevcd_cabac_reset(cab_ctxt_t *ps_cabac,
|
D | ihevcd_process_slice.h | 40 IHEVCD_ERROR_T ihevcd_process(process_ctxt_t *ps_proc);
|
D | ihevcd_parse_slice_header.c | 101 IHEVCD_ERROR_T ihevcd_operation_point_set(vps_t *ps_vps, bitstrm_t *ps_bitstrm, WORD32 ops_idx) in ihevcd_operation_point_set() 106 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_operation_point_set() 217 IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec, in ihevcd_parse_slice_header() 220 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_slice_header()
|
D | ihevcd_error.h | 131 }IHEVCD_ERROR_T; typedef
|
D | ihevcd_parse_slice_header.h | 38 IHEVCD_ERROR_T ihevcd_short_term_ref_pic_set(bitstrm_t *ps_bitstrm,
|
D | ihevcd_fmt_conv.c | 690 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec, in ihevcd_fmt_conv() 698 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_fmt_conv()
|
D | ihevcd_parse_residual.c | 186 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_parse_residual_coding()
|
D | ihevcd_process_slice.c | 92 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec, 518 IHEVCD_ERROR_T ihevcd_process(process_ctxt_t *ps_proc) in ihevcd_process() 520 IHEVCD_ERROR_T ret = (IHEVCD_ERROR_T)IHEVCD_SUCCESS; in ihevcd_process() 1595 IHEVCD_ERROR_T ret; in ihevcd_process_thread() 1600 if((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret) in ihevcd_process_thread()
|