/third_party/ffmpeg/libavresample/x86/ |
D | audio_convert_init.c | 151 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, in ff_audio_convert_init_x86() 157 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, in ff_audio_convert_init_x86() 166 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, in ff_audio_convert_init_x86() 168 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, in ff_audio_convert_init_x86() 170 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, in ff_audio_convert_init_x86() 173 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, in ff_audio_convert_init_x86() 176 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S16, in ff_audio_convert_init_x86() 178 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, in ff_audio_convert_init_x86() 182 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, in ff_audio_convert_init_x86() 186 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P, in ff_audio_convert_init_x86() [all …]
|
/third_party/ffmpeg/libswresample/ |
D | audioconvert.c | 55 CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80U)<<8) 60 CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S16, (*(const int16_t*)pi>>8) + 0x80) 61 CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi) 62 CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi * (1 << 16)) 63 CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_S16, (uint64_t)(*(const int16_t*)pi)<<48) 64 CONV_FUNC(AV_SAMPLE_FMT_FLT, float , AV_SAMPLE_FMT_S16, *(const int16_t*)pi*(1.0f/ (1<<15))) 65 CONV_FUNC(AV_SAMPLE_FMT_DBL, double , AV_SAMPLE_FMT_S16, *(const int16_t*)pi*(1.0 / (1<<15))) 67 CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S32, *(const int32_t*)pi>>16) 73 CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S64, *(const int64_t*)pi>>48) 79 CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16( lrintf(*(const float*)pi *… [all …]
|
D | dither.c | 92 if(out_fmt == AV_SAMPLE_FMT_S16) scale = 1.0/(1LL<<15); in swri_dither_init() 96 if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_S16) scale = 1<<16; in swri_dither_init() 98 if(in_fmt == AV_SAMPLE_FMT_S16 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<8; in swri_dither_init()
|
/third_party/ffmpeg/libavresample/ |
D | audio_convert.c | 193 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x8… 197 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t, (*(const int16_t *)pi >> 8)… 198 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi) 199 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi << 16) 200 CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi * (1.… 201 CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi * (1.… 203 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_S32, int32_t, *(const int32_t *)pi >> 16) 208 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, float, av_clip_int16( lrintf(*(co… in CONV_FUNC_GROUP() argument 213 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_DBL, double, av_clip_int16( lrint(*(con… in CONV_FUNC_GROUP() 226 SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8) [all …]
|
D | options.c | 40 …, OFFSET(in_sample_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE… 43 …", OFFSET(out_sample_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE… 47 …{"s16", "16-bit signed integer", 0, AV_OPT_TYPE_CONST, {.i64 = AV_SAMPLE_FMT_S16 }, INT_…
|
/third_party/ffmpeg/libswresample/x86/ |
D | audio_convert_init.c | 48 …if( out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == AV_SAMPLE_FMT_S16 || out_fmt == AV_SAMPLE_FMT_S32… in PROTO4() 50 …if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S32 || out_fmt == AV_SAMPLE_FMT_S16… in PROTO4() 75 …if( out_fmt == AV_SAMPLE_FMT_FLT && in_fmt == AV_SAMPLE_FMT_S16 || out_fmt == AV_SAMPLE_FMT_FLT… in PROTO4() 79 …if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16… in PROTO4() 85 if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S16P) in PROTO4() 89 if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S32P) in PROTO4() 94 if( out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_S16) in PROTO4() 96 if( out_fmt == AV_SAMPLE_FMT_S32P && in_fmt == AV_SAMPLE_FMT_S16) in PROTO4() 107 if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP) in PROTO4() 113 if( out_fmt == AV_SAMPLE_FMT_FLTP && in_fmt == AV_SAMPLE_FMT_S16) in PROTO4() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | pcm-bluray.c | 78 avctx->sample_fmt = avctx->bits_per_coded_sample == 16 ? AV_SAMPLE_FMT_S16 in pcm_bluray_parse_header() 153 (avctx->sample_fmt == AV_SAMPLE_FMT_S16 ? 16 : 24)) >> 3; in pcm_bluray_decode_frame() 170 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame() 189 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame() 214 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame() 238 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame() 266 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame() 312 AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE
|
D | mpegaudiodec_fixed.c | 36 #define OUT_FMT AV_SAMPLE_FMT_S16 74 AV_SAMPLE_FMT_S16, 92 AV_SAMPLE_FMT_S16, 110 AV_SAMPLE_FMT_S16, 128 AV_SAMPLE_FMT_S16,
|
D | pcm-dvdenc.c | 50 case AV_SAMPLE_FMT_S16: in pcm_dvd_encode_init() 68 if (avctx->sample_fmt == AV_SAMPLE_FMT_S16) { in pcm_dvd_encode_init() 133 case AV_SAMPLE_FMT_S16: in pcm_dvd_encode_frame() 188 .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
D | libcodec2.c | 93 avctx->sample_fmt = AV_SAMPLE_FMT_S16; in libcodec2_init_decoder() 112 avctx->sample_fmt != AV_SAMPLE_FMT_S16) { in libcodec2_init_encoder() 194 … .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, 210 … .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
|
D | pcm.c | 601 PCM_CODEC (PCM_ALAW, AV_SAMPLE_FMT_S16, pcm_alaw, "PCM A-law / G.711 A-law"); 609 PCM_CODEC (PCM_MULAW, AV_SAMPLE_FMT_S16, pcm_mulaw, "PCM mu-law / G.711 mu-law"); 612 PCM_CODEC (PCM_S16BE, AV_SAMPLE_FMT_S16, pcm_s16be, "PCM signed 16-bit big-endian"); 614 PCM_CODEC (PCM_S16LE, AV_SAMPLE_FMT_S16, pcm_s16le, "PCM signed 16-bit little-endian… 617 PCM_CODEC (PCM_S24DAUD, AV_SAMPLE_FMT_S16, pcm_s24daud, "PCM D-Cinema audio signed 24-bi… 624 PCM_CODEC (PCM_U16BE, AV_SAMPLE_FMT_S16, pcm_u16be, "PCM unsigned 16-bit big-endian"… 625 PCM_CODEC (PCM_U16LE, AV_SAMPLE_FMT_S16, pcm_u16le, "PCM unsigned 16-bit little-endi… 632 PCM_CODEC (PCM_VIDC, AV_SAMPLE_FMT_S16, pcm_vidc, "PCM Archimedes VIDC");
|
D | libgsmenc.c | 133 .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, 149 .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
D | libopusdec.c | 65 AV_SAMPLE_FMT_FLT : AV_SAMPLE_FMT_S16; in libopus_decode_init() 164 if (avc->sample_fmt == AV_SAMPLE_FMT_S16) in libopus_decode() 241 AV_SAMPLE_FMT_S16,
|
D | ttaenc.c | 46 case AV_SAMPLE_FMT_S16: in tta_encode_init() 74 } else if (format == AV_SAMPLE_FMT_S16) { in get_sample() 214 AV_SAMPLE_FMT_S16,
|
D | s302menc.c | 46 case AV_SAMPLE_FMT_S16: in s302m_encode_init() 179 AV_SAMPLE_FMT_S16,
|
D | libilbc.c | 83 avctx->sample_fmt = AV_SAMPLE_FMT_S16; in ilbc_decode_init() 209 .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
D | mpegaudioenc_fixed.c | 32 .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
/third_party/ffmpeg/libavresample/arm/ |
D | audio_convert_init.c | 39 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, in ff_audio_convert_init_arm() 42 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, in ff_audio_convert_init_arm() 45 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, in ff_audio_convert_init_arm()
|
/third_party/ffmpeg/libavresample/aarch64/ |
D | audio_convert_init.c | 39 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, in ff_audio_convert_init_aarch64() 42 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, in ff_audio_convert_init_aarch64() 45 ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, in ff_audio_convert_init_aarch64()
|
/third_party/ffmpeg/libswresample/arm/ |
D | audio_convert_init.c | 58 …if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P &&… in swri_audio_convert_init_arm() 60 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels == 2) in swri_audio_convert_init_arm() 62 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels > 2) in swri_audio_convert_init_arm()
|
/third_party/ffmpeg/libswresample/aarch64/ |
D | audio_convert_init.c | 58 …if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S16P &&… in swri_audio_convert_init_aarch64() 60 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels == 2) in swri_audio_convert_init_aarch64() 62 if(out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP && channels > 2) in swri_audio_convert_init_aarch64()
|
/third_party/ffmpeg/libavcodec/x86/ |
D | flacdsp_init.c | 61 if (fmt == AV_SAMPLE_FMT_S16) { in ff_flacdsp_init_x86() 91 if (fmt == AV_SAMPLE_FMT_S16) { in ff_flacdsp_init_x86()
|
/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 55 PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1 << 15)))) in PUT_FUNC() argument 67 case AV_SAMPLE_FMT_S16: in PUT_FUNC() 164 AV_SAMPLE_FMT_S16, enumerator
|
/third_party/ffmpeg/libavfilter/ |
D | af_bs2b.c | 100 AV_SAMPLE_FMT_S16, in query_formats() enumerator 172 case AV_SAMPLE_FMT_S16: in config_output()
|
/third_party/ffmpeg/doc/examples/ |
D | resampling_audio.c | 41 { AV_SAMPLE_FMT_S16, "s16be", "s16le" }, in get_format_from_sample_fmt() 89 enum AVSampleFormat src_sample_fmt = AV_SAMPLE_FMT_DBL, dst_sample_fmt = AV_SAMPLE_FMT_S16; in main()
|