summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
Commit message (Collapse)AuthorAgeFilesLines
* libcamera: Remove 16 bytes paddingJames Dong2011-11-151-1/+0
| | | | | Change-Id: I94588d876cab16299175cdab0f63617bb14bcea4 related-to-bug: 5575648
* Change SEC_OMX for Video EditorSeungBeom Kim2011-07-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Support Google ExtensionIndex. 2. Decode Component - Decode component return real YUV output data. - Video decode component support two output port color format. They are OMX_COLOR_FormatYUV420SemiPlanar(NV12) and OMX_COLOR_FormatYUV420Planar. Choose one of them under negotiation. - output port default color format is OMX_COLOR_FormatYUV420SemiPlanar(NV12). - Turn off the gralloc/graphic buffer since gralloc/graphic buffer allocator is unavailable 3. Encode Component - Encode component support real YUV input data. - Video encode component support two input port color format. They are OMX_COLOR_FormatYUV420SemiPlanar(NV12) and OMX_COLOR_FormatYUV420Planar. Choose one of them under negotiation. - input port default color format is OMX_COLOR_FormatYUV420SemiPlanar(NV12). - gralloc buffer is not support yet. (store meta data mode use physical address.) 4. Camera hal - Support metadata buffer mode TODO: 1. enable grallco/graphic buffer once the allocator is available 2. add support for gralloc-based metadata buffer support in video encoder component Change-Id: Ic8ba4f0230d6de77ffde7ddf1e2c9a3a5aeb806f Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* libcamera: Fix a synchronization bugWu-cheng Li2011-07-151-3/+4
| | | | | | | | | | | It is valid for the app to call setParameter from jpeg callback. But mCaptureInProgress may still be true. Now startPreview, takePicture, and setParameters wait for mCaptureInProgress up to 5 secodns. bug:3362253 Change-Id: If1935fdbba29e49be8334e2dd92f7ae9ac93ac4a
* libcamera: for checking invalid parametersJeong-Seok Yang2011-06-281-0/+2
| | | | | | | | | | | | | | | bug:4353744 android.hardware.cts.CameraTest#testInvalidParameters fails must fix android.hardware.cts.CameraTest#testInvalidParameters was failed when checking focus mode with invalid parameter because if the camera didn't set scene mode, libcamera didn't check if the focus mode is valid or not. Add checking the parameter at that time. Change-Id: I22fb02b7fcfcdb7f5638adf91d5bfd881c0d89e1 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* libcamera: for preventing to open camera before releasing another cameraJeong-Seok Yang2011-06-191-0/+2
| | | | | | | | | | | bug:4363159 Opening some camera was successful before releasing another camera. Thus it has been fixed. It will return error if the situation is happened. Change-Id: Id177f7dd0a14b1f7bb72751f432f9b1afee77ede Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* crespo: enable camera (wip)Iliyan Malchev2011-06-071-40/+32
| | | | | Change-Id: I2884f34700cd1cd66f0604378cf12b713263a9d1 Signed-off-by: Iliyan Malchev <malchev@google.com>
* am 5efdae1f: am fcba3707: Merge "libcamera: Add checking of preview sizes on ↵Wu-cheng Li2011-02-241-0/+4
|\ | | | | | | | | | | | | setting parameters" into gingerbread * commit '5efdae1f12dd66b9a93ce27953bab8b77927e3b7': libcamera: Add checking of preview sizes on setting parameters
| * libcamera: Add checking of preview sizes on setting parametersJeong-Seok Yang2011-02-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | bug fix: If it try to set invalid preview sizes, driver will be stuck in an unrecoverable state. Thus, It is fixed to return error when setting parameters bug:3429909 Change-Id: If51b47439c140410fa03e3a0b66492633f194e53 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am ff93a1bc: am 68733d59: libcamera: Add lock for recording videoJeong-Seok Yang2011-01-291-0/+1
|\ \ | |/ | | | | | | * commit 'ff93a1bc8935a649893782d24bffa940ba450a2f': libcamera: Add lock for recording video
| * libcamera: Add lock for recording videoJeong-Seok Yang2011-01-271-0/+1
| | | | | | | | | | | | | | | | bug fix: Flag about recording video was used without locking. So, It was occured a error when recording stops. Change-Id: Ie19ec12d17a5a70e44f5ca8743e8ae5672c16a34 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am 395193b9: am 050e57e0: S5PC11X: libcamera: buffer cleanupMike J. Chen2011-01-211-8/+15
|\ \ | |/ | | | | | | * commit '395193b9992fa3ebed47700446d9d2ccf4428a45': S5PC11X: libcamera: buffer cleanup
| * S5PC11X: libcamera: buffer cleanupMike J. Chen2011-01-191-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup how buffers are managed. Before, buffers for preview and capture and record were mixed together, with one thread cleaning up buffers for another. Now, each mode cleans up its own buffers. Implement asychronous buffer release for record case to fix a bug where we allowed FIMC to update a buffer that was still in use by encoder, resulting in encoding a frame that was part one image and part another. Change-Id: I42d0032cea61197a1f3a665a7248b700599d5a6a Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am 39eb0ad9: am 0bd85d7b: SP5C11X: libcamera: #ifdef/#defines cleanupMike J. Chen2011-01-211-19/+0
|\ \ | |/ | | | | | | * commit '39eb0ad9be2c0db48ba56bab3b99273c36be428b': SP5C11X: libcamera: #ifdef/#defines cleanup
| * SP5C11X: libcamera: #ifdef/#defines cleanupMike J. Chen2011-01-191-19/+0
| | | | | | | | | | | | | | | | | | | | Remove a bunch of #ifdef conditionals to cleanup the code. The #else cases have generally not been tested for months now and we don't use them, and this makes it easier to follow for the next round of logic cleanup coming up. Change-Id: I4a78901916ed9393ef9b904a1e8037cd645be3b4 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am aa068fa0: am ae5be4a1: libcamera: Skip some frames on overlay for image ↵Jeong-Seok Yang2010-11-111-1/+4
|\ \ | |/ | | | | | | | | | | quality. * commit 'aa068fa0d6c6fc978cf3f78bb645f5e062201375': libcamera: Skip some frames on overlay for image quality.
| * libcamera: Skip some frames on overlay for image quality.Jeong-Seok Yang2010-11-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | 1. Skip some frames to adjust AWB automatically on initial time. 2. Skip a frame when applying image effect End-user doesn't see ugly frames when using camera applications by above 2 approaches. Change-Id: I8b4cc868a0a40164bfb3bc1e150c6d2dd351a1ba Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am c851ede3: am 802890e7: S5PC11X: libcamera: threading and error cleanupMike J. Chen2010-10-291-11/+38
|\ \ | |/ | | | | | | * commit 'c851ede3ce7536b2b4974beb6a6cb4b020d0042a': S5PC11X: libcamera: threading and error cleanup
| * S5PC11X: libcamera: threading and error cleanupMike J. Chen2010-10-281-11/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup the way the camera HAL manages its threads so that the exit path should no longer fail in a race condition. The destructor waits for all threads to exit and heaps are destroyed before closing the fd to driver. Remove deadlock case (a HAL interface should not call a callback, because the callback would try to grab a lock that is already being held). Removed mutex usage that wasn't needed (CameraServices already has a mutex). Add checks that could mess up the state of the sensor driver (setting parameters or starting preview when a capture was still in progress). We return errors in these cases instead. Change-Id: I30d832de582a002dad1c087bd7cc7de43237eb19 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am 064455fe: libcamera: Add missing copyrightJeong-Seok Yang2010-10-211-0/+1
|\ \ | |/ | | | | | | | | | | Merge commit '064455fe4cf93cf4944e0a8a454da3413891a53f' * commit '064455fe4cf93cf4944e0a8a454da3413891a53f': libcamera: Add missing copyright
| * libcamera: Add missing copyrightJeong-Seok Yang2010-10-191-0/+1
| | | | | | | | | | Change-Id: If70052d910cc904ac29f048ad28bcbb5fa0ddda0 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | Fix build.Jean-Baptiste Queru2010-10-191-0/+1
|/ | | | | | Add a stub for new mandatory API Change-Id: I1117d9605d8fc15b858c369b973c6a9b941e681b
* S5PC11X: CAMERA: Fix libcamera issuesMike J. Chen2010-10-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove unofficial parameters so 3rd party apps don't start using them and become incompatible with the offical Google API. Put placeholders for new API KEY_SUPPORTED_PREVIEW_FPS_RANGE and KEY_FOCUS_DISTANCES. Will update when we get info from HW team. Simplify scene settings. Fix a bunch of log messages and reduce unneeded chatter. Fix callback result sent for CAMREA_MSG_FOCUS to be boolean since that's what it's supposed to be. Remove unneeded sleep in cancelAutoFocus. Add FOCUS_MODE_INFINITY support (driver needs to go in first). Change-Id: I10cb8e0f279d3229008fa04771c94bbf9e86d5d8 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com> id:3180
* S5PC11X: CAMERA: Add support for 5MP SLSI cameraJeong-Seok Yang2010-10-081-93/+14
| | | | | | | | | | Cleaned up parameters so that we advertise the right features for the front and back cameras. Also remove a lot of unsupported features. Change-Id: I3b2fd77153c7855cccf27733ee87c1379d357be8 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* S5PC11X: OVERLAY: Update libcamerahoony.yu2010-09-271-0/+1
| | | | | | | | | - add #if defined(BOARD_USES_OVERLAY) on postview - remove global variable : buf_idx - remove LOGE : ALL_BUFFERS_FLUSHED case is not error. Change-Id: I1249b8c4ae25e4d4b6a493dcc54f451678dff964 Signed-off-by: hoony.yu <hoony.yu@samsung.com>
* libcamera: using libs3cjpegJeong-Seok Yang2010-09-241-0/+3
| | | | | Change-Id: I3df95e29de2ccd4cc4643205b6ce6eae6916d32b Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* libcamera: Clean up codeJeong-Seok Yang2010-09-211-125/+126
| | | | | | | Removed inconsistent coding style. Aligned better. Change-Id: Ib6fa351cc39ede6881ed4937594689246b87bca8 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* libcamera: supporting for front-facing cameraMingyu Kim2010-09-201-3/+3
| | | | | Signed-off-by: Mingyu Kim <mingyu0.kim@samsung.com> Change-Id: I5b55678032bb633103ee596288cd7b7770596b87
* S5PC11X: OVERLAY: Added overlay feature.hoony.yu2010-09-141-0/+8
| | | | | | | | | - add liboverlay source. - add overlay option in BoardConfig.mk - add overlay renderer on libcamera - change the mode of video0,2 Change-Id: Icd392a80c0baa7b6e608a9b0cf57abfd74ae9f01
* S5PC11X: crespo: add alsa-lib, alsa-utils, libaudio, libcameraJeong-Seok Yang2010-08-251-0/+257
Change-Id: I4a6ee248b407c67682eb8884d1176f4807288c7c