libavformat/spdifdec.c File Reference

IEC 61937 demuxer, used for compressed data in S/PDIF. More...

#include "avformat.h"
#include "spdif.h"
#include "libavcodec/ac3.h"
#include "libavcodec/aacadtsdec.h"

Go to the source code of this file.

Defines

#define SPDIF_MAX_OFFSET   16384

Functions

static int spdif_get_offset_and_codec (AVFormatContext *s, enum IEC61937DataType data_type, const char *buf, int *offset, enum AVCodecID *codec)
static int spdif_probe (AVProbeData *p)
static int spdif_read_header (AVFormatContext *s)
static int spdif_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_spdif_demuxer


Detailed Description

IEC 61937 demuxer, used for compressed data in S/PDIF.

Author:
Anssi Hannula

Definition in file spdifdec.c.


Define Documentation

#define SPDIF_MAX_OFFSET   16384

Definition at line 104 of file spdifdec.c.

Referenced by spdif_probe().


Function Documentation

static int spdif_get_offset_and_codec ( AVFormatContext s,
enum IEC61937DataType  data_type,
const char *  buf,
int offset,
enum AVCodecID codec 
) [static]

Definition at line 33 of file spdifdec.c.

Referenced by spdif_probe(), and spdif_read_packet().

static int spdif_probe ( AVProbeData p  )  [static]

Definition at line 106 of file spdifdec.c.

static int spdif_read_header ( AVFormatContext s  )  [static]

Definition at line 158 of file spdifdec.c.

static int spdif_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 164 of file spdifdec.c.


Variable Documentation

Initial value:

 {
    .name           = "spdif",
    .long_name      = NULL_IF_CONFIG_SMALL("IEC 61937 (compressed data in S/PDIF)"),
    .read_probe     = spdif_probe,
    .read_header    = spdif_read_header,
    .read_packet    = spdif_read_packet,
    .flags          = AVFMT_GENERIC_INDEX,
}

Definition at line 228 of file spdifdec.c.


Generated on Fri Oct 26 02:50:11 2012 for FFmpeg by  doxygen 1.5.8