#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
| struct | PCMBRDecode | 
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 av_cold int | pcm_bluray_decode_init (AVCodecContext *avctx) | 
| static int | pcm_bluray_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) | 
Variables | |
| AVCodec | ff_pcm_bluray_decoder | 
Definition in file pcm-mpeg.c.
| static int pcm_bluray_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_frame_ptr, | |||
| AVPacket * | avpkt | |||
| ) |  [static] | 
        
Definition at line 138 of file pcm-mpeg.c.
| static av_cold int pcm_bluray_decode_init | ( | AVCodecContext * | avctx | ) |  [static] | 
        
Definition at line 128 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.
| 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().
Initial value:
 {
    .name           = "pcm_bluray",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = AV_CODEC_ID_PCM_BLURAY,
    .priv_data_size = sizeof(PCMBRDecode),
    .init           = pcm_bluray_decode_init,
    .decode         = pcm_bluray_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .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 318 of file pcm-mpeg.c.
 1.5.8