| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I94588d876cab16299175cdab0f63617bb14bcea4
related-to-bug: 5575648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I2884f34700cd1cd66f0604378cf12b713263a9d1
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|\
| |
| |
| |
| |
| |
| | |
setting parameters" into gingerbread
* commit '5efdae1f12dd66b9a93ce27953bab8b77927e3b7':
libcamera: Add checking of preview sizes on setting parameters
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| | |
* commit 'ff93a1bc8935a649893782d24bffa940ba450a2f':
libcamera: Add lock for recording video
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| | |
* commit '395193b9992fa3ebed47700446d9d2ccf4428a45':
S5PC11X: libcamera: buffer cleanup
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| | |
* commit '39eb0ad9be2c0db48ba56bab3b99273c36be428b':
SP5C11X: libcamera: #ifdef/#defines cleanup
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| |
| |
| | |
quality.
* commit 'aa068fa0d6c6fc978cf3f78bb645f5e062201375':
libcamera: Skip some frames on overlay for image quality.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| | |
* commit 'c851ede3ce7536b2b4974beb6a6cb4b020d0042a':
S5PC11X: libcamera: threading and error cleanup
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '064455fe4cf93cf4944e0a8a454da3413891a53f'
* commit '064455fe4cf93cf4944e0a8a454da3413891a53f':
libcamera: Add missing copyright
|
| |
| |
| |
| |
| | |
Change-Id: If70052d910cc904ac29f048ad28bcbb5fa0ddda0
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|/
|
|
|
|
| |
Add a stub for new mandatory API
Change-Id: I1117d9605d8fc15b858c369b973c6a9b941e681b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
Change-Id: I3df95e29de2ccd4cc4643205b6ce6eae6916d32b
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|
|
|
|
|
|
| |
Removed inconsistent coding style. Aligned better.
Change-Id: Ib6fa351cc39ede6881ed4937594689246b87bca8
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|
|
|
|
| |
Signed-off-by: Mingyu Kim <mingyu0.kim@samsung.com>
Change-Id: I5b55678032bb633103ee596288cd7b7770596b87
|
|
|
|
|
|
|
|
|
| |
- add liboverlay source.
- add overlay option in BoardConfig.mk
- add overlay renderer on libcamera
- change the mode of video0,2
Change-Id: Icd392a80c0baa7b6e608a9b0cf57abfd74ae9f01
|
|
Change-Id: I4a6ee248b407c67682eb8884d1176f4807288c7c
|