FFmpeg
Data Structures | Functions | Variables
pcm-dvdenc.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  PCMDVDContext
 

Functions

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)
 
static av_cold int pcm_dvd_encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_pcm_dvd_encoder
 

Function Documentation

static av_cold int pcm_dvd_encode_init ( AVCodecContext avctx)
static

Definition at line 35 of file pcm-dvdenc.c.

static int pcm_dvd_encode_frame ( AVCodecContext avctx,
AVPacket avpkt,
const AVFrame frame,
int got_packet_ptr 
)
static

Definition at line 110 of file pcm-dvdenc.c.

static av_cold int pcm_dvd_encode_close ( AVCodecContext avctx)
static

Definition at line 173 of file pcm-dvdenc.c.

Variable Documentation

AVCodec ff_pcm_dvd_encoder
Initial value:
= {
.name = "pcm_dvd",
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for DVD media"),
.priv_data_size = sizeof(PCMDVDContext),
.supported_samplerates = (const int[]) { 48000, 96000, 0},
.channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO,
0 },
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
}
#define AV_CH_LAYOUT_7POINT1
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define AV_CH_LAYOUT_STEREO
static av_cold int pcm_dvd_encode_init(AVCodecContext *avctx)
Definition: pcm-dvdenc.c:35
static av_cold int pcm_dvd_encode_close(AVCodecContext *avctx)
Definition: pcm-dvdenc.c:173
static int pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition: pcm-dvdenc.c:110
signed 32 bits
Definition: samplefmt.h:62
#define AV_CH_LAYOUT_5POINT1
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
Definition: avcodec.h:1029
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
signed 16 bits
Definition: samplefmt.h:61
#define AV_CH_LAYOUT_MONO

Definition at line 178 of file pcm-dvdenc.c.