| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 //------------------------------------------------ |
| 6 // Functions from libv4l2 used in chromium code. |
| 7 //------------------------------------------------ |
| 8 LIBV4L_PUBLIC int v4l2_open(const char *file, int oflag, ...); |
| 9 LIBV4L_PUBLIC int v4l2_close(int fd); |
| 10 LIBV4L_PUBLIC int v4l2_dup(int fd); |
| 11 LIBV4L_PUBLIC int v4l2_ioctl(int fd, unsigned long int request, ...); |
| 12 LIBV4L_PUBLIC ssize_t v4l2_read(int fd, void *buffer, size_t n); |
| 13 LIBV4L_PUBLIC ssize_t v4l2_write(int fd, const void *buffer, size_t n); |
| 14 LIBV4L_PUBLIC void *v4l2_mmap(void *start, size_t length, int prot, int flags, i
nt fd, int64_t offset); |
| 15 LIBV4L_PUBLIC int v4l2_munmap(void *_start, size_t length); |
| 16 LIBV4L_PUBLIC int v4l2_fd_open(int fd, int v4l2_flags); |
| OLD | NEW |