FFmpeg
|
#include "avdevice.h"
#include "config.h"
#include "libavutil/rational.h"
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavformat/internal.h"
#include "libavcodec/dsputil.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <linux/videodev.h>
#include <time.h>
Go to the source code of this file.
Data Structures | |
struct | VideoData |
Macros | |
#define | _LINUX_TIME_H 1 |
Functions | |
static int | grab_read_header (AVFormatContext *s1, AVFormatParameters *ap) |
static int | v4l_mm_read_picture (VideoData *s, uint8_t *buf) |
static int | grab_read_packet (AVFormatContext *s1, AVPacket *pkt) |
static int | grab_read_close (AVFormatContext *s1) |
Variables | |
struct { | |
int palette | |
int depth | |
enum AVPixelFormat pix_fmt | |
} | video_formats [] |
static const AVOption | options [] |
static const AVClass | v4l_class |
AVInputFormat | ff_v4l_demuxer |
|
static |
Definition at line 256 of file v4l.c.
Referenced by grab_read_packet().
|
static |
|
static |
int palette |
Definition at line 60 of file v4l.c.
Referenced by avs_read_packet(), cdg_load_palette(), cmap_read_palette(), count_colors(), decode_frame(), encode_frame(), extract_header(), flush_packet(), gif_encode_frame(), gif_write_header(), idcin_read_packet(), palToRgbWrapper(), seqvideo_decode(), set_palette(), smush_read_header(), and yop_decode_frame().
int depth |
Definition at line 61 of file v4l.c.
Referenced by ast_read_header(), av_read_image_line(), av_write_image_line(), bmp_decode_frame(), decode_frame(), decode_macroblock(), denoise_spatial(), dvbsub_parse_clut_segment(), encode_frame(), ff_pnm_decode_header(), fill_iplimage_from_frame(), filter(), flic_decode_init(), guess_mv(), pam_encode_frame(), query_formats(), recurse_mono(), recurse_stereo(), sunrast_decode_frame(), targa_decode_rle(), tta_decode_frame(), txd_decode_frame(), unpack_codebook(), and wtvfile_open2().
enum AVPixelFormat pix_fmt |
Definition at line 62 of file v4l.c.
Referenced by av_get_pix_fmt(), av_get_pix_fmt_name(), av_get_pix_fmt_string(), av_pix_fmt_desc_get(), dc1394_read_common(), device_init(), dshow_cycle_formats(), fbdev_read_header(), fbdev_write_header(), ff_find_hwaccel(), ff_parse_pixel_format(), get_pix_fmt_internal(), img_read_header(), init(), list_formats(), load_mask(), main(), make_format_list(), opengl_draw(), opengl_fill_color_map(), query_formats(), rawvideo_read_header(), sdl_write_header(), show_pix_fmts(), sws_isSupportedEndiannessConversion(), sws_isSupportedInput(), sws_isSupportedOutput(), v4l2_read_header(), xwd_encode_frame(), and yuv4_read_header().
struct { ... } video_formats[] |
Referenced by grab_read_header().
|
static |
|
static |
AVInputFormat ff_v4l_demuxer |