libswresample/audioconvert.c File Reference

audio conversion More...

#include "libavutil/avstring.h"
#include "libavutil/avassert.h"
#include "libavutil/libm.h"
#include "libavutil/samplefmt.h"
#include "audioconvert.h"

Go to the source code of this file.

Data Structures

struct  AudioConvert

Defines

#define CONV_FUNC_NAME(dst_fmt, src_fmt)   conv_ ## src_fmt ## _to_ ## dst_fmt
#define CONV_FUNC(ofmt, otype, ifmt, expr)
#define FMT_PAIR_FUNC(out, in)   [out + AV_SAMPLE_FMT_NB*in] = CONV_FUNC_NAME(out, in)

Typedefs

typedef void( conv_func_type )(uint8_t *po, const uint8_t *pi, int is, int os, uint8_t *end)

Functions

 CONV_FUNC (AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_U8,*(const uint8_t *) pi) CONV_FUNC(AV_SAMPLE_FMT_S16

Variables

 int16_t
 AV_SAMPLE_FMT_U8


Detailed Description

audio conversion

Author:
Michael Niedermayer <michaelni@gmx.at>

Definition in file audioconvert.c.


Define Documentation

#define CONV_FUNC ( ofmt,
otype,
ifmt,
expr   ) 

Value:

static void CONV_FUNC_NAME(ofmt, ifmt)(uint8_t *po, const uint8_t *pi, int is, int os, uint8_t *end)\
{\
    do{\
        *(otype*)po = expr; pi += is; po += os;\
    }while(po < end);\
}

Definition at line 47 of file audioconvert.c.

#define CONV_FUNC_NAME ( dst_fmt,
src_fmt   )     conv_ ## src_fmt ## _to_ ## dst_fmt

Definition at line 44 of file audioconvert.c.

#define FMT_PAIR_FUNC ( out,
in   )     [out + AV_SAMPLE_FMT_NB*in] = CONV_FUNC_NAME(out, in)


Typedef Documentation

typedef void( conv_func_type)(uint8_t *po, const uint8_t *pi, int is, int os, uint8_t *end)

Definition at line 35 of file audioconvert.c.


Function Documentation

CONV_FUNC ( AV_SAMPLE_FMT_U8  ,
uint8_t  ,
AV_SAMPLE_FMT_U8  ,
*(const uint8_t *)  pi 
)


Variable Documentation

Definition at line 57 of file audioconvert.c.

Definition at line 57 of file audioconvert.c.

Referenced by aac_decode_frame_int(), ac3_decode_frame(), adpcm_decode_frame(), adx_decode_frame(), adx_encode_frame(), alac_decode_frame(), alac_encode_frame(), apcm_dequant_add(), ape_decode_frame(), apply_ltp(), apply_window_int16_c(), atrac3_decode_frame(), autocorr_max(), av_audio_convert(), av_cmp_i(), av_mod_i(), avcodec_copy_context(), aw_parse_coords(), binkb_get_value(), binkb_read_bundle(), bmv_aud_decode_frame(), build_huff_tree(), cavs_idct8_add_mmx(), chomp3(), chomp6(), cin_read_packet(), cinaudio_decode_frame(), clear_codec_buffers(), comp_interp_index(), comp_ppf_coeff(), compute_svector(), config(), construct_perm_table(), copy_picture_attributes(), dca_decode_frame(), dct_quantize_refine(), dct_quantize_TMPL(), decide_ac_pred(), DECLARE_ASM_CONST(), decode_audio_s16(), decode_band(), decode_block_intra(), decode_cabac_residual_internal(), decode_dc_coeffs(), decode_frame(), decode_gains(), decode_packet(), decode_plane(), decode_residual(), decode_rgb_frame(), decode_slice_thread(), decode_subframe(), decode_tag(), decode_wdlt(), decoder_init(), deinterleave(), dequant(), direct_search(), do_apply_filter(), do_init_filter(), dpcm_decode_frame(), dpcm_decode_init(), dump_int_buffer(), dvvideo_init(), encode_block(), encode_frame(), encode_mb_internal(), enqueue_packet(), exponents_from_scale_factors(), fetch_diagonal_mv(), ff_ac3_bit_alloc_calc_mask(), ff_acelp_lp_decode(), ff_acelp_reorder_lsf(), ff_alloc_picture(), ff_celp_convolve_circ(), ff_clean_intra_table_entries(), ff_er_frame_end(), ff_fdct_mmx(), ff_fdct_mmx2(), ff_fdct_sse2(), ff_g729_postfilter(), ff_h263_decode_mb(), ff_h263_encode_mb(), ff_h263_pred_acdc(), ff_h263_pred_dc(), ff_h263_pred_motion(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_idct8_add_altivec(), ff_iir_filter(), ff_ivi_dc_col_slant(), ff_ivi_dc_haar_2d(), ff_ivi_dc_row_slant(), ff_ivi_dc_slant_2d(), ff_ivi_decode_blocks(), ff_ivi_init_planes(), ff_ivi_output_plane(), ff_mpeg4_clean_buffers(), ff_mpeg4_pred_dc(), ff_prores_idct_put_10_sse2_wrap(), ff_simple_idct_vis(), ff_yuv2rgb_c_init_tables(), ff_yuv2rgb_init_vis(), ffm_read_header(), fill_decode_caches(), fill_filter_caches_inter(), filter(), filter_mb_dir(), filter_samples(), filter_samples_panning(), flac_decode_frame(), flac_encode_frame(), float_to_int16_interleave_altivec(), formant_postfilter(), frandom(), g722_decode_frame(), g723_1_decode_frame(), g723_1_decode_init(), g729d_get_new_exc(), gen_acb_excitation(), gen_dirac_train(), gen_fcb_excitation(), get(), get_audio_frame(), get_value(), gsm_decode_block(), gsm_decode_frame(), guess_dc(), h264_filter_mb_fast_internal(), h_block_filter(), hyscale(), idct(), init_duplicate_context(), init_sample_buffers(), initFilter(), interlaced_search(), interleave(), inverse_channel_transform(), inverse_quant(), ivi_process_empty_tile(), libcelt_dec_decode(), libcelt_dec_init(), libgsm_decode_frame(), libspeex_decode_frame(), long_term_filter(), long_term_synth(), lsf2lsp_3(), lsf2lsp_5(), lsf2lsp_for_mode12k2(), lsf_decode(), lsf_restore_from_previous(), lsp_interpolate(), mace_decode_frame(), main(), matroska_parse_block(), mc_block(), mjpeg_decode_scan_progressive_ac(), mov_read_dref(), mp_decode_layer3(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), mpeg4_pred_ac(), MPV_common_init(), MPV_motion_internal(), msmpeg4_decode_dc(), msmpeg4_encode_dc(), msmpeg4_pred_dc(), oma_read_header(), output_data(), pcm_bluray_decode_frame(), pcm_encode_frame(), pred_16x8_motion(), pred_8x16_motion(), pred_motion(), pred_mv(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), preview_obmc(), qdm2_decode_frame(), qsort_comparison_function_int16(), ra144_decode_frame(), ra144_encode_frame(), ra144_encode_subblock(), read_dcs(), read_table(), residual_interp(), restore_ac_coeffs(), rtp_parse_one_packet(), rv34_set_deblock_coef(), sbr_make_f_master(), sbr_make_f_tablelim(), scalarproduct(), scale_vector(), sdl_audio_callback(), select_delta_tables(), set(), shorten_decode_frame(), smka_decode_frame(), store_slice_mmx(), svq1_encode_init(), svq1_encode_plane(), svq3_decode_mb(), swri_multiple_resample(), swri_rematrix(), sws_init_context(), swScale(), transcode_audio(), truespeech_apply_twopoint_filter(), truespeech_correlate_filter(), truespeech_decode_frame(), truespeech_place_pulses(), truespeech_synth(), tta_decode_frame(), unpack_vlcs(), update_md5_sum(), v_block_filter(), vc1_apply_p_h_loop_filter(), vc1_apply_p_v_loop_filter(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_intra_block(), vc1_i_pred_dc(), vc1_pred_b_mv(), vc1_pred_dc(), vc1_pred_mv(), video_audio_display(), vmdaudio_decode_frame(), vorbis_decode_frame(), vorbis_parse_setup_hdr_floors(), vp3_dequant(), wavesynth_decode(), wavpack_decode_block(), wma_decode_superframe(), wmv2_pred_motion(), write_back_motion_list(), wv_unpack_mono(), wv_unpack_stereo(), yuv2422_1_c_template(), yuv2422_2_c_template(), yuv2bgr24_1_TMPL(), yuv2bgr24_2_TMPL(), yuv2mono_2_c_template(), yuv2rgb32_1_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb555_1_TMPL(), yuv2rgb555_2_TMPL(), yuv2rgb565_1_TMPL(), yuv2rgb565_2_TMPL(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2yuyv422_1_TMPL(), and yuv2yuyv422_2_TMPL().


Generated on Fri Oct 26 02:46:07 2012 for FFmpeg by  doxygen 1.5.8