/external/libhevc/decoder/ |
D | ihevcd_bitstream.c | 105 void ihevcd_bits_init(bitstrm_t *ps_bitstrm, in ihevcd_bits_init() 155 void ihevcd_bits_flush(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits) in ihevcd_bits_flush() 187 void ihevcd_bits_flush_to_byte_boundary(bitstrm_t *ps_bitstrm) in ihevcd_bits_flush_to_byte_boundary() 227 void ihevcd_bits_seek(bitstrm_t *ps_bitstrm, WORD32 numbits) in ihevcd_bits_seek() 298 UWORD32 ihevcd_bits_nxt(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits) in ihevcd_bits_nxt() 334 UWORD32 ihevcd_bits_nxt32(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits) in ihevcd_bits_nxt32() 370 UWORD32 ihevcd_bits_get(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits) in ihevcd_bits_get() 405 UWORD32 ihevcd_bits_num_bits_remaining(bitstrm_t *ps_bitstrm) in ihevcd_bits_num_bits_remaining() 450 UWORD32 ihevcd_bits_num_bits_consumed(bitstrm_t *ps_bitstrm) in ihevcd_bits_num_bits_consumed() 483 UWORD32 ihevcd_uev(bitstrm_t *ps_bitstrm) in ihevcd_uev() [all …]
|
D | ihevcd_cabac.h | 59 #define IHEVCD_CABAC_DECODE_BIN(u4_bin, ps_cabac, ps_bitstrm, ctxt_index) \ argument 117 #define IHEVCD_CABAC_DECODE_BIN(u4_bin, ps_cabac, ps_bitstrm, ctxt_index) \ argument 122 #define IHEVCD_CABAC_DECODE_BYPASS_BIN(u4_bin, ps_cabac, ps_bitstrm) \ argument 151 #define IHEVCD_CABAC_DECODE_BYPASS_BIN(u4_bin, ps_cabac, ps_bitstrm) \ argument 156 #define IHEVCD_CABAC_DECODE_BYPASS_BINS(u4_bins, ps_cabac, ps_bitstrm, numbins) \ argument 197 #define IHEVCD_CABAC_DECODE_BYPASS_BINS(u4_bins, ps_cabac, ps_bitstrm, numbins) \ argument
|
D | ihevcd_cabac.c | 133 bitstrm_t *ps_bitstrm, in ihevcd_cabac_init() 179 bitstrm_t *ps_bitstrm) in ihevcd_cabac_reset() 230 bitstrm_t *ps_bitstrm, in ihevcd_cabac_decode_bin() 325 bitstrm_t *ps_bitstrm) in ihevcd_cabac_decode_bypass_bin() 375 bitstrm_t *ps_bitstrm) in ihevcd_cabac_decode_terminate() 469 bitstrm_t *ps_bitstrm, in ihevcd_cabac_decode_bypass_bins() 551 bitstrm_t *ps_bitstrm, in ihevcd_cabac_decode_bins_tunary() 604 bitstrm_t *ps_bitstrm, in ihevcd_cabac_decode_bypass_bins_tunary() 667 bitstrm_t *ps_bitstrm, in ihevcd_cabac_decode_bypass_bins_egk() 728 bitstrm_t *ps_bitstrm, in ihevcd_cabac_decode_bypass_bins_trunc_rice()
|
D | ihevcd_parse_headers.c | 148 WORD32 ihevcd_parse_pred_wt_ofst(bitstrm_t *ps_bitstrm, in ihevcd_parse_pred_wt_ofst() 412 IHEVCD_ERROR_T ihevcd_short_term_ref_pic_set(bitstrm_t *ps_bitstrm, in ihevcd_short_term_ref_pic_set() 619 static WORD32 ihevcd_parse_sub_layer_hrd_parameters(bitstrm_t *ps_bitstrm, in ihevcd_parse_sub_layer_hrd_parameters() 659 static WORD32 ihevcd_parse_hrd_parameters(bitstrm_t *ps_bitstrm, in ihevcd_parse_hrd_parameters() 764 static WORD32 ihevcd_parse_vui_parameters(bitstrm_t *ps_bitstrm, in ihevcd_parse_vui_parameters() 1013 static IHEVCD_ERROR_T ihevcd_parse_profile_tier_level_layer(bitstrm_t *ps_bitstrm, in ihevcd_parse_profile_tier_level_layer() 1086 static IHEVCD_ERROR_T ihevcd_profile_tier_level(bitstrm_t *ps_bitstrm, in ihevcd_profile_tier_level() 1174 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_scaling_list_data() local 1325 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_vps() local 1449 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_sps() local [all …]
|
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() 140 WORD32 ihevcd_ref_pic_list_modification(bitstrm_t *ps_bitstrm, in ihevcd_ref_pic_list_modification() 230 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_slice_header() local
|
/external/libavc/encoder/ |
D | ih264e_bitstream.c | 95 IH264E_ERROR_T ih264e_bitstrm_init(bitstrm_t *ps_bitstrm, in ih264e_bitstrm_init() 140 IH264E_ERROR_T ih264e_put_bits(bitstrm_t *ps_bitstrm, in ih264e_put_bits() 235 IH264E_ERROR_T ih264e_put_bit(bitstrm_t *ps_bitstrm, UWORD32 u4_code_val) in ih264e_put_bit() 259 IH264E_ERROR_T ih264e_put_rbsp_trailing_bits(bitstrm_t *ps_bitstrm) in ih264e_put_rbsp_trailing_bits() 310 IH264E_ERROR_T ih264e_put_uev(bitstrm_t *ps_bitstrm, UWORD32 u4_code_num) in ih264e_put_uev() 347 IH264E_ERROR_T ih264e_put_sev(bitstrm_t *ps_bitstrm, WORD32 syntax_elem) in ih264e_put_sev() 400 IH264E_ERROR_T ih264e_put_nal_start_code_prefix(bitstrm_t *ps_bitstrm, in ih264e_put_nal_start_code_prefix()
|
D | ih264e_sei.c | 106 bitstrm_t *ps_bitstrm) in ih264e_put_sei_mdcv_params() 179 bitstrm_t *ps_bitstrm) in ih264e_put_sei_cll_params() 224 bitstrm_t *ps_bitstrm) in ih264e_put_sei_ave_params() 272 bitstrm_t *ps_bitstrm) in ih264e_put_sei_ccv_params() 396 bitstrm_t *ps_bitstrm) in ih264e_put_sei_msg()
|
D | ih264e_encode_header.c | 123 static WORD32 ih264e_generate_nal_unit_header(bitstrm_t *ps_bitstrm, in ih264e_generate_nal_unit_header() 160 WORD32 ih264e_generate_vui(bitstrm_t *ps_bitstrm, vui_t *ps_vui) in ih264e_generate_vui() 440 WORD32 ih264e_generate_sps(bitstrm_t *ps_bitstrm, sps_t *ps_sps, vui_t *ps_vui) in ih264e_generate_sps() 619 WORD32 ih264e_generate_pps(bitstrm_t *ps_bitstrm, pps_t *ps_pps, sps_t *ps_sps) in ih264e_generate_pps() 724 IH264E_ERROR_T ih264e_generate_sei(bitstrm_t *ps_bitstrm, sei_params_t *ps_sei, in ih264e_generate_sei() 825 WORD32 ih264e_generate_slice_header(bitstrm_t *ps_bitstrm, in ih264e_generate_slice_header() 1613 IH264E_ERROR_T ih264e_add_filler_nal_unit(bitstrm_t *ps_bitstrm, in ih264e_add_filler_nal_unit()
|
D | ih264e_encode_header.h | 52 #define PUT_BITS(ps_bitstrm, code_val, code_len, ret_val, syntax_string) \ argument 69 #define PUT_BITS_UEV(ps_bitstrm, code_val, ret_val, syntax_string) \ argument 85 #define PUT_BITS_SEV(ps_bitstrm, code_val, ret_val, syntax_string) \ argument
|
D | ih264e_bitstream.h | 149 #define BYTE_ALIGNMENT(ps_bitstrm) ih264e_put_rbsp_trailing_bits(ps_bitstrm) argument 167 #define BITSTREAM_BYTE_ALIGN(ps_bitstrm) \ argument 232 static inline IH264E_ERROR_T ih264e_put_byte_epb(bitstrm_t *ps_bitstrm, UWORD8 byte) in ih264e_put_byte_epb() 260 #define BITSTREAM_FLUSH(ps_bitstrm, err) \ argument
|
/external/libhevc/encoder/ |
D | ihevce_bitstream.c | 89 ihevce_bitstrm_init(bitstrm_t *ps_bitstrm, UWORD8 *pu1_bitstrm_buf, UWORD32 u4_max_bitstrm_size) in ihevce_bitstrm_init() 132 IHEVCE_ERROR_T ihevce_put_bits(bitstrm_t *ps_bitstrm, UWORD32 u4_code_val, WORD32 code_len) in ihevce_put_bits() 241 IHEVCE_ERROR_T ihevce_put_bit(bitstrm_t *ps_bitstrm, UWORD32 u4_code_val) in ihevce_put_bit() 265 IHEVCE_ERROR_T ihevce_put_rbsp_trailing_bits(bitstrm_t *ps_bitstrm) in ihevce_put_rbsp_trailing_bits() 333 IHEVCE_ERROR_T ihevce_put_uev(bitstrm_t *ps_bitstrm, UWORD32 u4_code_num) in ihevce_put_uev() 370 IHEVCE_ERROR_T ihevce_put_sev(bitstrm_t *ps_bitstrm, WORD32 syntax_elem) in ihevce_put_sev() 424 ihevce_put_nal_start_code_prefix(bitstrm_t *ps_bitstrm, WORD32 insert_leading_zero_8bits) in ihevce_put_nal_start_code_prefix()
|
D | ihevce_encode_header.h | 48 #define PUT_BITS(ps_bitstrm, code_val, code_len, ret_val) \ argument 58 #define PUT_BITS_UEV(ps_bitstrm, code_val, ret_val) \ argument 68 #define PUT_BITS_SEV(ps_bitstrm, code_val, ret_val) \ argument
|
D | ihevce_encode_header.c | 145 bitstrm_t *ps_bitstrm, WORD32 nal_unit_type, WORD32 nuh_temporal_id) in ihevce_generate_nal_unit_header() 189 ihevce_generate_when_profile_present(bitstrm_t *ps_bitstrm, profile_tier_lvl_t *ps_ptl) in ihevce_generate_when_profile_present() 314 bitstrm_t *ps_bitstrm, in ihevce_generate_profile_tier_level() 400 bitstrm_t *ps_bitstrm, in ihevce_short_term_ref_pic_set() 486 bitstrm_t *ps_bitstrm, slice_header_t *ps_slice_hdr, WORD32 i4_NumPocTotalCurr) in ref_pic_list_modification() 561 bitstrm_t *ps_bitstrm, sps_t *ps_sps, pps_t *ps_pps, slice_header_t *ps_slice_hdr) in ihevce_generate_pred_weight_table() 763 WORD32 ihevce_generate_aud(bitstrm_t *ps_bitstrm, WORD32 pic_type) in ihevce_generate_aud() 797 WORD32 ihevce_generate_eos(bitstrm_t *ps_bitstrm) in ihevce_generate_eos() 830 WORD32 ihevce_generate_vps(bitstrm_t *ps_bitstrm, vps_t *ps_vps) in ihevce_generate_vps() 933 WORD32 ihevce_generate_sps(bitstrm_t *ps_bitstrm, sps_t *ps_sps) in ihevce_generate_sps() [all …]
|
D | ihevce_encode_header_sei_vui.c | 141 bitstrm_t *ps_bitstrm, in ihevce_generate_sub_layer_hrd_params() 204 WORD32 ihevce_generate_hrd_params(bitstrm_t *ps_bitstrm, hrd_params_t *ps_hrd_params, sps_t *ps_sps) in ihevce_generate_hrd_params() 396 WORD32 ihevce_generate_vui(bitstrm_t *ps_bitstrm, sps_t *ps_sps, vui_t s_vui) in ihevce_generate_vui() 620 buf_period_sei_params_t *ps_bp_sei, vui_t *ps_vui_params, bitstrm_t *ps_bitstrm) in ihevce_put_buf_period_sei_params() 856 active_parameter_set_sei_param_t *ps_act_sei, bitstrm_t *ps_bitstrm) in ihevce_put_active_parameter_set_sei_params() 923 mastering_dis_col_vol_sei_params_t *ps_mdcl_sei, bitstrm_t *ps_bitstrm) in ihevce_put_mastering_disp_col_vol_sei_params() 1012 UWORD32 u4_sei_payload_length, UWORD8 *pu1_sei_payload, bitstrm_t *ps_bitstrm) in ihevce_put_sei_params() 1055 WORD32 ihevce_put_cll_info_sei_params(UWORD16 u2_avg_cll, UWORD16 u2_max_cll, bitstrm_t *ps_bitstrm) in ihevce_put_cll_info_sei_params() 1095 recovery_point_sei_params_t *ps_rp_sei, bitstrm_t *ps_bitstrm) in ihevce_put_recovery_point_sei_params() 1167 pic_timing_sei_params_t *ps_pt_sei, vui_t *ps_vui_params, bitstrm_t *ps_bitstrm) in ihevce_put_pic_timing_sei_params() [all …]
|
/external/libavc/decoder/ |
D | ih264d_bitstrm.c | 90 UWORD32 ih264d_get_bits_h264(dec_bit_stream_t *ps_bitstrm, UWORD32 u4_num_bits) in ih264d_get_bits_h264() 115 UWORD32 ih264d_next_bits_h264(dec_bit_stream_t *ps_bitstrm, UWORD32 u4_num_bits) in ih264d_next_bits_h264() 150 WORD32 ih264d_flush_bits_h264(dec_bit_stream_t *ps_bitstrm, WORD32 u4_num_bits) in ih264d_flush_bits_h264() 175 UWORD8 ih264d_check_byte_aligned(dec_bit_stream_t * ps_bitstrm) in ih264d_check_byte_aligned()
|
D | ih264d_sei.c | 72 dec_bit_stream_t *ps_bitstrm, in ih264d_parse_buffering_period() 148 WORD32 ih264d_parse_pic_timing(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_pic_timing() 232 WORD32 ih264d_parse_recovery_point(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_recovery_point() 273 WORD32 ih264d_parse_mdcv(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_mdcv() 399 WORD32 ih264d_parse_cll(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_cll() 446 WORD32 ih264d_parse_ave(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_ave() 507 WORD32 ih264d_parse_ccv(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_ccv() 668 WORD32 ih264d_parse_sei_payload(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_sei_payload() 752 dec_bit_stream_t *ps_bitstrm) in ih264d_parse_sei_message()
|
D | ih264d_cabac.c | 63 dec_bit_stream_t *ps_bitstrm) in ih264d_init_cabac_dec_envirnoment() 234 dec_bit_stream_t *ps_bitstrm, in ih264d_decode_bin() 391 dec_bit_stream_t *ps_bitstrm, in ih264d_decode_bins_tunary() 462 dec_bit_stream_t *ps_bitstrm, in ih264d_decode_bins() 531 dec_bit_stream_t *ps_bitstrm, in ih264d_decode_bins_unary() 621 dec_bit_stream_t *ps_bitstrm) in ih264d_decode_bypass_bins_unary() 715 dec_bit_stream_t *ps_bitstrm) in ih264d_decode_bypass_bins()
|
D | ih264d_parse_mb_header.c | 72 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_mb_type_intra_cabac() local 158 dec_bit_stream_t *ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_mb_type_cabac() local 370 dec_bit_stream_t * ps_bitstrm, in ih264d_parse_submb_type_cabac() 471 dec_bit_stream_t * const ps_bitstrm, in ih264d_parse_ref_idx_cabac() 538 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_mb_qp_delta_cabac() local 590 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_chroma_pred_mode_cabac() local 637 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_transform8x8flag_cabac() local 697 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_read_intra_pred_modes_cabac() local 794 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_ctx_cbp_cabac() local 1137 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_get_mvd_cabac() local [all …]
|
D | ih264d_parse_headers.c | 165 dec_bit_stream_t * ps_bitstrm) in ih264d_parse_slice_partition() 195 WORD32 ih264d_parse_sei(dec_struct_t * ps_dec, dec_bit_stream_t * ps_bitstrm) in ih264d_parse_sei() 225 dec_bit_stream_t * ps_bitstrm) in ih264d_parse_filler_data() 270 WORD32 ih264d_parse_pps(dec_struct_t * ps_dec, dec_bit_stream_t * ps_bitstrm) in ih264d_parse_pps() 570 WORD32 ih264d_parse_sps(dec_struct_t *ps_dec, dec_bit_stream_t *ps_bitstrm) in ih264d_parse_sps() 1223 dec_bit_stream_t *ps_bitstrm; in ih264d_parse_nal_unit() local
|
D | ih264d_vui.c | 69 dec_bit_stream_t *ps_bitstrm) in ih264d_parse_hrd_parametres() 126 dec_bit_stream_t *ps_bitstrm) in ih264d_parse_vui_parametres()
|
D | ih264d_bitstrm.h | 92 #define EXCEED_OFFSET(ps_bitstrm) \ argument 94 #define CHECK_BITS_SUFFICIENT(ps_bitstrm, bits_to_read) \ argument 96 #define MORE_RBSP_DATA(ps_bitstrm) \ argument
|
D | ih264d_parse_cabac.c | 64 UWORD8 ih264d_read_coeff4x4_cabac(dec_bit_stream_t *ps_bitstrm, in ih264d_read_coeff4x4_cabac() 582 void ih264d_read_coeff8x8_cabac(dec_bit_stream_t *ps_bitstrm, in ih264d_read_coeff8x8_cabac() 1077 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_cabac_parse_8x8block() local 1174 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_residual4x4_cabac() local 1335 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_residual4x4_cabac() local 1364 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_residual4x4_cabac() local 1392 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_residual4x4_cabac() local 1420 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_residual4x4_cabac() local
|
D | ih264d_parse_cavlc.c | 205 WORD32 ih264d_uvlc(dec_bit_stream_t *ps_bitstrm, in ih264d_uvlc() 304 dec_bit_stream_t *ps_bitstrm) in ih264d_cavlc_4x4res_block_totalcoeff_1() 438 dec_bit_stream_t *ps_bitstrm) in ih264d_cavlc_4x4res_block_totalcoeff_2to10() 726 dec_bit_stream_t *ps_bitstrm ) in ih264d_cavlc_4x4res_block_totalcoeff_11to16() 1006 dec_bit_stream_t *ps_bitstrm) in ih264d_rest_of_residual_cav_chroma_dc_block() 1239 dec_bit_stream_t *ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_cavlc_parse4x4coeff_n0to7() local 1290 dec_bit_stream_t *ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_cavlc_parse4x4coeff_n8() local 1335 dec_bit_stream_t *ps_bitstrm, in ih264d_cavlc_parse_chroma_dc() 1492 … dec_bit_stream_t *ps_bitstrm, /* Pointer to bitstream Structure. */ in ih264d_parse_pmb_ref_index_cavlc_range1() 1536 … dec_bit_stream_t *ps_bitstrm, /* Pointer to bitstream Structure. */ in ih264d_parse_pmb_ref_index_cavlc() [all …]
|
D | ih264d_parse_islice.c | 102 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_imb_cavlc() local 492 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_imb_cabac() local 762 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_islice_data_cavlc() local 986 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_islice_data_cabac() local 1204 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_ipcm_mb() local
|
D | ih264d_nal.c | 192 WORD32 ih264d_process_nal_unit(dec_bit_stream_t *ps_bitstrm, in ih264d_process_nal_unit() 367 void ih264d_rbsp_to_sodb(dec_bit_stream_t *ps_bitstrm) in ih264d_rbsp_to_sodb()
|