nuv.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "avformat.h"
#include "internal.h"
#include "riff.h"

Go to the source code of this file.

Data Structures

struct  NUVContext
 

Macros

#define PKTSIZE(s)   (s & 0xffffff)
 little macro to sanitize packet size More...
 
#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 (AVIOContext *pb, AVStream *vst, AVStream *ast, int myth)
 read until we found all data needed for decoding More...
 
static int nuv_header (AVFormatContext *s, AVFormatParameters *ap)
 
static int nuv_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_nuv_demuxer
 

Macro Definition Documentation

#define HDRSIZE   12

Definition at line 192 of file nuv.c.

Referenced by nuv_packet().

#define PKTSIZE (   s)    (s & 0xffffff)

little macro to sanitize packet size

Definition at line 51 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 34 of file nuv.c.

Function Documentation

static int get_codec_data ( AVIOContext pb,
AVStream vst,
AVStream ast,
int  myth 
)
static

read until we found all data needed for decoding

Parameters
vstvideo stream of which to change parameters
astvideo stream of which to change parameters
mythset if this is a MythTVVideo format file
Returns
1 if all required codec data was found

Definition at line 60 of file nuv.c.

Referenced by nuv_header().

static int nuv_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 125 of file nuv.c.

static int nuv_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 194 of file nuv.c.

static int nuv_probe ( AVProbeData p)
static

Definition at line 42 of file nuv.c.

Variable Documentation

AVInputFormat ff_nuv_demuxer
Initial value:
= {
.name = "nuv",
.long_name = NULL_IF_CONFIG_SMALL("NuppelVideo format"),
.priv_data_size = sizeof(NUVContext),
}
Definition: nuv.c:28
static int read_header(FFV1Context *f)
Definition: ffv1.c:1513
static int nuv_header(AVFormatContext *s, AVFormatParameters *ap)
Definition: nuv.c:125
static int flags
Definition: log.c:34
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
static int nuv_probe(AVProbeData *p)
Definition: nuv.c:42
static int read_probe(AVProbeData *p)
Definition: img2.c:185
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:109
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:376
static int nuv_packet(AVFormatContext *s, AVPacket *pkt)
Definition: nuv.c:194

Definition at line 262 of file nuv.c.