ncdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for ncdec.c:

Go to the source code of this file.

Macros

#define NC_VIDEO_FLAG   0x1A5
 

Functions

static int nc_probe (AVProbeData *probe_packet)
 
static int nc_read_header (AVFormatContext *s)
 
static int nc_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_nc_demuxer
 

Macro Definition Documentation

#define NC_VIDEO_FLAG   0x1A5

Definition at line 27 of file ncdec.c.

Referenced by nc_probe(), and nc_read_packet().

Function Documentation

static int nc_probe ( AVProbeData probe_packet)
static

Definition at line 29 of file ncdec.c.

static int nc_read_header ( AVFormatContext s)
static

Definition at line 47 of file ncdec.c.

static int nc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 63 of file ncdec.c.

Variable Documentation

AVInputFormat ff_nc_demuxer
Initial value:
= {
.name = "nc",
.long_name = NULL_IF_CONFIG_SMALL("NC camera feed"),
.read_probe = nc_probe,
.read_header = nc_read_header,
.read_packet = nc_read_packet,
.extensions = "v",
}
static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ncdec.c:63
static int nc_probe(AVProbeData *probe_packet)
Definition: ncdec.c:29
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int nc_read_header(AVFormatContext *s)
Definition: ncdec.c:47

Definition at line 94 of file ncdec.c.