libavformat/pva.c File Reference

#include "avformat.h"
#include "mpeg.h"

Go to the source code of this file.

Data Structures

struct  PVAContext

Defines

#define PVA_MAX_PAYLOAD_LENGTH   0x17f8
#define PVA_VIDEO_PAYLOAD   0x01
#define PVA_AUDIO_PAYLOAD   0x02
#define PVA_MAGIC   (('A' << 8) + 'V')
#define pva_log   if (read_packet) av_log

Functions

static int pva_probe (AVProbeData *pd)
static int pva_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int read_part_of_packet (AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet)
static int pva_read_packet (AVFormatContext *s, AVPacket *pkt)
static int64_t pva_read_timestamp (struct AVFormatContext *s, int stream_index, int64_t *pos, int64_t pos_limit)

Variables

AVInputFormat pva_demuxer


Define Documentation

#define PVA_AUDIO_PAYLOAD   0x02

Definition at line 27 of file pva.c.

Referenced by read_part_of_packet().

#define pva_log   if (read_packet) av_log

Definition at line 66 of file pva.c.

Referenced by read_part_of_packet().

#define PVA_MAGIC   (('A' << 8) + 'V')

Definition at line 28 of file pva.c.

Referenced by pva_probe(), and read_part_of_packet().

#define PVA_MAX_PAYLOAD_LENGTH   0x17f8

Definition at line 25 of file pva.c.

Referenced by pva_read_timestamp(), and read_part_of_packet().

#define PVA_VIDEO_PAYLOAD   0x01

Definition at line 26 of file pva.c.

Referenced by read_part_of_packet().


Function Documentation

static int pva_probe ( AVProbeData pd  )  [static]

Definition at line 34 of file pva.c.

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

Definition at line 43 of file pva.c.

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

Definition at line 159 of file pva.c.

static int64_t pva_read_timestamp ( struct AVFormatContext s,
int  stream_index,
int64_t *  pos,
int64_t  pos_limit 
) [static]

Definition at line 174 of file pva.c.

static int read_part_of_packet ( AVFormatContext s,
int64_t *  pts,
int *  len,
int *  strid,
int  read_packet 
) [static]

Definition at line 68 of file pva.c.

Referenced by pva_read_packet(), and pva_read_timestamp().


Variable Documentation

Initial value:

 {
    "pva",
    NULL_IF_CONFIG_SMALL("TechnoTrend PVA file and stream format"),
    sizeof(PVAContext),
    pva_probe,
    pva_read_header,
    pva_read_packet,
    .read_timestamp = pva_read_timestamp
}

Definition at line 203 of file pva.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8