utils/qvidcap/qvidcap.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* |
| 3 | * qvidcap: a control panel controlling v4l2 devices. |
| 4 | * |
| 5 | * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved. |
| 6 | */ |
| 7 | |
| 8 | #ifndef QVIDCAP_H |
| 9 | #define QVIDCAP_H |
| 10 | |
| 11 | // Must come before cv4l-helpers.h |
| 12 | #include <libv4l2.h> |
| 13 | |
| 14 | #include "cv4l-helpers.h" |
| 15 | #include "capture.h" |
| 16 | |
| 17 | __u32 read_u32(int fd); |
| 18 | int initSocket(int port, cv4l_fmt &fmt, v4l2_fract &pixelaspect); |
| 19 | |
| 20 | #endif |