FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
audio_convert.c File Reference
#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 voidconv_func_flat )(uint8_t *out, const uint8_t *in, int len)
 
typedef voidconv_func_interleave )(uint8_t *out, uint8_t *const *in, int len, int channels)
 
typedef voidconv_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
 

Macro Definition Documentation

#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 
)
Value:
do { \
*(otype *)po = expr; \
pi += is; \
po += os; \
} while (po < end); \
static av_cold int end(AVCodecContext *avctx)
Definition: avrndec.c:90

Definition at line 136 of file audio_convert.c.

#define CONV_FUNC_FLAT (   ofmt,
  otype,
  ifmt,
  itype,
  expr 
)
Value:
static void CONV_FUNC_NAME(ofmt, ifmt)(uint8_t *out, const uint8_t *in, \
{ \
int is = sizeof(itype); \
int os = sizeof(otype); \
const uint8_t *pi = in; \
uint8_t *po = out; \
uint8_t *end = out + os * len; \
CONV_LOOP(otype, expr) \
}
uint8_t
static av_cold int end(AVCodecContext *avctx)
Definition: avrndec.c:90
#define CONV_LOOP(otype, expr)
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
#define CONV_FUNC_NAME(dst_fmt, src_fmt)
int
int len
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 143 of file audio_convert.c.

#define CONV_FUNC_INTERLEAVE (   ofmt,
  otype,
  ifmt,
  itype,
  expr 
)
Value:
static void CONV_FUNC_NAME(ofmt, ifmt)(uint8_t *out, const uint8_t **in, \
int len, int channels) \
{ \
int out_bps = sizeof(otype); \
int is = sizeof(itype); \
int os = channels * out_bps; \
for (ch = 0; ch < channels; ch++) { \
const uint8_t *pi = in[ch]; \
uint8_t *po = out + ch * out_bps; \
uint8_t *end = po + os * len; \
CONV_LOOP(otype, expr) \
} \
}
uint8_t
static av_cold int end(AVCodecContext *avctx)
Definition: avrndec.c:90
#define CONV_LOOP(otype, expr)
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
#define CONV_FUNC_NAME(dst_fmt, src_fmt)
int
uint8_t pi<< 24) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_U8,(uint64_t)((*(constuint8_t *) pi-0x80U))<< 56) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S16,(uint64_t)(*(constint16_t *) pi)<< 48) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S32,(uint64_t)(*(constint32_t *) pi)<< 32) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S64,(*(constint64_t *) pi >>56)+0x80) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S64,*(constint64_t *) pi *(1.0f/(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S64,*(constint64_t *) pi *(1.0/(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_FLT, llrintf(*(constfloat *) pi *(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31)))) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_DBL, llrint(*(constdouble *) pi *(INT64_C(1)<< 63)))#defineFMT_PAIR_FUNC(out, in) staticconv_func_type *constfmt_pair_to_conv_functions[AV_SAMPLE_FMT_NB *AV_SAMPLE_FMT_NB]={FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S64),};staticvoidcpy1(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, len);}staticvoidcpy2(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, 2 *len);}staticvoidcpy4(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, 4 *len);}staticvoidcpy8(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, 8 *len);}AudioConvert *swri_audio_convert_alloc(enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, constint *ch_map, intflags){AudioConvert *ctx;conv_func_type *f=fmt_pair_to_conv_functions[av_get_packed_sample_fmt(out_fmt)+AV_SAMPLE_FMT_NB *av_get_packed_sample_fmt(in_fmt)];if(!f) returnNULL;ctx=av_mallocz(sizeof(*ctx));if(!ctx) returnNULL;if(channels==1){in_fmt=av_get_planar_sample_fmt(in_fmt);out_fmt=av_get_planar_sample_fmt(out_fmt);}ctx->channels=channels;ctx->conv_f=f;ctx->ch_map=ch_map;if(in_fmt==AV_SAMPLE_FMT_U8||in_fmt==AV_SAMPLE_FMT_U8P) memset(ctx->silence, 0x80, sizeof(ctx->silence));if(out_fmt==in_fmt &&!ch_map){switch(av_get_bytes_per_sample(in_fmt)){case1:ctx->simd_f=cpy1;break;case2:ctx->simd_f=cpy2;break;case4:ctx->simd_f=cpy4;break;case8:ctx->simd_f=cpy8;break;}}if(HAVE_YASM &&1) swri_audio_convert_init_x86(ctx, out_fmt, in_fmt, channels);if(ARCH_ARM) swri_audio_convert_init_arm(ctx, out_fmt, in_fmt, channels);if(ARCH_AARCH64) swri_audio_convert_init_aarch64(ctx, out_fmt, in_fmt, channels);returnctx;}voidswri_audio_convert_free(AudioConvert **ctx){av_freep(ctx);}intswri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, intlen){intch;intoff=0;constintos=(out->planar?1:out->ch_count)*out->bps;unsignedmisaligned=0;av_assert0(ctx->channels==out->ch_count);if(ctx->in_simd_align_mask){intplanes=in->planar?in->ch_count:1;unsignedm=0;for(ch=0;ch< planes;ch++) m|=(intptr_t) in->ch[ch];misaligned|=m &ctx->in_simd_align_mask;}if(ctx->out_simd_align_mask){intplanes=out->planar?out->ch_count:1;unsignedm=0;for(ch=0;ch< planes;ch++) m|=(intptr_t) out->ch[ch];misaligned|=m &ctx->out_simd_align_mask;}if(ctx->simd_f &&!ctx->ch_map &&!misaligned){off=len &~15;av_assert1(off >=0);av_assert1(off<=len);av_assert2(ctx->channels==SWR_CH_MAX||!in->ch[ctx->channels]);if(off >0){if(out->planar==in->planar){intplanes=out->planar?out->ch_count:1;for(ch=0;ch< planes;ch++){ctx->simd_f(out-> ch ch
Definition: audioconvert.c:56
int len
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
for(j=16;j >0;--j)

Definition at line 155 of file audio_convert.c.

#define CONV_FUNC_DEINTERLEAVE (   ofmt,
  otype,
  ifmt,
  itype,
  expr 
)
Value:
static void CONV_FUNC_NAME(ofmt, ifmt)(uint8_t **out, const uint8_t *in, \
int len, int channels) \
{ \
int in_bps = sizeof(itype); \
int is = channels * in_bps; \
int os = sizeof(otype); \
for (ch = 0; ch < channels; ch++) { \
const uint8_t *pi = in + ch * in_bps; \
uint8_t *po = out[ch]; \
uint8_t *end = po + os * len; \
CONV_LOOP(otype, expr) \
} \
}
uint8_t
static av_cold int end(AVCodecContext *avctx)
Definition: avrndec.c:90
#define CONV_LOOP(otype, expr)
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
#define CONV_FUNC_NAME(dst_fmt, src_fmt)
int
uint8_t pi<< 24) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_U8,(uint64_t)((*(constuint8_t *) pi-0x80U))<< 56) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8,(*(constuint8_t *) pi-0x80)*(1.0f/(1<< 7))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8,(*(constuint8_t *) pi-0x80)*(1.0/(1<< 7))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16,(*(constint16_t *) pi >>8)+0x80) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S16,(uint64_t)(*(constint16_t *) pi)<< 48) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16,*(constint16_t *) pi *(1.0f/(1<< 15))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16,*(constint16_t *) pi *(1.0/(1<< 15))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32,(*(constint32_t *) pi >>24)+0x80) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S32,(uint64_t)(*(constint32_t *) pi)<< 32) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S32,*(constint32_t *) pi *(1.0f/(1U<< 31))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S32,*(constint32_t *) pi *(1.0/(1U<< 31))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S64,(*(constint64_t *) pi >>56)+0x80) CONV_FUNC(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S64,*(constint64_t *) pi *(1.0f/(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S64,*(constint64_t *) pi *(1.0/(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, av_clip_uint8(lrintf(*(constfloat *) pi *(1<< 7))+0x80)) CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16(lrintf(*(constfloat *) pi *(1<< 15)))) CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, av_clipl_int32(llrintf(*(constfloat *) pi *(1U<< 31)))) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_FLT, llrintf(*(constfloat *) pi *(INT64_C(1)<< 63))) CONV_FUNC(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, av_clip_uint8(lrint(*(constdouble *) pi *(1<< 7))+0x80)) CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, av_clip_int16(lrint(*(constdouble *) pi *(1<< 15)))) CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, av_clipl_int32(llrint(*(constdouble *) pi *(1U<< 31)))) CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_DBL, llrint(*(constdouble *) pi *(INT64_C(1)<< 63)))#defineFMT_PAIR_FUNC(out, in) staticconv_func_type *constfmt_pair_to_conv_functions[AV_SAMPLE_FMT_NB *AV_SAMPLE_FMT_NB]={FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_U8), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S16), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S32), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_FLT), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_DBL), FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S64), FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S64),};staticvoidcpy1(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, len);}staticvoidcpy2(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, 2 *len);}staticvoidcpy4(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, 4 *len);}staticvoidcpy8(uint8_t **dst, constuint8_t **src, intlen){memcpy(*dst,*src, 8 *len);}AudioConvert *swri_audio_convert_alloc(enumAVSampleFormatout_fmt, enumAVSampleFormatin_fmt, intchannels, constint *ch_map, intflags){AudioConvert *ctx;conv_func_type *f=fmt_pair_to_conv_functions[av_get_packed_sample_fmt(out_fmt)+AV_SAMPLE_FMT_NB *av_get_packed_sample_fmt(in_fmt)];if(!f) returnNULL;ctx=av_mallocz(sizeof(*ctx));if(!ctx) returnNULL;if(channels==1){in_fmt=av_get_planar_sample_fmt(in_fmt);out_fmt=av_get_planar_sample_fmt(out_fmt);}ctx->channels=channels;ctx->conv_f=f;ctx->ch_map=ch_map;if(in_fmt==AV_SAMPLE_FMT_U8||in_fmt==AV_SAMPLE_FMT_U8P) memset(ctx->silence, 0x80, sizeof(ctx->silence));if(out_fmt==in_fmt &&!ch_map){switch(av_get_bytes_per_sample(in_fmt)){case1:ctx->simd_f=cpy1;break;case2:ctx->simd_f=cpy2;break;case4:ctx->simd_f=cpy4;break;case8:ctx->simd_f=cpy8;break;}}if(HAVE_YASM &&1) swri_audio_convert_init_x86(ctx, out_fmt, in_fmt, channels);if(ARCH_ARM) swri_audio_convert_init_arm(ctx, out_fmt, in_fmt, channels);if(ARCH_AARCH64) swri_audio_convert_init_aarch64(ctx, out_fmt, in_fmt, channels);returnctx;}voidswri_audio_convert_free(AudioConvert **ctx){av_freep(ctx);}intswri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, intlen){intch;intoff=0;constintos=(out->planar?1:out->ch_count)*out->bps;unsignedmisaligned=0;av_assert0(ctx->channels==out->ch_count);if(ctx->in_simd_align_mask){intplanes=in->planar?in->ch_count:1;unsignedm=0;for(ch=0;ch< planes;ch++) m|=(intptr_t) in->ch[ch];misaligned|=m &ctx->in_simd_align_mask;}if(ctx->out_simd_align_mask){intplanes=out->planar?out->ch_count:1;unsignedm=0;for(ch=0;ch< planes;ch++) m|=(intptr_t) out->ch[ch];misaligned|=m &ctx->out_simd_align_mask;}if(ctx->simd_f &&!ctx->ch_map &&!misaligned){off=len &~15;av_assert1(off >=0);av_assert1(off<=len);av_assert2(ctx->channels==SWR_CH_MAX||!in->ch[ctx->channels]);if(off >0){if(out->planar==in->planar){intplanes=out->planar?out->ch_count:1;for(ch=0;ch< planes;ch++){ctx->simd_f(out-> ch ch
Definition: audioconvert.c:56
int len
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
for(j=16;j >0;--j)

Definition at line 171 of file audio_convert.c.

#define CONV_FUNC_GROUP (   ofmt,
  otype,
  ifmt,
  itype,
  expr 
)
Value:
CONV_FUNC_FLAT( ofmt, otype, ifmt, itype, expr) \
CONV_FUNC_INTERLEAVE( ofmt, otype, ifmt ## P, itype, expr) \
CONV_FUNC_DEINTERLEAVE(ofmt ## P, otype, ifmt, itype, expr)
#define P
#define CONV_FUNC_FLAT(ofmt, otype, ifmt, itype, expr)
#define CONV_FUNC_DEINTERLEAVE(ofmt, otype, ifmt, itype, expr)
#define CONV_FUNC_INTERLEAVE(ofmt, otype, ifmt, itype, expr)

Definition at line 187 of file audio_convert.c.

#define SET_CONV_FUNC_GROUP (   ofmt,
  ifmt 
)
Value:
ff_audio_convert_set_func(ac, ofmt, ifmt, 0, 1, 1, "C", CONV_FUNC_NAME(ofmt, ifmt)); \
ff_audio_convert_set_func(ac, ofmt ## P, ifmt, 0, 1, 1, "C", CONV_FUNC_NAME(ofmt ## P, ifmt)); \
ff_audio_convert_set_func(ac, ofmt, ifmt ## P, 0, 1, 1, "C", CONV_FUNC_NAME(ofmt, ifmt ## P));
#define P
#define CONV_FUNC_NAME(dst_fmt, src_fmt)
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.
Definition: audio_convert.c:70

Typedef Documentation

typedef void( conv_func_flat)(uint8_t *out, const uint8_t *in, int len)

Definition at line 40 of file audio_convert.c.

typedef void( conv_func_interleave)(uint8_t *out, uint8_t *const *in, int len, int channels)

Definition at line 42 of file audio_convert.c.

typedef void( conv_func_deinterleave)(uint8_t **out, const uint8_t *in, int len, int channels)

Definition at line 45 of file audio_convert.c.

Enumeration Type Documentation

Enumerator
CONV_FUNC_TYPE_FLAT 
CONV_FUNC_TYPE_INTERLEAVE 
CONV_FUNC_TYPE_DEINTERLEAVE 

Definition at line 34 of file audio_convert.c.

Function Documentation

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.

Parameters
acAudioConvert context
out_fmtoutput sample format
in_fmtinput sample format
channelsnumber of channels, or 0 for any number of channels
ptr_alignbuffer pointer alignment, in bytes
samples_alignbuffer size alignment, in samples
descrfunction type description (e.g. "C" or "SSE")
convconversion 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 
)

Variable Documentation

int32_t

Definition at line 194 of file audio_convert.c.

Referenced by 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(), alloc_sample_buffer(), alloc_x96_sample_buffer(), allocate_buffers(), ape_decode_frame(), ape_read_header(), ape_unpack_stereo(), apply_channel_coupling(), apply_filter(), apply_unsharp(), asf_read_simple_index(), asf_write_markers(), av_clipl_int32_c(), av_crc_init(), av_display_rotation_set(), av_div_sf_ieee754(), av_mul_sf(), av_mul_sf_ieee754(), av_normalize1_sf(), av_sincos_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(), avc_idct8_dc_addblk_msa(), avc_luma_midv_qrt_and_aver_dst_16w_msa(), avc_luma_midv_qrt_and_aver_dst_4w_msa(), avc_luma_midv_qrt_and_aver_dst_8w_msa(), avc_luma_vt_16w_msa(), avc_luma_vt_4w_msa(), avc_luma_vt_8w_msa(), avc_luma_vt_and_aver_dst_16x16_msa(), avc_luma_vt_and_aver_dst_8x8_msa(), avc_luma_vt_qrt_16w_msa(), avc_luma_vt_qrt_4w_msa(), avc_luma_vt_qrt_8w_msa(), avc_luma_vt_qrt_and_aver_dst_16x16_msa(), avc_luma_vt_qrt_and_aver_dst_8x8_msa(), avg_width16_msa(), avg_width32_msa(), avg_width4_msa(), avg_width64_msa(), avg_width8_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(), channel_decorrelation(), check_append_extra_bits(), check_decorrelate(), check_decorrelate_stereo(), check_mct(), checkasm_check_audiodsp(), checkasm_check_fmtconvert(), chrRangeFromJpeg16_c(), chrRangeToJpeg16_c(), chs_alloc_lsb_band_data(), chs_alloc_msb_band_data(), chs_assemble_freq_bands(), chs_assemble_msbs_lsbs(), chs_clear_band_data(), chs_filter_band_data(), chs_parse_band_data(), code_matrix_coeffs(), codeblock(), codebook_bits_offset(), combine_residual_frame(), common_hv_8ht_8vt_16w_msa(), common_hv_8ht_8vt_32w_msa(), common_hv_8ht_8vt_64w_msa(), common_hv_8ht_8vt_and_aver_dst_16w_msa(), common_hv_8ht_8vt_and_aver_dst_32w_msa(), common_hv_8ht_8vt_and_aver_dst_64w_msa(), common_hz_8t_64w_msa(), common_hz_8t_and_aver_dst_16w_msa(), common_hz_8t_and_aver_dst_8w_msa(), common_vt_8t_12w_msa(), compute_imdct(), config_output(), copy_16multx8mult_msa(), copy_8bit_to_16bit_width8_msa(), copy_8bit_value_width16_msa(), copy_8bit_value_width8_msa(), copy_8x8_msa(), copy_tag(), copy_width16_msa(), copy_width32_msa(), copy_width8_msa(), create_chrominance_lut(), create_map(), crystalhd_decode_packet(), dct4x4_impl(), dct8x8(), dctcoef_get(), dctcoef_set(), deblocking_filter_CTB(), decode_cabac_residual_internal(), decode_channel(), decode_const_block_data(), decode_delta_d(), decode_delta_j(), decode_element(), decode_frame(), decode_hf_c(), decode_joint_c(), decode_lt_rps(), decode_plane(), decode_residual(), decode_subband(), decode_subframe(), decode_var_block_data(), decorr_mono(), decorr_stereo(), decorr_stereo_pass2(), decorr_stereo_pass_id2(), decorr_stereo_quick(), decorrelate(), decorrelate_ls(), decorrelate_sf(), decorrelate_sm(), decorrelate_sr(), decorrelate_stereo(), deinterlace_slice(), dequantization_int(), dequantization_int_97(), determine_bits(), determine_quant_step_size(), dmix_sub_xch_c(), 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(), evalfunc_0(), exr_flt2uint(), ff_ac3_apply_rematrixing(), ff_avg_bilin_32hv_msa(), ff_avg_bilin_64hv_msa(), ff_avg_h264_chroma_mc2_msa(), ff_celt_decode_band(), ff_dca_core_filter_fixed(), ff_dca_core_flush(), ff_dca_xll_filter_frame(), ff_dct_unquantize_h263_inter_msa(), ff_dct_unquantize_h263_intra_msa(), ff_dct_unquantize_mpeg2_inter_msa(), ff_dirac_golomb_read_16bit(), ff_dirac_golomb_read_32bit(), ff_eac3_apply_spectral_extension(), ff_generate_wave_table(), ff_get_bmp_header(), ff_h264_idct8_add4_msa(), ff_h264_idct_add16_intra_msa(), ff_h264_idct_add16_msa(), ff_h264_idct_add8_422_msa(), ff_h264_idct_add8_msa(), ff_ivi_inverse_haar_4x4(), ff_ivi_inverse_haar_8x8(), ff_ivi_inverse_slant_4x4(), ff_ivi_inverse_slant_8x8(), ff_ivi_recompose53(), ff_j_rev_dct(), ff_j_rev_dct4(), ff_jpeg2000_tag_tree_init(), ff_mlp_pack_output(), ff_mpeg1_decode_block_intra(), ff_print_debug_info2(), ff_put_bilin_32hv_msa(), ff_put_bilin_64hv_msa(), ff_put_h264_chroma_mc2_msa(), ff_put_h264_chroma_mc4_msa(), ff_put_vp8_epel16_h4v4_msa(), ff_put_vp8_epel16_h4v6_msa(), ff_put_vp8_epel16_h6v4_msa(), ff_put_vp8_epel16_h6v6_msa(), ff_put_vp8_pixels16_msa(), ff_put_vp8_pixels8_msa(), ff_rgb24toyv12_c(), ff_rtp_check_and_send_back_rr(), ff_tadd_long_metadata(), ff_tadd_rational_metadata(), ff_vda_default_init(), ffat_copy_samples(), fill_buffer(), fill_ones(), filter(), filter_3800(), filter_channel(), filter_fast_3320(), filter_frame(), filter_frame_fixed(), filter_slice(), finalize_packet(), find_peaks(), find_sidx(), flv_read_packet(), ftx(), gbr24pToUV_half_c(), generate_2_noise_channels(), get(), get_frame(), get_rotation(), get_sample(), get_send_time(), get_xbits(), get_xbits_le(), h263_dct_unquantize_msa(), h263_h_loop_filter_msa(), h263_v_loop_filter_msa(), h264_export_frame_props(), h264_mp4toannexb_filter(), hadamard_intra_8x8_msa(), hdcd_analyze(), hdcd_analyze_gen(), hdcd_analyze_prepare(), hdcd_envelope(), hdcd_process(), hdcd_process_stereo(), 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_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_intra_pred_angular_lower_8width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_loopfilter_luma_hor_msa(), hevc_loopfilter_luma_ver_msa(), hevc_sao_band_filter_16multiple_msa(), hevc_sao_band_filter_4width_msa(), hevc_sao_band_filter_8width_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_0degree_4width_msa(), hevc_sao_edge_filter_0degree_8width_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_135degree_4width_msa(), hevc_sao_edge_filter_135degree_8width_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_45degree_4width_msa(), hevc_sao_edge_filter_45degree_8width_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), hevc_sao_edge_filter_90degree_4width_msa(), hevc_sao_edge_filter_90degree_8width_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(), input_data_internal(), input_to_sample_buffer(), inter_predict_dc(), intra_predict_plane_16x16_msa(), intra_predict_plane_8x8_msa(), inverse_adpcm(), ivi_decode_blocks(), ivi_decode_coded_blocks(), lfe_downsample(), lfe_x96_fixed_c(), long_filter_ehigh_3830(), long_filter_high_3800(), lpc_analyze_remodulate(), lpc_prediction(), lumRangeFromJpeg16_c(), lumRangeToJpeg16_c(), main(), mclms_update(), mediacodec_dec_parse_format(), mkv_parse_video_projection(), mlp_encode_init(), mlp_filter_channel(), mov_metadata_loci(), mov_read_elst(), mov_read_header(), mov_read_mfra(), mov_read_sv3d(), mov_read_tkhd(), mov_read_udta_string(), mov_write_loci_tag(), mov_write_tapt_tag(), mp3_parse_info_tag(), mp3_write_xing(), mp3lame_encode_frame(), mpeg1_decode_block_inter(), mpeg1_fast_decode_block_inter(), mpeg2_dct_unquantize_inter_msa(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_non_intra(), msmpeg4_decode_dc(), multiply(), nist_read_header(), no_codebook_bits(), no_codebook_bits_offset(), norm__(), pack_float_sample(), parse_frame_data(), parse_subframe_audio(), parse_value(), parse_x96_frame_data(), parse_x96_subframe_audio(), parse_xbr_subframe(), 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(), print_pkt_side_data(), process_float(), ps_tableinit(), quantize_lpc_coefs(), quantize_value(), ra144_encode_frame(), rct_int(), rd_frame(), read_dct_coeffs(), read_filter_params(), read_highpass(), read_mfra(), read_moof_duration(), read_var_block_data(), recurse_mono(), recurse_stereo(), rematrix_channels(), 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(), sad_16width_msa(), sad_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_hv_bilinear_filter_16width_msa(), sad_hv_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), sad_vert_bilinear_filter_8width_msa(), scalarproduct(), scale_samples_s32(), scaling_list_data(), scan_float(), scan_int23(), scan_int32(), search_for_golomb(), set(), set_best_abits_code(), set_best_code(), set_filter_params(), set_side_data(), shorten_decode_frame(), show_frame(), silk_decode_excitation(), silk_is_lpc_stable(), silk_lsf2lpc(), simple_idct_add_msa(), simple_idct_msa(), simple_idct_put_msa(), skip_tag(), smacker_read_header(), spectral_to_sample(), sse_16width_msa(), sse_4width_msa(), sse_8width_msa(), sub_qmf32_fixed_c(), sub_qmf64_fixed_c(), subband_transform(), svq1_encode_init(), svq3_decode_block(), svq3_mc_dir(), swri_get_dither(), sws_init_context(), swscale(), synth_filter_fixed(), synth_filter_fixed_64(), tag_tree_size(), tak_decode_frame(), tta_decode_frame(), tta_decode_init(), tta_encode_frame(), unpack_intraframe(), update_band_masking(), update_md5_sum(), vector_fmul_window_c(), vector_fmul_window_scaled_c(), vp9_iadst16x16_colcol_addblk_msa(), vp9_iadst_idct_16x16_add_msa(), vp9_idct16x16_10_colcol_addblk_msa(), vp9_idct16x16_colcol_addblk_msa(), vp9_idct32x32_1_add_msa(), vp9_idct32x32_34_colcol_addblk_msa(), vp9_idct32x32_colcol_addblk_msa(), vp9_idct8x8_1_add_msa(), vp9_idct_iadst_16x16_add_msa(), wavesynth_decode(), wavesynth_parse_extradata(), wavesynth_synth_sample(), wavpack_encode_block(), wavpack_encode_frame(), wavpack_encode_sample(), write_block_data(), write_element(), write_filter_params(), write_hint_packets(), write_matrix_params(), write_restart_header(), write_subframes(), write_substrs(), writer_open(), wv_mono(), wv_stereo(), wv_unpack_mono(), wv_unpack_stereo(), x8_decode_intra_mb(), x8_loop_filter(), yuv2ayuv64le_X_c(), yuv2gbrp16_full_X_c(), yuv2rgba64_1_c_template(), yuv2rgba64_2_c_template(), yuv2rgba64_full_1_c_template(), yuv2rgba64_full_2_c_template(), yuvPlanartouyvy_c(), and yuvPlanartoyuy2_c().

AV_SAMPLE_FMT_U8
uint8_t
Examples:
avio_reading.c, decode_audio.c, decode_video.c, demuxing_decoding.c, encode_video.c, ffhash.c, filter_audio.c, filtering_video.c, http_multiclient.c, muxing.c, qsvdec.c, resampling_audio.c, scaling_video.c, transcode_aac.c, and transcoding.c.

Definition at line 194 of file audio_convert.c.

Referenced by a64_compress_colram(), a64_write_header(), a64multi_encode_frame(), a64multi_encode_init(), aa_probe(), aa_read_header(), aa_read_packet(), 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(), accumulate_huff_bit_consumption(), acolor(), add_entry(), add_event(), add_frame_default(), add_hfyu_left_pred_bgr32_c(), add_lag_median_prediction(), add_median_pred_c(), 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(), aflat(), 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(), alloc_slice(), allocate_buffers(), alpha_composite(), alpha_inverse_prediction(), amr_handle_packet(), amr_read_header(), amr_read_packet(), amrnb_decode_frame(), amrwb_decode_frame(), analyze_plane(), any_vscale(), ape_decode_frame(), ape_tag_read_field(), apng_do_inverse_blend(), apng_encode_frame(), 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(), ascii2index(), asf_parse_packet(), asf_read_content_desc(), asf_read_ext_content(), asf_read_metadata(), asf_read_metadata_obj(), asf_read_payload(), asf_read_picture(), asf_read_stream_properties(), asf_read_subpayload(), asf_read_value(), asf_write_header1(), asf_write_markers(), asfrtp_parse_packet(), ass_split_section(), async_read_internal(), at1_unpack_dequant(), atrac1_decode_frame(), atrac3_decode_frame(), atrac3_decode_init(), audio_decode_frame(), audio_write_packet(), aura_decode_frame(), auxiliary_info_add_subsample(), av_aes_ctr_crypt(), av_aes_ctr_increment_be64(), av_aes_ctr_set_random_iv(), av_aes_init(), av_audio_convert(), av_base64_decode(), 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_peek(), av_fifo_generic_peek_at(), av_fifo_generic_read(), av_fifo_generic_write(), av_fifo_peek2(), av_frame_get_plane_buffer(), av_grow_packet(), av_hash_final_b64(), av_hash_final_bin(), av_hash_final_hex(), av_hmac_final(), av_hmac_init(), av_hwdevice_ctx_alloc(), av_hwframe_ctx_alloc(), av_hwframe_map(), 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_new_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_stream_new_side_data(), 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_luma_hz_qrt_4w_msa(), avc_luma_hz_qrt_8w_msa(), avc_luma_hz_qrt_and_aver_dst_4x4_msa(), avc_luma_hz_qrt_and_aver_dst_8x8_msa(), avc_wgt_16width_msa(), avc_wgt_4x4multiple_msa(), avc_wgt_8width_msa(), avcodec_copy_context(), avcodec_decode_audio4(), avcodec_fill_audio_frame(), avfilter_transform(), avg_width32_msa(), avg_width64_msa(), avi_extract_stream_metadata(), avi_read_header(), avi_read_packet(), avio_wb16(), avio_wb24(), avio_wb32(), avio_wl16(), avio_wl32(), avpicture_layout(), 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(), binary_export(), bink_decode_plane(), bink_put_pixels(), binkb_calc_quant(), binkb_decode_plane(), binkb_read_bundle(), bit8x8_c(), bitplane_decoding(), bktr_init(), blend_frames8(), blend_image_packed_rgb(), blend_plane(), 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_huff10(), build_huff_tree(), build_vlc(), cache_seek(), calc_combed_score(), calc_diffs(), calculate_skip_errors(), cavs_decode_frame(), 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_bands(), celt_decode_coarse_energy(), celt_deinterleave_hadamard(), celt_header(), celt_interleave_hadamard(), celt_quant_bands(), celt_quant_coarse(), cenc_filter(), channelmap_filter_frame(), check(), check_add_bytes(), check_add_res(), check_bidir_mv(), check_decorrelate(), check_file_header(), check_header_mismatch(), check_idct(), check_idct_dc4(), check_intra_mode(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_rgb2yuv(), check_video_streams(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_blend(), checkasm_check_bswapdsp(), checkasm_check_flacdsp(), checkasm_check_h264pred(), checkasm_check_h264qpel(), checkasm_check_jpeg2000dsp(), checkasm_check_pixblockdsp(), checkasm_check_v210enc(), checkasm_check_videodsp(), choose_pix_fmts(), chr_convert(), chr_h_scale(), chr_planar_vscale(), chroma(), 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(), clv_decode_frame(), cmap_read_palette(), cmp(), cmp_direct_inline(), cmp_inline(), cmv_decode_frame(), cmv_decode_inter(), codeblock(), color(), color_correlation(), color_decorrelation(), color_get(), color_graticule(), color_hash(), colormap_nearest_bruteforce(), colormap_nearest_iterative(), colormap_nearest_node(), commit_bitstream_and_slice_buffer(), common_hv_bil_16w_msa(), common_hv_bil_4w_msa(), common_hv_bil_8w_msa(), common_hv_bil_and_aver_dst_16w_msa(), common_hv_bil_and_aver_dst_4w_msa(), common_hv_bil_and_aver_dst_8w_msa(), common_hz_4t_24w_msa(), common_hz_8t_12w_msa(), common_hz_bil_16w_msa(), common_hz_bil_4w_msa(), common_hz_bil_8w_msa(), common_hz_bil_and_aver_dst_16w_msa(), common_hz_bil_and_aver_dst_4w_msa(), common_hz_bil_and_aver_dst_8w_msa(), common_vt_4t_32w_mult_msa(), common_vt_8t_16w_mult_msa(), common_vt_8t_and_aver_dst_16w_mult_msa(), common_vt_bil_16w_msa(), common_vt_bil_4w_msa(), common_vt_bil_8w_msa(), common_vt_bil_and_aver_dst_16w_msa(), common_vt_bil_and_aver_dst_4w_msa(), common_vt_bil_and_aver_dst_8w_msa(), compare(), compare_addr(), compare_fields(), compress_alpha(), compress_texture(), compute_alpha_vlcs(), compute_crc_of_packets(), compute_default_clut(), compute_exp_strategy(), compute_images_mse(), compute_metric(), compute_sat_hue_metrics8(), compute_unsafe_ssd_integral_image(), concat_read_header(), concat_read_packet(), config_input(), config_out_props(), config_output(), config_props(), config_video_output(), convert(), convert_frame(), convert_mask_to_strength_mask(), cook_decode_frame(), copy(), copy_16multx8mult_msa(), copy_8bit_to_16bit_width8_msa(), copy_backptr(), copy_block(), copy_cell(), copy_emulation_prev(), copy_field(), copy_frame(), copy_frame_default(), copy_input_samples(), copy_moof(), copy_output(), copy_pad(), copy_param_sets(), copy_picture_field(), copy_processed_frame(), copy_rectangle(), copy_region_enc(), copy_replace_length_codes(), copy_separable_masks(), count_colors(), count_frame_header(), count_hq_slice(), count_nalus(), cover_rect(), cpia_decode_frame(), create_iv(), create_new_buffer(), create_vorbis_context(), crypto_close(), crypto_seek(), cuda_pool_alloc(), cuvid_output_frame(), cyuv_decode_frame(), daala_header(), dca_parse_params(), dcadec_decode_frame(), dct_get(), dct_quantize_refine(), dct_quantize_trellis_c(), dds_decode(), dds_probe(), deband_8_c(), deband_8_coupling_c(), deblocking_filter_CTB(), debug_accuracy(), debug_mean_error(), decode(), decode_0(), decode_10bit_pulse(), decode_13(), decode_5(), decode_8(), decode_alpha_block(), decode_argb(), decode_argb_frame(), decode_argbi(), decode_audio_block(), decode_audio_s16(), decode_aybr(), decode_aybri(), 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_byry(), decode_byryi(), decode_c82i(), decode_c82p(), 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_dct_block(), decode_dds1(), decode_deep_rle32(), decode_delta_j(), decode_dsw1(), decode_dvd_subtitles(), decode_eld_specific_config(), decode_entropy_coded_image(), decode_extradata_ps_mp4(), decode_fctl_chunk(), decode_fill(), decode_flush(), decode_frame(), decode_frame_common(), decode_frame_header(), decode_frame_headers(), decode_ga_specific_config(), decode_grid(), decode_header(), decode_hextile(), decode_hq_slice(), decode_hq_slice_row(), decode_hybrid(), decode_i2_frame(), decode_i_frame(), decode_init(), decode_init_static(), decode_interframe_v4(), decode_interframe_v4a(), decode_intra4x4_modes(), decode_line_TMPL(), 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_packet(), decode_part_stereo(), decode_picture_header(), decode_pixel_in_context(), decode_plane(), decode_region(), decode_region_intra(), decode_region_masked(), decode_residual_block(), decode_rgb(), decode_rgb24_frame(), decode_rgbi(), decode_rle(), decode_rle16(), decode_rle_bpp2(), decode_rle_bpp4(), decode_sb(), decode_scaling_list(), decode_scaling_matrices(), decode_sgirle8(), decode_slice(), decode_slice_header(), decode_slice_thread(), decode_speedhq_field(), decode_splitmvs(), decode_str(), decode_subband(), decode_sym(), decode_sym_565(), decode_tag(), decode_tdlt(), decode_text_chunk(), decode_tilehdr(), decode_tsw1(), decode_unregistered_user_data(), decode_vui(), decode_wdlt(), decode_ybr(), decode_ybri(), decode_ybyr(), decode_yuv_frame(), decompress_chunks_thread(), decompress_i(), decompress_p(), decompress_texture_thread(), decrypt_init(), default_decoding_params(), DEFINE_BLEND8(), deinterlace_slice(), deInterlaceMedian_TMPL(), delta_decode(), denoise_depth(), dequant(), dequant_lsps(), dering_altivec(), dering_TMPL(), derive_key(), describe_filter_link(), detect_scene_change(), dfa_decode_frame(), diff(), dirac_combine_frame(), dirac_decode_data_unit(), dirac_decode_frame(), dirac_decode_frame_internal(), dirac_unpack_block_motion_data(), dirac_unpack_prediction_parameters(), displace_packed(), displace_planar(), display_frame(), dnxhd_10bit_dct_quantize(), dnxhd_10bit_dct_quantize_444(), dnxhd_decode_dct_block(), dnxhd_decode_frame(), dnxhd_decode_macroblock(), dnxhd_encode_init(), dnxhd_encode_picture(), dnxhd_encode_thread(), dnxhd_get_blocks(), dnxhd_init_qmat(), dnxhd_mb_var_thread(), dnxhd_switch_matrix(), dnxhd_unquantize_c(), do_adobe_auth(), do_chromakey_slice(), do_llnw_auth(), do_psnr(), do_swap(), do_swizzle(), do_video_out(), doTest(), doVertDefFilter_altivec(), doVertLowPass_altivec(), downscale(), dpcm_decode_frame(), dpx_probe(), draw_axis_rgb(), draw_axis_yuv(), draw_bar_rgb(), draw_bar_yuv(), draw_curves(), draw_dot(), draw_edges_8_c(), draw_frame(), draw_glyphs(), draw_htext(), draw_htext16(), draw_text(), draw_vtext(), draw_vtext16(), drawline(), drawtext(), dss_read_seek(), dss_sp_decode_frame(), dts_probe(), dump_paramchange(), dump_video_streams(), 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(), dvbtxt_probe(), dvd_encode_rle(), dvdsub_decode(), dvvideo_decode_frame(), dwt_plane(), dx2_decode_slice_410(), dx2_decode_slice_420(), dx2_decode_slice_444(), dx2_decode_slice_5x5(), dx2_decode_slice_rgb(), dxa_read_packet(), dxn3dc_block(), dxt3_block_internal(), dxt5_block_internal(), dxt5ys_block(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), dxtory_decode_v1_rgb(), dxtory_decode_v2(), dxva2_map_frame(), dxva2_pool_alloc(), 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_hq_slice(), encode_init(), encode_intervals(), encode_line_TMPL(), encode_mb_hq(), encode_mb_internal(), encode_mode(), encode_nals(), encode_picture(), encode_picture_ls(), encode_plane(), encode_q_branch(), encode_rgb48_10bit(), encode_slice(), encode_slice_header(), encode_slices(), encode_subband(), encode_thread(), encrypt_counter(), end_ebml_master_crc32(), end_ebml_master_crc32_preliminary(), envelope_instant(), envelope_peak(), epic_jb_decode_tile(), escape130_decode_frame(), estimate_best_b_count(), estimate_motion_b(), evalfunc_0(), evalfunc_1(), evolve(), evrc_decode_frame(), expand_rle_row8(), exponents_from_scale_factors(), exr_probe(), extract_color(), extract_extradata_filter(), extract_extradata_h2645(), extract_extradata_mpeg4(), extract_extradata_vc1(), extract_header(), extract_line(), extract_m8(), extract_m8_i16(), f_func(), fade(), fbdev_read_packet(), fbdev_write_packet(), ff_aac_search_for_is(), ff_ac3_apply_rematrixing(), ff_ac3_group_exponents(), ff_add_cpb_side_data(), ff_add_param_change(), ff_alloc_a53_sei(), ff_AMediaCodec_getInputBuffer(), ff_AMediaCodec_getOutputBuffer(), ff_ape_parse_tag(), ff_ape_write_tag(), ff_asfcrypt_dec(), ff_ass_split_dialog2(), 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_avg_h264_qpel16_mc01_mmi(), ff_avg_h264_qpel16_mc02_mmi(), ff_avg_h264_qpel16_mc03_mmi(), ff_avg_h264_qpel16_mc10_mmi(), ff_avg_h264_qpel16_mc11_mmi(), ff_avg_h264_qpel16_mc12_mmi(), ff_avg_h264_qpel16_mc13_mmi(), ff_avg_h264_qpel16_mc21_mmi(), ff_avg_h264_qpel16_mc23_mmi(), ff_avg_h264_qpel16_mc30_mmi(), ff_avg_h264_qpel16_mc31_mmi(), ff_avg_h264_qpel16_mc31_msa(), ff_avg_h264_qpel16_mc32_mmi(), ff_avg_h264_qpel16_mc33_mmi(), ff_avg_h264_qpel16_mc33_msa(), ff_avg_h264_qpel4_mc01_mmi(), ff_avg_h264_qpel4_mc02_mmi(), ff_avg_h264_qpel4_mc03_mmi(), ff_avg_h264_qpel4_mc10_mmi(), ff_avg_h264_qpel4_mc11_mmi(), ff_avg_h264_qpel4_mc12_mmi(), ff_avg_h264_qpel4_mc13_mmi(), ff_avg_h264_qpel4_mc21_mmi(), ff_avg_h264_qpel4_mc23_mmi(), ff_avg_h264_qpel4_mc30_mmi(), ff_avg_h264_qpel4_mc31_mmi(), ff_avg_h264_qpel4_mc31_msa(), ff_avg_h264_qpel4_mc32_mmi(), ff_avg_h264_qpel4_mc33_mmi(), ff_avg_h264_qpel4_mc33_msa(), ff_avg_h264_qpel8_mc01_mmi(), ff_avg_h264_qpel8_mc02_mmi(), ff_avg_h264_qpel8_mc03_mmi(), ff_avg_h264_qpel8_mc10_mmi(), ff_avg_h264_qpel8_mc11_mmi(), ff_avg_h264_qpel8_mc12_mmi(), ff_avg_h264_qpel8_mc13_mmi(), ff_avg_h264_qpel8_mc21_mmi(), ff_avg_h264_qpel8_mc23_mmi(), ff_avg_h264_qpel8_mc30_mmi(), ff_avg_h264_qpel8_mc31_mmi(), ff_avg_h264_qpel8_mc31_msa(), ff_avg_h264_qpel8_mc32_mmi(), ff_avg_h264_qpel8_mc33_mmi(), ff_avg_h264_qpel8_mc33_msa(), 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_celt_decode_band(), ff_celt_encode_band(), ff_cfhd_init_vlcs(), ff_check_pixfmt_descriptors(), ff_clear_block_msa(), ff_clear_blocks_msa(), ff_color_frame(), ff_copy_dshow_media_type(), ff_copy_rectangle(), ff_copy_rectangle2(), ff_cos(), ff_ctz_c(), ff_ctzll_c(), ff_dca_set_channel_layout(), ff_dca_vlc_calc_alloc_bits(), ff_dca_vlc_calc_quant_bits(), ff_dca_vlc_enc_alloc(), ff_dca_vlc_enc_quant(), ff_dct_quantize_c(), ff_deblock_h_luma_8_mmi(), ff_deblock_h_luma_intra_8_mmi(), ff_draw_color(), ff_draw_rectangle(), ff_dvvideo_init(), ff_eac3_apply_spectral_extension(), ff_els_decode_unsigned(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_estimate_p_frame_motion(), ff_ffv1_init_slice_state(), ff_fill_line_with_color(), ff_fill_rectangle(), ff_flac_parse_picture(), ff_flac_write_header(), ff_generate_avci_extradata(), ff_get_best_fcode(), ff_get_packet_palette(), ff_get_pixels_16_msa(), ff_get_qtpalette(), 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_h2645_extract_rbsp(), ff_h2645_packet_split(), ff_h264_alloc_tables(), ff_h264_chroma422_dc_dequant_idct(), ff_h264_decode_extradata(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), 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_intra_pred_dc_128_16x16_msa(), ff_h264_intra_pred_dc_128_8x8_msa(), ff_h264_intra_pred_dc_16x16_msa(), ff_h264_intra_pred_dc_left_16x16_msa(), ff_h264_intra_pred_dc_top_16x16_msa(), ff_h264_intra_pred_horiz_16x16_msa(), ff_h264_intra_pred_horiz_8x8_msa(), ff_h264_intra_pred_vert_16x16_msa(), ff_h264_intra_pred_vert_8x8_msa(), 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_hls_residual_coding(), ff_hevc_sao_edge_filter_8_msa(), ff_hevc_slice_rpl(), ff_huff_gen_len_table(), ff_hwframe_map_create(), ff_id3v1_read(), ff_id3v2_write_apic(), ff_img_read_header(), ff_img_read_packet(), ff_init_buffer_info(), ff_init_range_decoder(), ff_init_slice_from_src(), ff_inlink_make_frame_writable(), ff_insert_pad(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_isom_write_avcc(), ff_isom_write_hvcc(), ff_ivi_decode_frame(), ff_jni_init_jfields(), ff_jni_reset_jfields(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_load_image(), ff_log2_q15(), ff_loop_filter_h_16_16_msa(), ff_loop_filter_h_16_8_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_v_16_16_msa(), ff_lzf_uncompress(), ff_lzw_decode(), ff_lzw_encode(), ff_me_cmp_sad(), ff_mediacodec_dec_decode(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_frame(), ff_mjpeg_encode_picture_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_cenc_avc_parse_nal_units(), 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_opus_rc_enc_end(), ff_parse_mpeg2_descriptor(), ff_print_debug_info2(), ff_printGUID(), ff_put_h264_qpel16_mc01_mmi(), ff_put_h264_qpel16_mc02_mmi(), ff_put_h264_qpel16_mc03_mmi(), ff_put_h264_qpel16_mc10_mmi(), ff_put_h264_qpel16_mc11_mmi(), ff_put_h264_qpel16_mc12_mmi(), ff_put_h264_qpel16_mc13_mmi(), ff_put_h264_qpel16_mc21_mmi(), ff_put_h264_qpel16_mc23_mmi(), ff_put_h264_qpel16_mc30_mmi(), ff_put_h264_qpel16_mc31_mmi(), ff_put_h264_qpel16_mc31_msa(), ff_put_h264_qpel16_mc32_mmi(), ff_put_h264_qpel16_mc33_mmi(), ff_put_h264_qpel16_mc33_msa(), ff_put_h264_qpel4_mc01_mmi(), ff_put_h264_qpel4_mc02_mmi(), ff_put_h264_qpel4_mc03_mmi(), ff_put_h264_qpel4_mc10_mmi(), ff_put_h264_qpel4_mc11_mmi(), ff_put_h264_qpel4_mc12_mmi(), ff_put_h264_qpel4_mc13_mmi(), ff_put_h264_qpel4_mc21_mmi(), ff_put_h264_qpel4_mc23_mmi(), ff_put_h264_qpel4_mc30_mmi(), ff_put_h264_qpel4_mc31_mmi(), ff_put_h264_qpel4_mc31_msa(), ff_put_h264_qpel4_mc32_mmi(), ff_put_h264_qpel4_mc33_mmi(), ff_put_h264_qpel4_mc33_msa(), ff_put_h264_qpel8_mc01_mmi(), ff_put_h264_qpel8_mc02_mmi(), ff_put_h264_qpel8_mc03_mmi(), ff_put_h264_qpel8_mc10_mmi(), ff_put_h264_qpel8_mc11_mmi(), ff_put_h264_qpel8_mc12_mmi(), ff_put_h264_qpel8_mc13_mmi(), ff_put_h264_qpel8_mc21_mmi(), ff_put_h264_qpel8_mc23_mmi(), ff_put_h264_qpel8_mc30_mmi(), ff_put_h264_qpel8_mc31_mmi(), ff_put_h264_qpel8_mc31_msa(), ff_put_h264_qpel8_mc32_mmi(), ff_put_h264_qpel8_mc33_mmi(), ff_put_h264_qpel8_mc33_msa(), ff_put_v(), ff_put_vp8_bilinear16_hv_mmi(), ff_put_vp8_bilinear4_hv_mmi(), ff_put_vp8_bilinear8_hv_mmi(), ff_put_vp8_epel16_h4_mmi(), ff_put_vp8_epel16_h4v4_mmi(), ff_put_vp8_epel16_h4v6_mmi(), ff_put_vp8_epel16_h6_mmi(), ff_put_vp8_epel16_h6v4_mmi(), ff_put_vp8_epel16_h6v6_mmi(), ff_put_vp8_epel16_v4_mmi(), ff_put_vp8_epel16_v6_mmi(), ff_put_vp8_epel4_h4_mmi(), ff_put_vp8_epel4_h4v4_mmi(), ff_put_vp8_epel4_h4v6_mmi(), ff_put_vp8_epel4_h6_mmi(), ff_put_vp8_epel4_h6v4_mmi(), ff_put_vp8_epel4_h6v6_mmi(), ff_put_vp8_epel4_v4_mmi(), ff_put_vp8_epel4_v6_mmi(), ff_put_vp8_epel8_h4_mmi(), ff_put_vp8_epel8_h4v4_mmi(), ff_put_vp8_epel8_h4v6_mmi(), ff_put_vp8_epel8_h6_mmi(), ff_put_vp8_epel8_h6v4_mmi(), ff_put_vp8_epel8_h6v6_mmi(), ff_put_vp8_epel8_v4_mmi(), ff_put_vp8_epel8_v6_mmi(), ff_put_wav_header(), ff_qsv_process_data(), ff_rdt_parse_packet(), ff_rl_init(), ff_rle_count_pixels(), ff_rle_encode(), ff_rm_read_mdpr_codecdata(), ff_rtjpeg_decode_frame_yuv420(), 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_vc2hq(), ff_rtp_send_xiph(), ff_rtsp_tcp_write_packet(), ff_rv34_decode_frame(), ff_scale_image(), ff_side_data_set_encoder_stats(), ff_snappy_uncompress(), ff_snow_inner_add_yblock(), ff_snow_pred_block(), ff_spatial_idwt_init_TMPL(), ff_spdif_probe(), ff_srtp_decrypt(), ff_srtp_encrypt(), ff_srtp_set_crypto(), ff_stream_encode_params_copy(), ff_sws_alphablendaway(), ff_text_r8(), ff_tm_16x16_msa(), ff_tm_32x32_msa(), ff_tm_4x4_msa(), ff_tm_8x8_msa(), ff_twinvq_decode_frame(), ff_u8_to_s8(), 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_videotoolbox_avcc_extradata_create(), ff_videotoolbox_buffer_create(), ff_vorbis_comment(), ff_vp56_decode_frame(), ff_vp8_h_loop_filter16_msa(), ff_vp8_h_loop_filter8uv_inner_msa(), ff_vp8_h_loop_filter_simple_msa(), ff_vp8_luma_dc_wht_mmi(), ff_vp8_v_loop_filter16_msa(), ff_vp8_v_loop_filter8uv_msa(), ff_vp9_adapt_probs(), ff_vp9_loopfilter_sb(), ff_wma_init(), ff_wmv2_decode_mb(), ff_wmv2_encode_mb(), ffat_create_decoder(), ffat_init_encoder(), ffat_set_extradata(), 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(), ffmal_copy_frame(), ffmmal_add_packet(), ffmmal_set_ref(), ffmpeg_parse_options(), ffurl_write(), fic_decode_frame(), fic_decode_slice(), fic_draw_cursor(), fifo_consumer_thread(), fifo_write_packet(), fill_buffer(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), fill_l1distlut(), fill_noise_buffer(), fill_picture(), fill_picture_monoblack(), fill_picture_parameters(), fill_picture_rgb(), fill_rectangle(), fill_rgb2yuv_table(), fillPlane(), fillPlane16(), filter(), filter8_brng(), filter8_tout(), filter8_vrep(), filter_3x3(), filter_5x5(), filter_common(), filter_edge(), filter_edges(), filter_frame(), filter_frame8(), filter_intra(), filter_line_c(), filter_mb(), filter_mb_dir(), filter_mb_row(), filter_mbedge(), filter_plane_cols(), filter_plane_rows(), filter_prewitt(), filter_rgb(), filter_rgb24(), filter_rgba(), filter_slice(), filter_slice16(), filter_slice8(), filter_slice_alpha(), filter_slice_chroma(), filter_slice_luma(), filter_sobel(), filter_ts(), finalize_frame(), find_header_idx(), find_headers_search_validate(), find_index_range(), find_marker(), find_new_headers(), find_resync_marker_reverse(), find_sei_end(), 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(), flat(), flic_decode_frame(), flic_decode_init(), flip_swap_frame(), flush_packet(), flv_read_packet(), flv_write_codec_header(), flv_write_packet(), format_line(), frame_copy_video(), free_lines(), free_section(), g2m_decode_frame(), g2m_load_cursor(), g2m_paint_cursor(), g723_1_decode_frame(), gamma_convert(), 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(), generate_fake_vps(), generate_joint_tables(), generate_new_codebooks(), geq_filter_frame(), get(), get16(), get8(), get_4block_rd(), get_asf_string(), 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_l1dist(), get_line(), get_luma_mv(), get_matching_parameters(), get_meta(), get_metadata(), get_metadata_size(), get_next_color(), get_number(), get_packet_header(), get_packetheader(), get_palette_frame(), get_params_size(), get_private_data(), get_pts(), get_qt_codec(), get_ref_pic_index(), get_rotation(), get_sad_ob(), get_sbad(), get_sbad_ob(), get_scene_score(), get_siz(), get_slice_data(), get_stats(), get_tlm(), get_vitc_crc(), getpix(), getstr8(), gfmul(), gif_encode_frame(), gif_image_write_image(), gif_read_ext(), gif_read_header1(), gif_read_image(), gmc1_motion(), gmc_motion(), graticule_green_column(), graticule_green_row(), green_graticule(), grow_array(), gsm_decode_frame(), gsm_probe(), 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_export_frame_props(), h264_extradata_to_annexb(), h264_field_start(), 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(), hap_compress_frame(), 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_decode_frame(), hevc_extradata_to_annexb(), 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_intra_pred_angular_lower_16width_msa(), hevc_intra_pred_angular_lower_32width_msa(), hevc_intra_pred_angular_lower_4width_msa(), hevc_intra_pred_angular_lower_8width_msa(), hevc_intra_pred_angular_upper_16width_msa(), hevc_intra_pred_angular_upper_32width_msa(), hevc_intra_pred_angular_upper_4width_msa(), hevc_intra_pred_angular_upper_8width_msa(), hevc_intra_pred_dc_16x16_msa(), hevc_intra_pred_dc_4x4_msa(), hevc_intra_pred_dc_8x8_msa(), hevc_intra_pred_horiz_16x16_msa(), hevc_intra_pred_horiz_32x32_msa(), hevc_intra_pred_vert_16x16_msa(), hevc_intra_pred_vert_4x4_msa(), hevc_intra_pred_vert_8x8_msa(), hevc_loopfilter_chroma_hor_msa(), hevc_loopfilter_luma_hor_msa(), hevc_loopfilter_luma_ver_msa(), hevc_probe(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_0degree_8width_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_135degree_4width_msa(), hevc_sao_edge_filter_135degree_8width_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_45degree_4width_msa(), hevc_sao_edge_filter_45degree_8width_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), 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_encryption_start(), hls_pcm_sample(), hls_prediction_unit(), hls_slice_data_wpp(), hls_transform_tree(), hls_transform_unit(), hnm_flip_buffers(), hnm_update_palette(), horiz_mc_qpel_16width_msa(), horiz_mc_qpel_8width_msa(), horiz_mc_qpel_aver_src0_16width_msa(), horiz_mc_qpel_aver_src0_8width_msa(), horiz_mc_qpel_aver_src1_16width_msa(), horiz_mc_qpel_aver_src1_8width_msa(), horiz_mc_qpel_avg_dst_16width_msa(), horiz_mc_qpel_avg_dst_8width_msa(), horiz_mc_qpel_avg_dst_aver_src0_16width_msa(), horiz_mc_qpel_avg_dst_aver_src0_8width_msa(), horiz_mc_qpel_avg_dst_aver_src1_16width_msa(), horiz_mc_qpel_avg_dst_aver_src1_8width_msa(), horiz_mc_qpel_no_rnd_16width_msa(), horiz_mc_qpel_no_rnd_8width_msa(), horiz_mc_qpel_no_rnd_aver_src0_16width_msa(), horiz_mc_qpel_no_rnd_aver_src0_8width_msa(), horiz_mc_qpel_no_rnd_aver_src1_16width_msa(), horiz_mc_qpel_no_rnd_aver_src1_8width_msa(), 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(), huff_build(), huff_build10(), hv_mc_qpel_16x16_msa(), hv_mc_qpel_aver_h_src0_16x16_msa(), hv_mc_qpel_aver_h_src1_16x16_msa(), hv_mc_qpel_aver_horiz_16x16_msa(), hv_mc_qpel_aver_horiz_src0_16x16_msa(), hv_mc_qpel_aver_horiz_src1_16x16_msa(), hv_mc_qpel_aver_hv_src00_16x16_msa(), hv_mc_qpel_aver_hv_src01_16x16_msa(), hv_mc_qpel_aver_hv_src10_16x16_msa(), hv_mc_qpel_aver_hv_src11_16x16_msa(), hv_mc_qpel_aver_v_src0_16x16_msa(), hv_mc_qpel_aver_v_src1_16x16_msa(), hv_mc_qpel_avg_dst_16x16_msa(), hv_mc_qpel_avg_dst_aver_h_src0_16x16_msa(), hv_mc_qpel_avg_dst_aver_h_src1_16x16_msa(), hv_mc_qpel_avg_dst_aver_hv_src00_16x16_msa(), hv_mc_qpel_avg_dst_aver_hv_src01_16x16_msa(), hv_mc_qpel_avg_dst_aver_hv_src10_16x16_msa(), hv_mc_qpel_avg_dst_aver_hv_src11_16x16_msa(), hv_mc_qpel_avg_dst_aver_v_src0_16x16_msa(), hv_mc_qpel_avg_dst_aver_v_src1_16x16_msa(), hv_mc_qpel_no_rnd_16x16_msa(), hv_mc_qpel_no_rnd_aver_h_src0_16x16_msa(), hv_mc_qpel_no_rnd_aver_h_src1_16x16_msa(), hv_mc_qpel_no_rnd_aver_hv_src00_16x16_msa(), hv_mc_qpel_no_rnd_aver_hv_src01_16x16_msa(), hv_mc_qpel_no_rnd_aver_hv_src10_16x16_msa(), hv_mc_qpel_no_rnd_aver_hv_src11_16x16_msa(), hv_mc_qpel_no_rnd_aver_v_src0_16x16_msa(), hv_mc_qpel_no_rnd_aver_v_src1_16x16_msa(), hv_mc_qpel_no_rnd_horiz_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src0_16x16_msa(), hv_mc_qpel_no_rnd_horiz_src1_16x16_msa(), hvcc_add_nal_unit(), hvcc_array_add_nal_unit(), hvcc_close(), hvcc_parse_pps(), hvcc_parse_ptl(), hvcc_write(), 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(), ilbc_decode_frame(), ilbc_read_header(), imc_decode_frame(), imc_read_level_coeffs(), imx_dump_header(), init(), init_axis_color(), init_axis_from_file(), init_band(), init_band_stepsize(), init_coef_vlc(), init_context_frame(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_filter(), init_filter_graph(), init_output_stream(), init_pattern_from_string(), init_ralf_vlc(), initializations(), inject_fake_duration_metadata(), inter_pred(), inter_recon(), interlaced_search(), interleave_cols_to_any(), interpol(), INTERPOLATE_METHOD(), intra_pred(), intra_pred_plane(), intra_predict(), intra_predict_dc_4blk_8x8_msa(), intra_predict_hor_dc_8x8_msa(), intra_predict_horiz_16x16_msa(), intra_predict_mad_cow_dc_0l0_8x8_msa(), intra_predict_mad_cow_dc_0lt_8x8_msa(), intra_predict_mad_cow_dc_l00_8x8_msa(), intra_predict_mad_cow_dc_l0t_8x8_msa(), intra_predict_plane_16x16_msa(), intra_predict_plane_8x8_msa(), intra_predict_vert_dc_8x8_msa(), 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(), ivr_read_header(), j2k_probe(), jpeg2000_decode_packets_po_iteration(), 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(), libkvazaar_init(), libopenjpeg_copy_to_packed8(), libopenjpeg_copyto8(), libopenjpeg_decode_frame(), libopus_decode_init(), libopus_encode(), libopus_encode_init(), libopus_validate_layout_and_get_channel_map(), 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(), LLVMFuzzerTestOneInput(), load_colormap(), load_cursor(), load_input_picture(), load_ipmovie_packet(), load_mask(), load_textfile(), loas_probe(), log_callback(), loop_filter(), lowpass(), lsf_decode(), lum_convert(), lum_h_scale(), lum_planar_vscale(), luma_abs_diff(), luma_intra_pred_mode(), luma_mc_bi(), luma_mc_uni(), lut2_8bit(), lxf_read_header(), lxf_sync(), m101_decode_frame(), m4sl_cb(), mace_decode_frame(), magy_decode_frame(), magy_decode_slice(), main(), make_digest_auth(), match_colors(), matroska_decode_buffer(), matroska_deliver_packet(), 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(), mdec_decode_block_intra(), mediacodec_wrap_hw_buffer(), median_predict(), merge(), merge_superframe(), microdvd_probe(), mimic_decode_frame(), mix(), mjpeg2jpeg_filter(), mjpeg_decode_app(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mjpeg_idct_scan_progressive_ac(), mjpega_dump_header(), mjpegb_decode_frame(), mkv_check_new_extra_data(), mkv_free(), mkv_parse_video_projection(), mkv_strip_wavpack(), mkv_write_attachments(), mkv_write_block(), mkv_write_codecprivate(), mkv_write_header(), mkv_write_simpletag(), mkv_write_video_color(), mkv_write_video_projection(), mkv_write_vtt_blocks(), mlp_encode_frame(), mlp_parse(), mlp_thd_probe(), mm_decode_frame(), motion_arg(), motion_compensation(), mov_cenc_start_packet(), mov_cenc_write_encrypted(), mov_cenc_write_saio_tag(), mov_change_extradata(), mov_create_chapter_track(), mov_flush_fragment(), mov_flush_fragment_interleaving(), mov_parse_stsd_video(), mov_parse_uuid_spherical(), mov_parse_vc1_frame(), mov_read_aclr(), mov_read_adrm(), mov_read_chapters(), mov_read_cmov(), mov_read_colr(), mov_read_custom(), mov_read_ddts(), mov_read_default(), mov_read_dfla(), mov_read_dvc1(), mov_read_free(), mov_read_ftyp(), mov_read_header(), mov_read_mac_string(), mov_read_packet(), mov_read_sbgp(), mov_read_sidx(), mov_read_uuid(), mov_rewrite_dvd_sub_extradata(), mov_text_decode_frame(), mov_text_encode_init(), mov_text_tx3g(), 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_single_packet(), 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_audio_packet(), mp3_write_trailer(), mp3_write_xing(), mp3lame_encode_frame(), 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_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(), 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_get_boundary(), mpjpeg_read_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(), mux_frames(), mxf_compute_ptses_fake_index(), 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(), new_data_packet(), next_byte(), nlmeans_slice(), nppscale_interleave(), nsv_read_chunk(), nut_write_packet(), nuv_packet(), nuv_read_dts(), nv12ToPlanarWrapper(), nvenc_copy_frame(), obmc_motion(), ogg_buffer_data(), ogg_build_flac_headers(), ogg_build_opus_headers(), ogg_build_speex_headers(), ogg_build_vp8_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(), omx_encode_frame(), on2avc_decode_frame(), open_null_ctx(), open_output_file(), open_url(), opengl_get_plane_pointer(), opt_filter_complex_script(), opt_size(), optimize_colors(), opus_decode_frame(), opus_decode_packet(), opus_encode_frame(), opus_find_frame_end(), opus_flush_resample(), opus_header(), opus_init_resample(), opus_packet(), opus_write_extradata(), output_configure(), output_frame_end(), output_plane(), output_single_frame(), overlay_ass_image(), pack_yuv(), packed_vscale(), packedCopyWrapper(), packedtogbr24p(), paf_audio_decode(), paf_video_decode(), palToRgbWrapper(), palToUV_c(), pam_encode_frame(), parse(), parse_adts_frame_header(), parse_chunks(), parse_fmtp_config(), parse_fragment(), parse_grid_2(), parse_ifo_palette(), parse_m3d(), parse_media_type(), 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(), pcm_read_header(), pcx_decode_frame(), pcx_encode_frame(), pcx_probe(), pcx_rle_encode(), picmemset(), picmemset_8bpp(), pictor_probe(), pix_abs16_xy2_c(), pix_abs16_y2_c(), pix_abs8_xy2_c(), pix_abs8_y2_c(), pixel2float48(), piz_uncompress(), planar8ToP01xleWrapper(), planarCopyWrapper(), planarRgbToRgbWrapper(), planarToNv12Wrapper(), planarToUyvyWrapper(), planarToYuy2Wrapper(), plot_freqs(), 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_magic_check(), pnm_parse(), pnm_probe(), 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(), premult2straight(), prepare_packet(), print_audio_bytes(), print_sequence(), probe(), probe_codec(), process_audio_header_elements(), process_block(), process_client(), process_input(), process_line0(), process_output(), prompeg_create_bitstring(), prompeg_init(), prompeg_write(), prompeg_write_fec(), prores_encode_frame(), prores_encode_init(), prores_encode_picture(), psd_probe(), 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_parse_config(), qdm2_parse_packet(), qdm2_parse_subpacket(), qdm2_restore_block(), qdraw_probe(), qpeg_decode_inter(), qpel_motion(), qsv_create_mids(), qsv_frame_lock(), qsv_pool_alloc(), 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(), raw_encode(), rd8x8_c(), rd_frame(), rdt_parse_packet(), read8_fft_bin(), read_access_unit(), read_arbitrary(), read_argb_line(), read_audio_mux_element(), read_block_types(), read_chapter(), read_code_table(), read_colors(), read_comment(), 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_vitc_line(), read_xing_toc(), realloc_section_array(), rebuild_filter_bank_with_compensation(), reconstruct_frame(), redspark_probe(), redspark_read_header(), remap_packed(), remap_planar(), render_charset(), render_default_font(), render_fontconfig(), render_freetype(), render_slice(), resample_cubic(), resample_linear(), reset_block_bap(), residual_interp(), restore_median_packed(), restore_median_packed_il(), restore_median_planar(), restore_median_planar_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(), rgtc2_block_internal(), rgtc_block_internal(), 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(), rscc_decode_frame(), 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_postproc(), 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(), save_avio_options(), scale_slice(), scaling_list_data(), scan_int32(), scc_read_header(), sdl2_write_packet(), sdl_audio_callback(), sdt_cb(), search_for_ms(), search_for_pns(), search_for_quantizers_twoloop(), send_invoke_response(), seqvideo_decode_frame(), set(), set_bandwidth(), set_best_abits_code(), set_best_code(), set_bit(), set_codec_str(), set_encoder_id(), set_format(), set_frame(), set_major_params(), set_meta(), set_number(), set_param(), set_processing_window(), set_spdif(), set_string_binary(), setup_partitions(), setup_side_data_entry(), sgi_probe(), shall_we_drop(), shift_data(), shorten_decode_frame(), show_colors(), show_packet(), show_stream(), shrink22(), shrink44(), shuffle_bytes_0321_c(), 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(), skip_label(), slice_decode_thread(), smacker_read_packet(), smc_decode_frame(), smka_decode_frame(), snappy_copy(), sp5x_decode_frame(), spatial_compose_daub97i_dy_TMPL(), spatial_compose_dd137i_dy_TMPL(), spatial_compose_dd97i_dy_TMPL(), spatial_compose_dirac53i_dy_TMPL(), spatial_compose_fidelity_TMPL(), spatial_compose_haari_dy_TMPL(), spdif_header_eac3(), speedhq_decode_frame(), speex_header(), srt_decode_frame(), srt_write_packet(), store_icy(), store_slice16_c(), store_slice2_c(), store_slice_c(), storeframe(), str_probe(), sub2video_copy_rect(), sub_left_prediction(), sub_median_pred_c(), sunrast_decode_frame(), sunrast_image_write_image(), sunrast_probe(), super2xsai(), svc_decode_frame(), 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_luma_dc_dequant_idct_c(), 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(), test_av_get_known_color_name(), test_av_parse_color(), test_copy_print_codec(), test_encode_decode(), test_motion(), test_random_shared_secret(), test_ref_data(), 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(), tls_write(), tm2_decode_blocks(), tmv_decode_frame(), to_meta_with_crop(), tqi_decode_frame(), tqi_idct_put(), truemotion1_decode_frame(), truemotion1_decode_header(), truemotion2rt_decode_frame(), truemotion2rt_decode_header(), truespeech_decode_frame(), tscc2_decode_frame(), tta_check_crc64(), tta_decode_frame(), tta_write_trailer(), txd_decode_frame(), udp_read(), udp_write(), ulti_convert_yuv(), ulti_decode_frame(), ulti_grad(), ulti_pattern(), unescape(), uninit_options(), unpack(), unpack_parse_unit(), unpack_yuv(), update_block_buffers(), update_frame_pool(), update_md5_sum(), update_options(), update_size(), update_sono_rgb(), update_sono_yuv(), update_stream_extradata(), upload_texture(), upsample_plane_c(), utf8_check(), utvideo_encode_frame(), 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_encode_alloc_output_buffer(), vaapi_encode_h264_write_identifier(), vaapi_map_frame(), vaapi_pool_alloc(), 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(), vc2_encode_init(), vc2hq_handle_packet(), vcr1_decode_frame(), vdpau_hevc_start_frame(), vdpau_pool_alloc(), vectorscope8(), verify_md5(), vertClassify_altivec(), vertical_frame_pack(), very_broken_op(), video_decode(), video_decode_example(), video_frame_cksum(), video_image_display(), video_refresh(), decklink_input_callback::VideoInputFrameArrived(), videotoolbox_retrieve_data(), 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_mvs(), vp8_filter_common_is4tap(), vp8_filter_common_isnot4tap(), vp8_header(), vp8_lossy_decode_alpha(), vp8_mc_chroma(), vp8_mc_luma(), vp8_packet(), vp9_decode_frame(), vp9_idct16x16_1_add_msa(), vpx_decode(), vpx_encode(), vqf_read_header(), vu9_to_vu12_c(), vu9_to_vu12_TMPL(), wavesynth_parse_extradata(), wavpack_decode_block(), wavpack_decode_frame(), wavpack_encode_frame(), 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(), wrapped_avframe_encode(), write_access_unit(), write_audio_frame(), write_back_motion(), write_back_motion_list(), write_back_non_zero_count(), write_chapter(), write_char(), write_codebooks(), write_element(), write_escape_str(), write_extradata(), write_frame(), write_globalinfo(), write_header(), write_header_chunk(), write_mb_info(), write_option(), write_packet(), write_picture(), write_quant_table(), write_restart_header(), write_samples_to_audio_fifo(), write_sei(), write_sm_data(), write_status(), write_stream_codec_info(), write_streaminfo(), write_substrs(), write_utf8(), writeout(), writer_open(), ws_snd_decode_frame(), wsvqa_read_header(), wsvqa_read_packet(), wtvfile_open2(), wtvfile_open_sector(), wv_unpack_mono(), wv_unpack_stereo(), 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(), xml_export(), xmv_fetch_video_packet(), xmv_process_packet_header(), xpm_decode_frame(), xpm_probe(), xsub_encode(), xv_write_packet(), 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 avc_idct4x4_addblk_dc_msa(), avc_idct8_dc_addblk_msa(), check_idct(), check_luma_dc_wht(), 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_idct8_dc_add_8_mmi(), ff_h264_idct_dc_add(), ff_h264_idct_dc_add_8_mmi(), ff_metadata_conv(), ff_mpeg1_decode_block_intra(), ff_pred4x4_dc_8_mmi(), ff_pred8x8l_dc_8_mmi(), ff_pred8x8l_top_dc_8_mmi(), ff_vc1_inv_trans_4x4_dc_mmi(), ff_vc1_inv_trans_4x8_dc_mmi(), ff_vc1_inv_trans_8x4_dc_mmi(), ff_vc1_inv_trans_8x8_dc_mmi(), ff_vp8_idct_dc_add_mmi(), ff_vp8_luma_dc_wht_mmi(), ff_vp9dsp_init_16bpp_x86(), filter(), filter181(), get_block(), inter_predict_dc(), interpol(), jpg_decode_block(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), mcdc(), 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(), record_block(), remove_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.

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 aac_adtstoasc_filter(), add_video_device(), apply_lut(), audio_decode_frame(), av_base64_decode(), av_lzo1x_decode(), avc_h_loop_filter_luma_mbaff_msa(), avf_read_header(), biquad(), cdg_scroll(), check_decorrelate(), checkasm_check_fmtconvert(), checkasm_check_synth_filter(), chomp_filter(), compand_delay(), config_output(), configure_video_device(), copy_moof(), dca_core_filter(), deband_16_c(), deband_16_coupling_c(), deband_8_c(), deband_8_coupling_c(), des_encdec(), dump_extradata(), epic_jb_decode_tile(), extract_extradata_filter(), ff_bsf_get_packet(), ff_bsf_get_packet_ref(), ff_dualinput_init(), ff_els_decoder_init(), ff_framesync_get_frame(), ff_htmlmarkup_to_ass(), ff_ivi_inverse_haar_4x4(), ff_ivi_inverse_haar_8x8(), ff_ivi_inverse_slant_4x4(), ff_ivi_inverse_slant_8x8(), filter16_3x3(), filter16_5x5(), filter16_brng(), filter16_prewitt(), filter16_sobel(), filter16_tout(), filter16_vrep(), filter8_brng(), filter8_tout(), filter8_vrep(), filter_3x3(), filter_5x5(), filter_color(), filter_color2(), filter_frame(), filter_frame16(), filter_frame8(), filter_mono(), filter_prewitt(), filter_slice(), filter_slice16(), filter_slice8(), filter_sobel(), filter_value(), flac_decorrelate_indep_c(), flac_decorrelate_ls_c(), flac_decorrelate_ms_c(), flac_decorrelate_rs_c(), framesync_advance(), framesync_inject_frame(), g723_1_encode_frame(), gen_sub_text(), geq_filter_frame(), get_cb(), h264_mp4toannexb_filter(), hevc_mp4toannexb_filter(), hqx_filter(), hybrid2_re(), hybrid4_8_12_cx(), hybrid6_cx(), iir_filter(), imdct_and_windowing(), imdct_and_windowing_eld(), imdct_and_windowing_ld(), imx_dump_header(), list_filters(), main(), mjpeg2jpeg_filter(), mjpega_dump_header(), mov2textsub(), mp3_header_decompress(), mpeg4_unpack_bframes_filter(), noise(), nppscale_scale(), on2avc_reconstruct_channel(), on2avc_reconstruct_channel_ext(), parse_fragment(), parse_m3d(), parse_playlist(), piz_uncompress(), print_formats(), process_frame(), process_sample(), ps_hybrid_analysis_c(), ps_hybrid_synthesis_deint_c(), push_frame(), pxr24_uncompress(), qdm2_decode(), qsv_transfer_data_from(), qsv_transfer_data_to(), qtkit_read_header(), query_formats(), read_tree(), remove_extradata(), request_frame(), resample(), return_or_keep_frame(), roq_dpcm_encode_frame(), samplereduction(), sbr_hf_assemble(), sbr_make_f_tablelim(), scale_slice(), section_process(), setup_array(), sofalizer_convolute(), sofalizer_fast_convolute(), swr_convert(), swr_convert_internal(), swr_init(), swr_set_matrix(), synth_filter_fixed(), synth_filter_fixed_64(), text2movsub(), threshold16(), tta_filter_process_c(), ttaenc_filter_process_c(), vp9_superframe_filter(), 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