| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I7f1cdc2ce64d60da97cb7d829f51bb4bb1b07c89
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Record latitude and longitude to 7 decimal places (~5 cm) and altitude
to 1 cm. The previous behaviour was to record lat/long to 1 arcsecond
(~15 m), which was rounded down, so the potential error was up to ~30 m.
Addresses AOSP issue 16626.
Original author: Vernon Tang <vt@foilhead.net>
Suggested by: Wu-cheng Li
Reviewed by: jubeam@samsung.com
Change-Id: I031858972b939f82f40c0f7299d8eff48bc4f4c5
related-to-bug: 5550852
|
|
|
|
|
| |
Change-Id: I94588d876cab16299175cdab0f63617bb14bcea4
related-to-bug: 5575648
|
|
|
|
|
|
|
|
| |
Preview is paused during auto focus.
To fix this, move polling code from driver to HAL.
Change-Id: Id46d9ccd2aad1a269806f4fddf8ad39c3c87bae9
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
|
|
|
|
|
|
|
|
|
| |
Fix Issue 4905016 - android.hardware.cts.CameraTest.testPreviewCallbackWithBufferByCamera fails
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
Change-Id: Iab8ed4b79379c148c106b00c4966c5f72f3ded33
related-to-bug: 5550399,5550524,5550858,5550860,5551018,5550902,
|
|
|
|
|
|
|
|
|
| |
cancelAutoFocus should be allowed after preview is started. But if
the preview is deferred, cancelAutoFocus will fail. Ignore it if that is
the case.
bug:5397951
Change-Id: I59a73add90bd057d7f44d88518b74d932991f21a
|
|
|
|
|
|
|
|
| |
Allocate an exact size of jpeg heap before passing to camera service.
bug:5160482
Change-Id: Id78f60b03a90533cb62f0c6489c9680692583c23
|
|
|
|
|
| |
bug:4967771
Change-Id: I1e77ed60cb741dd5e82ed8a6de92bd06f23f5f87
|
|
|
|
|
|
|
|
|
| |
Fix android.hardware.cts.CameraTest#testSceneMode fail
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
bug:5143943
Change-Id: Ia91725ff154a6450fe36393878e7f3e7c49d9a1b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix Native crash observed in Camera app while taking pictures
There are no need to make exif information in encode func.
Because we make exif in getExif func.
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
bug:5032708
Change-Id: I8e07dc6252a4a959a9319eda402f14ff892a5467
|
|/
|
|
|
|
|
|
| |
o always force to use YV12 for gralloc buffer, regardless preview color format (NV21 or YV12)
o for NV21 preview callback, a color conversion is performed before the preview frame is returned via the callback
Change-Id: I7e5fb4de40e5f615585465f9b9c50eb3521c1c57
related-to-bug: 5121691,5122253
|
|
|
|
|
| |
bug:4460717
Change-Id: I8d60a5cd1b7630075dc04dad0083c4abc2770cf4
|
|
|
|
|
| |
Change-Id: I3546b542ab8cb1cf1454d4a44c7c77ea988228e9
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
| |
Change-Id: Ie17d1ee752b3cbf9fee49c0a044839ead71ca72a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Goggles uses the following call sequence and that should be valid.
1. setPreviewCallback
2. startPreview
3. setPreviewDisplay
The problem is preview was stopped in setPreviewWindow.
No matter CAMERA_MSG_PREVIEW_FRAME or CAMERA_MSG_VIDEO_FRAME
is enabled or not, defer the startPreview if preview window is
not set.
Change-Id: I332a6393f9923a9a1910e53e8da3b2783bfabff7
|
|/
|
|
|
|
|
|
|
|
|
| |
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>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bug fix : libcamera is crashed when capturing picture on back
camera sometimes.
It is caused by overflow the memory buffer.
So, we increase the size of buffer to 5M.
Change-Id: If72c06a77e8eaa9544d685c452121eefaa488db1
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|/
|
|
|
|
|
|
|
| |
crespo: libcamera is for only herring not boards what are based
on s5pc110. So the module name is changed to
camera.herring.so from camera.s5pc110.so
Change-Id: Ie2231ecfd4c97dd72fba8258e489f90df27b9f51
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This hack does two things:
-- it sets preview to NV21 (YUV420SP)
-- it sets gralloc to YV12
The reason being: the samsung encoder understands only yuv420sp, and gralloc
does yv12 and rgb565. So what we do is we break up the interleaved UV in
separate V and U planes, which makes preview look good, and enabled the
encoder as well.
FIXME: Samsung needs to enable support for proper yv12 coming out of the
camera, and to fix their video encoder to work with yv12.
FIXME: It also seems like either Samsung's YUV420SP (NV21) or img's YV12 has
the color planes switched. We need to figure which side is doing it
wrong and have the respective party fix it.
Change-Id: Ib300b560ecce969c68105ad5e2abe88a5e33ae1f
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
| |
Change-Id: I2884f34700cd1cd66f0604378cf12b713263a9d1
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|\
| |
| |
| |
| |
| |
| | |
camera
* commit 'b069d589df044d1241af32d5179955a7ce82fda1':
libcamera: for supporting QVGA and QCIF on front camera
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Feature: Supporting QVGA is Google's request for gtalk.
Additionally, QCIF is supported because device driver
already support it.
Change-Id: I702e433cadf216c7fda141a6703d64c3dd1dc420
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
into gingerbread
* commit '4faec6c9b21ca66a9c99d305a263662dd9eeb122':
Add 176x144 preview size for front camera.
|
| |
| |
| |
| |
| |
| | |
bug:4083696
Change-Id: I2e3a8ad17770680f02d1f708bd704fc299a7bd98
|
|\ \
| |/
| |
| |
| |
| |
| | |
opening front camera." into gingerbread
* commit '2d6a603741d29c692b46b4828a9a43b9af434bfe':
libcamera: Fix setParameters crash when opening front camera.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bug fix: Duplicated setting of cameraid is caused that
setParameters fail. So, operations about setting of camera
id are moved for setting once.
bug:3512875
Change-Id: I48d0847644525a658b4415fffcf2910a83a65e43
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
product
* commit '8164eaba5b4846431997aa545f44bd158916b9e3':
Add additional statements to accept the crespo4g product
|
| |
| |
| |
| | |
Change-Id: I0e410d7b641c19a773c3bc57cb78e8aa3e27a3ff
|
|\ \
| |/
| |
| |
| |
| |
| | |
setting parameters" into gingerbread
* commit '5efdae1f12dd66b9a93ce27953bab8b77927e3b7':
libcamera: Add checking of preview sizes on setting parameters
|
| |\
| | |
| | |
| | | |
gingerbread
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
is off by 1.
* commit '5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1':
Fix the bug that the month of gps timestamp exif is off by 1.
|
| |/
| |
| |
| |
| | |
bug:3468433
Change-Id: Iab4132bdf6515a4fb93e56c2ec31b04ea260f7be
|
|\ \
| |/
| |
| |
| |
| |
| | |
camcording mode
* commit '2f969b94c12bac9cee7c001c041c1532f1a25cf2':
libcamera: for setting fixed frame rate on only camcording mode
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Camera sensor change its frame rate by brightness.
It makes video that have too low fps in the dark.
So it use fixed frame rate on camcording mode.
Change-Id: I293c480ffdc4daed138ad9a11231f16c6c2b2f8b
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>
|
|\ \
| |/
| |
| |
| |
| |
| | |
tearing
* commit '15580c57be18962cc6451c3be2b90aad66afab3e':
libcamera: Increase buffer to 11 from 8 for fixing tearing
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug fix: Camcording video has tearing issues on low resolution or
in daylight condition. It is caused overwriting buffers
before processing recording. So we increase number of buffers.
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Change-Id: I2a02183174a18472df2506c5f20f324644161c32
|
|\ \
| |/
| |
| |
| | |
* 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>
|
|\ \
| |/
| |
| |
| | |
* commit '75270b4b5bcbb573c13f117c68373cbc7b9bc16a':
libcamera: change shutterspeed units to microseconds
|