Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Side by Side Diff: content/common/gpu/media/v4l2.sig

Issue 700383004: Add use_v4lplugin flag to enable v4l2 library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use v4l2_fd_open Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698