FFmpeg
Loading...
Searching...
No Matches
ncdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.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

const FFInputFormat ff_nc_demuxer
 

Macro Definition Documentation

◆ NC_VIDEO_FLAG

#define NC_VIDEO_FLAG   0x1A5

Definition at line 28 of file ncdec.c.

Referenced by nc_probe(), and nc_read_packet().

Function Documentation

◆ nc_probe()

static int nc_probe ( const AVProbeData * probe_packet)
static

Definition at line 30 of file ncdec.c.

◆ nc_read_header()

static int nc_read_header ( AVFormatContext * s)
static

Definition at line 48 of file ncdec.c.

◆ nc_read_packet()

static int nc_read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 64 of file ncdec.c.

Variable Documentation

◆ ff_nc_demuxer

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

Definition at line 94 of file ncdec.c.