libavcodec/pcm-mpeg.c File Reference

PCM codecs for encodings found in MPEG streams (DVD/Blu-ray). More...

#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "bytestream.h"

Go to the source code of this file.

Functions

static int pcm_bluray_parse_header (AVCodecContext *avctx, const uint8_t *header)
 Parse the header of a LPCM frame read from a MPEG-TS stream.
static int pcm_bluray_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)

Variables

AVCodec ff_pcm_bluray_decoder


Detailed Description

PCM codecs for encodings found in MPEG streams (DVD/Blu-ray).

Definition in file pcm-mpeg.c.


Function Documentation

static int pcm_bluray_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 122 of file pcm-mpeg.c.

static int pcm_bluray_parse_header ( AVCodecContext avctx,
const uint8_t *  header 
) [static]

Parse the header of a LPCM frame read from a MPEG-TS stream.

Parameters:
avctx the codec context
header pointer to the first four bytes of the data packet

Definition at line 52 of file pcm-mpeg.c.

Referenced by pcm_bluray_decode_frame().


Variable Documentation

Initial value:

 {
    "pcm_bluray",
    AVMEDIA_TYPE_AUDIO,
    CODEC_ID_PCM_BLURAY,
    0,
    NULL,
    NULL,
    NULL,
    pcm_bluray_decode_frame,
    .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32,
                                         AV_SAMPLE_FMT_NONE},
    .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
}

Definition at line 299 of file pcm-mpeg.c.


Generated on Fri Oct 26 02:38:17 2012 for FFmpeg by  doxygen 1.5.8