Home
last modified time | relevance | path

Searched refs:s16_data (Results 1 – 8 of 8) sorted by relevance

/dports/multimedia/spook/spook-20050207/
H A Dsound_conv.c179 char *s16_data /* contains 320 char */ ) in mulaw_dec() argument
184 *((signed short*)s16_data)=ulaw_to_s16( (unsigned char) mulaw_data[i]); in mulaw_dec()
185 s16_data+=2; in mulaw_dec()
189 void mulaw_enc(char *s16_data /* contains pcm_size char */, in mulaw_enc() argument
197 mulaw_data[i]=s16_to_ulaw( *((signed short*)s16_data) ); in mulaw_enc()
198 s16_data+=2; in mulaw_enc()
203 char *s16_data /* contains 320 char */, in alaw_dec() argument
213 void alaw_enc(char *s16_data /* contains 320 char */, in alaw_enc() argument
223 s16[0] = s16_data[1]; in alaw_enc()
224 s16[1] = s16_data[0]; in alaw_enc()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavresample/
H A Ddither.c69 AudioData *s16_data; // dithered output in s16p member
249 c->s16_data = dst; in ff_convert_dither()
252 ret = ff_audio_data_realloc(c->s16_data, src->nb_samples); in ff_convert_dither()
280 int ptr_align = FFMIN(flt_data->ptr_align, c->s16_data->ptr_align); in ff_convert_dither()
293 ret = convert_samples(c, (int16_t **)c->s16_data->data, in ff_convert_dither()
299 c->s16_data->nb_samples = src->nb_samples; in ff_convert_dither()
303 ret = ff_audio_convert(c->ac_out, dst, c->s16_data); in ff_convert_dither()
307 c->s16_data = NULL; in ff_convert_dither()
320 ff_audio_data_free(&c->s16_data); in ff_dither_free()
392 c->s16_data = ff_audio_data_alloc(channels, 1024, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
[all …]