diff options
Diffstat (limited to 'camera/smdk4210_camera.h')
-rw-r--r-- | camera/smdk4210_camera.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camera/smdk4210_camera.h b/camera/smdk4210_camera.h index e6cf911..d20c1cd 100644 --- a/camera/smdk4210_camera.h +++ b/camera/smdk4210_camera.h @@ -42,6 +42,8 @@ #define SMDK4210_CAMERA_CALLBACK_DEFINED(cb) \ (smdk4210_camera->callbacks.cb != NULL) +#define SMDK4210_CAMERA_ALIGN(value) ((value + (0x10000 - 1)) & ~(0x10000 - 1)) + /* * Structures */ @@ -230,7 +232,6 @@ struct smdk4210_camera { int preview_width; int preview_height; int preview_format; - float preview_format_bpp; int preview_fps; int picture_width; int picture_height; @@ -286,6 +287,8 @@ enum m5mo_af_status { * Camera */ +int smdk4210_camera_buffer_length(int width, int height, int format); + int smdk4210_camera_params_init(struct smdk4210_camera *smdk4210_camera, int id); int smdk4210_camera_params_apply(struct smdk4210_camera *smdk4210_camera); |