#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Go to the source code of this file.
◆ pcm_dvd_encode_init()
◆ pcm_dvd_encode_frame()
◆ ff_pcm_dvd_encoder
Initial value:= {
.name = "pcm_dvd",
.supported_samplerates = (const int[]) { 48000, 96000, 0},
0 },
}
static av_cold int init(AVCodecContext *avctx)
#define AV_CH_LAYOUT_7POINT1
#define AV_CH_LAYOUT_MONO
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_5POINT1
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
AVSampleFormat
Audio sample formats.
@ AV_SAMPLE_FMT_S32
signed 32 bits
@ AV_SAMPLE_FMT_S16
signed 16 bits
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int pcm_dvd_encode_init(AVCodecContext *avctx)
static int pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition at line 173 of file pcm-dvdenc.c.