Android Hardware Abstraction Layer
Data Structures | Macros | Typedefs
camera.h File Reference
#include "camera_common.h"

Go to the source code of this file.

Data Structures

struct  camera_memory
 
struct  preview_stream_ops
 
struct  camera_device_ops
 
struct  camera_device
 

Macros

#define HAL_CAMERA_PREVIEW_WINDOW_TAG   0xcafed00d
 

Typedefs

typedef void(* camera_release_memory )(struct camera_memory *mem)
 
typedef struct camera_memory camera_memory_t
 
typedef camera_memory_t *(* camera_request_memory )(int fd, size_t buf_size, unsigned int num_bufs, void *user)
 
typedef void(* camera_notify_callback )(int32_t msg_type, int32_t ext1, int32_t ext2, void *user)
 
typedef void(* camera_data_callback )(int32_t msg_type, const camera_memory_t *data, unsigned int index, camera_frame_metadata_t *metadata, void *user)
 
typedef void(* camera_data_timestamp_callback )(int64_t timestamp, int32_t msg_type, const camera_memory_t *data, unsigned int index, void *user)
 
typedef struct preview_stream_ops preview_stream_ops_t
 
typedef struct camera_device_ops camera_device_ops_t
 
typedef struct camera_device camera_device_t
 

Macro Definition Documentation

#define HAL_CAMERA_PREVIEW_WINDOW_TAG   0xcafed00d

Definition at line 68 of file camera.h.

Typedef Documentation

typedef void(* camera_data_callback)(int32_t msg_type, const camera_memory_t *data, unsigned int index, camera_frame_metadata_t *metadata, void *user)

Definition at line 59 of file camera.h.

typedef void(* camera_data_timestamp_callback)(int64_t timestamp, int32_t msg_type, const camera_memory_t *data, unsigned int index, void *user)

Definition at line 63 of file camera.h.

typedef void(* camera_notify_callback)(int32_t msg_type, int32_t ext1, int32_t ext2, void *user)

Definition at line 54 of file camera.h.

typedef void(* camera_release_memory)(struct camera_memory *mem)

Definition at line 42 of file camera.h.

typedef camera_memory_t*(* camera_request_memory)(int fd, size_t buf_size, unsigned int num_bufs, void *user)

Definition at line 51 of file camera.h.