AV_SAMPLE_FMT_S16 134 doc/examples/decoding_encoding.c c->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 203 doc/examples/demuxing_decoding.c { AV_SAMPLE_FMT_S16, "s16be", "s16le" }, AV_SAMPLE_FMT_S16 158 doc/examples/filter_audio.c av_get_sample_fmt_name(AV_SAMPLE_FMT_S16), 44100, AV_SAMPLE_FMT_S16 93 doc/examples/filtering_audio.c static const enum AVSampleFormat out_sample_fmts[] = { AV_SAMPLE_FMT_S16, -1 }; AV_SAMPLE_FMT_S16 240 doc/examples/muxing.c ost->tmp_frame = alloc_audio_frame(AV_SAMPLE_FMT_S16, c->channel_layout, AV_SAMPLE_FMT_S16 253 doc/examples/muxing.c av_opt_set_sample_fmt(ost->swr_ctx, "in_sample_fmt", AV_SAMPLE_FMT_S16, 0); AV_SAMPLE_FMT_S16 41 doc/examples/resampling_audio.c { AV_SAMPLE_FMT_S16, "s16be", "s16le" }, AV_SAMPLE_FMT_S16 89 doc/examples/resampling_audio.c enum AVSampleFormat src_sample_fmt = AV_SAMPLE_FMT_DBL, dst_sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 2048 ffplay.c static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }; AV_SAMPLE_FMT_S16 2633 ffplay.c audio_hw_params->fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 154 libavcodec/adpcm.c AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 157 libavcodec/adpcm.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 1535 libavcodec/adpcm.c static const enum AVSampleFormat sample_fmts_s16[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 1539 libavcodec/adpcm.c static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 702 libavcodec/adpcmenc.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE AV_SAMPLE_FMT_S16 600 libavcodec/alac.c case 16: avctx->sample_fmt = req_packed ? AV_SAMPLE_FMT_S16 : AV_SAMPLE_FMT_S16P; AV_SAMPLE_FMT_S16 1667 libavcodec/alsdec.c ? AV_SAMPLE_FMT_S32 : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 91 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80)<<8) AV_SAMPLE_FMT_S16 95 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S16, (*(const int16_t*)pi>>8) + 0x80) AV_SAMPLE_FMT_S16 96 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi) AV_SAMPLE_FMT_S16 97 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi<<16) AV_SAMPLE_FMT_S16 98 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_FLT, float , AV_SAMPLE_FMT_S16, *(const int16_t*)pi*(1.0 / (1<<15))) AV_SAMPLE_FMT_S16 99 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_DBL, double , AV_SAMPLE_FMT_S16, *(const int16_t*)pi*(1.0 / (1<<15))) AV_SAMPLE_FMT_S16 101 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S32, *(const int32_t*)pi>>16) AV_SAMPLE_FMT_S16 106 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16( lrintf(*(const float*)pi * (1<<15)))) AV_SAMPLE_FMT_S16 111 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, av_clip_int16( lrint(*(const double*)pi * (1<<15)))) AV_SAMPLE_FMT_S16 36 libavcodec/bmvaudio.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 56 libavcodec/cngdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 163 libavcodec/dpcm.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 82 libavcodec/dsicinaudio.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 294 libavcodec/dss_sp.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 344 libavcodec/ffwavesynth.c avc->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 87 libavcodec/flacdec.c s->avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 114 libavcodec/flacdsp.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 242 libavcodec/flacenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 500 libavcodec/flacenc.c if (s->avctx->sample_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 64 libavcodec/g722dec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 90 libavcodec/g723_1.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 421 libavcodec/g726.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 356 libavcodec/g729dec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 41 libavcodec/gsmdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 92 libavcodec/libcelt_dec.c c->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 306 libavcodec/libfdk-aacdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 55 libavcodec/libgsmdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 75 libavcodec/libilbc.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 44 libavcodec/libopencore-amr.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 51 libavcodec/libopusdec.c AV_SAMPLE_FMT_FLT : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 138 libavcodec/libopusdec.c if (avc->sample_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 134 libavcodec/libspeexdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 128 libavcodec/libtwolame.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 104 libavcodec/libvorbisdec.c avccontext->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 353 libavcodec/mlp_parser.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 372 libavcodec/mlpdec.c m->avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 36 libavcodec/mpegaudiodec_fixed.c #define OUT_FMT AV_SAMPLE_FMT_S16 AV_SAMPLE_FMT_S16 37 libavcodec/pafaudio.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 78 libavcodec/pcm-bluray.c avctx->sample_fmt = avctx->bits_per_coded_sample == 16 ? AV_SAMPLE_FMT_S16 AV_SAMPLE_FMT_S16 153 libavcodec/pcm-bluray.c (avctx->sample_fmt == AV_SAMPLE_FMT_S16 ? 16 : 24)) >> 3; AV_SAMPLE_FMT_S16 170 libavcodec/pcm-bluray.c if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { AV_SAMPLE_FMT_S16 189 libavcodec/pcm-bluray.c if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { AV_SAMPLE_FMT_S16 214 libavcodec/pcm-bluray.c if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { AV_SAMPLE_FMT_S16 238 libavcodec/pcm-bluray.c if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { AV_SAMPLE_FMT_S16 266 libavcodec/pcm-bluray.c if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { AV_SAMPLE_FMT_S16 95 libavcodec/pcm-dvd.c avctx->sample_fmt = avctx->bits_per_coded_sample == 16 ? AV_SAMPLE_FMT_S16 AV_SAMPLE_FMT_S16 543 libavcodec/pcm.c PCM_CODEC (PCM_ALAW, AV_SAMPLE_FMT_S16, pcm_alaw, "PCM A-law / G.711 A-law"); AV_SAMPLE_FMT_S16 549 libavcodec/pcm.c PCM_CODEC (PCM_MULAW, AV_SAMPLE_FMT_S16, pcm_mulaw, "PCM mu-law / G.711 mu-law"); AV_SAMPLE_FMT_S16 552 libavcodec/pcm.c PCM_CODEC (PCM_S16BE, AV_SAMPLE_FMT_S16, pcm_s16be, "PCM signed 16-bit big-endian"); AV_SAMPLE_FMT_S16 554 libavcodec/pcm.c PCM_CODEC (PCM_S16LE, AV_SAMPLE_FMT_S16, pcm_s16le, "PCM signed 16-bit little-endian"); AV_SAMPLE_FMT_S16 557 libavcodec/pcm.c PCM_CODEC (PCM_S24DAUD, AV_SAMPLE_FMT_S16, pcm_s24daud, "PCM D-Cinema audio signed 24-bit"); AV_SAMPLE_FMT_S16 564 libavcodec/pcm.c PCM_CODEC (PCM_U16BE, AV_SAMPLE_FMT_S16, pcm_u16be, "PCM unsigned 16-bit big-endian"); AV_SAMPLE_FMT_S16 565 libavcodec/pcm.c PCM_CODEC (PCM_U16LE, AV_SAMPLE_FMT_S16, pcm_u16le, "PCM unsigned 16-bit little-endian"); AV_SAMPLE_FMT_S16 1774 libavcodec/qdm2.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 44 libavcodec/ra144dec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 250 libavcodec/resample.c if (s->sample_fmt[0] != AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 251 libavcodec/resample.c if (!(s->convert_ctx[0] = av_audio_convert_alloc(AV_SAMPLE_FMT_S16, 1, AV_SAMPLE_FMT_S16 261 libavcodec/resample.c if (s->sample_fmt[1] != AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 263 libavcodec/resample.c AV_SAMPLE_FMT_S16, 1, NULL, 0))) { AV_SAMPLE_FMT_S16 299 libavcodec/resample.c if (s->sample_fmt[0] != AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 330 libavcodec/resample.c if (s->sample_fmt[1] != AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 407 libavcodec/resample.c if (s->sample_fmt[1] != AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 66 libavcodec/s302m.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 46 libavcodec/s302menc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 613 libavcodec/smacker.c avctx->sample_fmt = avctx->bits_per_coded_sample == 8 ? AV_SAMPLE_FMT_U8 : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 936 libavcodec/sonic.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 71 libavcodec/truespeech.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 171 libavcodec/tta.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 44 libavcodec/ttaenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 101 libavcodec/ttaenc.c } else if (format == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 3278 libavcodec/utils.c [AV_SAMPLE_FMT_S16 ] = { AV_CODEC_ID_PCM_S16LE, AV_CODEC_ID_PCM_S16BE }, AV_SAMPLE_FMT_S16 91 libavcodec/vima.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 88 libavcodec/vmdaudio.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 61 libavcodec/x86/flacdsp_init.c if (fmt == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 92 libavcodec/x86/flacdsp_init.c if (fmt == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 812 libavdevice/dshow.c case AV_SAMPLE_FMT_S16: return AV_CODEC_ID_PCM_S16LE; AV_SAMPLE_FMT_S16 822 libavdevice/dshow.c case 16: return AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 268 libavdevice/lavfi.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 95 libavfilter/af_afade.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 213 libavfilter/af_afade.c case AV_SAMPLE_FMT_S16: s->fade_samples = fade_samples_s16; break; AV_SAMPLE_FMT_S16 94 libavfilter/af_aphaser.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 224 libavfilter/af_aphaser.c case AV_SAMPLE_FMT_S16: p->phaser = phaser_s16; break; AV_SAMPLE_FMT_S16 411 libavfilter/af_atempo.c } else if (atempo->format == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 802 libavfilter/af_atempo.c } else if (atempo->format == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 1009 libavfilter/af_atempo.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 103 libavfilter/af_bs2b.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 170 libavfilter/af_bs2b.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 85 libavfilter/af_earwax.c ff_add_format(&formats, AV_SAMPLE_FMT_S16); AV_SAMPLE_FMT_S16 127 libavfilter/af_silencedetect.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 164 libavfilter/af_silencedetect.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 139 libavfilter/af_volume.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 232 libavfilter/af_volume.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 39 libavfilter/af_volumedetect.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 216 libavfilter/asrc_flite.c ff_add_format(&sample_formats, AV_SAMPLE_FMT_S16); AV_SAMPLE_FMT_S16 154 libavfilter/asrc_sine.c static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 30 libavfilter/audio.h AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 121 libavfilter/avf_avectorscope.c static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_NONE }; AV_SAMPLE_FMT_S16 202 libavfilter/avf_avectorscope.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 93 libavfilter/avf_showwaves.c static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }; AV_SAMPLE_FMT_S16 68 libavfilter/generate_wave_table.c case AV_SAMPLE_FMT_S16: { AV_SAMPLE_FMT_S16 41 libavfilter/x86/af_volume_init.c if (sample_fmt == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 99 libavformat/uncodedframecrcenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 39 libavresample/aarch64/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16 42 libavresample/aarch64/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 45 libavresample/aarch64/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 39 libavresample/arm/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16 42 libavresample/arm/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 45 libavresample/arm/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 193 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) << 8) AV_SAMPLE_FMT_S16 197 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t, (*(const int16_t *)pi >> 8) + 0x80) AV_SAMPLE_FMT_S16 198 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi) AV_SAMPLE_FMT_S16 199 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi << 16) AV_SAMPLE_FMT_S16 200 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi * (1.0f / (1 << 15))) AV_SAMPLE_FMT_S16 201 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi * (1.0 / (1 << 15))) AV_SAMPLE_FMT_S16 203 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S32, int32_t, *(const int32_t *)pi >> 16) AV_SAMPLE_FMT_S16 208 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16( lrintf(*(const float *)pi * (1 << 15)))) AV_SAMPLE_FMT_S16 213 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16( lrint(*(const double *)pi * (1 << 15)))) AV_SAMPLE_FMT_S16 226 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8) AV_SAMPLE_FMT_S16 230 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 231 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 232 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 233 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 234 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 236 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32) AV_SAMPLE_FMT_S16 241 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT) AV_SAMPLE_FMT_S16 246 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_DBL) AV_SAMPLE_FMT_S16 280 libavresample/audio_convert.c av_get_packed_sample_fmt(out_fmt) == AV_SAMPLE_FMT_S16 && AV_SAMPLE_FMT_S16 54 libavresample/avresample-test.c PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1 << 15)))) AV_SAMPLE_FMT_S16 66 libavresample/avresample-test.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 163 libavresample/avresample-test.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 302 libavresample/dither.c if (dst->sample_fmt == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 354 libavresample/dither.c if (av_get_packed_sample_fmt(out_fmt) != AV_SAMPLE_FMT_S16 || AV_SAMPLE_FMT_S16 40 libavresample/options.c { "in_sample_fmt", "Input Sample Format", OFFSET(in_sample_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NB-1, PARAM }, AV_SAMPLE_FMT_S16 43 libavresample/options.c { "out_sample_fmt", "Output Sample Format", OFFSET(out_sample_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NB-1, PARAM }, AV_SAMPLE_FMT_S16 47 libavresample/options.c {"s16", "16-bit signed integer", 0, AV_OPT_TYPE_CONST, {.i64 = AV_SAMPLE_FMT_S16 }, INT_MIN, INT_MAX, PARAM, "internal_sample_fmt"}, AV_SAMPLE_FMT_S16 151 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16 157 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 166 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16 168 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 170 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 173 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 176 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 178 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 182 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16 186 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 192 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 194 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 196 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 198 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 200 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 212 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 214 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 216 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 218 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 224 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 234 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 236 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 242 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16 246 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 248 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 250 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 252 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 1942 libavutil/opt.c {"sample_fmt", "set samplefmt", OFFSET(sample_fmt), AV_OPT_TYPE_SAMPLE_FMT, {.i64 = AV_SAMPLE_FMT_S16}, -1, INT_MAX, 1}, AV_SAMPLE_FMT_S16 36 libavutil/samplefmt.c [AV_SAMPLE_FMT_S16] = { .name = "s16", .bits = 16, .planar = 0, .altform = AV_SAMPLE_FMT_S16P }, AV_SAMPLE_FMT_S16 41 libavutil/samplefmt.c [AV_SAMPLE_FMT_S16P] = { .name = "s16p", .bits = 16, .planar = 1, .altform = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_S16 58 libswresample/aarch64/audio_convert_init.c if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_FLTP) AV_SAMPLE_FMT_S16 60 libswresample/aarch64/audio_convert_init.c if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels == 2) AV_SAMPLE_FMT_S16 62 libswresample/aarch64/audio_convert_init.c if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels > 2) AV_SAMPLE_FMT_S16 58 libswresample/arm/audio_convert_init.c if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_FLTP) AV_SAMPLE_FMT_S16 60 libswresample/arm/audio_convert_init.c if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels == 2) AV_SAMPLE_FMT_S16 62 libswresample/arm/audio_convert_init.c if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels > 2) AV_SAMPLE_FMT_S16 55 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80U)<<8) AV_SAMPLE_FMT_S16 59 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S16, (*(const int16_t*)pi>>8) + 0x80) AV_SAMPLE_FMT_S16 60 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi) AV_SAMPLE_FMT_S16 61 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi<<16) AV_SAMPLE_FMT_S16 62 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_FLT, float , AV_SAMPLE_FMT_S16, *(const int16_t*)pi*(1.0f/ (1<<15))) AV_SAMPLE_FMT_S16 63 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_DBL, double , AV_SAMPLE_FMT_S16, *(const int16_t*)pi*(1.0 / (1<<15))) AV_SAMPLE_FMT_S16 65 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S32, *(const int32_t*)pi>>16) AV_SAMPLE_FMT_S16 70 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16( lrintf(*(const float*)pi * (1<<15)))) AV_SAMPLE_FMT_S16 75 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, av_clip_int16( lrint(*(const double*)pi * (1<<15)))) AV_SAMPLE_FMT_S16 84 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_S16 88 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 89 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 90 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 91 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 92 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 94 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32), AV_SAMPLE_FMT_S16 99 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT), AV_SAMPLE_FMT_S16 104 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_DBL), AV_SAMPLE_FMT_S16 88 libswresample/dither.c if(out_fmt == AV_SAMPLE_FMT_S16) scale = 1.0/(1LL<<15); AV_SAMPLE_FMT_S16 92 libswresample/dither.c if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S16) scale = 1<<16; AV_SAMPLE_FMT_S16 94 libswresample/dither.c if(in_fmt == AV_SAMPLE_FMT_S16 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<8; AV_SAMPLE_FMT_S16 38 libswresample/soxr_resample.c format == AV_SAMPLE_FMT_S16 ? SOXR_INT16_I : AV_SAMPLE_FMT_S16 50 libswresample/swresample-test.c case AV_SAMPLE_FMT_S16: return ((const int16_t*)p)[index]/32767.0; AV_SAMPLE_FMT_S16 69 libswresample/swresample-test.c case AV_SAMPLE_FMT_S16: ((int16_t*)p)[index]= av_clip_int16 (lrint(v*32767)); break; AV_SAMPLE_FMT_S16 90 libswresample/swresample-test.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 48 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == AV_SAMPLE_FMT_S16 || out_fmt == AV_SAMPLE_FMT_S32P && in_fmt == AV_SAMPLE_FMT_S16P)\ AV_SAMPLE_FMT_S16 50 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S32 || out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_S32P)\ AV_SAMPLE_FMT_S16 75 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_FLT && in_fmt == AV_SAMPLE_FMT_S16 || out_fmt == AV_SAMPLE_FMT_FLTP && in_fmt == AV_SAMPLE_FMT_S16P) AV_SAMPLE_FMT_S16 79 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_FLTP) AV_SAMPLE_FMT_S16 85 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S16P) AV_SAMPLE_FMT_S16 89 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S32P) AV_SAMPLE_FMT_S16 94 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 96 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S32P && in_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 107 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP) AV_SAMPLE_FMT_S16 113 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_FLTP && in_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 140 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 142 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_S32P && in_fmt == AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_S16 144 libswresample/x86/audio_convert_init.c if( out_fmt == AV_SAMPLE_FMT_FLTP && in_fmt == AV_SAMPLE_FMT_S16)