FFmpeg
|
#include <stdint.h>
#include "config.h"
#include "libavutil/common.h"
#include "libavutil/libm.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/samplefmt.h"
#include "audio_convert.h"
#include "audio_data.h"
#include "dither.h"
Go to the source code of this file.
Data Structures | |
struct | AudioConvert |
Macros | |
#define | CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt |
#define | CONV_LOOP(otype, expr) |
#define | CONV_FUNC_FLAT(ofmt, otype, ifmt, itype, expr) |
#define | CONV_FUNC_INTERLEAVE(ofmt, otype, ifmt, itype, expr) |
#define | CONV_FUNC_DEINTERLEAVE(ofmt, otype, ifmt, itype, expr) |
#define | CONV_FUNC_GROUP(ofmt, otype, ifmt, itype, expr) |
#define | SET_CONV_FUNC_GROUP(ofmt, ifmt) |
Typedefs | |
typedef void( | conv_func_flat )(uint8_t *out, const uint8_t *in, int len) |
typedef void( | conv_func_interleave )(uint8_t *out, uint8_t *const *in, int len, int channels) |
typedef void( | conv_func_deinterleave )(uint8_t **out, const uint8_t *in, int len, int channels) |
Enumerations | |
enum | ConvFuncType { CONV_FUNC_TYPE_FLAT, CONV_FUNC_TYPE_INTERLEAVE, CONV_FUNC_TYPE_DEINTERLEAVE } |
Functions | |
void | ff_audio_convert_set_func (AudioConvert *ac, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt, int channels, int ptr_align, int samples_align, const char *descr, void *conv) |
Set conversion function if the parameters match. More... | |
CONV_FUNC_GROUP (AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8, uint8_t,(*(const uint8_t *) pi-0x80)<< 8) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32 | |
if (ac->has_optimized_func) | |
av_log (ac->avr, AV_LOG_TRACE,"%d samples - audio_convert: %s to %s (%s)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt), use_generic?ac->func_descr_generic:ac->func_descr) | |
Variables | |
int32_t | |
AV_SAMPLE_FMT_U8 | |
uint8_t | |
uint8_t pi << 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> | dc |
uint8_t pi << 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> | out |
uint8_t pi << 24) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32, int32_t,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31))))#defineSET_CONV_FUNC_GROUP(ofmt, ifmt) staticvoidset_generic_function(AudioConvert *ac){}voidff_audio_convert_free(AudioConvert **ac){if(!*ac) return;ff_dither_free(&(*ac) ->dc);av_freep(ac);}AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, intsample_rate, intapply_map){AudioConvert *ac;intin_planar, out_planar;ac=av_mallocz(sizeof(*ac));if(!ac) returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE &&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16 &&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt, channels);out_planar=ff_sample_fmt_is_planar(out_fmt, channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar) ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64) ff_audio_convert_init_aarch64(ac);if(ARCH_ARM) ff_audio_convert_init_arm(ac);if(ARCH_X86) ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert *ac, AudioData *out, AudioData *in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr, AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> | in |
else | |
return | |
#define CONV_FUNC_NAME | ( | dst_fmt, | |
src_fmt | |||
) | conv_ ## src_fmt ## _to_ ## dst_fmt |
Definition at line 134 of file audio_convert.c.
#define CONV_LOOP | ( | otype, | |
expr | |||
) |
Definition at line 136 of file audio_convert.c.
#define CONV_FUNC_FLAT | ( | ofmt, | |
otype, | |||
ifmt, | |||
itype, | |||
expr | |||
) |
Definition at line 143 of file audio_convert.c.
#define CONV_FUNC_INTERLEAVE | ( | ofmt, | |
otype, | |||
ifmt, | |||
itype, | |||
expr | |||
) |
Definition at line 155 of file audio_convert.c.
#define CONV_FUNC_DEINTERLEAVE | ( | ofmt, | |
otype, | |||
ifmt, | |||
itype, | |||
expr | |||
) |
Definition at line 171 of file audio_convert.c.
#define CONV_FUNC_GROUP | ( | ofmt, | |
otype, | |||
ifmt, | |||
itype, | |||
expr | |||
) |
Definition at line 187 of file audio_convert.c.
#define SET_CONV_FUNC_GROUP | ( | ofmt, | |
ifmt | |||
) |
Definition at line 40 of file audio_convert.c.
Definition at line 42 of file audio_convert.c.
Definition at line 45 of file audio_convert.c.
enum ConvFuncType |
Enumerator | |
---|---|
CONV_FUNC_TYPE_FLAT | |
CONV_FUNC_TYPE_INTERLEAVE | |
CONV_FUNC_TYPE_DEINTERLEAVE |
Definition at line 34 of file audio_convert.c.
void ff_audio_convert_set_func | ( | AudioConvert * | ac, |
enum AVSampleFormat | out_fmt, | ||
enum AVSampleFormat | in_fmt, | ||
int | channels, | ||
int | ptr_align, | ||
int | samples_align, | ||
const char * | descr, | ||
void * | conv | ||
) |
Set conversion function if the parameters match.
This compares the parameters of the conversion function to the parameters in the AudioConvert context. If the parameters do not match, no changes are made to the active functions. If the parameters do match and the alignment is not constrained, the function is set as the generic conversion function. If the parameters match and the alignment is constrained, the function is set as the optimized conversion function.
ac | AudioConvert context |
out_fmt | output sample format |
in_fmt | input sample format |
channels | number of channels, or 0 for any number of channels |
ptr_align | buffer pointer alignment, in bytes |
samples_align | buffer size alignment, in samples |
descr | function type description (e.g. "C" or "SSE") |
conv | conversion function pointer |
Definition at line 70 of file audio_convert.c.
Referenced by ff_audio_convert_init_aarch64(), ff_audio_convert_init_arm(), and ff_audio_convert_init_x86().
CONV_FUNC_GROUP | ( | AV_SAMPLE_FMT_S16 | , |
int16_t | , | ||
AV_SAMPLE_FMT_U8 | , | ||
uint8_t | , | ||
(*(const uint8_t *) pi-0x80)<< | 8 | ||
) |
if | ( | ac-> | has_optimized_func | ) |
Definition at line 331 of file audio_convert.c.
av_log | ( | ac-> | avr, |
AV_LOG_TRACE | , | ||
"%d samples - audio_convert: %s to %s (%s)\n" | , | ||
len | , | ||
av_get_sample_fmt_name(ac->in_fmt) | , | ||
av_get_sample_fmt_name(ac->out_fmt) | , | ||
use_generic?ac->func_descr_generic:ac-> | func_descr | ||
) |
Referenced by ff_audio_convert_set_func().
int32_t |
Definition at line 194 of file audio_convert.c.
Referenced by aacPlus_encode_frame(), ac3_decode_transform_coeffs_ch(), add_bell(), add_cb(), adjust_jnd(), adpcm_decode_frame(), alac_entropy_coder(), alac_linear_predictor(), alac_set_info(), alac_stereo_decorrelation(), allocate_buffers(), ape_decode_frame(), ape_read_header(), ape_unpack_stereo(), apply_channel_coupling(), apply_unsharp(), asf_write_markers(), av_clipl_int32_c(), av_crc_init(), av_display_rotation_set(), av_mul_sf(), av_normalize1_sf(), avc_biwgt_16width_msa(), avc_biwgt_4x2_msa(), avc_biwgt_4x4multiple_msa(), avc_biwgt_8width_msa(), avc_h_loop_filter_chroma422_mbaff_msa(), avc_h_loop_filter_chroma422_msa(), bayer_to_yv12_wrapper(), bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), bink_decode_plane(), binkb_decode_plane(), build_filter(), calc_masking(), calc_one_scale(), calc_predictor_params(), calculate_sign_huff(), celt_decode_band(), channel_decorrelation(), chrRangeFromJpeg16_c(), chrRangeToJpeg16_c(), common_hz_8t_64w_msa(), common_vt_8t_12w_msa(), compute_imdct(), config_output(), copy_16multx8mult_msa(), copy_tag(), copy_width16_msa(), copy_width32_msa(), copy_width8_msa(), create_chrominance_lut(), create_map(), dca_subsubframe(), dcadec_decode_frame(), dctcoef_get(), dctcoef_set(), deblocking_filter_CTB(), decode(), decode_cabac_residual_internal(), decode_channel(), decode_const_block_data(), decode_element(), decode_frame(), decode_postinit(), decode_residual(), decode_subframe(), decode_thread(), decode_var_block_data(), decorr_mono(), decorr_stereo(), decorr_stereo_pass2(), decorr_stereo_pass_id2(), decorr_stereo_quick(), decorrelate(), decorrelate_stereo(), deinterlace_plane(), dequantization_int(), dequantization_int_97(), dss_sp_sf_synthesis(), dump_sidedata(), dwt_decode53(), dwt_decode97_int(), dxa_read_header(), encode_frame(), encode_init(), encode_residual_ch(), entropy_decode_mono_3860(), entropy_decode_mono_3900(), entropy_decode_mono_3990(), entropy_decode_stereo_3860(), entropy_decode_stereo_3900(), entropy_decode_stereo_3930(), entropy_decode_stereo_3990(), estimate_stereo_mode(), ff_ac3_apply_rematrixing(), ff_dca_xll_decode_header(), ff_eac3_apply_spectral_extension(), ff_generate_wave_table(), ff_get_bmp_header(), ff_ivi_inverse_haar_4x4(), ff_ivi_inverse_haar_8x8(), ff_ivi_inverse_slant_4x4(), ff_ivi_inverse_slant_8x8(), ff_ivi_recompose53(), ff_ivi_recompose_haar(), ff_j_rev_dct(), ff_j_rev_dct4(), ff_jpeg2000_tag_tree_init(), ff_mlp_pack_output(), ff_mpadsp_apply_window_mips_fixed(), ff_print_debug_info2(), ff_rgb24toyv12_c(), ff_rtp_check_and_send_back_rr(), ff_tadd_long_metadata(), ff_tadd_rational_metadata(), ff_vda_default_init(), fill_buffer(), filter(), filter_3800(), filter_channel(), filter_fast_3320(), filter_frame(), filter_slice(), finalize_packet(), find_peaks(), find_sidx(), flv_read_packet(), gbr24pToUV_half_c(), get(), get_dmix_coeff(), get_rotation(), get_sample(), get_send_time(), get_xbits(), h264_mp4toannexb_filter(), hevc_biwgt_copy_12w_msa(), hevc_biwgt_copy_16multx4mult_msa(), hevc_biwgt_copy_4w_msa(), hevc_biwgt_copy_6w_msa(), hevc_biwgt_copy_8w_msa(), hevc_hv_biwgt_4t_4multx8mult_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_biwgt_4t_6w_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hz_biwgt_4t_12w_msa(), hevc_hz_biwgt_4t_16w_msa(), hevc_hz_biwgt_4t_24w_msa(), hevc_hz_biwgt_4t_32w_msa(), hevc_hz_biwgt_4t_4x2_msa(), hevc_hz_biwgt_4t_4x4_msa(), hevc_hz_biwgt_4t_4x8multiple_msa(), hevc_hz_biwgt_4t_6w_msa(), hevc_hz_biwgt_4t_8x2_msa(), hevc_hz_biwgt_4t_8x4multiple_msa(), hevc_hz_biwgt_4t_8x6_msa(), hevc_hz_biwgt_8t_16w_msa(), hevc_hz_biwgt_8t_24w_msa(), hevc_hz_biwgt_8t_32w_msa(), hevc_hz_biwgt_8t_48w_msa(), hevc_hz_biwgt_8t_4w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_biwgt_8t_8w_msa(), hevc_idct_8x32_column_msa(), hevc_idct_dc_16x16_msa(), hevc_idct_dc_32x32_msa(), hevc_idct_dc_4x4_msa(), hevc_idct_dc_8x8_msa(), hevc_vt_4t_12w_msa(), hevc_vt_4t_16w_msa(), hevc_vt_4t_24w_msa(), hevc_vt_4t_32w_msa(), hevc_vt_4t_4x8multiple_msa(), hevc_vt_4t_6w_msa(), hevc_vt_4t_8x4multiple_msa(), hevc_vt_8t_12w_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_8t_4w_msa(), hevc_vt_8t_8w_msa(), hevc_vt_bi_4t_12w_msa(), hevc_vt_bi_4t_16w_msa(), hevc_vt_bi_4t_4x8multiple_msa(), hevc_vt_bi_4t_6w_msa(), hevc_vt_bi_4t_8x4multiple_msa(), hevc_vt_bi_8t_12w_msa(), hevc_vt_bi_8t_4w_msa(), hevc_vt_bi_8t_8w_msa(), hevc_vt_biwgt_4t_12w_msa(), hevc_vt_biwgt_4t_16w_msa(), hevc_vt_biwgt_4t_24w_msa(), hevc_vt_biwgt_4t_32w_msa(), hevc_vt_biwgt_4t_4x2_msa(), hevc_vt_biwgt_4t_4x4_msa(), hevc_vt_biwgt_4t_4x8multiple_msa(), hevc_vt_biwgt_4t_6w_msa(), hevc_vt_biwgt_4t_8x2_msa(), hevc_vt_biwgt_4t_8x4multiple_msa(), hevc_vt_biwgt_4t_8x6_msa(), hevc_vt_biwgt_8t_12w_msa(), hevc_vt_biwgt_8t_16multx2mult_msa(), hevc_vt_biwgt_8t_4w_msa(), hevc_vt_biwgt_8t_8w_msa(), hevc_vt_uniwgt_4t_12w_msa(), hevc_vt_uniwgt_4t_16w_msa(), hevc_vt_uniwgt_4t_32w_msa(), hevc_vt_uniwgt_4t_4x8multiple_msa(), hevc_vt_uniwgt_4t_6w_msa(), hevc_vt_uniwgt_4t_8x4multiple_msa(), hevc_vt_uniwgt_8t_12w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_8t_4w_msa(), hevc_vt_uniwgt_8t_8w_msa(), hq_decode_block(), hScale16To19_c(), hScale8To19_c(), huf_uncompress(), ict_int(), init_offset(), init_sample_buffers(), inter_predict_dc(), ivi_decode_blocks(), ivi_decode_coded_blocks(), jpeg2000_decode_tile(), lfe_downsample(), long_filter_ehigh_3830(), long_filter_high_3800(), lpc_analyze_remodulate(), lpc_prediction(), lumRangeFromJpeg16_c(), lumRangeToJpeg16_c(), mlp_filter_channel(), mov_metadata_loci(), mov_read_elst(), mov_read_header(), mov_read_mfra(), mov_read_tkhd(), mov_write_tapt_tag(), mp3_parse_info_tag(), mp3_write_xing(), mp3lame_encode_frame(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_non_intra(), msmpeg4_decode_dc(), nist_read_header(), pack_float_sample(), parse_value(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_dvd_decode_samples(), pcm_encode_frame(), pink_fill(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_uv(), planar_rgb_to_y(), predictor_decode_mono_3800(), predictor_decode_mono_3930(), predictor_decode_mono_3950(), predictor_decode_stereo_3800(), predictor_decode_stereo_3930(), predictor_decode_stereo_3950(), predictor_update_3930(), predictor_update_filter(), process_float(), quantize_lpc_coefs(), quantize_value(), ra144_encode_frame(), rct_int(), rd_frame(), read_dct_coeffs(), read_filter_params(), read_mfra(), read_moof_duration(), read_var_block_data(), recurse_mono(), recurse_stereo(), remove_wasted_bits(), reverse_decorr(), reverse_mono_decorr(), revert_channel_correlation(), rgb24ToUV_c(), rgb24ToUV_half_c(), rgb24ToY_c(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), rgb64ToY_c_template(), rice_count_exact(), rnd_table_init(), rpl_read_header(), rtcp_parse_packet(), rtcp_update_jitter(), scalarproduct(), scale_samples_s32(), scaling_list_data(), scan_float(), scan_int23(), scan_int32(), set(), set_side_data(), shorten_decode_frame(), show_frame(), show_packet(), show_stream(), silk_decode_excitation(), silk_is_lpc_stable(), silk_lsf2lpc(), skip_tag(), smacker_read_header(), srt_read_header(), Stagefright_init(), subband_transform(), svq1_encode_init(), svq3_decode_block(), svq3_mc_dir(), swri_get_dither(), sws_init_context(), swscale(), tag_tree_size(), tak_decode_frame(), tta_decode_frame(), tta_decode_init(), tta_encode_frame(), ttafilter_process(), unpack_intraframe(), update_band_masking(), update_md5_sum(), vector_fmul_window_c(), vector_fmul_window_scaled_c(), wavesynth_decode(), wavesynth_parse_extradata(), wavesynth_synth_sample(), wavpack_encode_block(), wavpack_encode_frame(), wavpack_encode_sample(), write_element(), write_hint_packets(), write_subframes(), writer_open(), wv_mono(), wv_stereo(), wv_unpack_mono(), wv_unpack_stereo(), x8_decode_intra_mb(), x8_loop_filter(), yuv2rgb48_1_c_template(), yuv2rgb48_2_c_template(), yuv2rgba64_1_c_template(), yuv2rgba64_2_c_template(), yuvPlanartouyvy_c(), and yuvPlanartoyuy2_c().
AV_SAMPLE_FMT_U8 |
Definition at line 194 of file audio_convert.c.
Referenced by audio_frame_cksum(), av_get_pcm_codec(), av_samples_set_silence(), config_output(), dpcm_decode_init(), get(), get_format_from_sample_fmt(), get_sample(), lavfi_read_header(), PUT_FUNC(), query_formats(), sample_fmt_bits_per_sample(), set(), smka_decode_frame(), smka_decode_init(), swri_dither_init(), tta_decode_init(), tta_encode_init(), vmdaudio_decode_init(), volume_init(), waveform_codec_id(), ws_snd_decode_init(), yae_downmix(), and yae_overlap_add().
uint8_t |
Definition at line 194 of file audio_convert.c.
Referenced by a64_compress_colram(), a64_write_header(), a64multi_encode_frame(), a64multi_encode_init(), aac_adtstoasc_filter(), aac_decode_frame(), aac_decode_frame_int(), aac_decode_init(), aac_encode_init(), aac_sync(), aasc_decode_frame(), aasc_decode_init(), ac3_decode_frame(), ac3_decode_transform_coeffs_ch(), ac3_eac3_probe(), ac3_exponent_min_c(), ac3_sync(), adapt_probs(), add_entry(), add_frame_default(), add_hfyu_left_pred_bgr32_c(), add_hfyu_median_pred_c(), add_lag_median_prediction(), add_metadata_from_side_data(), add_yblock(), adpcm_compress_trellis(), adpcm_decode_frame(), adpcm_encode_frame(), adpcm_encode_init(), adts_aac_probe(), adts_write_packet(), adx_decode_frame(), adx_encode_frame(), aic_decode_coeffs(), aic_decode_frame(), aic_decode_init(), aic_decode_slice(), alac_encode_init(), alias_pix_read_probe(), alloc_and_copy(), alloc_scratch_buffers(), allocate_buffers(), alpha_inverse_prediction(), amr_handle_packet(), amr_read_header(), amr_read_packet(), amrnb_decode_frame(), amrwb_decode_frame(), analyze_plane(), ape_decode_frame(), ape_tag_read_field(), apng_write_chunk(), apng_write_trailer(), append_extradata(), append_flv_data(), apply_8x8(), apply_color_indexing_transform(), apply_color_transform(), apply_delogo(), apply_loop_filter(), apply_param_change(), apply_subtract_green_transform(), apply_unsharp(), asf_parse_packet(), asf_read_picture(), asf_write_header1(), asf_write_markers(), asfrtp_parse_packet(), ass_split_section(), at1_unpack_dequant(), atrac1_decode_frame(), atrac3_decode_frame(), atrac3_decode_init(), audio_decode_example(), audio_decode_frame(), audio_encode_example(), audio_write_packet(), aura_decode_frame(), av_aes_init(), av_audio_convert(), av_base64_decode(), av_bitstream_filter_filter(), av_buffer_alloc(), av_buffer_realloc(), av_cast5_init(), av_crc(), av_des_mac(), av_dump_format(), av_dynarray2_add(), av_fast_padded_malloc(), av_fast_padded_mallocz(), av_fifo_generic_read(), av_fifo_generic_write(), av_fifo_peek2(), av_frame_get_plane_buffer(), av_get_string(), av_hash_final_b64(), av_hash_final_bin(), av_hash_final_hex(), av_hmac_final(), av_hmac_init(), av_image_alloc(), av_image_copy_to_buffer(), av_image_fill_arrays(), av_image_get_buffer_size(), av_int_list_length_for_size(), av_lfg_init(), av_log(), av_lzo1x_decode(), av_md5_final(), av_md5_update(), av_memcpy_backptr(), av_murmur3_update(), av_opencl_buffer_read_image(), av_opencl_buffer_write(), av_opencl_buffer_write_image(), av_opt_copy(), av_opt_free(), av_opt_get(), av_opt_get_channel_layout(), av_opt_get_dict_val(), av_opt_get_image_size(), av_opt_is_set_to_default(), av_opt_ptr(), av_opt_serialize(), av_opt_set(), av_opt_set_bin(), av_opt_set_channel_layout(), av_opt_set_defaults2(), av_opt_set_dict_val(), av_opt_set_image_size(), av_packet_copy_props(), av_packet_merge_side_data(), av_packet_pack_dictionary(), av_packet_split_side_data(), av_packet_unpack_dictionary(), av_parser_change(), av_parser_parse2(), av_picture_copy(), av_picture_pad(), av_probe_input_buffer2(), av_probe_input_format3(), AV_RB16(), AV_RB24(), AV_RB32(), av_rc4_crypt(), av_rc4_init(), av_read_image_line(), av_ripemd_final(), AV_RL16(), AV_RL24(), AV_RL32(), av_samples_alloc(), av_samples_fill_arrays(), av_sha512_final(), av_sha_final(), av_strcasecmp(), av_strncasecmp(), av_twofish_init(), av_utf8_decode(), av_write_image_line(), avc_biwgt_16width_msa(), avc_biwgt_4x4multiple_msa(), avc_biwgt_8width_msa(), avc_h_loop_filter_luma_mbaff_msa(), avc_loopfilter_cb_or_cr_inter_edge_ver_msa(), avc_loopfilter_luma_inter_edge_ver_msa(), avc_loopfilter_luma_intra_edge_ver_msa(), avc_wgt_16width_msa(), avc_wgt_4x4multiple_msa(), avc_wgt_8width_msa(), avcodec_copy_context(), avcodec_decode_audio3(), avcodec_decode_audio4(), avcodec_encode_audio(), avcodec_fill_audio_frame(), avfilter_transform(), avi_extract_stream_metadata(), avi_read_header(), avio_wb16(), avio_wb24(), avio_wb32(), avio_wl16(), avio_wl32(), avpicture_layout(), avpriv_color_frame(), avpriv_dv_produce_packet(), avs_decode_frame(), avs_probe(), avs_read_packet(), avui_decode_frame(), avui_encode_frame(), backup_mb_border(), bayer_to_rgb24_wrapper(), bayer_to_yv12_wrapper(), bethsoftvid_decode_frame(), bfi_decode_frame(), bidir_refine(), bink_decode_plane(), bink_put_pixels(), binkb_calc_quant(), binkb_decode_plane(), binkb_read_bundle(), bit8x8_c(), bitplane_decoding(), bktr_init(), blend_image(), blend_subrect(), block_cmp(), block_mc(), blur(), blur_image(), blur_pixel(), blur_power(), bmp_decode_frame(), bmp_encode_frame(), bmp_probe(), bmv_aud_decode_frame(), brender_read_probe(), buffer_needs_copy(), build_canonical_huff(), build_diff_map(), build_elision_headers(), build_huff(), build_huff_tree(), build_vlc(), cache_seek(), calc_combed_score(), calc_diffs(), cavs_decode_frame(), cavs_idct8_add_c(), cavsvideo_probe(), cbp_test(), cbr_bit_allocation(), cdata_probe(), cdg_border_preset(), cdg_decode_frame(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), cdxl_decode_frame(), cdxl_decode_ham6(), cdxl_decode_ham8(), celt_decode_band(), celt_decode_bands(), celt_decode_coarse_energy(), celt_deinterleave_hadamard(), celt_header(), celt_interleave_hadamard(), channelmap_filter_frame(), check(), check_bidir_mv(), check_file_header(), check_header_mismatch(), check_intra_mode(), chomp_filter(), choose_pix_fmts(), chroma_4mv_motion(), chroma_4mv_motion_lowres(), chroma_mc_bi(), chunk_end(), cinaudio_decode_frame(), cinepak_decode(), cinepak_decode_codebook(), cinepak_decode_frame(), cinepak_decode_strip(), cinepak_decode_vectors(), cinvideo_decode_frame(), cllc_decode_frame(), cmap_read_palette(), cmp_direct_inline(), cmp_inline(), cmv_decode_frame(), cmv_decode_inter(), color_correlation(), color_decorrelation(), color_get(), color_hash(), colormap_nearest_bruteforce(), colormap_nearest_iterative(), colormap_nearest_node(), commit_bitstream_and_slice_buffer(), common_hz_4t_24w_msa(), common_hz_8t_12w_msa(), common_vt_4t_32w_mult_msa(), common_vt_8t_16w_mult_msa(), compare(), compare_addr(), compare_fields(), compute_exp_strategy(), compute_images_mse(), compute_metric(), compute_sat_hue_metrics(), concat_read_header(), config_input(), config_out_props(), config_output(), config_props(), config_video_output(), convert_frame(), convert_mask_to_strength_mask(), cook_decode_frame(), cook_decode_init(), copy(), copy_16multx8mult_msa(), copy_backptr(), copy_block(), copy_cell(), copy_field(), copy_frame(), copy_frame_default(), copy_input_samples(), copy_moof(), copy_output(), copy_picture_field(), copy_processed_frame(), copy_rectangle(), copy_region_enc(), copy_separable_masks(), count_colors(), count_frame_header(), count_pixels(), cover_rect(), cpia_decode_frame(), create_iv(), create_new_buffer(), create_vorbis_context(), crypto_close(), crypto_write(), cyuv_decode_frame(), dca_decode_frame(), dca_parse_params(), dcadec_decode_frame(), dct_get(), dct_quantize_refine(), dct_quantize_trellis_c(), deblocking_filter_CTB(), debug_accuracy(), debug_mean_error(), decklink_write_video_packet(), decode(), decode_0(), decode_10bit_pulse(), decode_13(), decode_5(), decode_8(), decode_argb_frame(), decode_audio_block(), decode_audio_s16(), decode_band(), decode_band_hdr(), decode_band_structure(), decode_band_types(), decode_bdlt(), decode_block(), decode_block_coeffs(), decode_block_intra(), decode_bmv_frame(), decode_byterun(), decode_cabac_intra_mb_type(), decode_cabac_luma_residual(), decode_cabac_residual_internal(), decode_cell(), decode_cell_data(), decode_chunks(), decode_coeffs(), decode_coeffs_b_generic(), decode_dds1(), decode_deep_rle32(), decode_dsw1(), decode_dvd_subtitles(), decode_eld_specific_config(), decode_entropy_coded_image(), decode_fctl_chunk(), decode_fill(), decode_flush(), decode_frame(), decode_frame_header(), decode_frame_headers(), decode_ga_specific_config(), decode_header(), decode_hextile(), decode_hybrid(), decode_i2_frame(), decode_i_frame(), decode_init(), decode_init_static(), decode_interframe_v4(), decode_interframe_v4a(), decode_intra4x4_modes(), decode_line(), decode_lowdelay(), decode_lt_rps(), decode_luma_residual(), decode_main_header(), decode_mb_i(), decode_mb_row_no_filter(), decode_mode(), decode_mvc1(), decode_mvc2(), decode_nal_sei_decoded_picture_hash(), decode_nal_units(), decode_packet(), decode_picture_header(), decode_pixel_in_context(), decode_plane(), decode_region(), decode_region_intra(), decode_region_masked(), decode_residual_block(), decode_rgb24_frame(), decode_rle(), decode_sb(), decode_scaling_list(), decode_scaling_matrices(), decode_sgirle8(), decode_slice(), decode_slice_header(), decode_slice_thread(), decode_splitmvs(), decode_str(), decode_sym(), decode_sym_565(), decode_tag(), decode_tdlt(), decode_text_chunk(), decode_thread(), decode_tilehdr(), decode_tsw1(), decode_unregistered_user_data(), decode_vui(), decode_wdlt(), decode_yuv_frame(), decrypt_init(), deinterlace_bottom_field(), deinterlace_bottom_field_inplace(), deinterlace_line_c(), deinterlace_line_inplace_c(), deinterlace_plane(), deInterlaceMedian_TMPL(), delta_decode(), denoise_depth(), dequant(), dequant_lsps(), dering_altivec(), dering_TMPL(), derive_key(), dfa_decode_frame(), diff(), dirac_combine_frame(), dirac_decode_frame(), dirac_decode_frame_internal(), dirac_unpack_block_motion_data(), dirac_unpack_prediction_parameters(), display_frame(), dnxhd_10bit_dct_quantize(), dnxhd_decode_dct_block(), dnxhd_decode_frame(), dnxhd_decode_header(), dnxhd_decode_macroblock(), dnxhd_encode_init(), dnxhd_encode_picture(), dnxhd_encode_thread(), dnxhd_get_blocks(), dnxhd_init_qmat(), dnxhd_mb_var_thread(), dnxhd_probe(), dnxhd_switch_matrix(), dnxhd_unquantize_c(), dnxhd_write_header(), do_adobe_auth(), do_llnw_auth(), do_psnr(), do_swap(), do_video_out(), doTest(), doVertDefFilter_altivec(), doVertLowPass_altivec(), downscale(), dpcm_decode_frame(), dpx_probe(), draw_dot(), draw_edges_8_c(), draw_frame(), draw_glyphs(), draw_text(), drawline(), drawtext(), dss_read_seek(), dss_sp_decode_frame(), dts_probe(), dump_paramchange(), duplicate_TMPL(), dv_calc_mb_coordinates(), dv_decode_ac(), dv_decode_video_segment(), dv_encode_video_segment(), dv_extract_audio(), dv_extract_audio_info(), dv_extract_timecode(), dv_extract_video_info(), dv_init_enc_block(), dv_init_weight_tables(), dv_inject_metadata(), dv_read_timecode(), dv_write_dif_id(), dv_write_pack(), dv_write_packet(), dvb_encode_rle2(), dvb_encode_rle4(), dvb_encode_rle8(), dvbsub_decode(), dvbsub_parse(), dvbsub_parse_clut_segment(), dvbsub_parse_object_segment(), dvbsub_parse_page_segment(), dvbsub_parse_pixel_data_block(), dvbsub_parse_region_segment(), dvbsub_probe(), dvbsub_read_8bit_string(), dvd_encode_rle(), dvdsub_decode(), dvvideo_decode_frame(), dx2_decode_slice_410(), dx2_decode_slice_420(), dx2_decode_slice_444(), dx2_decode_slice_565(), dx2_decode_slice_rgb(), dxa_read_packet(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), dxtory_decode_v1_rgb(), dxtory_decode_v2_410(), dxtory_decode_v2_420(), dxtory_decode_v2_444(), dxtory_decode_v2_565(), dxtory_decode_v2_rgb(), dxva2_get_buffer(), dxva2_retrieve_data(), ebml_parse_nest(), ebml_read_ascii(), ebml_read_num(), encode_15_7(), encode_422_bitstream(), encode_all_blocks(), encode_apng(), encode_bgr(), encode_bitstream(), encode_block(), encode_dvb_subtitles(), encode_dvd_subtitles(), encode_exponents(), encode_exponents_blk_ch(), encode_frame(), encode_gbrp10(), encode_header(), encode_headers(), encode_init(), encode_intervals(), encode_line(), encode_mb_hq(), encode_mb_internal(), encode_nals(), encode_picture(), encode_picture_ls(), encode_plane(), encode_q_branch(), encode_rgb48_10bit(), encode_slice(), encode_slice_header(), encode_thread(), encrypt_counter(), escape130_decode_frame(), estimate_best_b_count(), estimate_motion_b(), evolve(), evrc_decode_frame(), expand_rle_row8(), exponents_from_scale_factors(), exr_probe(), extract_header(), extract_mpeg4_header(), f_func(), fade(), fbdev_read_packet(), fbdev_write_packet(), fdk_aac_decode_frame(), ff_ac3_apply_rematrixing(), ff_ac3_group_exponents(), ff_add_param_change(), ff_amf_tag_size(), ff_ape_parse_tag(), ff_ape_write_tag(), ff_asfcrypt_dec(), ff_atrac3p_init_vlcs(), ff_audio_data_add_to_fifo(), ff_audio_data_realloc(), ff_audio_mix(), ff_avc_find_startcode(), ff_avc_find_startcode_internal(), ff_avc_parse_nal_units(), ff_avc_write_annexb_extradata(), ff_bgmc_decode(), ff_big_add(), ff_big_div(), ff_big_mul(), ff_blend_mask(), ff_blend_rectangle(), ff_calculate_bounding_box(), ff_cavs_filter(), ff_check_pixfmt_descriptors(), ff_copy_dshow_media_type(), ff_copy_rectangle(), ff_copy_rectangle2(), ff_cos(), ff_dct_quantize_c(), ff_draw_color(), ff_draw_rectangle(), ff_dvvideo_init(), ff_eac3_apply_spectral_extension(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_estimate_p_frame_motion(), ff_fill_line_with_color(), ff_fill_rectangle(), ff_filter_frame_framed(), ff_flac_parse_picture(), ff_flac_write_header(), ff_generate_avci_extradata(), ff_get_best_fcode(), ff_h261_loop_filter(), ff_h263_decode_frame(), ff_h263_find_resync_marker_reverse(), ff_h263_handle_packet(), ff_h263_loop_filter(), ff_h263_round_chroma(), ff_h264_alloc_tables(), ff_h264_chroma422_dc_dequant_idct(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_nal(), ff_h264_decode_slice_header(), ff_h264_filter_mb(), ff_h264_h_lpf_chroma_inter_msa(), ff_h264_h_lpf_chroma_intra_msa(), ff_h264_h_lpf_luma_inter_msa(), ff_h264_h_lpf_luma_intra_msa(), ff_h264_handle_aggregated_packet(), ff_h264_luma_dc_dequant_idct(), ff_h264_parse_sprop_parameter_sets(), ff_h264_slice_context_init(), ff_h264_unref_picture(), ff_h264_v_lpf_chroma_inter_msa(), ff_h264_v_lpf_chroma_intra_msa(), ff_h264_v_lpf_luma_inter_msa(), ff_h264_v_lpf_luma_intra_msa(), ff_hevc_annexb2mp4(), ff_hevc_deblocking_boundary_strengths(), ff_hevc_decode_nal_pps(), ff_hevc_decode_short_term_rps(), ff_hevc_extract_rbsp(), ff_hevc_hls_residual_coding(), ff_hevc_slice_rpl(), ff_huff_gen_len_table(), ff_id3v1_read(), ff_id3v2_write_apic(), ff_img_read_header(), ff_img_read_packet(), ff_init_buffer_info(), ff_init_range_decoder(), ff_insert_pad(), ff_isom_write_avcc(), ff_isom_write_hvcc(), ff_ivi_decode_frame(), ff_jpeg2000_init_component(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_load_image(), ff_log2_q15(), ff_lzw_decode(), ff_lzw_encode(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_frame(), ff_mjpeg_escape_FF(), ff_mjpeg_find_marker(), ff_mkv_stereo3d_conv(), ff_mlp_calculate_parity(), ff_mlp_checksum8(), ff_mms_asf_header_parser(), ff_mov_add_hinted_packet(), ff_mov_iso639_to_lang(), ff_mov_write_packet(), ff_mpeg1_encode_picture_header(), ff_mpeg4_encode_mb(), ff_mpeg4_init_partitions(), ff_mpeg4video_split(), ff_mpeg_unref_picture(), ff_mpv_encode_picture(), ff_mpv_reallocate_putbitbuffer(), ff_msmpeg4_encode_block(), ff_msmpeg4_encode_mb(), ff_msmpeg4_pred_dc(), ff_mspel_motion(), ff_mss34_gen_quant_mat(), ff_opus_parse_extradata(), ff_opus_parse_packet(), ff_parse_mpeg2_descriptor(), ff_print_debug_info2(), ff_printGUID(), ff_put_v(), ff_put_wav_header(), ff_rdt_parse_packet(), ff_rl_init(), ff_rle_encode(), ff_rm_read_mdpr_codecdata(), ff_rtjpeg_decode_frame_yuv420(), ff_rtmp_calc_digest(), ff_rtmp_packet_dump(), ff_rtmp_packet_read(), ff_rtmp_packet_write(), ff_rtmpe_compute_secret_key(), ff_rtp_chain_mux_open(), ff_rtp_check_and_send_back_rr(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_h261(), ff_rtp_send_h263(), ff_rtp_send_h263_rfc2190(), ff_rtp_send_h264_hevc(), ff_rtp_send_jpeg(), ff_rtp_send_mpegvideo(), ff_rtp_send_punch_packets(), ff_rtp_send_rtcp_feedback(), ff_rtp_send_xiph(), ff_rtsp_tcp_write_packet(), ff_rv34_decode_frame(), ff_scale_image(), ff_shrink22(), ff_shrink44(), ff_snow_inner_add_yblock(), ff_snow_pred_block(), ff_spdif_probe(), ff_srtp_decrypt(), ff_srtp_encrypt(), ff_srtp_set_crypto(), ff_stream_new_side_data(), ff_svq3_luma_dc_dequant_idct_c(), ff_text_r8(), ff_twinvq_decode_frame(), ff_u8_to_s8(), ff_vaapi_alloc_slice(), ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), ff_vc1_mc_4mv_luma(), ff_vc1_pred_b_mv(), ff_vda_create_decoder(), ff_vda_default_init(), ff_vorbis_comment(), ff_vorbis_len2vlc(), ff_vp56_decode_frame(), ff_wma_init(), ff_wmv2_decode_mb(), ff_wmv2_encode_mb(), ffio_ensure_seekback(), ffio_fdopen(), ffio_free_dyn_buf(), ffio_rewind_with_probe_data(), ffio_set_buf_size(), ffm_read_write_index(), ffm_write_packet(), ffm_write_write_index(), ffmmal_add_packet(), ffmmal_init_decoder(), ffmmal_set_ref(), ffmpeg_parse_options(), ffurl_write(), ffv1_init_slice_state(), fic_decode_frame(), fic_decode_slice(), fic_draw_cursor(), fill_buffer(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), fill_noise_buffer(), fill_picture(), fill_picture_monoblack(), fill_picture_rgb(), fill_rectangle(), fill_rgb2yuv_table(), fillPlane(), fillPlane16(), filter(), filter_brng(), filter_common(), filter_edges(), filter_frame(), filter_line_c(), filter_mb(), filter_mb_dir(), filter_mb_row(), filter_mbedge(), filter_plane_cols(), filter_plane_rows(), filter_rgb(), filter_slice(), filter_slice_alpha(), filter_slice_chroma(), filter_slice_luma(), filter_tout(), filter_vrep(), find_header_idx(), find_headers_search_validate(), find_index_range(), find_marker(), find_new_headers(), find_resync_marker_reverse(), find_smallest_bounding_rectangle(), fix_transparency(), fixstride(), flac_decode_frame(), flac_decode_init(), flac_encode_frame(), flac_encode_init(), flac_fifo_read(), flac_fifo_read_wrap(), flac_header(), flac_parse(), flac_read_header(), flac_write_block_comment(), flac_write_header(), flac_write_packet(), flac_write_trailer(), flashsv_decode_block(), flashsv_encode_frame(), flic_decode_frame(), flic_decode_init(), flush_packet(), flv_read_packet(), flv_write_packet(), format_line(), frame_copy_video(), free_section(), g2m_decode_frame(), g2m_load_cursor(), g2m_paint_cursor(), g723_1_decode_frame(), gather_data_for_cel(), gather_data_for_subcel(), gbr24ptopacked24(), gbr24ptopacked32(), gen_buffer_time(), gen_bytes_read(), gen_check_bw(), gen_connect(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcsubscribe_stream(), gen_fcunpublish_stream(), gen_get_stream_length(), gen_pause(), gen_play(), gen_pong(), gen_publish(), gen_release_stream(), gen_seek(), gen_server_bw(), gen_sub_bitmap(), gen_swf_verification(), gen_waveform(), generate_joint_tables(), generate_new_codebooks(), geq_filter_frame(), get(), get16(), get8(), get_4block_rd(), get_bits1(), get_block(), get_block_rd(), get_buffer(), get_che(), get_chroma_mv(), get_chunk_header(), get_cox(), get_dc(), get_dst_color_err(), get_exponent_dynamic(), get_format(), get_generic_seed(), get_last_needed_nal(), get_line(), get_luma_mv(), get_meta(), get_metadata(), get_metadata_size(), get_next_color(), get_number(), get_packet_header(), get_packetheader(), get_palette_frame(), get_private_data(), get_pts(), get_rotation(), get_scene_score(), get_siz(), get_slice_data(), get_sot(), get_stats(), get_tlm(), getpix(), getstr8(), gfmul(), gif_encode_frame(), gif_image_write_image(), gif_read_ext(), gif_read_header1(), gif_read_image(), gmc1_motion(), gmc_motion(), grow_array(), gsm_decode_frame(), guess_mv(), guess_palette(), gxf_probe(), gxf_write_header(), gxf_write_mpeg_auxiliary(), h261_decode_block(), h261_decode_frame(), h263_decode_block(), h263_mv4_search(), h264_decode_frame(), h264_extradata_to_annexb(), h264_handle_packet(), h264_handle_packet_fu_a(), h264_mp4toannexb_filter(), h264_split(), h_block_filter(), halfpel_interpol(), handle_connection(), handle_invoke_error(), handle_invoke_status(), handle_metadata(), handle_notify(), handle_p_frame_apng(), handle_p_frame_png(), handle_packet(), handle_packets(), handle_small_bpp(), hcscale(), hevc_addblk_16x16_msa(), hevc_addblk_32x32_msa(), hevc_addblk_8x8_msa(), hevc_bi_copy_16multx4mult_msa(), hevc_biwgt_copy_16multx4mult_msa(), hevc_copy_16multx8mult_msa(), hevc_handle_packet(), hevc_hv_4t_8multx4mult_msa(), hevc_hv_8t_8multx2mult_msa(), hevc_hv_bi_4t_8multx4mult_msa(), hevc_hv_bi_8t_8multx2mult_msa(), hevc_hv_biwgt_4t_8multx4mult_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_4t_8w_mult_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_8multx4mult_msa(), hevc_hv_uniwgt_8t_8multx2mult_msa(), hevc_hz_bi_4t_24w_msa(), hevc_hz_bi_8t_64w_msa(), hevc_hz_biwgt_4t_24w_msa(), hevc_hz_biwgt_8t_64w_msa(), hevc_hz_uniwgt_4t_24w_msa(), hevc_hz_uniwgt_8t_64w_msa(), hevc_idct_32x32_msa(), hevc_idct_8x32_column_msa(), hevc_idct_dc_16x16_msa(), hevc_idct_dc_32x32_msa(), hevc_idct_transpose_32x8_to_8x32(), hevc_idct_transpose_8x32_to_32x8(), hevc_probe(), hevc_sdp_parse_fmtp_config(), hevc_split(), hevc_uniwgt_copy_16multx4mult_msa(), hevc_vt_8t_16multx4mult_msa(), hevc_vt_bi_4t_32w_msa(), hevc_vt_bi_8t_16multx2mult_msa(), hevc_vt_biwgt_4t_32w_msa(), hevc_vt_biwgt_8t_16multx2mult_msa(), hevc_vt_uniwgt_4t_32w_msa(), hevc_vt_uniwgt_8t_16multx2mult_msa(), hl_decode_mb(), hl_decode_mb_444(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), hls_coding_unit(), hls_pcm_sample(), hls_prediction_unit(), hls_transform_tree(), hls_transform_unit(), hnm_flip_buffers(), hnm_update_palette(), horizontal_frame_pack(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), hqx_filter(), html_color_parse(), http_parse_request(), http_seek_internal(), http_send_data(), huf_decode(), hvcc_add_nal_unit(), hvcc_array_add_nal_unit(), hvcc_close(), hvcc_parse_pps(), hvcc_parse_ptl(), hvcc_write(), hyscale(), icecast_write(), id3v2_parse(), id3v2_put_ttag(), id3v2_read_internal(), idcin_decode_frame(), idcin_read_packet(), idct_mb(), idct_put(), iff_probe(), iff_read_header(), iff_read_packet(), ilbc_decode_frame(), ilbc_read_header(), imc_decode_frame(), imc_read_level_coeffs(), imx_dump_header(), init(), init_coef_vlc(), init_context_frame(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_filter(), init_filter_graph(), init_pattern_from_string(), init_ralf_vlc(), inject_fake_duration_metadata(), inter_pred(), inter_recon(), interlaced_search(), interpol(), INTERPOLATE_METHOD(), intra_pred(), intra_pred_plane(), intra_predict(), intra_prediction_unit(), intra_recon(), inverse_prediction(), ipmovie_probe(), ipmovie_read_header(), ipvideo_decode_frame(), ir2_decode_frame(), is_diff_mer(), is_extra(), is_intra_more_likely(), iso88591_to_utf8(), iterative_me(), ivi_create_huff_from_desc(), ivi_decode_blocks(), ivi_decode_coded_blocks(), j2k_probe(), jpeg2000_decode_packets(), jpeg2000_decode_tile(), jpeg2000_read_main_headers(), jpeg_create_header(), jpeg_parse_packet(), jpeg_probe(), jpeg_put_comments(), jpeg_table_header(), jpegls_probe(), jpg_decode_block(), jpg_decode_data(), jpg_unescape(), kempf_decode_tile(), lag_decode_arith_plane(), lag_decode_frame(), lag_decode_prob(), lag_decode_zero_run_line(), latm_parse_packet(), latm_write_packet(), lavfi_read_packet(), left_predict(), libAVMemInputPin_AddRef(), libAVMemInputPin_Destroy(), libAVMemInputPin_QueryInterface(), libAVMemInputPin_Receive(), libAVMemInputPin_Release(), libgsm_decode_frame(), libopenjpeg_copy_to_packed8(), libopenjpeg_copyto8(), libopenjpeg_decode_frame(), libopus_decode_init(), libopus_encode(), libopus_encode_init(), libopus_write_header(), libschroedinger_decode_frame(), libspeex_decode_frame(), libvorbis_encode_init(), libx265_encode_frame(), linecpy(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), ljpeg_encode_bgr(), ljpeg_encode_yuv_mb(), load_colormap(), load_cursor(), load_input_picture(), load_ipmovie_packet(), load_mask(), load_textfile(), loas_probe(), loop_filter(), loopfilter_sb(), lsf_decode(), luma_abs_diff(), luma_intra_pred_mode(), luma_mc_bi(), luma_mc_uni(), lxf_read_header(), lxf_sync(), m4sl_cb(), mace_decode_frame(), main(), make_digest_auth(), matroska_decode_buffer(), matroska_parse_cluster_incremental(), matroska_parse_flac(), matroska_parse_frame(), matroska_parse_laces(), matroska_parse_tracks(), matroska_parse_wavpack(), matroska_parse_webvtt(), mb_var_thread(), mc_block(), mc_dir_part(), mc_part_weighted(), mc_subpel(), md5_close(), md5_finish(), mdec_decode_block_intra(), median_predict(), merge(), microdvd_probe(), mimic_decode_frame(), mix(), mjpeg2jpeg_filter(), mjpeg_decode_app(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mjpega_dump_header(), mjpegb_decode_frame(), mkv_flush_dynbuf(), mkv_strip_wavpack(), mkv_write_attachments(), mkv_write_block(), mkv_write_codecprivate(), mkv_write_header(), mkv_write_simpletag(), mkv_write_vtt_blocks(), mlp_parse(), mm_decode_frame(), motion_arg(), motion_compensation(), mov_create_chapter_track(), mov_flush_fragment(), mov_flush_fragment_interleaving(), mov_parse_stsd_video(), mov_parse_vc1_frame(), mov_read_aclr(), mov_read_chapters(), mov_read_cmov(), mov_read_colr(), mov_read_custom(), mov_read_custom_2plus(), mov_read_default(), mov_read_dvc1(), mov_read_free(), mov_read_ftyp(), mov_read_header(), mov_read_mac_string(), mov_read_packet(), mov_read_sbgp(), mov_read_uuid(), mov_rewrite_dvd_sub_extradata(), mov_text_decode_frame(), mov_text_encode_init(), mov_write_ac3_tag(), mov_write_dvc1_structs(), mov_write_dvc1_tag(), mov_write_eac3_tag(), mov_write_int8_metadata(), mov_write_isml_manifest(), mov_write_subtitle_end_packet(), mov_write_tfrf_tag(), mov_write_tfxd_tag(), mov_write_track_udta_tag(), mov_write_udta_tag(), mp3_header_decompress(), mp3_read_probe(), mp3_update_xing(), mp3_write_trailer(), mp3_write_xing(), mp_decode_frame(), mp_decode_layer1(), mp_decode_layer3(), mp_yuv_to_rgb(), mpc7_decode_frame(), mpc7_decode_init(), mpc8_decode_frame(), mpc8_parse_seektable(), mpc8_probe(), mpc_probe(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), mpeg2_fast_decode_block_non_intra(), mpeg4_decode_block(), mpeg4_encode_block(), mpeg4_get_block_length(), mpeg4_unpack_bframes_filter(), mpeg4_update_thread_context(), mpeg_decode_a53_cc(), mpeg_decode_frame(), mpeg_decode_postinit(), mpeg_decode_slice(), mpeg_decode_user_data(), mpeg_motion_internal(), mpeg_motion_lowres(), mpeg_mux_write_packet(), mpegps_read_pes_header(), mpegts_get_pcr(), mpegts_insert_null_packet(), mpegts_insert_pcr_only(), mpegts_push_data(), mpegts_raw_read_packet(), mpegts_read_header(), mpegts_write_packet_internal(), mpegts_write_pat(), mpegts_write_pes(), mpegts_write_pmt(), mpegts_write_sdt(), mpegts_write_section1(), mpegvideo_extract_headers(), mpegvideo_probe(), mpjpeg_write_header(), mpjpeg_write_packet(), mpv_decode_mb_internal(), mpv_motion_internal(), MPV_motion_lowres(), msmpeg4v34_decode_mb(), msnwc_tcp_probe(), msrle_decode_8_16_24_32(), msrle_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_dct_block(), mss4_decode_frame(), mss4_decode_image_block(), mss4_init_vlc(), msvideo1_decode_frame(), mxf_decrypt_triplet(), mxf_get_d10_aes3_packet(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_parse_h264_frame(), mxf_probe(), mxf_read_indirect_value(), mxf_read_strong_ref_array(), mxf_utf16len(), mxf_write_d10_audio_packet(), mxf_write_header(), mxf_write_multi_descriptor(), mxf_write_opatom_body_partition(), mxg_read_packet(), mxg_update_cache(), mxpeg_decode_frame(), mxpeg_decode_mxm(), nal_send(), nal_unit_extract_rbsp(), next_byte(), nsv_read_chunk(), nut_write_packet(), nuv_packet(), nuv_read_dts(), nv12ToPlanarWrapper(), nvenc_encode_frame(), obmc_motion(), ogg_buffer_data(), ogg_build_flac_headers(), ogg_build_opus_headers(), ogg_build_speex_headers(), ogg_new_buf(), ogg_read_packet(), ogg_read_page(), ogg_replace_stream(), ogg_write_header(), ogg_write_page(), ogg_write_vorbiscomment(), oggvorbis_decode_init(), ogm_dshow_header(), ogm_header(), ogm_packet(), old_codec1(), old_codec37(), old_codec47(), old_dirac_header(), old_flac_header(), oma_read_header(), oma_read_probe(), on2avc_decode_frame(), open_null_ctx(), open_output_file(), opengl_get_plane_pointer(), opt_filter_complex_script(), opt_size(), opus_decode_frame(), opus_decode_packet(), opus_find_frame_end(), opus_flush_resample(), opus_header(), opus_init_resample(), opus_packet(), output_configure(), output_frame_end(), output_plane(), overlay_ass_image(), pack_yuv(), packedCopyWrapper(), packedtogbr24p(), paf_audio_decode(), paf_video_decode(), paint_mouse_pointer(), palToRgbWrapper(), palToUV_c(), pam_encode_frame(), parse(), parse_adts_frame_header(), parse_chunks(), parse_fmtp_config(), parse_fragment(), parse_ifo_palette(), parse_m3d(), parse_media_type(), parse_nal_units(), parse_object_segment(), parse_opus_ts_header(), parse_packed_headers(), parse_packet(), parse_palette(), parse_palette_segment(), parse_pcr(), parse_playlist(), parse_presentation_segment(), parse_profile_level_id(), parse_psfile(), parse_rps(), parse_setup_header(), parse_str_int(), parse_timecode(), parse_transform_color_indexing(), parse_waveformatex(), pat_cb(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pcm_decode_frame(), pcm_dvd_decode_frame(), pcm_dvd_decode_samples(), pcm_encode_frame(), pcx_decode_frame(), pcx_encode_frame(), pcx_rle_encode(), picmemset(), picmemset_8bpp(), pictor_probe(), pix_abs16_xy2_c(), pix_abs16_y2_c(), pix_abs8_xy2_c(), pix_abs8_y2_c(), piz_uncompress(), planarCopyWrapper(), planarRgbToRgbWrapper(), planarToNv12Wrapper(), planarToUyvyWrapper(), planarToYuy2Wrapper(), plot_cqt(), plot_spectrum_column(), pmt_cb(), png_choose_filter(), png_get_interlaced_row(), png_handle_row(), png_probe(), png_put_interlaced_row(), png_write_chunk(), pnm_decode_frame(), pnm_encode_frame(), pnm_parse(), pop_integer(), postProcess_TMPL(), pp_filter_frame(), precomputeMDS(), pred16x16_tm_vp8_c(), pred4x4_tm_vp8_c(), pred8x8_tm_vp8_c(), pred_sbsplit(), pred_spatial_direct_motion(), pred_weight_table(), predict_slice(), predict_slice_buffered(), predictor(), prefetch_motion(), prefetch_ppc(), probe(), probe_codec(), process_audio_header_elements(), process_block(), process_input(), process_output(), prores_encode_frame(), prores_encode_init(), prores_encode_picture(), psy_3gpp_init(), psy_3gpp_window(), ptx_decode_frame(), push_integer(), push_single_pic(), put16(), put_blocks(), put_cursor(), put_ebml_id(), put_ebml_num(), put_ebml_sint(), put_ebml_uint(), put_flac_codecpriv(), put_main_header(), put_mspel8_mc10_c(), put_mspel8_mc12_c(), put_mspel8_mc22_c(), put_mspel8_mc30_c(), put_mspel8_mc32_c(), put_obmc(), put_packet(), put_pixels8x8_overlapped(), put_signed_pixels_clamped_c(), put_sot(), put_str16(), put_swf_matrix(), put_swf_rect(), put_xiph_codecpriv(), putstr8(), pxr24_uncompress(), qcelp_decode_frame(), qcp_read_header(), qdm2_decode_frame(), qdm2_decode_init(), qdm2_parse_config(), qdm2_parse_packet(), qdm2_parse_subpacket(), qdm2_restore_block(), qdraw_probe(), qpeg_decode_inter(), qpel_motion(), qsv_process_data(), qsv_retrieve_enc_params(), qt_rtp_parse_packet(), qtrle_decode_16bpp(), qtrle_decode_1bpp(), qtrle_decode_24bpp(), qtrle_decode_2n4bpp(), qtrle_decode_32bpp(), qtrle_decode_8bpp(), qtrle_decode_frame(), qtrle_encode_line(), quantize(), queue_frames(), ra144_decode_frame(), ra144_encode_frame(), ra288_decode_frame(), raw_decode(), rd8x8_c(), rd_frame(), rdt_parse_packet(), read_access_unit(), read_arbitrary(), read_argb_line(), read_audio_mux_element(), read_block_types(), read_chapter(), read_code_table(), read_colors(), read_connect(), read_dcs(), read_decode_convert_and_store(), read_extra_header(), read_file(), read_frame(), read_frame_internal(), read_gab2_sub(), read_header(), read_huffman_tables(), read_kuki_chunk(), read_motion_values(), read_mv_component(), read_number_result(), read_old_huffman_tables(), read_packet(), read_patterns(), read_payload_length_info(), read_quant_table(), read_restart_header(), read_rgb24_component_line(), read_rle_sgi(), read_runs(), read_sbr_header(), read_sbr_invf(), read_shape_from_file(), read_sl_header(), read_sm_data(), read_tag(), read_tree(), read_ttag(), read_uncompressed_sgi(), read_uslt(), read_xing_toc(), realloc_section_array(), reconstruct_and_encode_image(), reconstruct_frame(), redspark_probe(), redspark_read_header(), remove_extradata(), render_charset(), render_slice(), resample_cubic(), resample_linear(), reset_block_bap(), residual_interp(), restore_median(), restore_median_il(), restore_rgb_planes(), restore_tqb_pixels(), rgb15to16_c(), rgb15to16_TMPL(), rgb15to24(), rgb15to32_c(), rgb15to32_TMPL(), rgb15tobgr24_c(), rgb15tobgr24_TMPL(), rgb15tobgr32(), rgb16to15_c(), rgb16to15_TMPL(), rgb16to24(), rgb16to32_c(), rgb16to32_TMPL(), rgb16tobgr24_c(), rgb16tobgr24_TMPL(), rgb16tobgr32(), rgb24to15_c(), rgb24to15_TMPL(), rgb24to16_c(), rgb24to16_TMPL(), rgb24tobgr15_c(), rgb24tobgr15_TMPL(), rgb24tobgr16_c(), rgb24tobgr16_TMPL(), rgb24tobgr24_c(), rgb24tobgr24_TMPL(), rgb24tobgr32_c(), rgb24tobgr32_TMPL(), rgb32to15_c(), rgb32to15_TMPL(), rgb32to16_c(), rgb32to16_TMPL(), rgb32tobgr15_c(), rgb32tobgr15_TMPL(), rgb32tobgr16_c(), rgb32tobgr16_TMPL(), rgb32tobgr24_c(), rgb32tobgr24_TMPL(), rgb_to_yuv(), rgbToPlanarRgbWrapper(), rgbToRgbWrapper(), rl2_decode_frame(), rl2_decode_init(), rl2_rle_decode(), rle_uncompress(), rm_ac3_swap_bytes(), roq_decode_frame(), roq_dpcm_encode_frame(), roq_write_header(), rotate_luts(), rpza_decode_stream(), rtmp_calc_swf_verification(), rtmp_calc_swfhash(), rtmp_handshake(), rtmp_http_close(), rtmp_http_send_cmd(), rtmp_open(), rtmp_packet_read_one_chunk(), rtmp_server_handshake(), rtmp_validate_digest(), rtmp_write(), rtp_asf_fix_header(), rtp_mpegts_write_packet(), rtp_new_av_stream(), rtp_parse_one_packet(), rtp_write_packet(), rtsp_cmd_describe(), run_implementation(), run_psnr(), run_test(), rv10_decode_frame(), rv10_decode_init(), rv20_decode_picture_header(), rv30_loop_filter(), rv30_weak_loop_filter(), rv34_decode_inter_macroblock(), rv34_gen_vlc(), rv34_mc(), rv34_output_i16x16(), rv34_output_intra(), rv34_pred_4x4_block(), rv40_loop_filter(), rv40_loop_filter_strength(), rv40_weak_loop_filter(), s302m_decode_frame(), s302m_encode2_frame(), sad_hpel_motion_search(), sample_queue_retain(), sao_edge_filter(), sao_filter_CTB(), sap_fetch_packet(), sap_read_header(), scale_slice(), scaling_list_data(), scan_int32(), sdl_audio_callback(), sdt_cb(), send_invoke_response(), seqvideo_decode_frame(), set(), set_bandwidth(), set_codec_str(), set_encoder_id(), set_format(), set_frame(), set_number(), set_param(), set_processing_window(), set_string_binary(), setup_partitions(), sgi_probe(), shall_we_drop(), shift_data(), shorten_decode_frame(), show_colors(), show_stream(), shuffle_bytes_2103_c(), shuffle_bytes_2103_TMPL(), shuffleplanes_filter_frame(), silk_decode_excitation(), silk_decode_lpc(), sipr_decode_frame(), skeleton_header(), skip_bytes(), skip_check(), skip_hrd_parameters(), slice_decode_thread(), smacker_read_packet(), smc_decode_frame(), smka_decode_frame(), sp5x_decode_frame(), spdif_header_eac3(), speex_header(), srt_decode_frame(), srt_read_header(), srt_write_packet(), Stagefright_decode_frame(), Stagefright_init(), store_icy(), store_slice16_c(), store_slice2_c(), store_slice_c(), storeframe(), str_probe(), sub2video_copy_rect(), sub_hfyu_median_pred_c(), sub_left_prediction(), sunrast_decode_frame(), sunrast_image_write_image(), sunrast_probe(), super2xsai(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_decode_init(), svq1_encode_init(), svq1_encode_plane(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), svq1_parse_string(), svq1_skip_block(), svq3_decode_block(), svq3_decode_frame(), svq3_decode_init(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir_part(), swf_read_packet(), swf_write_header(), swr_convert(), swr_drop_output(), swr_inject_silence(), swri_rematrix(), sws_scale(), swscale(), synth_block_fcb_acb(), tak_decode_frame(), tak_parse(), tak_read_header(), targa_decode_rle(), targa_encode_frame(), targa_encode_normal(), targa_encode_rle(), tdsc_load_cursor(), tdsc_paint_cursor(), test_motion(), tf_h(), tf_h0(), tf_RS(), tgq_decode_block(), tgq_decode_frame(), tgq_decode_init(), tgq_idct_put_mb(), tgq_idct_put_mb_dconly(), tgv_decode_frame(), tgv_decode_inter(), theora_header(), tiff_probe(), tiff_unpack_fax(), tiff_unpack_strip(), tm2_decode_blocks(), tmv_decode_frame(), to_meta_with_crop(), tqi_decode_frame(), tqi_idct_put(), truemotion1_decode_frame(), truemotion1_decode_header(), truespeech_decode_frame(), tscc2_decode_frame(), tta_check_crc64(), tta_decode_frame(), txd_decode_frame(), udp_read(), ulti_convert_yuv(), ulti_decode_frame(), ulti_grad(), ulti_pattern(), unescape(), uninit_options(), unpack(), unpack_parse_unit(), unpack_yuv(), update_block_buffers(), update_md5_sum(), update_options(), update_size(), update_stream_extradata(), update_thread_context(), upsample_plane_c(), utf8_check(), utvideo_decode_frame(), utvideo_decode_init(), utvideo_encode_frame(), utvideo_encode_init(), uyvyToYuv420Wrapper(), uyvyToYuv422Wrapper(), v308_decode_frame(), v308_encode_frame(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_encode_frame(), v4l_mm_read_picture(), v_block_filter(), vaapi_vc1_start_frame(), validate_cc_data_pair(), validate_string(), vb_decode_framedata(), vble_decode_frame(), vble_restore_plane(), vble_unpack(), vc1_apply_p_h_loop_filter(), vc1_apply_p_v_loop_filter(), vc1_decode_frame(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_init(), vc1_pack_bitplanes(), vc1_parse(), vc1_split(), vcr1_decode_frame(), vda_h264_end_frame(), vda_retrieve_data(), vdpau_get_buffer(), vdpau_retrieve_data(), verify_md5(), vertClassify_altivec(), very_broken_op(), video_decode_example(), video_encode_example(), video_frame_cksum(), decklink_input_callback::VideoInputFrameArrived(), vmdaudio_decode_frame(), vmdvideo_decode_frame(), vorbis_decode_frame(), vorbis_decode_init(), vorbis_encode_init(), vorbis_header(), vorbis_packet(), vorbis_parse_audio_packet(), vorbis_parse_init(), vorbis_parse_setup_hdr_codebooks(), vorbis_parse_setup_hdr_residues(), vorbis_residue_decode_internal(), vp3_decode_frame(), vp3_dequant(), vp56_mc(), vp56_parse_mb_type(), vp5_parse_coeff(), vp5_parse_coeff_models(), vp6_filter_diag2(), vp6_parse_coeff(), vp6_parse_coeff_huffman(), vp6_parse_vector_adjustment(), vp7_decode_mvs(), vp8_decode(), vp8_decode_mvs(), vp8_encode(), vp8_header(), vp8_lossy_decode_alpha(), vp8_mc_chroma(), vp8_mc_luma(), vp8_packet(), vp9_decode_frame(), vqf_read_header(), vu9_to_vu12_c(), vu9_to_vu12_TMPL(), wavesynth_parse_extradata(), wavpack_decode_block(), wavpack_decode_frame(), wavpack_encode_frame(), wc3_read_header(), wc3_read_packet(), webp_probe(), webvtt_probe(), webvtt_write_packet(), wma_decode_init(), wma_decode_superframe(), wmavoice_init_static_data(), wmv2_decode_inter_block(), wmv2_get_cbp_table_index(), wmv2_mspel8_h_lowpass(), wmv2_mspel8_v_lowpass(), write_audio_frame(), write_back_motion(), write_back_motion_list(), write_back_non_zero_count(), write_chapter(), write_codebooks(), write_element(), write_escape_str(), write_extradata(), write_frame(), write_globalinfo(), write_header(), write_header_chunk(), write_mb_info(), write_option(), write_picture(), write_quant_table(), write_sm_data(), write_status(), write_stream_codec_info(), write_streaminfo(), write_utf8(), write_video_frame(), writeout(), writer_open(), ws_snd_decode_frame(), wsvqa_read_header(), wsvqa_read_packet(), wtvfile_open2(), wtvfile_open_sector(), wv_unpack_mono(), wv_unpack_stereo(), x11grab_read_packet(), X264_init(), x8_decode_intra_mb(), x8_get_ac_rlf(), x8_setup_spatial_compensation(), x8_setup_spatial_predictor(), xan_decode_chroma(), xan_decode_frame(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_huffman_decode(), xan_unpack(), xan_unpack_luma(), xan_wc3_copy_pixel_run(), xan_wc3_decode_frame(), xan_wc3_output_pixel_run(), XAVS_init(), xbm_decode_frame(), xbm_encode_frame(), xcbgrab_frame(), xchg_mb_border(), xface_decode_frame(), xface_encode_frame(), xiph_parse_fmtp_pair(), xmv_fetch_video_packet(), xmv_process_packet_header(), xsub_encode(), xwd_decode_frame(), xwd_encode_frame(), y41p_decode_frame(), y41p_encode_frame(), yae_downmix(), yae_flush(), yae_load_data(), yae_load_frag(), yae_overlap_add(), yop_copy_previous_block(), yuv2mono_1_c_template(), yuv2mono_2_c_template(), yuv2mono_X_c_template(), yuv2nv12cX_c(), yuv2rgb_write(), yuv422pToUyvyWrapper(), yuv422pToYuy2Wrapper(), yuv4_decode_frame(), yuv4_encode_frame(), yuv4_write_packet(), yuv_a_to_rgba(), yuv_to_rgba(), yuvPlanartouyvy_c(), yuvPlanartoyuy2_c(), yuyvToYuv420Wrapper(), yuyvToYuv422Wrapper(), yv12_copy(), yv12_interpolate(), yvu9_to_yuy2_c(), yvu9_to_yuy2_TMPL(), zero12v_decode_frame(), ZERO8x2(), zerocodec_decode_frame(), zmbv_decode_intra(), zmbv_decode_xor_16(), zmbv_decode_xor_32(), and zmbv_decode_xor_8().
uint8_t pi<<24)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_U8,uint8_t,(*(constuint8_t*)pi-0x80)*(1.0f/(1<<7)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_U8,uint8_t,(*(constuint8_t*)pi-0x80)*(1.0/(1<<7)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_S16,int16_t,(*(constint16_t*)pi>>8)+0x80)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_S16,int16_t,*(constint16_t*)pi*(1.0f/(1<<15)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_S16,int16_t,*(constint16_t*)pi*(1.0/(1<<15)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_S32,int32_t,(*(constint32_t*)pi>>24)+0x80)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_S32,int32_t,*(constint32_t*)pi*(1.0f/(1U<<31)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_S32,int32_t,*(constint32_t*)pi*(1.0/(1U<<31)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_FLT,float,av_clip_uint8(lrintf(*(constfloat*)pi*(1<<7))+0x80))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16,int16_t,AV_SAMPLE_FMT_FLT,float,av_clip_int16(lrintf(*(constfloat*)pi*(1<<15))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32,int32_t,AV_SAMPLE_FMT_FLT,float,av_clipl_int32(llrintf(*(constfloat*)pi*(1U<<31))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_DBL,double,av_clip_uint8(lrint(*(constdouble*)pi*(1<<7))+0x80))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16,int16_t,AV_SAMPLE_FMT_DBL,double,av_clip_int16(lrint(*(constdouble*)pi*(1<<15))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32,int32_t,AV_SAMPLE_FMT_DBL,double,av_clipl_int32(llrint(*(constdouble*)pi*(1U<<31))))#defineSET_CONV_FUNC_GROUP(ofmt,ifmt)staticvoidset_generic_function(AudioConvert*ac){}voidff_audio_convert_free(AudioConvert**ac){if(!*ac)return;ff_dither_free(&(*ac)->dc);av_freep(ac);}AudioConvert*ff_audio_convert_alloc(AVAudioResampleContext*avr,enumAVSampleFormatout_fmt,enumAVSampleFormatin_fmt,intchannels,intsample_rate,intapply_map){AudioConvert*ac;intin_planar,out_planar;ac=av_mallocz(sizeof(*ac));if(!ac)returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE&&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16&&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr,out_fmt,in_fmt,channels,sample_rate,apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt,channels);out_planar=ff_sample_fmt_is_planar(out_fmt,channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar)ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64)ff_audio_convert_init_aarch64(ac);if(ARCH_ARM)ff_audio_convert_init_arm(ac);if(ARCH_X86)ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert*ac,AudioData*out,AudioData*in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr,AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n",len,av_get_sample_fmt_name(ac->in_fmt),av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> dc |
Definition at line 194 of file audio_convert.c.
Referenced by data_close(), data_open(), data_read(), dc_16x16_c(), dc_32x32_c(), dc_4x4_c(), dc_8x8_c(), dc_left_16x16_c(), dc_left_32x32_c(), dc_left_4x4_c(), dc_left_8x8_c(), dc_top_16x16_c(), dc_top_32x32_c(), dc_top_4x4_c(), dc_top_8x8_c(), dct_quantize_refine(), dct_quantize_trellis_c(), decode_block(), decode_dct(), decode_p_block(), draw_basis(), dv_decode_video_segment(), encode_block(), encode_dcs(), encode_thread(), estimate_dcs(), ff_er_frame_end(), ff_h264_idct8_dc_add(), ff_h264_idct_dc_add(), ff_metadata_conv(), filter(), filter181(), get_block(), inter_predict_dc(), interpol(), jpg_decode_block(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), mcdc(), mpeg1_decode_block_intra(), mpeg1_encode_block(), mpeg2_decode_block_intra(), mpeg2_fast_decode_block_intra(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mss4_decode_dct(), pred16x16_dc(), pred16x16_left_dc(), pred16x16_top_dc(), pred4x4_dc(), pred4x4_left_dc(), pred4x4_top_dc(), pred8x8l_dc(), pred8x8l_left_dc(), pred8x8l_top_dc(), pred_dc(), put_dc(), rv34_decode_inter_macroblock(), rv34_inv_transform_dc_noround_c(), rv34_output_i16x16(), tgq_decode_mb(), tscc2_decode_mb(), vc1_inv_trans_4x4_dc_c(), vc1_inv_trans_4x8_dc_c(), vc1_inv_trans_8x4_dc_c(), vc1_inv_trans_8x8_dc_c(), vp3_idct_dc_add_c(), and vp56_add_predictors_dc().
uint8_t pi<<24)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_U8,uint8_t,(*(constuint8_t*)pi-0x80)*(1.0f/(1<<7)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_U8,uint8_t,(*(constuint8_t*)pi-0x80)*(1.0/(1<<7)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_S16,int16_t,(*(constint16_t*)pi>>8)+0x80)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_S16,int16_t,*(constint16_t*)pi*(1.0f/(1<<15)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_S16,int16_t,*(constint16_t*)pi*(1.0/(1<<15)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_S32,int32_t,(*(constint32_t*)pi>>24)+0x80)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_S32,int32_t,*(constint32_t*)pi*(1.0f/(1U<<31)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_S32,int32_t,*(constint32_t*)pi*(1.0/(1U<<31)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_FLT,float,av_clip_uint8(lrintf(*(constfloat*)pi*(1<<7))+0x80))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16,int16_t,AV_SAMPLE_FMT_FLT,float,av_clip_int16(lrintf(*(constfloat*)pi*(1<<15))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32,int32_t,AV_SAMPLE_FMT_FLT,float,av_clipl_int32(llrintf(*(constfloat*)pi*(1U<<31))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_DBL,double,av_clip_uint8(lrint(*(constdouble*)pi*(1<<7))+0x80))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16,int16_t,AV_SAMPLE_FMT_DBL,double,av_clip_int16(lrint(*(constdouble*)pi*(1<<15))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32,int32_t,AV_SAMPLE_FMT_DBL,double,av_clipl_int32(llrint(*(constdouble*)pi*(1U<<31))))#defineSET_CONV_FUNC_GROUP(ofmt,ifmt)staticvoidset_generic_function(AudioConvert*ac){}voidff_audio_convert_free(AudioConvert**ac){if(!*ac)return;ff_dither_free(&(*ac)->dc);av_freep(ac);}AudioConvert*ff_audio_convert_alloc(AVAudioResampleContext*avr,enumAVSampleFormatout_fmt,enumAVSampleFormatin_fmt,intchannels,intsample_rate,intapply_map){AudioConvert*ac;intin_planar,out_planar;ac=av_mallocz(sizeof(*ac));if(!ac)returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE&&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16&&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr,out_fmt,in_fmt,channels,sample_rate,apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt,channels);out_planar=ff_sample_fmt_is_planar(out_fmt,channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar)ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64)ff_audio_convert_init_aarch64(ac);if(ARCH_ARM)ff_audio_convert_init_arm(ac);if(ARCH_X86)ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert*ac,AudioData*out,AudioData*in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr,AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n",len,av_get_sample_fmt_name(ac->in_fmt),av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> out |
Definition at line 194 of file audio_convert.c.
Referenced by adjust_jnd(), alloc_out_frame(), anti_sparseness(), apply_lut(), apply_palette(), assign_bits(), audio_decode_frame(), av_base64_decode(), av_base64_encode(), av_get_token(), av_i2int(), av_int2i(), av_lzo1x_decode(), av_mul_i(), av_shr_i(), avcodec_decode_audio3(), avpriv_do_elbg(), avs_decode_frame(), cdg_scroll(), cdxl_decode_ham6(), cdxl_decode_ham8(), clear_index_entries(), cmdutils_read_file(), common_hz_4t_16w_msa(), common_hz_4t_32w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x2_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_8x2mult_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_mult_msa(), common_vt_4t_4x2_msa(), common_vt_4t_4x4multiple_msa(), common_vt_4t_8x2_msa(), common_vt_8t_4w_msa(), copy_moof(), dc1394_read_common(), dca_subframe_footer(), decode_frame(), decode_ics(), decode_postinit(), decode_residual_spectrum(), decode_rle(), decorrelation(), doTest(), dpcm_decode_frame(), dss_sp_decode_frame(), dump_attachment(), evaluate_lls(), f_func(), ff_avc_find_startcode(), ff_avc_write_annexb_extradata(), ff_dca_xll_decode_audio(), ff_dct32_mips_float(), ff_filter_frame_framed(), ff_get_cpu_flags_ppc(), ff_hevc_output_frame(), ff_ref_fdct(), ff_ref_idct(), ff_rle_encode(), ff_srtp_encrypt(), filter(), filter_brng(), filter_frame(), filter_slice(), filter_tout(), filter_vrep(), find_header_idx(), flac_decorrelate_indep_c(), flac_decorrelate_ls_c(), flac_decorrelate_ms_c(), flac_decorrelate_rs_c(), g723_1_decode_frame(), generate_codebook(), generate_joint_tables(), generate_new_codebooks(), geq_filter_frame(), get_delayed_pic(), get_palette_frame(), grab_read_header(), gxf_resync_media(), h264_decode_frame(), h264_extradata_to_annexb(), hls_window(), hqx_filter(), huf_decode(), hybrid2_re(), hybrid4_8_12_cx(), hybrid6_cx(), imdct36_mips_fixed(), imdct_and_window(), imdct_and_windowing(), imdct_and_windowing_eld(), imdct_and_windowing_ld(), ir2_decode_plane(), ir2_decode_plane_inter(), iso88591_to_utf8(), jpg_decode_data(), log16(), main(), md5_close(), mjpeg2jpeg_filter(), mjpeg_decode_app(), mss4_decode_dct_block(), mxf_interleave_get_packet(), on2avc_reconstruct_channel(), on2avc_reconstruct_stereo(), open_output_file(), output_client_manifest(), output_mpd(), output_server_manifest(), paf_video_decode(), parse_iplconvkernel(), parse_m3d(), piz_uncompress(), plot_spectrum_column(), pmt_cb(), pretwiddle(), print_formats(), process_frame(), ps_hybrid_analysis_c(), ps_hybrid_analysis_ileave_c(), push_single_pic(), put_main_header(), pxr24_uncompress(), qdm2_calculate_fft(), qdm2_decode_frame(), qmf_64_subbands(), query_formats(), r3d_read_header(), ra288_decode_frame(), read_tree(), request_frame(), resample(), return_audio_frame(), rl2_rle_decode(), roq_dpcm_encode_frame(), sbr_hf_assemble(), sbr_make_f_tablelim(), scalarproduct(), scale_slice(), set_side_data(), setup_array(), swr_convert(), swr_convert_internal(), swr_set_matrix(), targa_encode_frame(), targa_encode_normal(), targa_encode_rle(), tm2_build_huff_table(), transcode_subtitles(), WINDOW_FUNC(), write_abst(), write_fragment(), write_fragments(), write_manifest(), x11grab_read_header(), xmlescape(), zmbv_decode_xor_16(), zmbv_decode_xor_32(), and zmbv_decode_xor_8().
uint8_t pi<<24)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_U8,uint8_t,(*(constuint8_t*)pi-0x80)*(1.0f/(1<<7)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_U8,uint8_t,(*(constuint8_t*)pi-0x80)*(1.0/(1<<7)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_S16,int16_t,(*(constint16_t*)pi>>8)+0x80)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_S16,int16_t,*(constint16_t*)pi*(1.0f/(1<<15)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_S16,int16_t,*(constint16_t*)pi*(1.0/(1<<15)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_S32,int32_t,(*(constint32_t*)pi>>24)+0x80)CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT,float,AV_SAMPLE_FMT_S32,int32_t,*(constint32_t*)pi*(1.0f/(1U<<31)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL,double,AV_SAMPLE_FMT_S32,int32_t,*(constint32_t*)pi*(1.0/(1U<<31)))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_FLT,float,av_clip_uint8(lrintf(*(constfloat*)pi*(1<<7))+0x80))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16,int16_t,AV_SAMPLE_FMT_FLT,float,av_clip_int16(lrintf(*(constfloat*)pi*(1<<15))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32,int32_t,AV_SAMPLE_FMT_FLT,float,av_clipl_int32(llrintf(*(constfloat*)pi*(1U<<31))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8,uint8_t,AV_SAMPLE_FMT_DBL,double,av_clip_uint8(lrint(*(constdouble*)pi*(1<<7))+0x80))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16,int16_t,AV_SAMPLE_FMT_DBL,double,av_clip_int16(lrint(*(constdouble*)pi*(1<<15))))CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32,int32_t,AV_SAMPLE_FMT_DBL,double,av_clipl_int32(llrint(*(constdouble*)pi*(1U<<31))))#defineSET_CONV_FUNC_GROUP(ofmt,ifmt)staticvoidset_generic_function(AudioConvert*ac){}voidff_audio_convert_free(AudioConvert**ac){if(!*ac)return;ff_dither_free(&(*ac)->dc);av_freep(ac);}AudioConvert*ff_audio_convert_alloc(AVAudioResampleContext*avr,enumAVSampleFormatout_fmt,enumAVSampleFormatin_fmt,intchannels,intsample_rate,intapply_map){AudioConvert*ac;intin_planar,out_planar;ac=av_mallocz(sizeof(*ac));if(!ac)returnNULL;ac->avr=avr;ac->out_fmt=out_fmt;ac->in_fmt=in_fmt;ac->channels=channels;ac->apply_map=apply_map;if(avr->dither_method!=AV_RESAMPLE_DITHER_NONE&&av_get_packed_sample_fmt(out_fmt)==AV_SAMPLE_FMT_S16&&av_get_bytes_per_sample(in_fmt)>2){ac->dc=ff_dither_alloc(avr,out_fmt,in_fmt,channels,sample_rate,apply_map);if(!ac->dc){av_free(ac);returnNULL;}returnac;}in_planar=ff_sample_fmt_is_planar(in_fmt,channels);out_planar=ff_sample_fmt_is_planar(out_fmt,channels);if(in_planar==out_planar){ac->func_type=CONV_FUNC_TYPE_FLAT;ac->planes=in_planar?ac->channels:1;}elseif(in_planar)ac->func_type=CONV_FUNC_TYPE_INTERLEAVE;elseac->func_type=CONV_FUNC_TYPE_DEINTERLEAVE;set_generic_function(ac);if(ARCH_AARCH64)ff_audio_convert_init_aarch64(ac);if(ARCH_ARM)ff_audio_convert_init_arm(ac);if(ARCH_X86)ff_audio_convert_init_x86(ac);returnac;}intff_audio_convert(AudioConvert*ac,AudioData*out,AudioData*in){intuse_generic=1;intlen=in->nb_samples;intp;if(ac->dc){av_log(ac->avr,AV_LOG_TRACE,"%dsamples-audio_convert:%sto%s(dithered)\n",len,av_get_sample_fmt_name(ac->in_fmt),av_get_sample_fmt_name(ac->out_fmt));returnff_convert_dither(ac-> in |
Definition at line 194 of file audio_convert.c.
Referenced by add_video_device(), apply_lut(), audio_decode_frame(), av_base64_decode(), av_lzo1x_decode(), avc_h_loop_filter_luma_mbaff_msa(), avf_read_header(), cdg_scroll(), compand_delay(), config_output(), configure_video_device(), copy_moof(), dca_subframe_footer(), des_encdec(), ff_dualinput_init(), ff_framesync_get_frame(), ff_ivi_inverse_haar_4x4(), ff_ivi_inverse_haar_8x8(), ff_ivi_inverse_slant_4x4(), ff_ivi_inverse_slant_8x8(), filter_brng(), filter_frame(), filter_slice(), filter_tout(), filter_value(), filter_vrep(), flac_decorrelate_indep_c(), flac_decorrelate_ls_c(), flac_decorrelate_ms_c(), flac_decorrelate_rs_c(), framesync_advance(), framesync_inject_frame(), gen_sub_text(), geq_filter_frame(), get_cb(), hqx_filter(), hybrid2_re(), hybrid4_8_12_cx(), hybrid6_cx(), iir_filter(), imdct36_mips_fixed(), imdct_and_windowing(), imdct_and_windowing_eld(), imdct_and_windowing_ld(), main(), on2avc_reconstruct_channel(), on2avc_reconstruct_stereo(), parse_fragment(), parse_m3d(), parse_playlist(), piz_uncompress(), print_formats(), process_frame(), ps_hybrid_analysis_c(), ps_hybrid_synthesis_deint_c(), push_frame(), pxr24_uncompress(), qdm2_decode(), qtkit_read_header(), query_formats(), read_tree(), request_frame(), resample(), roq_dpcm_encode_frame(), sbr_hf_assemble(), sbr_make_f_tablelim(), scale_slice(), setup_array(), srt_to_ass(), swr_convert(), swr_convert_internal(), swr_init(), swr_set_matrix(), ttafilter_process(), ttafilter_process_dec_c(), utvideo_decode_frame(), wav_decode(), wavesynth_enter_intervals(), wavesynth_parse_extradata(), wavesynth_seek(), wavesynth_synth_sample(), WINDOW_FUNC(), and wma_window().
else |
Definition at line 382 of file audio_convert.c.
return |
Definition at line 415 of file audio_convert.c.
Referenced by ape_decode_value_3860(), and xan_wc3_copy_pixel_run().