FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
pcm-dvd.c File Reference

LPCM codecs for PCM formats found in Video DVD streams. More...

#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_decode_init (AVCodecContext *avctx)
 
static av_cold int pcm_dvd_decode_uninit (AVCodecContext *avctx)
 
static int pcm_dvd_parse_header (AVCodecContext *avctx, const uint8_t *header)
 
static voidpcm_dvd_decode_samples (AVCodecContext *avctx, const uint8_t *src, void *dst, int blocks)
 
static int pcm_dvd_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 

Variables

AVCodec ff_pcm_dvd_decoder
 

Detailed Description

LPCM codecs for PCM formats found in Video DVD streams.

Definition in file pcm-dvd.c.

Function Documentation

static av_cold int pcm_dvd_decode_init ( AVCodecContext avctx)
static

Definition at line 41 of file pcm-dvd.c.

static av_cold int pcm_dvd_decode_uninit ( AVCodecContext avctx)
static

Definition at line 54 of file pcm-dvd.c.

static int pcm_dvd_parse_header ( AVCodecContext avctx,
const uint8_t header 
)
static

Definition at line 63 of file pcm-dvd.c.

Referenced by pcm_dvd_decode_frame().

static void* pcm_dvd_decode_samples ( AVCodecContext avctx,
const uint8_t src,
void dst,
int  blocks 
)
static

Definition at line 152 of file pcm-dvd.c.

Referenced by pcm_dvd_decode_frame().

static int pcm_dvd_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 234 of file pcm-dvd.c.

Variable Documentation

AVCodec ff_pcm_dvd_decoder
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),
.capabilities = CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]) {
}
}

Definition at line 305 of file pcm-dvd.c.