FFmpeg
Macros | Functions | Variables
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 (const 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

◆ NC_VIDEO_FLAG

#define NC_VIDEO_FLAG   0x1A5

Definition at line 27 of file ncdec.c.

Function Documentation

◆ nc_probe()

static int nc_probe ( const AVProbeData probe_packet)
static

Definition at line 29 of file ncdec.c.

◆ nc_read_header()

static int nc_read_header ( AVFormatContext s)
static

Definition at line 47 of file ncdec.c.

◆ nc_read_packet()

static int nc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 63 of file ncdec.c.

Variable Documentation

◆ ff_nc_demuxer

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",
}

Definition at line 94 of file ncdec.c.

nc_read_packet
static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ncdec.c:63
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
nc_probe
static int nc_probe(const AVProbeData *probe_packet)
Definition: ncdec.c:29
nc_read_header
static int nc_read_header(AVFormatContext *s)
Definition: ncdec.c:47