| 
    FFmpeg
    
   | 
 
Video4Linux2 grab interface. More...
Go to the source code of this file.
Data Structures | |
| struct | video_data | 
| struct | buff_data | 
Macros | |
| #define | V4L_ALLFORMATS 3 | 
| #define | V4L_RAWFORMATS 1 | 
| #define | V4L_COMPFORMATS 2 | 
| #define | V4L_TS_DEFAULT 0 | 
| Return timestamps to the user exactly as returned by the kernel.  More... | |
| #define | V4L_TS_ABS 1 | 
| Autodetect the kind of timestamps returned by the kernel and convert to absolute (wall clock) timestamps.  More... | |
| #define | V4L_TS_MONO2ABS 2 | 
| Assume kernel timestamps are from the monotonic clock and convert to absolute timestamps.  More... | |
| #define | V4L_TS_CONVERT_READY V4L_TS_DEFAULT | 
| Once the kind of timestamps returned by the kernel have been detected, the value of the timefilter (NULL or not) determines whether a conversion takes place.  More... | |
| #define | SET_WRAPPERS(prefix) | 
| #define | v4l2_open s->open_f | 
| #define | v4l2_close s->close_f | 
| #define | v4l2_dup s->dup_f | 
| #define | v4l2_ioctl s->ioctl_f | 
| #define | v4l2_read s->read_f | 
| #define | v4l2_mmap s->mmap_f | 
| #define | v4l2_munmap s->munmap_f | 
| #define | OFFSET(x) offsetof(struct video_data, x) | 
| #define | DEC AV_OPT_FLAG_DECODING_PARAM | 
Variables | |
| static const int | desired_video_buffers = 256 | 
| static const AVOption | options [] | 
| static const AVClass | v4l2_class | 
| AVInputFormat | ff_v4l2_demuxer | 
Video4Linux2 grab interface.
Part of this file is based on the V4L2 video capture example (http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html)
Thanks to Michael Niedermayer for providing the mapping between V4L2_PIX_FMT_* and AV_PIX_FMT_*
Definition in file v4l2.c.
| #define V4L_RAWFORMATS 1 | 
Definition at line 45 of file v4l2.c.
Referenced by list_formats().
| #define V4L_COMPFORMATS 2 | 
Definition at line 46 of file v4l2.c.
Referenced by list_formats().
| #define V4L_TS_DEFAULT 0 | 
| #define V4L_TS_ABS 1 | 
Autodetect the kind of timestamps returned by the kernel and convert to absolute (wall clock) timestamps.
Definition at line 56 of file v4l2.c.
Referenced by init_convert_timestamp().
| #define V4L_TS_MONO2ABS 2 | 
Assume kernel timestamps are from the monotonic clock and convert to absolute timestamps.
Definition at line 61 of file v4l2.c.
Referenced by init_convert_timestamp().
| #define V4L_TS_CONVERT_READY V4L_TS_DEFAULT | 
Once the kind of timestamps returned by the kernel have been detected, the value of the timefilter (NULL or not) determines whether a conversion takes place.
Definition at line 68 of file v4l2.c.
Referenced by init_convert_timestamp().
| #define SET_WRAPPERS | ( | prefix | ) | 
Referenced by device_open().
| #define v4l2_open s->open_f | 
Referenced by device_open().
| #define v4l2_close s->close_f | 
Referenced by device_open(), v4l2_get_device_list(), v4l2_read_close(), and v4l2_read_header().
| #define v4l2_dup s->dup_f | 
| #define v4l2_ioctl s->ioctl_f | 
| #define v4l2_read s->read_f | 
| #define v4l2_mmap s->mmap_f | 
Referenced by mmap_init().
| #define v4l2_munmap s->munmap_f | 
Referenced by mmap_close().
| #define OFFSET | ( | x | ) | offsetof(struct video_data, x) | 
| #define DEC AV_OPT_FLAG_DECODING_PARAM | 
      
  | 
  static | 
Definition at line 109 of file v4l2.c.
Referenced by v4l2_get_device_list(), and v4l2_read_header().
      
  | 
  static | 
Definition at line 188 of file v4l2.c.
Referenced by device_try_init().
      
  | 
  static | 
Definition at line 230 of file v4l2.c.
Referenced by dnxhd_decode_frame(), dnxhd_encode_picture(), and v4l2_read_header().
      
  | 
  static | 
Definition at line 271 of file v4l2.c.
Referenced by v4l2_read_header().
      
  | 
  static | 
Definition at line 309 of file v4l2.c.
Referenced by v4l2_read_header().
      
  | 
  static | 
Definition at line 333 of file v4l2.c.
Referenced by v4l2_read_header().
      
  | 
  static | 
Definition at line 399 of file v4l2.c.
Referenced by mmap_read_frame(), and mmap_release_buffer().
Definition at line 413 of file v4l2.c.
Referenced by mmap_read_frame().
      
  | 
  static | 
Definition at line 434 of file v4l2.c.
Referenced by convert_timestamp().
      
  | 
  static | 
Definition at line 467 of file v4l2.c.
Referenced by mmap_read_frame().
      
  | 
  static | 
Definition at line 488 of file v4l2.c.
Referenced by v4l2_read_packet().
      
  | 
  static | 
Definition at line 592 of file v4l2.c.
Referenced by v4l2_read_header().
      
  | 
  static | 
Definition at line 625 of file v4l2.c.
Referenced by v4l2_read_close().
      
  | 
  static | 
Definition at line 642 of file v4l2.c.
Referenced by v4l2_read_header().
      
  | 
  static | 
Definition at line 760 of file v4l2.c.
Referenced by v4l2_read_header().
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Definition at line 1015 of file v4l2.c.
Referenced by v4l2_get_device_list().
      
  | 
  static | 
      
  | 
  static | 
Definition at line 42 of file v4l2.c.
Referenced by mmap_init().
      
  | 
  static | 
      
  | 
  static | 
| AVInputFormat ff_v4l2_demuxer | 
 1.8.6