Video Driver API Definitions. More...
Macros | |
#define | VIDEO_DRV_IN0 (0UL) |
Video Input channel 0. | |
#define | VIDEO_DRV_OUT0 (1UL) |
Video Output channel 0. | |
#define | VIDEO_DRV_IN1 (2UL) |
Video Input channel 1. | |
#define | VIDEO_DRV_OUT1 (3UL) |
Video Output channel 1. | |
#define | VIDEO_DRV_EVENT_FRAME (1UL << 0) |
Video frame received. | |
#define | VIDEO_DRV_EVENT_OVERFLOW (1UL << 1) |
Video buffer overflow. | |
#define | VIDEO_DRV_EVENT_UNDERFLOW (1UL << 2) |
Video buffer underflow. | |
#define | VIDEO_DRV_EVENT_EOS (1UL << 3) |
Video end of stream. | |
#define | VIDEO_DRV_MODE_SINGLE (0UL) |
Single frame. | |
#define | VIDEO_DRV_MODE_CONTINUOS (1UL) |
Continuos stream. | |
#define | VIDEO_DRV_OK (0) |
Operation succeeded. | |
#define | VIDEO_DRV_ERROR (-1) |
Unspecified error. | |
#define | VIDEO_DRV_ERROR_PARAMETER (-2) |
Parameter error. | |
#define | VIDEO_DRV_COLOR_FORMAT_BEGIN (0UL) |
Color format begin. | |
#define | VIDEO_DRV_COLOR_GRAYSCALE8 (1UL) |
8 bit grayscale color format | |
#define | VIDEO_DRV_COLOR_RGB888 (2UL) |
24 bit RGB color format | |
#define | VIDEO_DRV_COLOR_BGR565 (3UL) |
16 bit BGR color format | |
#define | VIDEO_DRV_COLOR_YUV420 (4UL) |
12 bit YUV420 color format | |
#define | VIDEO_DRV_COLOR_NV12 (5UL) |
24 bit NV12 color format | |
#define | VIDEO_DRV_COLOR_NV21 (6UL) |
24 bit NV12 color format | |
#define | VIDEO_DRV_COLOR_FORMAT_END (7UL) |
Color format end. | |
Video Driver API Definitions.
Video driver provides various definitions to simplify use of its Video Driver API Functions :
#define VIDEO_DRV_EVENT_FRAME (1UL << 0) |
Video frame received.
Triggered to indicate that a new frame is available in buffer.
#define VIDEO_DRV_EVENT_OVERFLOW (1UL << 1) |
Video buffer overflow.
Triggered to indicate that overflow of data buffer has occurred.
#define VIDEO_DRV_EVENT_UNDERFLOW (1UL << 2) |
Video buffer underflow.
Triggered to indicate that underflow of data buffer has occurred.
#define VIDEO_DRV_EVENT_EOS (1UL << 3) |
Video end of stream.
Triggered to indicate that end of file has been reached.