AV_SAMPLE_FMT_S16 50 doc/examples/decode_audio.c { AV_SAMPLE_FMT_S16, "s16be", "s16le" }, AV_SAMPLE_FMT_S16 207 doc/examples/demuxing_decoding.c { AV_SAMPLE_FMT_S16, "s16be", "s16le" }, AV_SAMPLE_FMT_S16 158 doc/examples/encode_audio.c c->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 158 doc/examples/filter_audio.c av_get_sample_fmt_name(AV_SAMPLE_FMT_S16), 44100, AV_SAMPLE_FMT_S16 95 doc/examples/filtering_audio.c static const enum AVSampleFormat out_sample_fmts[] = { AV_SAMPLE_FMT_S16, -1 }; AV_SAMPLE_FMT_S16 276 doc/examples/muxing.c ost->tmp_frame = alloc_audio_frame(AV_SAMPLE_FMT_S16, c->channel_layout, AV_SAMPLE_FMT_S16 296 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 1961 fftools/ffplay.c static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }; AV_SAMPLE_FMT_S16 2561 fftools/ffplay.c audio_hw_params->fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 210 libavcodec/adpcm.c AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 214 libavcodec/adpcm.c AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 217 libavcodec/adpcm.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 2057 libavcodec/adpcm.c static const enum AVSampleFormat sample_fmts_s16[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 2061 libavcodec/adpcm.c static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 732 libavcodec/adpcmenc.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE AV_SAMPLE_FMT_S16 2003 libavcodec/alsdec.c ? AV_SAMPLE_FMT_S32 : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 306 libavcodec/audiotoolboxdec.c AV_SAMPLE_FMT_S32 : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 36 libavcodec/bmvaudio.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 58 libavcodec/cngdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 203 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 56 libavcodec/dvaudiodec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 341 libavcodec/ffwavesynth.c avc->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 90 libavcodec/flacdec.c s->avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 111 libavcodec/flacdsp.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 250 libavcodec/flacenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 530 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 460 libavcodec/g726.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 1461 libavcodec/ilbcdec.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 85 libavcodec/interplayacm.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 93 libavcodec/libcodec2.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 112 libavcodec/libcodec2.c avctx->sample_fmt != AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 338 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 47 libavcodec/libopencore-amr.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 65 libavcodec/libopusdec.c AV_SAMPLE_FMT_FLT : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 164 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 132 libavcodec/libtwolame.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 117 libavcodec/libvorbisdec.c avccontext->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 163 libavcodec/mf_utils.c case 16: return AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 173 libavcodec/mlp_parser.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 377 libavcodec/mlpdec.c m->avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 553 libavcodec/mlpenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 1924 libavcodec/mlpenc.c unsigned int msb_mask_bits = (ctx->avctx->sample_fmt == AV_SAMPLE_FMT_S16 ? 8 : 0) - mp->shift[mat]; 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 50 libavcodec/pcm-dvdenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 68 libavcodec/pcm-dvdenc.c if (avctx->sample_fmt == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 133 libavcodec/pcm-dvdenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 592 libavcodec/pcm.c PCM_CODEC (PCM_ALAW, AV_SAMPLE_FMT_S16, pcm_alaw, "PCM A-law / G.711 A-law"); AV_SAMPLE_FMT_S16 600 libavcodec/pcm.c PCM_CODEC (PCM_MULAW, AV_SAMPLE_FMT_S16, pcm_mulaw, "PCM mu-law / G.711 mu-law"); AV_SAMPLE_FMT_S16 603 libavcodec/pcm.c PCM_CODEC (PCM_S16BE, AV_SAMPLE_FMT_S16, pcm_s16be, "PCM signed 16-bit big-endian"); AV_SAMPLE_FMT_S16 605 libavcodec/pcm.c PCM_CODEC (PCM_S16LE, AV_SAMPLE_FMT_S16, pcm_s16le, "PCM signed 16-bit little-endian"); AV_SAMPLE_FMT_S16 608 libavcodec/pcm.c PCM_CODEC (PCM_S24DAUD, AV_SAMPLE_FMT_S16, pcm_s24daud, "PCM D-Cinema audio signed 24-bit"); AV_SAMPLE_FMT_S16 615 libavcodec/pcm.c PCM_CODEC (PCM_U16BE, AV_SAMPLE_FMT_S16, pcm_u16be, "PCM unsigned 16-bit big-endian"); AV_SAMPLE_FMT_S16 616 libavcodec/pcm.c PCM_CODEC (PCM_U16LE, AV_SAMPLE_FMT_S16, pcm_u16le, "PCM unsigned 16-bit little-endian"); AV_SAMPLE_FMT_S16 623 libavcodec/pcm.c PCM_CODEC (PCM_VIDC, AV_SAMPLE_FMT_S16, pcm_vidc, "PCM Archimedes VIDC"); AV_SAMPLE_FMT_S16 1769 libavcodec/qdm2.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 345 libavcodec/qdmc.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 72 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 45 libavcodec/sbc_parser.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 69 libavcodec/sbc_parser.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 624 libavcodec/smacker.c avctx->sample_fmt = avctx->bits_per_coded_sample == 8 ? AV_SAMPLE_FMT_U8 : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 971 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 177 libavcodec/tta.c avctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 46 libavcodec/ttaenc.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 74 libavcodec/ttaenc.c } else if (format == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 1534 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 90 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 91 libavcodec/x86/flacdsp_init.c if (fmt == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 919 libavdevice/dshow.c case AV_SAMPLE_FMT_S16: return AV_CODEC_ID_PCM_S16LE; AV_SAMPLE_FMT_S16 929 libavdevice/dshow.c case 16: return AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 272 libavdevice/lavfi.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 64 libavfilter/af_afade.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 218 libavfilter/af_afade.c case AV_SAMPLE_FMT_S16: s->fade_samples = fade_samples_s16; break; AV_SAMPLE_FMT_S16 598 libavfilter/af_afade.c case AV_SAMPLE_FMT_S16: s->crossfade_samples = crossfade_samples_s16; break; AV_SAMPLE_FMT_S16 94 libavfilter/af_aphaser.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 231 libavfilter/af_aphaser.c case AV_SAMPLE_FMT_S16: s->phaser = phaser_s16; break; AV_SAMPLE_FMT_S16 133 libavfilter/af_asr.c if ((ret = ff_add_format (&formats, AV_SAMPLE_FMT_S16 )) < 0 || AV_SAMPLE_FMT_S16 153 libavfilter/af_astats.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 626 libavfilter/af_astats.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 406 libavfilter/af_atempo.c } else if (atempo->format == AV_SAMPLE_FMT_S16) { AV_SAMPLE_FMT_S16 797 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 100 libavfilter/af_bs2b.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 172 libavfilter/af_bs2b.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 86 libavfilter/af_earwax.c if ((ret = ff_add_format (&formats, AV_SAMPLE_FMT_S16 )) < 0 || AV_SAMPLE_FMT_S16 1561 libavfilter/af_hdcd.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 1617 libavfilter/af_hdcd.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 1719 libavfilter/af_hdcd.c if ((inlink->format == AV_SAMPLE_FMT_S16 || AV_SAMPLE_FMT_S16 164 libavfilter/af_silencedetect.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 206 libavfilter/af_silencedetect.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 141 libavfilter/af_volume.c AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16 237 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 219 libavfilter/asrc_flite.c (ret = ff_add_format (&sample_formats, AV_SAMPLE_FMT_S16 )) < 0 || AV_SAMPLE_FMT_S16 184 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 188 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 268 libavfilter/avf_avectorscope.c case AV_SAMPLE_FMT_S16: { AV_SAMPLE_FMT_S16 299 libavfilter/avf_avectorscope.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 151 libavfilter/avf_showwaves.c static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }; AV_SAMPLE_FMT_S16 223 libavfilter/f_reverse.c case AV_SAMPLE_FMT_S16: { 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 103 libavformat/alp.c par->format = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 120 libavformat/apm.c st->codecpar->format = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 72 libavformat/codec2.c st->codecpar->format = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 53 libavformat/derf.c par->format = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 60 libavformat/fwse.c par->format = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 71 libavformat/kvag.c par->format = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 207 libavformat/pp_bnk.c par->format = 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 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 55 libavresample/tests/avresample.c PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1 << 15)))) AV_SAMPLE_FMT_S16 67 libavresample/tests/avresample.c case AV_SAMPLE_FMT_S16: AV_SAMPLE_FMT_S16 164 libavresample/tests/avresample.c AV_SAMPLE_FMT_S16, 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 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 238 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S16 244 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, 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_S16P, 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 254 libavresample/x86/audio_convert_init.c ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, 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 42 libavutil/samplefmt.c [AV_SAMPLE_FMT_S16P] = { .name = "s16p", .bits = 16, .planar = 1, .altform = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_S16 42 libavutil/tests/audio_fifo.c {.format = AV_SAMPLE_FMT_S16 , .nb_ch = 1, .data_planes = {data_S16, }, .nb_samples_pch = 12}, AV_SAMPLE_FMT_S16 80 libavutil/tests/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 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 60 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 61 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi) AV_SAMPLE_FMT_S16 62 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi<<16) AV_SAMPLE_FMT_S16 63 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S16, (uint64_t)(*(const int16_t*)pi)<<48) AV_SAMPLE_FMT_S16 64 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 65 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 67 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S32, *(const int32_t*)pi>>16) AV_SAMPLE_FMT_S16 73 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S64, *(const int64_t*)pi>>48) AV_SAMPLE_FMT_S16 79 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 85 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 95 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_S16 100 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 101 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 102 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 103 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 104 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 105 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_S16 107 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32), AV_SAMPLE_FMT_S16 113 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT), AV_SAMPLE_FMT_S16 119 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_DBL), AV_SAMPLE_FMT_S16 125 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S64), AV_SAMPLE_FMT_S16 92 libswresample/dither.c if(out_fmt == AV_SAMPLE_FMT_S16) scale = 1.0/(1LL<<15); AV_SAMPLE_FMT_S16 96 libswresample/dither.c if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S16) scale = 1<<16; AV_SAMPLE_FMT_S16 98 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 51 libswresample/tests/swresample.c case AV_SAMPLE_FMT_S16: return ((const int16_t*)p)[index]/32767.0; AV_SAMPLE_FMT_S16 70 libswresample/tests/swresample.c case AV_SAMPLE_FMT_S16: ((int16_t*)p)[index]= av_clip_int16 (lrint(v*32767)); break; AV_SAMPLE_FMT_S16 91 libswresample/tests/swresample.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) AV_SAMPLE_FMT_S16 67 tests/api/api-flac-test.c ctx->sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 93 tests/api/api-flac-test.c ctx->request_sample_fmt = AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_S16 71 tests/checkasm/flacdsp.c { AV_SAMPLE_FMT_S16, 16 },