xine-lib 1.2.11
|
#include <xine/input_plugin.h>
#include <xine/xine_plugin.h>
#include <xine/xine_internal.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/videodev2.h>
#include <sys/mman.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <sys/ioctl.h>
Data Structures | |
struct | buffer_data |
struct | resolution_t |
struct | v4l2_video_t |
struct | v4l2_radio_t |
struct | v4l2_input_plugin_t |
Macros | |
#define | LOG_MODULE "v4l2" |
#define | v4l2_open(f, d) open(f,d) |
#define | v4l2_ioctl(f, c, a) ioctl(f,c,a) |
#define | v4l2_mmap(p, l, d, m, f, o) mmap(p,l,d,m,f,o) |
#define | v4l2_munmap(s, l) munmap(s,l) |
#define | v4l2_close(f) close(f) |
Variables | |
const input_info_t | input_info_v4l2 |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define LOG_MODULE "v4l2" |
#define v4l2_close | ( | f | ) | close(f) |
#define v4l2_ioctl | ( | f, | |
c, | |||
a | |||
) | ioctl(f,c,a) |
#define v4l2_mmap | ( | p, | |
l, | |||
d, | |||
m, | |||
f, | |||
o | |||
) | mmap(p,l,d,m,f,o) |
#define v4l2_munmap | ( | s, | |
l | |||
) | munmap(s,l) |
#define v4l2_open | ( | f, | |
d | |||
) | open(f,d) |
|
static |
References LOG_MODULE, lprintf, NULL, v4l2_input_blocksize(), v4l2_input_dispose(), v4l2_input_get_capabilities(), v4l2_input_get_mrl(), v4l2_input_get_optional_data(), v4l2_input_length(), v4l2_input_open(), v4l2_input_pos(), v4l2_input_read(), v4l2_input_read_block(), v4l2_input_seek(), xine_stream_s::xine, XINE_VERBOSITY_NONE, and xprintf.
Referenced by v4l2_init_class().
|
static |
References input_class_s::get_instance, N_, NULL, and v4l2_class_get_instance().
|
static |
References lprintf.
Referenced by v4l2_class_get_instance().
|
static |
References BUF_FLAG_FRAME_END, BUF_FLAG_FRAME_START, BUF_VIDEO_YUY2, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::max_size, buf_element_s::mem, buf_element_s::size, buf_element_s::type, v4l2_input_enqueue_video_buffer(), v4l2_ioctl, and xine_fast_memcpy.
Referenced by v4l2_input_read_block().
|
static |
References lprintf, NULL, v4l2_close, v4l2_ioctl, and v4l2_munmap.
Referenced by v4l2_class_get_instance().
|
static |
References v4l2_ioctl.
Referenced by v4l2_input_dequeue_video_buffer(), and v4l2_input_setup_video_streaming().
|
static |
References INPUT_CAP_BLOCK.
Referenced by v4l2_class_get_instance().
|
static |
Referenced by v4l2_class_get_instance().
|
static |
References INPUT_OPTIONAL_UNSUPPORTED.
Referenced by v4l2_class_get_instance().
|
static |
Referenced by v4l2_class_get_instance().
|
static |
References LOG_MODULE, lprintf, v4l2_input_setup_video_streaming(), v4l2_ioctl, v4l2_open, xine_event_new_queue(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by v4l2_class_get_instance().
|
static |
Referenced by v4l2_class_get_instance().
|
static |
Referenced by v4l2_class_get_instance().
|
static |
References xine_bmiheader::biHeight, xine_bmiheader::biSize, xine_bmiheader::biWidth, BUF_FLAG_FRAME_START, BUF_FLAG_HEADER, BUF_FLAG_STDHEADER, BUF_VIDEO_YUY2, fifo_buffer_s::buffer_pool_alloc, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::free_buffer, lprintf, NULL, buf_element_s::pts, buf_element_s::size, buf_element_s::type, v4l2_input_dequeue_video_buffer(), and xine_monotonic_clock().
Referenced by v4l2_class_get_instance().
|
static |
Referenced by v4l2_class_get_instance().
|
static |
References _x_assert, _x_stream_info_set(), lprintf, NULL, v4l2_input_enqueue_video_buffer(), v4l2_ioctl, v4l2_mmap, v4l2_munmap, XINE_STREAM_INFO_HAS_AUDIO, and XINE_STREAM_INFO_HAS_VIDEO.
Referenced by v4l2_input_open().
const plugin_info_t xine_plugin_info [] EXPORTED |
const input_info_t input_info_v4l2 |