Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Video type definitions. More...

Files

file  types.h
 Types used by both video drivers and subsystem.

Data Structures

struct  video_buffer
 Video buffer structure. More...
struct  video_format
 Video format structure. More...
struct  video_format_cap
 Video format capability. More...
struct  video_caps
 Video format capabilities. More...
struct  video_ctrl_range
 Video control range structure. More...
struct  video_control
 Video control structure. More...
struct  video_ctrl_query
 Video control query structure. More...
struct  video_rect
 Description of a rectangle area. More...
struct  video_selection
 Video selection (crop / compose) structure. More...
struct  video_frmival
 Video frame interval structure. More...
struct  video_frmival_stepwise
 Video frame interval stepwise structure. More...
struct  video_frmival_enum
 Video frame interval enumeration structure. More...

Enumerations

enum  video_buf_type { VIDEO_BUF_TYPE_INPUT = 1 , VIDEO_BUF_TYPE_OUTPUT = 2 }
 video_buf_type enum More...
enum  video_buf_memory { VIDEO_MEMORY_INTERNAL = 1 , VIDEO_MEMORY_EXTERNAL = 2 }
 video_buf_memory enum More...
enum  video_signal_result { VIDEO_BUF_DONE , VIDEO_BUF_ABORTED , VIDEO_BUF_ERROR }
 Video signal result. More...
enum  video_selection_target {
  VIDEO_SEL_TGT_CROP , VIDEO_SEL_TGT_CROP_BOUND , VIDEO_SEL_TGT_NATIVE_SIZE , VIDEO_SEL_TGT_COMPOSE ,
  VIDEO_SEL_TGT_COMPOSE_BOUND
}
 Video selection target. More...
enum  video_frmival_type { VIDEO_FRMIVAL_TYPE_DISCRETE = 1 , VIDEO_FRMIVAL_TYPE_STEPWISE = 2 }
 Supported frame interval type of a video device. More...

Detailed Description

Video type definitions.

Since
4.4
Version
0.0.1

Enumeration Type Documentation

◆ video_buf_memory

#include <types.h>

video_buf_memory enum

Memory type of a buffer

Enumerator
VIDEO_MEMORY_INTERNAL 

buffer is allocated from the internal video heap

VIDEO_MEMORY_EXTERNAL 

buffer is allocated from outside

◆ video_buf_type

#include <types.h>

video_buf_type enum

Supported video buffer types of a video device. The direction (input or output) is defined from the device's point of view. Devices like cameras support only output type, encoders support only input types while m2m devices like ISP, PxP support both input and output types.

Enumerator
VIDEO_BUF_TYPE_INPUT 

input buffer type

VIDEO_BUF_TYPE_OUTPUT 

output buffer type

◆ video_frmival_type

#include <types.h>

Supported frame interval type of a video device.

Enumerator
VIDEO_FRMIVAL_TYPE_DISCRETE 

discrete frame interval type

VIDEO_FRMIVAL_TYPE_STEPWISE 

stepwise frame interval type

◆ video_selection_target

#include <types.h>

Video selection target.

Used to indicate which selection to query or set on a video device

Enumerator
VIDEO_SEL_TGT_CROP 

Current crop setting.

VIDEO_SEL_TGT_CROP_BOUND 

Crop bound (aka the maximum crop achievable).

VIDEO_SEL_TGT_NATIVE_SIZE 

Native size of the input frame.

VIDEO_SEL_TGT_COMPOSE 

Current compose setting.

VIDEO_SEL_TGT_COMPOSE_BOUND 

Compose bound (aka the maximum compose achievable).

◆ video_signal_result

#include <types.h>

Video signal result.

Identify video event.

Enumerator
VIDEO_BUF_DONE 

Buffer is done.

VIDEO_BUF_ABORTED 

Buffer is aborted.

VIDEO_BUF_ERROR 

Buffer is in error.