include/libv4l2.h File Reference

#include <stdio.h>
#include <unistd.h>
#include <stdint.h>

Go to the source code of this file.

Defines

#define LIBV4L_PUBLIC
#define V4L2_DISABLE_CONVERSION   0x01
#define V4L2_ENABLE_ENUM_FMT_EMULATION   0x02

Functions

LIBV4L_PUBLIC int v4l2_open (const char *file, int oflag,...)
LIBV4L_PUBLIC int v4l2_close (int fd)
LIBV4L_PUBLIC int v4l2_dup (int fd)
LIBV4L_PUBLIC int v4l2_ioctl (int fd, unsigned long int request,...)
LIBV4L_PUBLIC ssize_t v4l2_read (int fd, void *buffer, size_t n)
LIBV4L_PUBLIC ssize_t v4l2_write (int fd, const void *buffer, size_t n)
LIBV4L_PUBLIC void * v4l2_mmap (void *start, size_t length, int prot, int flags, int fd, int64_t offset)
LIBV4L_PUBLIC int v4l2_munmap (void *_start, size_t length)
LIBV4L_PUBLIC int v4l2_set_control (int fd, int cid, int value)
LIBV4L_PUBLIC int v4l2_get_control (int fd, int cid)
LIBV4L_PUBLIC int v4l2_fd_open (int fd, int v4l2_flags)

Variables

LIBV4L_PUBLIC FILE * v4l2_log_file


Define Documentation

#define LIBV4L_PUBLIC

Definition at line 33 of file libv4l2.h.

#define V4L2_DISABLE_CONVERSION   0x01

Definition at line 99 of file libv4l2.h.

#define V4L2_ENABLE_ENUM_FMT_EMULATION   0x02

Definition at line 102 of file libv4l2.h.


Function Documentation

LIBV4L_PUBLIC int v4l2_close ( int  fd  ) 

LIBV4L_PUBLIC int v4l2_dup ( int  fd  ) 

LIBV4L_PUBLIC int v4l2_fd_open ( int  fd,
int  v4l2_flags 
)

LIBV4L_PUBLIC int v4l2_get_control ( int  fd,
int  cid 
)

LIBV4L_PUBLIC int v4l2_ioctl ( int  fd,
unsigned long int  request,
  ... 
)

LIBV4L_PUBLIC void* v4l2_mmap ( void *  start,
size_t  length,
int  prot,
int  flags,
int  fd,
int64_t  offset 
)

LIBV4L_PUBLIC int v4l2_munmap ( void *  _start,
size_t  length 
)

LIBV4L_PUBLIC int v4l2_open ( const char *  file,
int  oflag,
  ... 
)

LIBV4L_PUBLIC ssize_t v4l2_read ( int  fd,
void *  buffer,
size_t  n 
)

LIBV4L_PUBLIC int v4l2_set_control ( int  fd,
int  cid,
int  value 
)

LIBV4L_PUBLIC ssize_t v4l2_write ( int  fd,
const void *  buffer,
size_t  n 
)


Variable Documentation

LIBV4L_PUBLIC FILE* v4l2_log_file


Generated on Wed Nov 9 19:52:25 2016 for NVIDIA Tegra Multimedia API Framework by  doxygen 1.5.8