mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-02-01 07:33:36 +00:00
kernel-headers: update to kernel.lnx.4.4.r10-rel
Change-Id: I8ba9f44f8de4d6e07d972d629c7e54033e2b606e
This commit is contained in:
@@ -1372,59 +1372,61 @@ enum mdp_color_space {
|
||||
MDP_CSC_ITU_R_709,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
#define MDP_CSC_ITU_R_2020 (MDP_CSC_ITU_R_709 + 1)
|
||||
#define MDP_CSC_ITU_R_2020_FR (MDP_CSC_ITU_R_2020 + 1)
|
||||
enum {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_igc_v1_7 = 1,
|
||||
mdp_igc_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_hist_lut_v1_7,
|
||||
mdp_hist_lut_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_pgc_v1_7,
|
||||
mdp_pgc_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_dither_v1_7,
|
||||
mdp_dither_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_gamut_v1_7,
|
||||
mdp_gamut_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_pa_v1_7,
|
||||
mdp_pa_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_pcc_v1_7,
|
||||
mdp_pcc_vmax,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_pp_legacy,
|
||||
mdp_dither_pa_v1_7,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
mdp_igc_v3,
|
||||
mdp_pp_unknown = 255
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
#define mdp_dither_pa_v1_7 mdp_dither_pa_v1_7
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define mdp_pp_unknown mdp_pp_unknown
|
||||
#define mdp_igc_v3 mdp_igc_v3
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
enum {
|
||||
IGC = 1,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
PCC,
|
||||
GC,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
PA,
|
||||
GAMUT,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
DITHER,
|
||||
QSEED,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
HIST_LUT,
|
||||
HIST,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
PP_FEATURE_MAX,
|
||||
PA_DITHER,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
PP_MAX_FEATURES = 25,
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define PA_DITHER PA_DITHER
|
||||
#define PP_MAX_FEATURES PP_MAX_FEATURES
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_pp_feature_version {
|
||||
uint32_t pp_feature;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t version_info;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,225 +48,227 @@
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define MDP_LAYER_MULTIRECT_ENABLE 0x1000
|
||||
#define MDP_LAYER_MULTIRECT_PARALLEL_MODE 0x2000
|
||||
#define MDP_LAYER_SECURE_CAMERA_SESSION 0x4000
|
||||
#define MDP_DESTSCALER_ENABLE 0x1
|
||||
#define MDP_DESTSCALER_SCALE_UPDATE 0x2
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define MDP_DESTSCALER_SCALE_UPDATE 0x2
|
||||
#define MDP_DESTSCALER_ENHANCER_UPDATE 0x4
|
||||
#define MDP_VALIDATE_LAYER 0x01
|
||||
#define MDP_COMMIT_WAIT_FOR_FINISH 0x02
|
||||
#define MDP_COMMIT_SYNC_FENCE_WAIT 0x04
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define MDP_COMMIT_SYNC_FENCE_WAIT 0x04
|
||||
#define MDP_COMMIT_AVR_EN 0x08
|
||||
#define MDP_COMMIT_AVR_ONE_SHOT_MODE 0x10
|
||||
#define MDP_COMMIT_CWB_EN 0x800
|
||||
#define MDP_COMMIT_CWB_DSPP 0x1000
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define MDP_COMMIT_CWB_DSPP 0x1000
|
||||
#define MDP_COMMIT_VERSION_1_0 0x00010000
|
||||
struct mdp_layer_plane {
|
||||
int fd;
|
||||
uint32_t offset;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t offset;
|
||||
uint32_t stride;
|
||||
};
|
||||
struct mdp_layer_buffer {
|
||||
uint32_t width;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t format;
|
||||
struct mdp_layer_plane planes[MAX_PLANES];
|
||||
uint32_t plane_count;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t plane_count;
|
||||
struct mult_factor comp_ratio;
|
||||
int fence;
|
||||
uint32_t reserved;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
struct mdp_input_layer {
|
||||
uint32_t flags;
|
||||
uint32_t pipe_ndx;
|
||||
uint8_t horz_deci;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint8_t horz_deci;
|
||||
uint8_t vert_deci;
|
||||
uint8_t alpha;
|
||||
uint16_t z_order;
|
||||
uint32_t transp_mask;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t transp_mask;
|
||||
uint32_t bg_color;
|
||||
enum mdss_mdp_blend_op blend_op;
|
||||
enum mdp_color_space color_space;
|
||||
struct mdp_rect src_rect;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_rect src_rect;
|
||||
struct mdp_rect dst_rect;
|
||||
void * scale;
|
||||
struct mdp_layer_buffer buffer;
|
||||
void * pp_info;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
void * pp_info;
|
||||
int error_code;
|
||||
uint32_t reserved[6];
|
||||
};
|
||||
struct mdp_output_layer {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_output_layer {
|
||||
uint32_t flags;
|
||||
uint32_t writeback_ndx;
|
||||
struct mdp_layer_buffer buffer;
|
||||
uint32_t reserved[6];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t reserved[6];
|
||||
};
|
||||
struct mdp_destination_scaler_data {
|
||||
uint32_t flags;
|
||||
uint32_t dest_scaler_ndx;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t dest_scaler_ndx;
|
||||
uint32_t lm_width;
|
||||
uint32_t lm_height;
|
||||
uint64_t scale;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
struct mdp_layer_commit_v1 {
|
||||
uint32_t flags;
|
||||
int release_fence;
|
||||
struct mdp_rect left_roi;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_rect left_roi;
|
||||
struct mdp_rect right_roi;
|
||||
struct mdp_input_layer * input_layers;
|
||||
uint32_t input_layer_cnt;
|
||||
struct mdp_output_layer * output_layer;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_output_layer * output_layer;
|
||||
int retire_fence;
|
||||
void * dest_scaler;
|
||||
uint32_t dest_scaler_cnt;
|
||||
uint32_t reserved[MDP_LAYER_COMMIT_V1_PAD];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t reserved[MDP_LAYER_COMMIT_V1_PAD];
|
||||
};
|
||||
struct mdp_layer_commit {
|
||||
uint32_t version;
|
||||
union {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
union {
|
||||
struct mdp_layer_commit_v1 commit_v1;
|
||||
};
|
||||
};
|
||||
struct mdp_point {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_point {
|
||||
uint32_t x;
|
||||
uint32_t y;
|
||||
};
|
||||
struct mdp_async_layer {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_async_layer {
|
||||
uint32_t flags;
|
||||
uint32_t pipe_ndx;
|
||||
struct mdp_point src;
|
||||
struct mdp_point dst;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_point dst;
|
||||
int error_code;
|
||||
uint32_t reserved[3];
|
||||
};
|
||||
struct mdp_position_update {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct mdp_position_update {
|
||||
struct mdp_async_layer * input_layers;
|
||||
uint32_t input_layer_cnt;
|
||||
};
|
||||
#define MAX_DET_CURVES 3
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define MAX_DET_CURVES 3
|
||||
struct mdp_det_enhance_data {
|
||||
uint32_t enable;
|
||||
int16_t sharpen_level1;
|
||||
int16_t sharpen_level2;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int16_t sharpen_level2;
|
||||
uint16_t clip;
|
||||
uint16_t limit;
|
||||
uint16_t thr_quiet;
|
||||
uint16_t thr_dieout;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint16_t thr_dieout;
|
||||
uint16_t thr_low;
|
||||
uint16_t thr_high;
|
||||
uint16_t prec_shift;
|
||||
int16_t adjust_a[MAX_DET_CURVES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int16_t adjust_a[MAX_DET_CURVES];
|
||||
int16_t adjust_b[MAX_DET_CURVES];
|
||||
int16_t adjust_c[MAX_DET_CURVES];
|
||||
};
|
||||
#define ENABLE_SCALE 0x1
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define ENABLE_SCALE 0x1
|
||||
#define ENABLE_DETAIL_ENHANCE 0x2
|
||||
#define ENABLE_DIRECTION_DETECTION 0x4
|
||||
#define SCALER_LUT_SWAP 0x1
|
||||
#define SCALER_LUT_DIR_WR 0x2
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define SCALER_LUT_DIR_WR 0x2
|
||||
#define SCALER_LUT_Y_CIR_WR 0x4
|
||||
#define SCALER_LUT_UV_CIR_WR 0x8
|
||||
#define SCALER_LUT_Y_SEP_WR 0x10
|
||||
#define SCALER_LUT_UV_SEP_WR 0x20
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define SCALER_LUT_UV_SEP_WR 0x20
|
||||
#define FILTER_EDGE_DIRECTED_2D 0x0
|
||||
#define FILTER_CIRCULAR_2D 0x1
|
||||
#define FILTER_SEPARABLE_1D 0x2
|
||||
#define FILTER_BILINEAR 0x3
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define FILTER_BILINEAR 0x3
|
||||
#define FILTER_ALPHA_DROP_REPEAT 0x0
|
||||
#define FILTER_ALPHA_BILINEAR 0x1
|
||||
struct mdp_scale_data_v2 {
|
||||
uint32_t enable;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t enable;
|
||||
int32_t init_phase_x[MAX_PLANES];
|
||||
int32_t phase_step_x[MAX_PLANES];
|
||||
int32_t init_phase_y[MAX_PLANES];
|
||||
int32_t phase_step_y[MAX_PLANES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int32_t phase_step_y[MAX_PLANES];
|
||||
uint32_t num_ext_pxls_left[MAX_PLANES];
|
||||
uint32_t num_ext_pxls_right[MAX_PLANES];
|
||||
uint32_t num_ext_pxls_top[MAX_PLANES];
|
||||
uint32_t num_ext_pxls_btm[MAX_PLANES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t num_ext_pxls_btm[MAX_PLANES];
|
||||
int32_t left_ftch[MAX_PLANES];
|
||||
int32_t left_rpt[MAX_PLANES];
|
||||
int32_t right_ftch[MAX_PLANES];
|
||||
int32_t right_rpt[MAX_PLANES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int32_t right_rpt[MAX_PLANES];
|
||||
uint32_t top_rpt[MAX_PLANES];
|
||||
uint32_t btm_rpt[MAX_PLANES];
|
||||
uint32_t top_ftch[MAX_PLANES];
|
||||
uint32_t btm_ftch[MAX_PLANES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t btm_ftch[MAX_PLANES];
|
||||
uint32_t roi_w[MAX_PLANES];
|
||||
uint32_t preload_x[MAX_PLANES];
|
||||
uint32_t preload_y[MAX_PLANES];
|
||||
uint32_t src_width[MAX_PLANES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t src_width[MAX_PLANES];
|
||||
uint32_t src_height[MAX_PLANES];
|
||||
uint32_t dst_width;
|
||||
uint32_t dst_height;
|
||||
uint32_t y_rgb_filter_cfg;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t y_rgb_filter_cfg;
|
||||
uint32_t uv_filter_cfg;
|
||||
uint32_t alpha_filter_cfg;
|
||||
uint32_t blend_cfg;
|
||||
uint32_t lut_flag;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t lut_flag;
|
||||
uint32_t dir_lut_idx;
|
||||
uint32_t y_rgb_cir_lut_idx;
|
||||
uint32_t uv_cir_lut_idx;
|
||||
uint32_t y_rgb_sep_lut_idx;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t y_rgb_sep_lut_idx;
|
||||
uint32_t uv_sep_lut_idx;
|
||||
struct mdp_det_enhance_data detail_enhance;
|
||||
uint64_t reserved[8];
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
struct mdp_scale_luts_info {
|
||||
uint64_t dir_lut;
|
||||
uint64_t cir_lut;
|
||||
uint64_t sep_lut;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint64_t sep_lut;
|
||||
uint32_t dir_lut_size;
|
||||
uint32_t cir_lut_size;
|
||||
uint32_t sep_lut_size;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
#define MDP_QSEED3_LUT_CFG 0x1
|
||||
struct mdp_set_cfg {
|
||||
uint64_t flags;
|
||||
uint32_t len;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t len;
|
||||
uint64_t payload;
|
||||
};
|
||||
#endif
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
|
||||
|
||||
@@ -1477,236 +1477,238 @@ struct v4l2_streamparm {
|
||||
#define V4L2_EVENT_BITDEPTH_FLAG 0x1
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_EVENT_PICSTRUCT_FLAG 0x2
|
||||
#define V4L2_EVENT_COLOUR_SPACE_FLAG 0x4
|
||||
#define V4L2_EVENT_MSM_VIDC_START (V4L2_EVENT_PRIVATE_START + 0x00001000)
|
||||
#define V4L2_EVENT_MSM_VIDC_FLUSH_DONE (V4L2_EVENT_MSM_VIDC_START + 1)
|
||||
#define V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT (V4L2_EVENT_MSM_VIDC_START + 2)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT (V4L2_EVENT_MSM_VIDC_START + 2)
|
||||
#define V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT (V4L2_EVENT_MSM_VIDC_START + 3)
|
||||
#define V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_BITDEPTH_CHANGED_INSUFFICIENT (V4L2_EVENT_MSM_VIDC_START + 4)
|
||||
#define V4L2_EVENT_MSM_VIDC_SYS_ERROR (V4L2_EVENT_MSM_VIDC_START + 5)
|
||||
#define V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE (V4L2_EVENT_MSM_VIDC_START + 6)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE (V4L2_EVENT_MSM_VIDC_START + 6)
|
||||
#define V4L2_EVENT_MSM_VIDC_RELEASE_UNQUEUED_BUFFER (V4L2_EVENT_MSM_VIDC_START + 7)
|
||||
#define V4L2_EVENT_MSM_VIDC_HW_OVERLOAD (V4L2_EVENT_MSM_VIDC_START + 8)
|
||||
#define V4L2_EVENT_MSM_VIDC_MAX_CLIENTS (V4L2_EVENT_MSM_VIDC_START + 9)
|
||||
#define V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED (V4L2_EVENT_MSM_VIDC_START + 10)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED (V4L2_EVENT_MSM_VIDC_START + 10)
|
||||
struct v4l2_event_vsync {
|
||||
__u8 field;
|
||||
} __attribute__((packed));
|
||||
#define V4L2_EVENT_CTRL_CH_VALUE (1 << 0)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_EVENT_CTRL_CH_VALUE (1 << 0)
|
||||
#define V4L2_EVENT_CTRL_CH_FLAGS (1 << 1)
|
||||
#define V4L2_EVENT_CTRL_CH_RANGE (1 << 2)
|
||||
struct v4l2_event_ctrl {
|
||||
__u32 changes;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u32 changes;
|
||||
__u32 type;
|
||||
union {
|
||||
__s32 value;
|
||||
__s64 value64;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__s64 value64;
|
||||
};
|
||||
__u32 flags;
|
||||
__s32 minimum;
|
||||
__s32 maximum;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__s32 maximum;
|
||||
__s32 step;
|
||||
__s32 default_value;
|
||||
};
|
||||
struct v4l2_event_frame_sync {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_event_frame_sync {
|
||||
__u32 frame_sequence;
|
||||
};
|
||||
#define V4L2_EVENT_SRC_CH_RESOLUTION (1 << 0)
|
||||
struct v4l2_event_src_change {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_event_src_change {
|
||||
__u32 changes;
|
||||
};
|
||||
#define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ (1 << 0)
|
||||
struct v4l2_event_motion_det {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_event_motion_det {
|
||||
__u32 flags;
|
||||
__u32 frame_sequence;
|
||||
__u32 region_mask;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
struct v4l2_event {
|
||||
__u32 type;
|
||||
union {
|
||||
struct v4l2_event_vsync vsync;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_event_vsync vsync;
|
||||
struct v4l2_event_ctrl ctrl;
|
||||
struct v4l2_event_frame_sync frame_sync;
|
||||
struct v4l2_event_src_change src_change;
|
||||
struct v4l2_event_motion_det motion_det;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_event_motion_det motion_det;
|
||||
__u8 data[64];
|
||||
} u;
|
||||
__u32 pending;
|
||||
__u32 sequence;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u32 sequence;
|
||||
struct timespec timestamp;
|
||||
__u32 id;
|
||||
__u32 reserved[8];
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
#define V4L2_EVENT_SUB_FL_SEND_INITIAL (1 << 0)
|
||||
#define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK (1 << 1)
|
||||
struct v4l2_event_subscription {
|
||||
__u32 type;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u32 type;
|
||||
__u32 id;
|
||||
__u32 flags;
|
||||
__u32 reserved[5];
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
#define V4L2_CHIP_MATCH_BRIDGE 0
|
||||
#define V4L2_CHIP_MATCH_SUBDEV 4
|
||||
#define V4L2_CHIP_MATCH_HOST V4L2_CHIP_MATCH_BRIDGE
|
||||
#define V4L2_CHIP_MATCH_I2C_DRIVER 1
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_CHIP_MATCH_I2C_DRIVER 1
|
||||
#define V4L2_CHIP_MATCH_I2C_ADDR 2
|
||||
#define V4L2_CHIP_MATCH_AC97 3
|
||||
struct v4l2_dbg_match {
|
||||
__u32 type;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u32 type;
|
||||
union {
|
||||
__u32 addr;
|
||||
char name[32];
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
} __attribute__((packed));
|
||||
struct v4l2_dbg_register {
|
||||
struct v4l2_dbg_match match;
|
||||
__u32 size;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u32 size;
|
||||
__u64 reg;
|
||||
__u64 val;
|
||||
} __attribute__((packed));
|
||||
#define V4L2_CHIP_FL_READABLE (1 << 0)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define V4L2_CHIP_FL_READABLE (1 << 0)
|
||||
#define V4L2_CHIP_FL_WRITABLE (1 << 1)
|
||||
struct v4l2_dbg_chip_info {
|
||||
struct v4l2_dbg_match match;
|
||||
char name[32];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
char name[32];
|
||||
__u32 flags;
|
||||
__u32 reserved[32];
|
||||
} __attribute__((packed));
|
||||
struct v4l2_create_buffers {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_create_buffers {
|
||||
__u32 index;
|
||||
__u32 count;
|
||||
__u32 memory;
|
||||
struct v4l2_format format;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct v4l2_format format;
|
||||
__u32 reserved[8];
|
||||
};
|
||||
#define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability)
|
||||
#define VIDIOC_RESERVED _IO('V', 1)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_RESERVED _IO('V', 1)
|
||||
#define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc)
|
||||
#define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format)
|
||||
#define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format)
|
||||
#define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers)
|
||||
#define VIDIOC_QUERYBUF _IOWR('V', 9, struct v4l2_buffer)
|
||||
#define VIDIOC_G_FBUF _IOR('V', 10, struct v4l2_framebuffer)
|
||||
#define VIDIOC_S_FBUF _IOW('V', 11, struct v4l2_framebuffer)
|
||||
#define VIDIOC_OVERLAY _IOW('V', 14, int)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_OVERLAY _IOW('V', 14, int)
|
||||
#define VIDIOC_QBUF _IOWR('V', 15, struct v4l2_buffer)
|
||||
#define VIDIOC_EXPBUF _IOWR('V', 16, struct v4l2_exportbuffer)
|
||||
#define VIDIOC_DQBUF _IOWR('V', 17, struct v4l2_buffer)
|
||||
#define VIDIOC_STREAMON _IOW('V', 18, int)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_STREAMON _IOW('V', 18, int)
|
||||
#define VIDIOC_STREAMOFF _IOW('V', 19, int)
|
||||
#define VIDIOC_G_PARM _IOWR('V', 21, struct v4l2_streamparm)
|
||||
#define VIDIOC_S_PARM _IOWR('V', 22, struct v4l2_streamparm)
|
||||
#define VIDIOC_G_STD _IOR('V', 23, v4l2_std_id)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_STD _IOR('V', 23, v4l2_std_id)
|
||||
#define VIDIOC_S_STD _IOW('V', 24, v4l2_std_id)
|
||||
#define VIDIOC_ENUMSTD _IOWR('V', 25, struct v4l2_standard)
|
||||
#define VIDIOC_ENUMINPUT _IOWR('V', 26, struct v4l2_input)
|
||||
#define VIDIOC_G_CTRL _IOWR('V', 27, struct v4l2_control)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_CTRL _IOWR('V', 27, struct v4l2_control)
|
||||
#define VIDIOC_S_CTRL _IOWR('V', 28, struct v4l2_control)
|
||||
#define VIDIOC_G_TUNER _IOWR('V', 29, struct v4l2_tuner)
|
||||
#define VIDIOC_S_TUNER _IOW('V', 30, struct v4l2_tuner)
|
||||
#define VIDIOC_G_AUDIO _IOR('V', 33, struct v4l2_audio)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_AUDIO _IOR('V', 33, struct v4l2_audio)
|
||||
#define VIDIOC_S_AUDIO _IOW('V', 34, struct v4l2_audio)
|
||||
#define VIDIOC_QUERYCTRL _IOWR('V', 36, struct v4l2_queryctrl)
|
||||
#define VIDIOC_QUERYMENU _IOWR('V', 37, struct v4l2_querymenu)
|
||||
#define VIDIOC_G_INPUT _IOR('V', 38, int)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_INPUT _IOR('V', 38, int)
|
||||
#define VIDIOC_S_INPUT _IOWR('V', 39, int)
|
||||
#define VIDIOC_G_EDID _IOWR('V', 40, struct v4l2_edid)
|
||||
#define VIDIOC_S_EDID _IOWR('V', 41, struct v4l2_edid)
|
||||
#define VIDIOC_G_OUTPUT _IOR('V', 46, int)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_OUTPUT _IOR('V', 46, int)
|
||||
#define VIDIOC_S_OUTPUT _IOWR('V', 47, int)
|
||||
#define VIDIOC_ENUMOUTPUT _IOWR('V', 48, struct v4l2_output)
|
||||
#define VIDIOC_G_AUDOUT _IOR('V', 49, struct v4l2_audioout)
|
||||
#define VIDIOC_S_AUDOUT _IOW('V', 50, struct v4l2_audioout)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_S_AUDOUT _IOW('V', 50, struct v4l2_audioout)
|
||||
#define VIDIOC_G_MODULATOR _IOWR('V', 54, struct v4l2_modulator)
|
||||
#define VIDIOC_S_MODULATOR _IOW('V', 55, struct v4l2_modulator)
|
||||
#define VIDIOC_G_FREQUENCY _IOWR('V', 56, struct v4l2_frequency)
|
||||
#define VIDIOC_S_FREQUENCY _IOW('V', 57, struct v4l2_frequency)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_S_FREQUENCY _IOW('V', 57, struct v4l2_frequency)
|
||||
#define VIDIOC_CROPCAP _IOWR('V', 58, struct v4l2_cropcap)
|
||||
#define VIDIOC_G_CROP _IOWR('V', 59, struct v4l2_crop)
|
||||
#define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop)
|
||||
#define VIDIOC_G_JPEGCOMP _IOR('V', 61, struct v4l2_jpegcompression)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_JPEGCOMP _IOR('V', 61, struct v4l2_jpegcompression)
|
||||
#define VIDIOC_S_JPEGCOMP _IOW('V', 62, struct v4l2_jpegcompression)
|
||||
#define VIDIOC_QUERYSTD _IOR('V', 63, v4l2_std_id)
|
||||
#define VIDIOC_TRY_FMT _IOWR('V', 64, struct v4l2_format)
|
||||
#define VIDIOC_ENUMAUDIO _IOWR('V', 65, struct v4l2_audio)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_ENUMAUDIO _IOWR('V', 65, struct v4l2_audio)
|
||||
#define VIDIOC_ENUMAUDOUT _IOWR('V', 66, struct v4l2_audioout)
|
||||
#define VIDIOC_G_PRIORITY _IOR('V', 67, __u32)
|
||||
#define VIDIOC_S_PRIORITY _IOW('V', 68, __u32)
|
||||
#define VIDIOC_G_SLICED_VBI_CAP _IOWR('V', 69, struct v4l2_sliced_vbi_cap)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_SLICED_VBI_CAP _IOWR('V', 69, struct v4l2_sliced_vbi_cap)
|
||||
#define VIDIOC_LOG_STATUS _IO('V', 70)
|
||||
#define VIDIOC_G_EXT_CTRLS _IOWR('V', 71, struct v4l2_ext_controls)
|
||||
#define VIDIOC_S_EXT_CTRLS _IOWR('V', 72, struct v4l2_ext_controls)
|
||||
#define VIDIOC_TRY_EXT_CTRLS _IOWR('V', 73, struct v4l2_ext_controls)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_TRY_EXT_CTRLS _IOWR('V', 73, struct v4l2_ext_controls)
|
||||
#define VIDIOC_ENUM_FRAMESIZES _IOWR('V', 74, struct v4l2_frmsizeenum)
|
||||
#define VIDIOC_ENUM_FRAMEINTERVALS _IOWR('V', 75, struct v4l2_frmivalenum)
|
||||
#define VIDIOC_G_ENC_INDEX _IOR('V', 76, struct v4l2_enc_idx)
|
||||
#define VIDIOC_ENCODER_CMD _IOWR('V', 77, struct v4l2_encoder_cmd)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_ENCODER_CMD _IOWR('V', 77, struct v4l2_encoder_cmd)
|
||||
#define VIDIOC_TRY_ENCODER_CMD _IOWR('V', 78, struct v4l2_encoder_cmd)
|
||||
#define VIDIOC_DBG_S_REGISTER _IOW('V', 79, struct v4l2_dbg_register)
|
||||
#define VIDIOC_DBG_G_REGISTER _IOWR('V', 80, struct v4l2_dbg_register)
|
||||
#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)
|
||||
#define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings)
|
||||
#define VIDIOC_G_DV_TIMINGS _IOWR('V', 88, struct v4l2_dv_timings)
|
||||
#define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event)
|
||||
#define VIDIOC_SUBSCRIBE_EVENT _IOW('V', 90, struct v4l2_event_subscription)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_SUBSCRIBE_EVENT _IOW('V', 90, struct v4l2_event_subscription)
|
||||
#define VIDIOC_UNSUBSCRIBE_EVENT _IOW('V', 91, struct v4l2_event_subscription)
|
||||
#define VIDIOC_CREATE_BUFS _IOWR('V', 92, struct v4l2_create_buffers)
|
||||
#define VIDIOC_PREPARE_BUF _IOWR('V', 93, struct v4l2_buffer)
|
||||
#define VIDIOC_G_SELECTION _IOWR('V', 94, struct v4l2_selection)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_G_SELECTION _IOWR('V', 94, struct v4l2_selection)
|
||||
#define VIDIOC_S_SELECTION _IOWR('V', 95, struct v4l2_selection)
|
||||
#define VIDIOC_DECODER_CMD _IOWR('V', 96, struct v4l2_decoder_cmd)
|
||||
#define VIDIOC_TRY_DECODER_CMD _IOWR('V', 97, struct v4l2_decoder_cmd)
|
||||
#define VIDIOC_ENUM_DV_TIMINGS _IOWR('V', 98, struct v4l2_enum_dv_timings)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_ENUM_DV_TIMINGS _IOWR('V', 98, struct v4l2_enum_dv_timings)
|
||||
#define VIDIOC_QUERY_DV_TIMINGS _IOR('V', 99, struct v4l2_dv_timings)
|
||||
#define VIDIOC_DV_TIMINGS_CAP _IOWR('V', 100, struct v4l2_dv_timings_cap)
|
||||
#define VIDIOC_ENUM_FREQ_BANDS _IOWR('V', 101, struct v4l2_frequency_band)
|
||||
#define VIDIOC_DBG_G_CHIP_INFO _IOWR('V', 102, struct v4l2_dbg_chip_info)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define VIDIOC_DBG_G_CHIP_INFO _IOWR('V', 102, struct v4l2_dbg_chip_info)
|
||||
#define VIDIOC_QUERY_EXT_CTRL _IOWR('V', 103, struct v4l2_query_ext_ctrl)
|
||||
#define BASE_VIDIOC_PRIVATE 192
|
||||
#endif
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
|
||||
|
||||
@@ -104,6 +104,7 @@ struct msm_sde_rotator_fence {
|
||||
#define VIDIOC_G_SDE_ROTATOR_FENCE _IOWR('V', BASE_VIDIOC_PRIVATE + 10, struct msm_sde_rotator_fence)
|
||||
#define VIDIOC_S_SDE_ROTATOR_FENCE _IOWR('V', BASE_VIDIOC_PRIVATE + 11, struct msm_sde_rotator_fence)
|
||||
#define V4L2_CID_SDE_ROTATOR_SECURE (V4L2_CID_USER_BASE + 0x1000)
|
||||
#endif
|
||||
#define V4L2_CID_SDE_ROTATOR_SECURE_CAMERA (V4L2_CID_USER_BASE + 0x2000)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,145 +48,147 @@ enum msm_ispif_intftype {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define MAX_PARAM_ENTRIES (INTF_MAX * 2)
|
||||
#define MAX_CID_CH 8
|
||||
#define MAX_CID_CH_PARAM_ENTRY 3
|
||||
#define PIX0_MASK (1 << PIX0)
|
||||
#define PIX1_MASK (1 << PIX1)
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define PIX1_MASK (1 << PIX1)
|
||||
#define RDI0_MASK (1 << RDI0)
|
||||
#define RDI1_MASK (1 << RDI1)
|
||||
#define RDI2_MASK (1 << RDI2)
|
||||
enum msm_ispif_vc {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
enum msm_ispif_vc {
|
||||
VC0,
|
||||
VC1,
|
||||
VC2,
|
||||
VC3,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
VC3,
|
||||
VC_MAX
|
||||
};
|
||||
enum msm_ispif_cid {
|
||||
CID0,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
CID0,
|
||||
CID1,
|
||||
CID2,
|
||||
CID3,
|
||||
CID4,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
CID4,
|
||||
CID5,
|
||||
CID6,
|
||||
CID7,
|
||||
CID8,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
CID8,
|
||||
CID9,
|
||||
CID10,
|
||||
CID11,
|
||||
CID12,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
CID12,
|
||||
CID13,
|
||||
CID14,
|
||||
CID15,
|
||||
CID_MAX
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
CID_MAX
|
||||
};
|
||||
enum msm_ispif_csid {
|
||||
CSID0,
|
||||
CSID1,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
CSID1,
|
||||
CSID2,
|
||||
CSID3,
|
||||
CSID_MAX
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
enum msm_ispif_pixel_odd_even {
|
||||
PIX_EVEN,
|
||||
PIX_ODD
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
};
|
||||
enum msm_ispif_pixel_pack_mode {
|
||||
PACK_BYTE,
|
||||
PACK_PLAIN_PACK,
|
||||
PACK_NV_P8,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
PACK_NV_P8,
|
||||
PACK_NV_P16
|
||||
};
|
||||
struct msm_ispif_pack_cfg {
|
||||
int pixel_swap_en;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int pixel_swap_en;
|
||||
enum msm_ispif_pixel_odd_even even_odd_sel;
|
||||
enum msm_ispif_pixel_pack_mode pack_mode;
|
||||
};
|
||||
struct msm_ispif_params_entry {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct msm_ispif_params_entry {
|
||||
enum msm_ispif_vfe_intf vfe_intf;
|
||||
enum msm_ispif_intftype intftype;
|
||||
int num_cids;
|
||||
enum msm_ispif_cid cids[3];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
enum msm_ispif_cid cids[MAX_CID_CH_PARAM_ENTRY];
|
||||
enum msm_ispif_csid csid;
|
||||
int crop_enable;
|
||||
uint16_t crop_start_pixel;
|
||||
uint16_t crop_end_pixel;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint16_t crop_end_pixel;
|
||||
};
|
||||
struct msm_ispif_param_data_ext {
|
||||
uint32_t num;
|
||||
struct msm_ispif_params_entry entries[MAX_PARAM_ENTRIES];
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct msm_ispif_params_entry entries[MAX_PARAM_ENTRIES];
|
||||
struct msm_ispif_pack_cfg pack_cfg[CID_MAX];
|
||||
};
|
||||
struct msm_ispif_param_data {
|
||||
uint32_t num;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t num;
|
||||
struct msm_ispif_params_entry entries[MAX_PARAM_ENTRIES];
|
||||
};
|
||||
struct msm_isp_info {
|
||||
uint32_t max_resolution;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
uint32_t max_resolution;
|
||||
uint32_t id;
|
||||
uint32_t ver;
|
||||
};
|
||||
struct msm_ispif_vfe_info {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct msm_ispif_vfe_info {
|
||||
int num_vfe;
|
||||
struct msm_isp_info info[VFE_MAX];
|
||||
};
|
||||
enum ispif_cfg_type_t {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
enum ispif_cfg_type_t {
|
||||
ISPIF_CLK_ENABLE,
|
||||
ISPIF_CLK_DISABLE,
|
||||
ISPIF_INIT,
|
||||
ISPIF_CFG,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
ISPIF_CFG,
|
||||
ISPIF_START_FRAME_BOUNDARY,
|
||||
ISPIF_RESTART_FRAME_BOUNDARY,
|
||||
ISPIF_STOP_FRAME_BOUNDARY,
|
||||
ISPIF_STOP_IMMEDIATELY,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
ISPIF_STOP_IMMEDIATELY,
|
||||
ISPIF_RELEASE,
|
||||
ISPIF_ENABLE_REG_DUMP,
|
||||
ISPIF_SET_VFE_INFO,
|
||||
ISPIF_CFG2,
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
ISPIF_CFG2,
|
||||
};
|
||||
struct ispif_cfg_data {
|
||||
enum ispif_cfg_type_t cfg_type;
|
||||
union {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
union {
|
||||
int reg_dump;
|
||||
uint32_t csid_version;
|
||||
struct msm_ispif_vfe_info vfe_info;
|
||||
struct msm_ispif_param_data params;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
struct msm_ispif_param_data params;
|
||||
};
|
||||
};
|
||||
struct ispif_cfg_data_ext {
|
||||
enum ispif_cfg_type_t cfg_type;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
enum ispif_cfg_type_t cfg_type;
|
||||
void * data;
|
||||
uint32_t size;
|
||||
};
|
||||
#define ISPIF_RDI_PACK_MODE_SUPPORT 1
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define ISPIF_RDI_PACK_MODE_SUPPORT 1
|
||||
#define VIDIOC_MSM_ISPIF_CFG _IOWR('V', BASE_VIDIOC_PRIVATE, struct ispif_cfg_data)
|
||||
#define VIDIOC_MSM_ISPIF_CFG_EXT _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct ispif_cfg_data_ext)
|
||||
#endif
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
|
||||
|
||||
@@ -1402,12 +1402,21 @@ enum {
|
||||
MDP_WRITEBACK_MIRROR_RESUME,
|
||||
};
|
||||
|
||||
/*
|
||||
* The enum values are continued below as preprocessor macro definitions
|
||||
*/
|
||||
enum mdp_color_space {
|
||||
MDP_CSC_ITU_R_601,
|
||||
MDP_CSC_ITU_R_601_FR,
|
||||
MDP_CSC_ITU_R_709,
|
||||
};
|
||||
|
||||
/*
|
||||
* These definitions are a continuation of the mdp_color_space enum above
|
||||
*/
|
||||
#define MDP_CSC_ITU_R_2020 (MDP_CSC_ITU_R_709 + 1)
|
||||
#define MDP_CSC_ITU_R_2020_FR (MDP_CSC_ITU_R_2020 + 1)
|
||||
|
||||
enum {
|
||||
mdp_igc_v1_7 = 1,
|
||||
mdp_igc_vmax,
|
||||
|
||||
@@ -96,6 +96,10 @@ LAYER FLAG CONFIGURATION
|
||||
*/
|
||||
#define MDP_LAYER_MULTIRECT_PARALLEL_MODE 0x2000
|
||||
|
||||
|
||||
/* Flag indicates that layer is associated with secure camera session */
|
||||
#define MDP_LAYER_SECURE_CAMERA_SESSION 0x4000
|
||||
|
||||
/**********************************************************************
|
||||
DESTINATION SCALER FLAG CONFIGURATION
|
||||
**********************************************************************/
|
||||
|
||||
@@ -2159,6 +2159,7 @@ struct v4l2_streamparm {
|
||||
|
||||
#define V4L2_EVENT_BITDEPTH_FLAG 0x1
|
||||
#define V4L2_EVENT_PICSTRUCT_FLAG 0x2
|
||||
#define V4L2_EVENT_COLOUR_SPACE_FLAG 0x4
|
||||
|
||||
#define V4L2_EVENT_MSM_VIDC_START (V4L2_EVENT_PRIVATE_START + 0x00001000)
|
||||
#define V4L2_EVENT_MSM_VIDC_FLUSH_DONE (V4L2_EVENT_MSM_VIDC_START + 1)
|
||||
|
||||
@@ -86,4 +86,10 @@ struct msm_sde_rotator_fence {
|
||||
/* SDE Rotator private control ID's */
|
||||
#define V4L2_CID_SDE_ROTATOR_SECURE (V4L2_CID_USER_BASE + 0x1000)
|
||||
|
||||
/*
|
||||
* This control Id indicates this context is associated with the
|
||||
* secure camera
|
||||
*/
|
||||
#define V4L2_CID_SDE_ROTATOR_SECURE_CAMERA (V4L2_CID_USER_BASE + 0x2000)
|
||||
|
||||
#endif /* __UAPI_MSM_SDE_ROTATOR_H__ */
|
||||
|
||||
@@ -28,6 +28,7 @@ enum msm_ispif_intftype {
|
||||
};
|
||||
#define MAX_PARAM_ENTRIES (INTF_MAX * 2)
|
||||
#define MAX_CID_CH 8
|
||||
#define MAX_CID_CH_PARAM_ENTRY 3
|
||||
|
||||
#define PIX0_MASK (1 << PIX0)
|
||||
#define PIX1_MASK (1 << PIX1)
|
||||
@@ -94,7 +95,7 @@ struct msm_ispif_params_entry {
|
||||
enum msm_ispif_vfe_intf vfe_intf;
|
||||
enum msm_ispif_intftype intftype;
|
||||
int num_cids;
|
||||
enum msm_ispif_cid cids[3];
|
||||
enum msm_ispif_cid cids[MAX_CID_CH_PARAM_ENTRY];
|
||||
enum msm_ispif_csid csid;
|
||||
int crop_enable;
|
||||
uint16_t crop_start_pixel;
|
||||
|
||||
Reference in New Issue
Block a user