FFmpeg
|
PCM codecs for encodings found in MPEG streams (DVD/Blu-ray) More...
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Include dependency graph for pcm-mpeg.c:
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. More... | |
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 codecs for encodings found in MPEG streams (DVD/Blu-ray)
Definition in file pcm-mpeg.c.
Function Documentation
|
static |
Definition at line 125 of file pcm-mpeg.c.
|
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 53 of file pcm-mpeg.c.
Referenced by pcm_bluray_decode_frame().
Variable Documentation
AVCodec ff_pcm_bluray_decoder |
Initial value:
= {
.name = "pcm_bluray",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_PCM_BLURAY,
.decode = pcm_bluray_decode_frame,
.capabilities = CODEC_CAP_DR1,
},
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
}
static int pcm_bluray_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: pcm-mpeg.c:125
Definition: samplefmt.h:50
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:144
Definition: libavcodec/avcodec.h:323
Definition at line 302 of file pcm-mpeg.c.
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11