Home
last modified time | relevance | path

Searched refs:AV_SAMPLE_FMT_S16 (Results 1 - 25 of 126) sorted by relevance

123456

/third_party/ffmpeg/libavresample/x86/
H A Daudio_convert_init.c151 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_S16 in ff_audio_convert_init_x86()
[all...]
/third_party/ffmpeg/libswresample/
H A Daudioconvert.c55 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_
[all...]
H A Ddither.c92 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/
H A Daudio_convert.c193 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) << 8)
197 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t, (*(const int16_t *)pi >> 8) + 0x80)
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.0f / (1 << 15)))
201 CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_S16, int16_t, *(const int16_t *)pi * (1.0 / (1 << 15)))
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(*(const float *)pi * (1 << 15))))
213 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_
[all...]
H A Doptions.c40 { "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 },
43 { "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 },
47 {"s16", "16-bit signed integer", 0, AV_OPT_TYPE_CONST, {.i64 = AV_SAMPLE_FMT_S16 }, INT_MIN, INT_MAX, PARAM, "internal_sample_fmt"},
/third_party/ffmpeg/libswresample/x86/
H A Daudio_convert_init.c49 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)\ in PROTO4()
51 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)\ in PROTO4()
69 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) in PROTO4()
73 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) in PROTO4()
79 if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S16P) in PROTO4()
83 if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_S32P) in PROTO4()
88 if( out_fmt == AV_SAMPLE_FMT_S16P && in_fmt == AV_SAMPLE_FMT_S16) in PROTO4()
90 if( out_fmt == AV_SAMPLE_FMT_S32P && in_fmt == AV_SAMPLE_FMT_S16) in PROTO4()
101 if( out_fmt == AV_SAMPLE_FMT_S16 && in_fmt == AV_SAMPLE_FMT_FLTP) in PROTO4()
107 if( out_fmt == AV_SAMPLE_FMT_FLTP && in_fmt == AV_SAMPLE_FMT_S16) in PROTO4()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dpcm-bluray.c77 avctx->sample_fmt = avctx->bits_per_coded_sample == 16 ? AV_SAMPLE_FMT_S16 in pcm_bluray_parse_header()
151 (avctx->sample_fmt == AV_SAMPLE_FMT_S16 ? 16 : 24)) >> 3; in pcm_bluray_decode_frame()
168 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame()
187 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame()
212 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame()
236 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame()
264 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_decode_frame()
310 AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE
H A Dpcm-blurayenc.c39 case AV_SAMPLE_FMT_S16: in pcm_bluray_encode_init()
121 (avctx->sample_fmt == AV_SAMPLE_FMT_S16 ? 16 : 24)) >> 3; in pcm_bluray_encode_frame()
143 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_encode_frame()
162 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_encode_frame()
187 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_encode_frame()
211 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_encode_frame()
239 if (AV_SAMPLE_FMT_S16 == avctx->sample_fmt) { in pcm_bluray_encode_frame()
312 AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE },
H A Dmpegaudiodec_fixed.c38 #define OUT_FMT AV_SAMPLE_FMT_S16
76 AV_SAMPLE_FMT_S16,
94 AV_SAMPLE_FMT_S16,
112 AV_SAMPLE_FMT_S16,
130 AV_SAMPLE_FMT_S16,
H A Dpcm-dvdenc.c53 case AV_SAMPLE_FMT_S16: in pcm_dvd_encode_init()
73 if (avctx->sample_fmt == AV_SAMPLE_FMT_S16) { in pcm_dvd_encode_init()
138 case AV_SAMPLE_FMT_S16: in pcm_dvd_encode_frame()
199 .p.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
H A Dlibcodec2.c89 avctx->sample_fmt = AV_SAMPLE_FMT_S16; in libcodec2_init_decoder()
109 avctx->sample_fmt != AV_SAMPLE_FMT_S16) { in libcodec2_init_encoder()
186 .p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
204 .p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
H A Dpcm.c605 PCM_CODEC (PCM_ALAW, AV_SAMPLE_FMT_S16, pcm_alaw, "PCM A-law / G.711 A-law");
613 PCM_CODEC (PCM_MULAW, AV_SAMPLE_FMT_S16, pcm_mulaw, "PCM mu-law / G.711 mu-law");
616 PCM_CODEC (PCM_S16BE, AV_SAMPLE_FMT_S16, pcm_s16be, "PCM signed 16-bit big-endian");
618 PCM_CODEC (PCM_S16LE, AV_SAMPLE_FMT_S16, pcm_s16le, "PCM signed 16-bit little-endian");
621 PCM_CODEC (PCM_S24DAUD, AV_SAMPLE_FMT_S16, pcm_s24daud, "PCM D-Cinema audio signed 24-bit");
628 PCM_CODEC (PCM_U16BE, AV_SAMPLE_FMT_S16, pcm_u16be, "PCM unsigned 16-bit big-endian");
629 PCM_CODEC (PCM_U16LE, AV_SAMPLE_FMT_S16, pcm_u16le, "PCM unsigned 16-bit little-endian");
636 PCM_CODEC (PCM_VIDC, AV_SAMPLE_FMT_S16, pcm_vidc, "PCM Archimedes VIDC");
H A Dlibopusdec.c66 AV_SAMPLE_FMT_FLT : AV_SAMPLE_FMT_S16; in libopus_decode_init()
169 if (avc->sample_fmt == AV_SAMPLE_FMT_S16) in libopus_decode()
246 AV_SAMPLE_FMT_S16,
H A Dttaenc.c48 case AV_SAMPLE_FMT_S16: in tta_encode_init()
76 } else if (format == AV_SAMPLE_FMT_S16) { in get_sample()
216 AV_SAMPLE_FMT_S16,
H A Dlibgsmenc.c134 .p.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
154 .p.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
H A Dlibilbc.c85 avctx->sample_fmt = AV_SAMPLE_FMT_S16; in ilbc_decode_init()
210 .p.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
H A Ds302menc.c49 case AV_SAMPLE_FMT_S16: in s302m_encode_init()
184 AV_SAMPLE_FMT_S16,
/third_party/ffmpeg/libavresample/arm/
H A Daudio_convert_init.c39 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/
H A Daudio_convert_init.c39 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/aarch64/
H A Daudio_convert_init.c58 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) 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/libswresample/arm/
H A Daudio_convert_init.c58 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) 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/libavcodec/x86/
H A Dflacdsp_init.c63 if (fmt == AV_SAMPLE_FMT_S16) { in ff_flacdsp_init_x86()
93 if (fmt == AV_SAMPLE_FMT_S16) { in ff_flacdsp_init_x86()
/third_party/ffmpeg/libavresample/tests/
H A Davresample.c55 PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1 << 15))))
67 case AV_SAMPLE_FMT_S16: in put_sample()
164 AV_SAMPLE_FMT_S16,
/third_party/ffmpeg/doc/examples/
H A Dresampling_audio.c41 { 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()
/third_party/ffmpeg/libavfilter/
H A Daf_bs2b.c99 AV_SAMPLE_FMT_S16, in query_formats()
165 case AV_SAMPLE_FMT_S16: in config_output()

Completed in 9 milliseconds

123456