#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.
◆ PAL
◆ PALBDGHI
◆ NTSC
◆ NTSCM
◆ SECAM
◆ PALN
◆ PALM
◆ NTSCJ
◆ PAL_HEIGHT
◆ SECAM_HEIGHT
◆ NTSC_HEIGHT
◆ VIDEO_FORMAT
#define VIDEO_FORMAT NTSC |
◆ OFFSET
◆ DEC
◆ catchsignal()
static void catchsignal |
( |
int |
signal | ) |
|
|
static |
◆ bktr_init()
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 |
◆ bktr_getframe()
static void bktr_getframe |
( |
uint64_t |
per_frame | ) |
|
|
static |
◆ grab_read_packet()
◆ grab_read_header()
◆ grab_read_close()
◆ bktr_dev
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().
◆ video_buf
◆ video_buf_size
◆ last_frame_time
◆ nsignals
volatile sig_atomic_t nsignals |
◆ options
Initial value:= {
}
@ AV_OPT_TYPE_IMAGE_SIZE
offset must point to two consecutive integers
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 330 of file bktr.c.
◆ bktr_class
Initial value:= {
.class_name = "BKTR grab indev",
}
static const AVOption options[]
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
Definition at line 343 of file bktr.c.
◆ ff_bktr_demuxer
Initial value:= {
.name = "bktr",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int grab_read_packet(AVFormatContext *s1, AVPacket *pkt)
static const AVClass bktr_class
static int grab_read_header(AVFormatContext *s1)
static int grab_read_close(AVFormatContext *s1)
#define flags(name, subs,...)
static int read_header(FFV1Context *f)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int read_close(AVFormatContext *ctx)
Definition at line 351 of file bktr.c.