Move video_controls.h from include/nuttx/video to include/sys

The video_controls.h is a public header file, and it is used by
videoio.h. So it should be moved to the include/sys directory.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2024-02-03 21:15:50 +08:00 committed by Xiang Xiao
parent 3afd26bcd1
commit d680ba47c4
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/****************************************************************************
* include/nuttx/video/video_controls.h
* include/sys/video_controls.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __INCLUDE_NUTTX_VIDEO_VIDEO_CONTROLS_H
#define __INCLUDE_NUTTX_VIDEO_VIDEO_CONTROLS_H
#ifndef __INCLUDE_SYS_VIDEO_CONTROLS_H
#define __INCLUDE_SYS_VIDEO_CONTROLS_H
/****************************************************************************
* Included Files
@ -250,4 +250,4 @@ enum v4l2_flash_led_mode
#define V4L2_CID_JPEG_COMPRESSION_QUALITY JPEG_CID(0) /* JPEG quality */
#endif /* __INCLUDE_NUTTX_VIDEO_VIDEO_CONTROLS_H */
#endif /* __INCLUDE_SYS_VIDEO_CONTROLS_H */

View File

@ -28,9 +28,9 @@
#include <stdint.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/video_controls.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/video/video_controls.h>
#ifdef __cplusplus
extern "C"

View File

@ -206,8 +206,8 @@ static const char *g_white_prefix[] =
"ub32", /* Ref: include/fixedmath.h */
"lua_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lua.h */
"luaL_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */
"V4L2_", /* Ref: include/sys/video_controls.h */
"Ifx", /* Ref: arch/tricore/src */
NULL
};