#include "libavformat/internal.h"
#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/time.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <signal.h>
#include <stdint.h>
#include "avdevice.h"
Go to the source code of this file.
#define VIDEO_FORMAT NTSC |
static void catchsignal |
( |
int |
signal | ) |
|
|
static |
static av_cold int bktr_init |
( |
const char * |
video_device, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
format, |
|
|
int * |
video_fd, |
|
|
int * |
tuner_fd, |
|
|
int |
idev, |
|
|
double |
frequency |
|
) |
| |
|
static |
static void bktr_getframe |
( |
uint64_t |
per_frame | ) |
|
|
static |
Initial value:= { METEOR_DEV0, METEOR_DEV1, METEOR_DEV2,
METEOR_DEV3, METEOR_DEV_SVIDEO }
Definition at line 83 of file bktr.c.
Referenced by bktr_init().
volatile sig_atomic_t nsignals |
Initial value:= {
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
offset must point to two consecutive integers
Definition at line 331 of file bktr.c.
Initial value:= {
.class_name = "BKTR grab interface",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 344 of file bktr.c.
Initial value:= {
.name = "bktr",
}
static av_cold int read_close(AVFormatContext *ctx)
static const AVClass bktr_class
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int grab_read_packet(AVFormatContext *s1, AVPacket *pkt)
static int grab_read_header(AVFormatContext *s1)
static int grab_read_close(AVFormatContext *s1)
Definition at line 352 of file bktr.c.