libavformat/nuv.c File Reference

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"

Go to the source code of this file.

Data Structures

struct  NUVContext

Defines

#define PKTSIZE(s)   (s & 0xffffff)
 little macro to sanitize packet size
#define HDRSIZE   12

Enumerations

enum  nuv_frametype {
  NUV_VIDEO = 'V', NUV_EXTRADATA = 'D', NUV_AUDIO = 'A', NUV_SEEKP = 'R',
  NUV_MYTHEXT = 'X'
}

Functions

static int nuv_probe (AVProbeData *p)
static int get_codec_data (ByteIOContext *pb, AVStream *vst, AVStream *ast, int myth)
 read until we found all data needed for decoding
static int nuv_header (AVFormatContext *s, AVFormatParameters *ap)
static int nuv_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat nuv_demuxer


Define Documentation

#define HDRSIZE   12

Definition at line 190 of file nuv.c.

Referenced by nuv_packet().

#define PKTSIZE (  )     (s & 0xffffff)

little macro to sanitize packet size

Definition at line 49 of file nuv.c.

Referenced by get_codec_data(), and nuv_packet().


Enumeration Type Documentation

Enumerator:
NUV_VIDEO 
NUV_EXTRADATA 
NUV_AUDIO 
NUV_SEEKP 
NUV_MYTHEXT 

Definition at line 32 of file nuv.c.


Function Documentation

static int get_codec_data ( ByteIOContext pb,
AVStream vst,
AVStream ast,
int  myth 
) [static]

read until we found all data needed for decoding

Parameters:
vst video stream of which to change parameters
ast video stream of which to change parameters
myth set if this is a MythTVVideo format file
Returns:
1 if all required codec data was found

Definition at line 58 of file nuv.c.

Referenced by nuv_header().

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

Definition at line 123 of file nuv.c.

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

Definition at line 192 of file nuv.c.

static int nuv_probe ( AVProbeData p  )  [static]

Definition at line 40 of file nuv.c.


Variable Documentation

Initial value:

 {
    "nuv",
    NULL_IF_CONFIG_SMALL("NuppelVideo format"),
    sizeof(NUVContext),
    nuv_probe,
    nuv_header,
    nuv_packet,
    NULL,
    NULL,
    .flags = AVFMT_GENERIC_INDEX,
}

Definition at line 260 of file nuv.c.


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8