Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
video-controls.h
Go to the documentation of this file.
1
7/*
8 * Copyright (c) 2019 Linaro Limited.
9 *
10 * SPDX-License-Identifier: Apache-2.0
11 */
12#ifndef ZEPHYR_INCLUDE_VIDEO_CONTROLS_H_
13#define ZEPHYR_INCLUDE_VIDEO_CONTROLS_H_
14
22#include <zephyr/device.h>
23#include <stddef.h>
24#include <zephyr/kernel.h>
25
26#include <zephyr/types.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
36#define VIDEO_CTRL_CLASS_GENERIC 0x00000000
37#define VIDEO_CTRL_CLASS_CAMERA 0x00010000
38#define VIDEO_CTRL_CLASS_MPEG 0x00020000
39#define VIDEO_CTRL_CLASS_JPEG 0x00030000
40#define VIDEO_CTRL_CLASS_VENDOR 0xFFFF0000
50#define VIDEO_CID_HFLIP (VIDEO_CTRL_CLASS_GENERIC + 0)
52#define VIDEO_CID_VFLIP (VIDEO_CTRL_CLASS_GENERIC + 1)
54#define VIDEO_CID_POWER_LINE_FREQUENCY (VIDEO_CTRL_CLASS_GENERIC + 2)
56#define VIDEO_CID_PIXEL_RATE (VIDEO_CTRL_CLASS_GENERIC + 3)
57
64
73#define VIDEO_CID_CAMERA_EXPOSURE (VIDEO_CTRL_CLASS_CAMERA + 0)
74#define VIDEO_CID_CAMERA_GAIN (VIDEO_CTRL_CLASS_CAMERA + 1)
75#define VIDEO_CID_CAMERA_ZOOM (VIDEO_CTRL_CLASS_CAMERA + 2)
76#define VIDEO_CID_CAMERA_BRIGHTNESS (VIDEO_CTRL_CLASS_CAMERA + 3)
77#define VIDEO_CID_CAMERA_SATURATION (VIDEO_CTRL_CLASS_CAMERA + 4)
78#define VIDEO_CID_CAMERA_WHITE_BAL (VIDEO_CTRL_CLASS_CAMERA + 5)
79#define VIDEO_CID_CAMERA_CONTRAST (VIDEO_CTRL_CLASS_CAMERA + 6)
80#define VIDEO_CID_CAMERA_TEST_PATTERN (VIDEO_CTRL_CLASS_CAMERA + 7)
81#define VIDEO_CID_CAMERA_QUALITY (VIDEO_CTRL_CLASS_CAMERA + 8)
82#define VIDEO_CID_CAMERA_HUE (VIDEO_CTRL_CLASS_CAMERA + 9)
87#ifdef __cplusplus
88}
89#endif
90
91/* Controls */
92
97#endif /* ZEPHYR_INCLUDE_VIDEO_H_ */
video_power_line_frequency
Definition video-controls.h:58
@ VIDEO_CID_POWER_LINE_FREQUENCY_DISABLED
Definition video-controls.h:59
@ VIDEO_CID_POWER_LINE_FREQUENCY_AUTO
Definition video-controls.h:62
@ VIDEO_CID_POWER_LINE_FREQUENCY_60HZ
Definition video-controls.h:61
@ VIDEO_CID_POWER_LINE_FREQUENCY_50HZ
Definition video-controls.h:60
Public kernel APIs.