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

PCM codec for Blu-ray PCM audio tracks. More...

#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.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 Blu-ray MPEG-TS stream.
 
static int pcm_bluray_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 

Variables

AVCodec ff_pcm_bluray_decoder
 

Detailed Description

PCM codec for Blu-ray PCM audio tracks.

Definition in file pcm-bluray.c.

Function Documentation

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

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

Parameters
avctxthe codec context
headerpointer to the first four bytes of the data packet

Definition at line 53 of file pcm-bluray.c.

Referenced by pcm_bluray_decode_frame().

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

Definition at line 126 of file pcm-bluray.c.

Variable Documentation

AVCodec ff_pcm_bluray_decoder
Initial value:
= {
.name = "pcm_bluray",
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
.capabilities = CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]){
},
}

Definition at line 304 of file pcm-bluray.c.