|
FFmpeg
|
#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.
Macros | |
| #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) |
Functions | |
| CONV_FUNC (AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8,(*(const uint8_t *) pi - 0x80U)<< 8) CONV_FUNC(AV_SAMPLE_FMT_S32 | |
| if (off==len) | |
audio conversion
Definition in file audioconvert.c.
| #define CONV_FUNC_NAME | ( | dst_fmt, | |
| src_fmt | |||
| ) | conv_ ## src_fmt ## _to_ ## dst_fmt |
Definition at line 35 of file audioconvert.c.
| #define CONV_FUNC | ( | ofmt, | |
| otype, | |||
| ifmt, | |||
| expr | |||
| ) |
Definition at line 38 of file audioconvert.c.
| #define FMT_PAIR_FUNC | ( | out, | |
| in | |||
| ) | [(out) + AV_SAMPLE_FMT_NB*(in)] = CONV_FUNC_NAME(out, in) |
| CONV_FUNC | ( | AV_SAMPLE_FMT_S16 | , |
| int16_t | , | ||
| AV_SAMPLE_FMT_U8 | , | ||
| (*(const uint8_t *) pi - 0x80U)<< | 8 | ||
| ) |
| if | ( | off | = = len | ) |
Definition at line 232 of file audioconvert.c.
| int32_t |
Definition at line 56 of file audioconvert.c.
| AV_SAMPLE_FMT_U8 |
Definition at line 56 of file audioconvert.c.
Definition at line 56 of file audioconvert.c.
Referenced by av_get_alt_sample_fmt(), av_get_packed_sample_fmt(), av_get_planar_sample_fmt(), av_samples_copy(), av_samples_fill_arrays(), av_samples_get_buffer_size(), av_samples_set_silence(), avcodec_fill_audio_frame(), avisynth_create_stream_video(), config_input(), config_output(), ff_frame_pool_audio_init(), ff_framequeue_skip_samples(), filter_frame(), flac_set_bps(), frame_copy_audio(), get_audio_buffer(), process_output(), sofalizer_convolute(), sofalizer_fast_convolute(), and update_frame_pool().
| else |
| return |
Definition at line 246 of file audioconvert.c.
1.8.17