summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice
AgeCommit message (Expand)Author
2020-03-06test: v4l2_videodevice: Add test for V4L2BufferCacheNiklas Söderlund
2020-01-12libcamera: v4l2_videodevice: Remove Buffer interfaceNiklas Söderlund
2020-01-12test: v4l2_videodevice: Switch to FrameBuffer interfaceNiklas Söderlund
2020-01-12libcamera: buffer: Move captured metadata to FrameMetadataNiklas Söderlund
2019-12-16libcamera: Remove buffer index from loggingNiklas Söderlund
2019-11-08libcamera: Remove unneeded semicolonsLaurent Pinchart
2019-10-23libcamera: Standardise on C compatibility headersLaurent Pinchart
2019-10-15libcamera: v4l2_controls: Remove V4L2ControlList classLaurent Pinchart
2019-10-15libcamera: controls: Merge ControlInfoMap and V4L2ControlInfoMapLaurent Pinchart
2019-10-15libcamera: v4l2_controls: Store a ControlRange in V4L2ControlInfoMapLaurent Pinchart
2019-10-15libcamera: v4l2_controls: Replace V4L2ControlInfo with V4L2ControlRangeLaurent Pinchart
2019-10-15test: v4l2_videodevice: controls: Use correct control range in checkLaurent Pinchart
2019-10-13libcamera: v4l2_device: Replace V4L2ControlList with ControlListLaurent Pinchart
2019-08-19test: Get event dispatcher from current threadLaurent Pinchart
2019-08-13test: v4l2_device: Remove unused functionKieran Bingham
2019-08-132019-06-19libcamera: Rename V4L2Device to V4L2VideoDeviceJacopo Mondi
t oflag) { return open(path, oflag); } #ifndef open64 LIBCAMERA_PUBLIC int open64(const char *path, int oflag, ...) { mode_t mode = 0; if (oflag & O_CREAT || oflag & O_TMPFILE) extract_va_arg(mode_t, mode, oflag); return V4L2CompatManager::instance()->openat(AT_FDCWD, path, oflag | O_LARGEFILE, mode); } LIBCAMERA_PUBLIC int __open64_2(const char *path, int oflag) { return open(path, oflag); } #endif LIBCAMERA_PUBLIC int openat(int dirfd, const char *path, int oflag, ...) { mode_t mode = 0; if (oflag & O_CREAT || oflag & O_TMPFILE) extract_va_arg(mode_t, mode, oflag); return V4L2CompatManager::instance()->openat(dirfd, path, oflag, mode); } LIBCAMERA_PUBLIC int __openat_2(int dirfd, const char *path, int oflag) { return openat(dirfd, path, oflag); } #ifndef openat64 LIBCAMERA_PUBLIC int openat64(int dirfd, const char *path, int oflag, ...) { mode_t mode = 0; if (oflag & O_CREAT || oflag & O_TMPFILE) extract_va_arg(mode_t, mode, oflag); return V4L2CompatManager::instance()->openat(dirfd, path, oflag | O_LARGEFILE, mode); } LIBCAMERA_PUBLIC int __openat64_2(int dirfd, const char *path, int oflag) { return openat(dirfd, path, oflag); } #endif LIBCAMERA_PUBLIC int dup(int oldfd) { return V4L2CompatManager::instance()->dup(oldfd); } LIBCAMERA_PUBLIC int close(int fd) { return V4L2CompatManager::instance()->close(fd); } LIBCAMERA_PUBLIC void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { return V4L2CompatManager::instance()->mmap(addr, length, prot, flags, fd, offset); } #ifndef mmap64 LIBCAMERA_PUBLIC void *mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset) { return V4L2CompatManager::instance()->mmap(addr, length, prot, flags, fd, offset); } #endif LIBCAMERA_PUBLIC int munmap(void *addr, size_t length) { return V4L2CompatManager::instance()->munmap(addr, length); } LIBCAMERA_PUBLIC int ioctl(int fd, unsigned long request, ...) { void *arg; extract_va_arg(void *, arg, request); return V4L2CompatManager::instance()->ioctl(fd, request, arg); } }