|
FFmpeg
|
Go to the source code of this file.
Functions | |
| int | ff_dsd_to_pcm_init (struct AVCodecContext *avctx, struct SwrContext **swrp) |
| (Re)create a libswresample context converting AV_SAMPLE_FMT_DSD to avctx->sample_fmt at the same sample rate. | |
| int ff_dsd_to_pcm_init | ( | struct AVCodecContext * | avctx, |
| struct SwrContext ** | swrp ) |
(Re)create a libswresample context converting AV_SAMPLE_FMT_DSD to avctx->sample_fmt at the same sample rate.
This is a transitional helper for the deprecated in-decoder DSD to PCM conversion. Only available if CONFIG_SWRESAMPLE && FF_API_DSD_PCM.
Referenced by decode_frame(), decode_frame(), and wv_dsd_reset().