| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- fixes images cropped to square when shooting in portrait
Change-Id: I533ab769f61baebbf7f1eedc9b41c85425aacb9f
|
|
|
|
|
|
|
|
| |
This should fix large (>10M) tiler memory leakages that often occur when
the camera is closed. There are still smaller leaks left (several 4K pages
per run), but these are much less damaging.
Change-Id: Icc442407d357eeff4a1bce9edeff0f186f5646d1
|
|
|
|
|
|
|
|
| |
These tags are needed by the CM13 camera to not crop images to square
when shooting portrait. As the camera HAL already rotated the picture,
always set orientation to 0.
Change-Id: Id8b6aac5369ae3adfdfec0ec7528edc849bd3b10
|
|
|
|
|
|
|
|
|
|
| |
Frameworks/native commit e2806cb4456e3815e979f333ed23ec7df591a9ff made
SensorManager(const android::String16&) private.
Let's use SensorManager& getInstanceForPackage(const String16& packageName)
instead.
Change-Id: I15a582a7a6919c341958188da0c9168045de57e7
|
|
|
|
| |
Change-Id: I1bdd4510dc54517e70b2bc196b6e371520665661
|
|
|
|
|
|
| |
Adds support for camera on the Galaxy Tab 2.
Change-Id: I8580dac218593b31e789f372ebb1f294d66cd5c3
|
|
|
|
| |
Change-Id: I5d055f7da992c9c0fd71823c6ca0f18c95fc3be8
|
|
|
|
|
|
|
| |
Missed this bit when migrating to hardware/ti/omap4. Without it,
the front-facing camera can't be used.
Change-Id: I1a47d2991afa71840225f0cab9f27a155eaed780
|
|
|
|
|
|
|
| |
This adds flash-support for motorola devices and disables
unsupported functionality.
Change-Id: Ib1107d78641ca1ded61e8adb88ab7e8951e4ec74
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Change-Id: I6ef62da68b82ece315cfb5c6101d8e8c5776b29c
|
|
|
|
| |
Change-Id: I148ab5bd10276b6a9e4ce852435a731e1e500554
|
|
|
|
| |
Change-Id: If580892f35bdfb4ae7071d34b6194fff3773f30a
|
|
|
|
| |
Change-Id: Ib6b7cd411858674f4b9b96076ac71c551687b918
|
|
|
|
| |
Change-Id: I642aab8e69c90121d565ea76071ec73555102377
|
|
|
|
|
|
|
| |
camera: Handle capture request in AF run
Bug: 8140969
Change-Id: I1e1889434d57714cdb0c10929609eade299c1ea9
|
|
|
|
| |
Make sure we use modified TI ion calls when this is set
|
| |
|
|
|
|
|
|
|
|
| |
Change-Id: If682f40ca99dc13a1243cb391422d98803914a72
Signed-off-by: Michael Scott <michael.scott@linaro.org>
Conflicts:
camera/Android.mk
|
|
|
|
| |
Change-Id: I9053b5b632d36a8eedc12d20df833ef106e2c023
|
|
|
|
|
|
|
|
|
|
| |
Fixes undefined reference errors when building jem on 4.4.3.
See also https://github.com/CyanogenMod/android_hardware_ti_omap4xxx/commit/0fbe7ecfb0a526c02b774208fa00e0cba19d13a4
[hashcode0f@gmail.com: re-added libexif with PLATFORM var checks so repo can be used to build 4.4.x still]
Signed-off-by: Hashcode <hashcode0f@gmail.com>
Change-Id: I51ec616010228ae2c9217f47b9a6a243e5b20b3f
|
|
|
|
|
|
|
|
|
|
| |
- Add MAX_CAMERAS board config to limit scanning of omx cameras
(Jem has 2 extra configs which don't exist)
- Add TREAT_FRONT_AS_BACK board config to pass the front camera
off to the framework as a back camera to fix Panorama modes
- ifdef VT slices code which is only used in CPCAM mode
Change-Id: I273ec01403e216c544722e681c96ae7e1220b8d7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fix reference calculation during AV record
usecase. Previously there was some logic that counts
reference depends what type of frame passed. That
leads to race condition in case of video snapshot.
Now all possible types of subscriptions will be
counted for particular frame.
Change-Id: If183fdc425a25424fdb3ca5d31a0030c3669f322
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
| |
Use CameraBuffer* instead of uint for key in
snapshot subscribers map.
Change-Id: I1fc800840e120e535c3197b9856d6a1da48c4e7a
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
| |
Remove obsolete code that trying to mask
current and use unsupported resolution.
Change-Id: Ia6e96b8d6d23bfef6a139b3f85f1c0651f9f23e1
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
|
| |
There is no real need to deliver AF callbacks if
autofocus is not triggered from client(i.e. adapter
in non AF state).
Change-Id: Ie724922c705d749820b6984144bd5390dcd3ff03
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the destructor of OMXCameraAdapter, OMX_Deinit() is called after OMX state
is switched to Loaded via switchToLoaded function.
But if some error happens during the state change, OMX_Deinit() is called in
switchToLoaded function.
As the result, OMX_Deinit() is called twice in swtchToLoaded and the destructor.
This causes the ducati crash.
This patch adds checking for the mOmxInitialized after switchToLoaded() to
avoid double deinitialization.
Change-Id: Ie30170de2bf032a1861a00b2ca370266fe12d339
Signed-off-by: Nanako Baba <baba@ti.com>
Signed-off-by: Daniel Levin <dendy@ti.com>
|
|
|
|
|
|
|
|
|
|
| |
In case performCleanupAfterError() is called without further HAL crash
OMX component will be in deinitialized state. Thus it must be marked as
uninialized to avoid double deinitialization attempt in OMXCameraAdapter
destructor.
Change-Id: I65bf7e6ca0acef4b3740d967b6846b5e91136874
Signed-off-by: Daniel Levin <dendy@ti.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- Added correct stop of the preview thread when doing
image capture
- Added WA that propose ability to skip some frames count
if case of use buggy camera driver that do distortions of
first frames after stream on
Change-Id: I49b7708f4596499142bface731fbccd43cac6ec7
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Camera API supports 2 mechanisms that
used to set FPS : setPreviewFpsRange and setPreviewFrameRate
HAL should correctly handle situation when only one
of that call were made. CameraHAL should not
modify fps range or fps that was set by client,
but it should inform camera adpter somehow what
exactly was modified and what value should be used
for configuration of preview port. So therefore
new paramter KEY_PREVIEW_FRAME_RATE_RANGE was added.
Now it will be used by camera adapters for
preview configuration and camera hal will be
capable for value of this parameter.
Possible situations:
1) User had changed FPS range and HAL will use it for fps port
value (don't care about changed or not const FPS).
2) User had changed single FPS and had not changed FPS
range - will be applyed single FPS value to port.
3) Both FPS range and const FPS are unchanged - FPS range
will be applied to port.
This patch also fixed several CTS tests from
android.media.cts.MediaRecorderTest : testRecorderCamera,
testRecorderVideo, testSetMaxFileSize.
Change-Id: I31badcdc62a1a33474cb8e0e893f50378e9f6114
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
| |
Prevent waiting for callback of failed AF in ducati. Just
retriggering it.
Change-Id: Ie7305bc98a6391adbdc410f60bfe23222b0d1e39
Signed-off-by: Dmytro Vasylenko <x0178436@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no restriction for stopFaceDetection API call. So
theoretically it can be executed when preview disabled (this
patch correctly handle this situation).
Also do not return error on unknown commands, since this will
break potential API extensions.
Change-Id: I7567f680a70cecbcce6e5bb0df830159350adb31
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
Signed-off-by: Daniel Levin <dendy@ti.com>
|
|
|
|
|
|
|
|
|
|
|
| |
4430/4460 AV Record on Video Format 1080p + Video stabilization On
causes the Camera app crash. This is known HW limitation of sgx
core on 4430/4460 due to unsupported texture sizes larger than 2k
Ideally should be fixed in the Ducati, marked as TEMP HACK.
Change-Id: Iea8727077d8eed736e4944e126f1c4586bf50d6b
Signed-off-by: Dmytro Vasylenko <x0178436@ti.com>
|
|
|
|
|
|
|
|
| |
Since in Kernel 3.4 now defined V4L2_PIX_FMT_H264 - we
will use it to enable H264 stream mode in V4LCameraAdapter.
Change-Id: I963131f5d740d60815bdca99e5a8b0cdc17ab161
Signed-off-by: Andriy Chepurnyy <x0155536@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The omap4xxx projects are supposed to be buildable only for OMAP4 and
OMAP5 but not OMAP3.
This patch adds checking for the proper TARGET_BOARD_PLATFORM to the
root Android.mk and removes useless double checking from subprojects.
Change-Id: Ic103304d24c2ffdbb82b3a277d0b66e0e44e4bc0
Signed-off-by: Daniel Levin <dendy@ti.com>
Conflicts:
Android.mk
security/smc_pa_ctrl/Android.mk
security/tee_client_api/Android.mk
security/tf_daemon/Android.mk
|
|
|
|
|
|
|
| |
In stereo mode picture rotation is always set to 0.
Change-Id: Ia71ddce063c90ac66eea1b2b0b5cc2ad58fbed79
Signed-off-by: Ivaylo Todorov <x0177393@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added macro ARCH_ARM_HAVE_NEON in armv7-a-neon arch
- Implemented software conversion NV12 -> NV21 and NV12 -> YV12
- Made non aligned frame conversion YUYV -> NV12 and UYVY -> NV12
to be generic in neonless build
Change-Id: I118dcb394999f937e83fd07882a090034cb1de89
Signed-off-by: Daniel Levin <dendy@ti.com>
|
| |
|
|
|
|
|
| |
Bug: 8580410
Change-Id: Ie88b9489c314cad95246be5b8f3ff3d0963cbb63
|
| |
|
|\
| |
| |
| |
| | |
Change-Id: I3feec53fce7f847398420b89e2e8cc2b1045cca3
Signed-off-by: Daniel Levin <dendy@ti.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ie54c27fc00994e1d9617e144396b23b12a380f65
Signed-off-by: Georgi Georgiev <x0154504@ti.com>
|
| |
| |
| |
| |
| | |
Change-Id: Icbca29fb3af86cd0e4e454ad87add5f5561dceab
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
camera/OMXCameraAdapter/OMXCameraAdapter.cpp
test/CameraHal/camera_test_bufferqueue.h
test/CameraHal/camera_test_surfacetexture.cpp
Change-Id: I1f13c6a5b6369e943773d04a650406a79eb95750
Signed-off-by: Daniel Levin <dendy@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Currently the CPCam implementaion in CameraHal doesn't
support continuous reprocess. Trying to dequeue further
buffers from the tapin is not needed.
Change-Id: I4674b513bfe5b659f6827e4e7e39d71f82cab082
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
|