net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.video4linux2
Class Video4Linux2
java.lang.Object
net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2
public class Video4Linux2
- extends Object
Provides the interface to the native Video for Linux Two API Specification
(http://v4l2spec.bytesex.org/spec/) implementation.
- Author:
- Lubomir Marinov
|
Method Summary |
static int |
close(int fd)
|
static void |
free(long ptr)
|
static int |
ioctl(int fd,
int request,
long argp)
|
static long |
memcpy(long dest,
long src,
int n)
|
static long |
mmap(long start,
int length,
int prot,
int flags,
int fd,
long offset)
|
static int |
munmap(long start,
int length)
|
static int |
open(String deviceName,
int flags)
|
static long |
v4l2_buf_type_alloc(int type)
|
static long |
v4l2_buffer_alloc(int type)
|
static int |
v4l2_buffer_getBytesused(long v4l2_buffer)
|
static int |
v4l2_buffer_getIndex(long v4l2_buffer)
|
static int |
v4l2_buffer_getLength(long v4l2_buffer)
|
static long |
v4l2_buffer_getMOffset(long v4l2_buffer)
|
static void |
v4l2_buffer_setIndex(long v4l2_buffer,
int index)
|
static void |
v4l2_buffer_setMemory(long v4l2_buffer,
int memory)
|
static long |
v4l2_capability_alloc()
|
static int |
v4l2_capability_getCapabilities(long v4l2_capability)
|
static String |
v4l2_capability_getCard(long v4l2_capability)
|
static long |
v4l2_format_alloc(int type)
|
static long |
v4l2_format_getFmtPix(long v4l2_format)
|
static int |
v4l2_pix_format_getHeight(long v4l2_pix_format)
|
static int |
v4l2_pix_format_getPixelformat(long v4l2_pix_format)
|
static int |
v4l2_pix_format_getWidth(long v4l2_pix_format)
|
static void |
v4l2_pix_format_setBytesperline(long v4l2_pix_format,
int bytesperline)
|
static void |
v4l2_pix_format_setField(long v4l2_pix_format,
int field)
|
static void |
v4l2_pix_format_setPixelformat(long v4l2_pix_format,
int pixelformat)
|
static void |
v4l2_pix_format_setWidthAndHeight(long v4l2_pix_format,
int width,
int height)
|
static long |
v4l2_requestbuffers_alloc(int type)
|
static int |
v4l2_requestbuffers_getCount(long v4l2_requestbuffers)
|
static void |
v4l2_requestbuffers_setCount(long v4l2_requestbuffers,
int count)
|
static void |
v4l2_requestbuffers_setMemory(long v4l2_requestbuffers,
int memory)
|
static long |
v4l2_streamparm_alloc(int type)
|
static void |
v4l2_streamparm_setFps(long v4l2_streamparm,
int fps)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAP_SHARED
public static final int MAP_SHARED
- See Also:
- Constant Field Values
O_NONBLOCK
public static final int O_NONBLOCK
- See Also:
- Constant Field Values
O_RDWR
public static final int O_RDWR
- See Also:
- Constant Field Values
PROT_READ
public static final int PROT_READ
- See Also:
- Constant Field Values
PROT_WRITE
public static final int PROT_WRITE
- See Also:
- Constant Field Values
V4L2_BUF_TYPE_VIDEO_CAPTURE
public static final int V4L2_BUF_TYPE_VIDEO_CAPTURE
- See Also:
- Constant Field Values
V4L2_CAP_STREAMING
public static final int V4L2_CAP_STREAMING
- See Also:
- Constant Field Values
V4L2_CAP_VIDEO_CAPTURE
public static final int V4L2_CAP_VIDEO_CAPTURE
- See Also:
- Constant Field Values
V4L2_FIELD_NONE
public static final int V4L2_FIELD_NONE
- See Also:
- Constant Field Values
V4L2_MEMORY_MMAP
public static final int V4L2_MEMORY_MMAP
- See Also:
- Constant Field Values
V4L2_MEMORY_USERPTR
public static final int V4L2_MEMORY_USERPTR
- See Also:
- Constant Field Values
V4L2_PIX_FMT_NONE
public static final int V4L2_PIX_FMT_NONE
- See Also:
- Constant Field Values
V4L2_PIX_FMT_RGB24
public static final int V4L2_PIX_FMT_RGB24
V4L2_PIX_FMT_BGR24
public static final int V4L2_PIX_FMT_BGR24
V4L2_PIX_FMT_UYVY
public static final int V4L2_PIX_FMT_UYVY
V4L2_PIX_FMT_VYUY
public static final int V4L2_PIX_FMT_VYUY
V4L2_PIX_FMT_YUV420
public static final int V4L2_PIX_FMT_YUV420
V4L2_PIX_FMT_YUYV
public static final int V4L2_PIX_FMT_YUYV
V4L2_PIX_FMT_MJPEG
public static final int V4L2_PIX_FMT_MJPEG
V4L2_PIX_FMT_JPEG
public static final int V4L2_PIX_FMT_JPEG
VIDIOC_DQBUF
public static final int VIDIOC_DQBUF
VIDIOC_G_FMT
public static final int VIDIOC_G_FMT
VIDIOC_QBUF
public static final int VIDIOC_QBUF
VIDIOC_QUERYBUF
public static final int VIDIOC_QUERYBUF
VIDIOC_QUERYCAP
public static final int VIDIOC_QUERYCAP
VIDIOC_REQBUFS
public static final int VIDIOC_REQBUFS
VIDIOC_S_FMT
public static final int VIDIOC_S_FMT
VIDIOC_S_PARM
public static final int VIDIOC_S_PARM
VIDIOC_STREAMOFF
public static final int VIDIOC_STREAMOFF
VIDIOC_STREAMON
public static final int VIDIOC_STREAMON
Video4Linux2
public Video4Linux2()
close
public static int close(int fd)
free
public static void free(long ptr)
ioctl
public static int ioctl(int fd,
int request,
long argp)
memcpy
public static long memcpy(long dest,
long src,
int n)
mmap
public static long mmap(long start,
int length,
int prot,
int flags,
int fd,
long offset)
munmap
public static int munmap(long start,
int length)
open
public static int open(String deviceName,
int flags)
v4l2_buffer_alloc
public static long v4l2_buffer_alloc(int type)
v4l2_buffer_getBytesused
public static int v4l2_buffer_getBytesused(long v4l2_buffer)
v4l2_buffer_getIndex
public static int v4l2_buffer_getIndex(long v4l2_buffer)
v4l2_buffer_getLength
public static int v4l2_buffer_getLength(long v4l2_buffer)
v4l2_buffer_getMOffset
public static long v4l2_buffer_getMOffset(long v4l2_buffer)
v4l2_buffer_setIndex
public static void v4l2_buffer_setIndex(long v4l2_buffer,
int index)
v4l2_buffer_setMemory
public static void v4l2_buffer_setMemory(long v4l2_buffer,
int memory)
v4l2_buf_type_alloc
public static long v4l2_buf_type_alloc(int type)
v4l2_capability_alloc
public static long v4l2_capability_alloc()
v4l2_capability_getCapabilities
public static int v4l2_capability_getCapabilities(long v4l2_capability)
v4l2_capability_getCard
public static String v4l2_capability_getCard(long v4l2_capability)
v4l2_format_alloc
public static long v4l2_format_alloc(int type)
v4l2_format_getFmtPix
public static long v4l2_format_getFmtPix(long v4l2_format)
v4l2_pix_format_getHeight
public static int v4l2_pix_format_getHeight(long v4l2_pix_format)
v4l2_pix_format_getPixelformat
public static int v4l2_pix_format_getPixelformat(long v4l2_pix_format)
v4l2_pix_format_getWidth
public static int v4l2_pix_format_getWidth(long v4l2_pix_format)
v4l2_pix_format_setBytesperline
public static void v4l2_pix_format_setBytesperline(long v4l2_pix_format,
int bytesperline)
v4l2_pix_format_setField
public static void v4l2_pix_format_setField(long v4l2_pix_format,
int field)
v4l2_pix_format_setPixelformat
public static void v4l2_pix_format_setPixelformat(long v4l2_pix_format,
int pixelformat)
v4l2_pix_format_setWidthAndHeight
public static void v4l2_pix_format_setWidthAndHeight(long v4l2_pix_format,
int width,
int height)
v4l2_requestbuffers_alloc
public static long v4l2_requestbuffers_alloc(int type)
v4l2_requestbuffers_getCount
public static int v4l2_requestbuffers_getCount(long v4l2_requestbuffers)
v4l2_requestbuffers_setCount
public static void v4l2_requestbuffers_setCount(long v4l2_requestbuffers,
int count)
v4l2_requestbuffers_setMemory
public static void v4l2_requestbuffers_setMemory(long v4l2_requestbuffers,
int memory)
v4l2_streamparm_alloc
public static long v4l2_streamparm_alloc(int type)
v4l2_streamparm_setFps
public static void v4l2_streamparm_setFps(long v4l2_streamparm,
int fps)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.