FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
video_data Struct Reference

Data Fields

AVClassclass
 
int fd
 
int pixelformat
 
int width
 
int height
 
int frame_size
 
int interlaced
 
int top_field_first
 
int ts_mode
 
TimeFiltertimefilter
 
int64_t last_time_m
 
int buffers
 
volatile int buffers_queued
 
void ** buf_start
 
unsigned int * buf_len
 
char * standard
 
v4l2_std_id std_id
 
int channel
 
char * pixel_format
 Set by a private option.
 
int list_format
 Set by a private option.
 
int list_standard
 Set by a private option.
 
char * framerate
 Set by a private option.
 
int use_libv4l2
 
int(* open_f )(const char *file, int oflag,...)
 
int(* close_f )(int fd)
 
int(* dup_f )(int fd)
 
int(* ioctl_f )(int fd, unsigned long int request,...)
 
ssize_t(* read_f )(int fd, void *buffer, size_t n)
 
void *(* mmap_f )(void *start, size_t length, int prot, int flags, int fd, int64_t offset)
 
int(* munmap_f )(void *_start, size_t length)
 

Detailed Description

Definition at line 68 of file v4l2.c.

Field Documentation

AVClass* video_data::class

Definition at line 69 of file v4l2.c.

int video_data::fd
int video_data::pixelformat

Definition at line 71 of file v4l2.c.

Referenced by v4l2_read_header().

int video_data::width

Definition at line 72 of file v4l2.c.

Referenced by v4l2_read_header().

int video_data::height

Definition at line 72 of file v4l2.c.

Referenced by v4l2_read_header().

int video_data::frame_size

Definition at line 73 of file v4l2.c.

Referenced by mmap_init(), mmap_read_frame(), and v4l2_read_header().

int video_data::interlaced

Definition at line 74 of file v4l2.c.

Referenced by device_init(), and v4l2_read_packet().

int video_data::top_field_first

Definition at line 75 of file v4l2.c.

Referenced by v4l2_read_header(), and v4l2_read_packet().

int video_data::ts_mode

Definition at line 76 of file v4l2.c.

Referenced by convert_timestamp(), and init_convert_timestamp().

TimeFilter* video_data::timefilter

Definition at line 77 of file v4l2.c.

Referenced by convert_timestamp(), and init_convert_timestamp().

int64_t video_data::last_time_m

Definition at line 78 of file v4l2.c.

Referenced by convert_timestamp().

int video_data::buffers

Definition at line 80 of file v4l2.c.

Referenced by mmap_close(), mmap_init(), mmap_read_frame(), mmap_start(), and v4l2_read_close().

volatile int video_data::buffers_queued

Definition at line 81 of file v4l2.c.

Referenced by enqueue_buffer(), mmap_read_frame(), mmap_start(), and v4l2_read_close().

void** video_data::buf_start

Definition at line 82 of file v4l2.c.

Referenced by mmap_close(), mmap_init(), and mmap_read_frame().

unsigned int* video_data::buf_len

Definition at line 83 of file v4l2.c.

Referenced by mmap_close(), mmap_init(), and mmap_read_frame().

char* video_data::standard

Definition at line 84 of file v4l2.c.

Referenced by v4l2_set_parameters().

v4l2_std_id video_data::std_id

Definition at line 85 of file v4l2.c.

Referenced by list_standards(), v4l2_read_header(), and v4l2_set_parameters().

int video_data::channel

Definition at line 86 of file v4l2.c.

Referenced by v4l2_read_header().

char* video_data::pixel_format

Set by a private option.

Definition at line 87 of file v4l2.c.

Referenced by v4l2_read_header().

int video_data::list_format

Set by a private option.

Definition at line 88 of file v4l2.c.

Referenced by v4l2_read_header().

int video_data::list_standard

Set by a private option.

Definition at line 89 of file v4l2.c.

Referenced by v4l2_read_header().

char* video_data::framerate

Set by a private option.

Definition at line 90 of file v4l2.c.

Referenced by v4l2_set_parameters().

int video_data::use_libv4l2

Definition at line 92 of file v4l2.c.

Referenced by device_open(), and v4l2_read_header().

int(* video_data::open_f)(const char *file, int oflag,...)

Definition at line 93 of file v4l2.c.

int(* video_data::close_f)(int fd)

Definition at line 94 of file v4l2.c.

int(* video_data::dup_f)(int fd)

Definition at line 95 of file v4l2.c.

int(* video_data::ioctl_f)(int fd, unsigned long int request,...)

Definition at line 96 of file v4l2.c.

ssize_t(* video_data::read_f)(int fd, void *buffer, size_t n)

Definition at line 97 of file v4l2.c.

void*(* video_data::mmap_f)(void *start, size_t length, int prot, int flags, int fd, int64_t offset)

Definition at line 98 of file v4l2.c.

int(* video_data::munmap_f)(void *_start, size_t length)

Definition at line 99 of file v4l2.c.


The documentation for this struct was generated from the following file: