ncdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

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, AVFormatParameters *ap)
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,
AVFormatParameters ap 
)
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 format"),
.read_probe = nc_probe,
.read_header = nc_read_header,
.read_packet = nc_read_packet,
.extensions = "v",
}

Definition at line 94 of file ncdec.c.