FFmpeg
Classes | Macros | Typedefs | Variables
iec61883.c File Reference

libiec61883 interface More...

#include <sys/poll.h>
#include <libraw1394/raw1394.h>
#include <libavc1394/avc1394.h>
#include <libavc1394/rom1394.h>
#include <libiec61883/iec61883.h>
#include "libavformat/dv.h"
#include "libavformat/mpegts.h"
#include "libavutil/opt.h"
#include "avdevice.h"

Classes

struct  DVPacket
 For DV, one packet corresponds exactly to one frame. More...
 
struct  iec61883_data
 

Macros

#define THREADS   HAVE_PTHREADS
 
#define MOTDCT_SPEC_ID   0x00005068
 
#define IEC61883_AUTO   0
 
#define IEC61883_DV   1
 
#define IEC61883_HDV   2
 

Typedefs

typedef struct DVPacket DVPacket
 For DV, one packet corresponds exactly to one frame. More...
 

Variables

AVInputFormat ff_iec61883_demuxer
 

Detailed Description

libiec61883 interface

Typedef Documentation

§ DVPacket

typedef struct DVPacket DVPacket

For DV, one packet corresponds exactly to one frame.

For HDV, these are MPEG2 transport stream packets. The queue is implemented as linked list.

Variable Documentation

§ ff_iec61883_demuxer

AVInputFormat ff_iec61883_demuxer
Initial value:
= {
.name = "iec61883",
.long_name = NULL_IF_CONFIG_SMALL("libiec61883 (new DV1394) A/V input device"),
.priv_data_size = sizeof(struct iec61883_data),
.read_header = iec61883_read_header,
.read_packet = iec61883_read_packet,
.read_close = iec61883_close,
.flags = AVFMT_NOFILE,
.priv_class = &iec61883_class,
}
Definition: iec61883.c:58
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:465