#include "libavformat/avformat.h"
#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>
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 84 of file bktr.c.
Referenced by bktr_init().
volatile sig_atomic_t nsignals |
Initial value:= {
{
"video_size",
"A string describing frame size, such as 640x480 or hd720.",
OFFSET(video_size),
AV_OPT_TYPE_STRING, {.str =
"vga"}, 0, 0,
DEC },
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 328 of file bktr.c.
Initial value:= {
.class_name = "BKTR grab interface",
}
static const AVOption options[]
Definition at line 341 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 grab_read_packet(AVFormatContext *s1, AVPacket *pkt)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static int grab_read_header(AVFormatContext *s1)
static int grab_read_close(AVFormatContext *s1)
Definition at line 348 of file bktr.c.