libavformat/cdg.c File Reference

#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Defines

#define CDG_PACKET_SIZE   24
#define CDG_COMMAND   0x09
#define CDG_MASK   0x3F

Functions

static int read_header (AVFormatContext *s, AVFormatParameters *ap)
static int read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_cdg_demuxer


Define Documentation

#define CDG_COMMAND   0x09

Definition at line 26 of file cdg.c.

#define CDG_MASK   0x3F

Definition at line 27 of file cdg.c.

#define CDG_PACKET_SIZE   24

Definition at line 25 of file cdg.c.


Function Documentation

static int read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

75 sectors/sec * 4 packets/sector = 300 packets/sec

Definition at line 29 of file cdg.c.

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

Definition at line 51 of file cdg.c.


Variable Documentation

Initial value:

 {
    .name           = "cdg",
    .long_name      = NULL_IF_CONFIG_SMALL("CD Graphics Format"),
    .read_header    = read_header,
    .read_packet    = read_packet,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "cdg"
}

Definition at line 71 of file cdg.c.


Generated on Fri Oct 26 02:46:13 2012 for FFmpeg by  doxygen 1.5.8