3
0

galaxys2-common: Camera: HAL improvements and fixes

* Improve start/stop video recording lag
* Force recording-hint in focus-mode continuous video
* Fix auto-focus in video recording
* Fix preview issues
* Fix switching focus-modes during recording
* Fix crash when taking pictures rapidly
* Fix crash when switching camera-/video-mode rapidly
* Add all supported video recording-sizes for back-camera

Change-Id: I810e8b7c14245bb47001094eb51ba4b4bb8ddb47
This commit is contained in:
rINanDO 2016-06-18 20:30:44 +02:00 committed by Gerrit Code Review
parent 03471a035a
commit b7fa70df69
2 changed files with 361 additions and 193 deletions

File diff suppressed because it is too large Load Diff

View File

@ -211,6 +211,7 @@ struct exynos_camera {
pthread_mutex_t preview_mutex;
pthread_mutex_t preview_lock_mutex;
int preview_thread_running;
int preview_thread_started;
int preview_enabled;
struct preview_stream_ops *preview_window;
@ -223,6 +224,9 @@ struct exynos_camera {
pthread_mutex_t recording_mutex;
int recording_enabled;
int recording_msg_start;
int recording_msg_start_result;
int recording_msg_stop;
camera_memory_t *recording_memory;
int recording_buffers_count;
@ -302,6 +306,9 @@ int exynos_camera_preview(struct exynos_camera *exynos_camera);
int exynos_camera_preview_start(struct exynos_camera *exynos_camera);
void exynos_camera_preview_stop(struct exynos_camera *exynos_camera);
int exynos_camera_recording_start(struct exynos_camera *exynos_camera);
void exynos_camera_recording_stop(struct exynos_camera *exynos_camera);
/*
* EXIF
*/