| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I6412a012f8d3739b6002685b87f0e64cedfe952f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Panorama mode requires quite some memory, especially after the frame
num bump done with commit aa0733567c30 ("Make panorama able to go 270
degrees in landscape"). Some devices run out of memory while taking a
panorama picture and force close Snap before the picture is complete.
We have a config to reduce the memory requirements that reduces the
size of each frame, but it's applied only if ro.config.low_ram is
true. Bump the default value to 100 and always respect it. Devices
having ro.config.low_ram set to true will have to override this
config from their device tree.
BUGBASH-326
Change-Id: Ic6d24b17b2293adf8d715904c8c1874a4c624e99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sat Jan 28 14:56:35 2017 +0100
Snap: detect and use Camera2 if available
Also add overlay option to enable support for Camera2 to retain current behaviour.
Change-Id: I20939e33f4bb687e4abea11bbcdb9bf246b156e4
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sun Aug 13 12:22:05 2017 +0200
Snap: Add missing null check on isCamera2Supported
Change-Id: I61c04c7cb8d344573ab7fb11f7114f09aaf24fb7
Change-Id: I339ead08d10ddff5dad491987d94367354a4b3f3
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of depending on a large matching table, generated the list
of picture sizes to show to the user directly from the supported
list returned by the camera. The list is filtered to remove
uselessly small resolutions on modern devices, to group resolutions
by aspect ratio, and to filter out fairly similar sizes.
Change-Id: I47a67a89786543baec133cf7e71df9819793ebac
Signed-off-by: Chippa-a <vusal1372@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* On the OP3, we can only use Longshot in a single scene mode without
conflicting with other built-in postprocessing features which cannot
be disabled. Add support for this. When a scene specified in the
longshot-scenemodes list is active, continuous shot will be enabled.
Change-Id: I79878e5ac918e907ddc5b3ca168e49f4e06656c3
|
|
|
|
|
|
| |
Camera HAL not always return proper values
Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Sat Jan 9 11:52:01 2016 +0100
Snap: special handling of hdr-mode parameter for lge devices
Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Mon May 9 21:28:40 2016 +0200
Snap: force enable zsl for lge hdr
LGE HDR needs ZSL enabled
Change-Id: I563b7f7cd49fcf8aad35ca4b93f839dc0a591f01
Change-Id: I139a4492ae85b87ca1cc84013f252b510200fffc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using openLegacy on QCamera3 forces it to use QCamera2
and fall back to api v1 which is not what we want on v2 devices.
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Tue Jan 5 23:02:12 2016 +0100
make openLegacy an option
Change-Id: Ia4142288ef0fafa62fa0ab855dc342b363b640cd
Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date: Sun Jul 10 15:11:43 2016 +0800
Snap: Tighten openLegacy() try-catch block
We only have to enclose the openLegacy() call in a try-catch block.
This prevents us from re-calling open() when open() fails and
throws a RuntimeException.
Change-Id: I81396e453f57215338a0c4da41c4116f2b4d42ca
Change-Id: Ic392a4ae9403ebae36940ddf0727237d9cb9e8f0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Mon Jan 16 00:10:40 2006 +0100
Snap: Add options to restart preview onPictureTaken
Change-Id: I7ce9d6f2323e367743e6d4c9662b846d3052f2a4
Author: LuK1337 <priv.luk@gmail.com>
Date: Mon Jan 11 17:40:58 2016 +0100
Move mApplicationContext to init()
Fixes following NPE:
01-11 17:36:42.607 4329 4391 E AndroidRuntime: FATAL EXCEPTION: Thread-235
01-11 17:36:42.607 4329 4391 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 4329
01-11 17:36:42.607 4329 4391 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.updateCameraParametersPreference(PhotoModule.java:3492)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.setCameraParameters(PhotoModule.java:3714)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.startPreview(PhotoModule.java:2715)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.-wrap14(PhotoModule.java)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule$OpenCameraThread.run(PhotoModule.java:265)
Change-Id: I6ca0dfe402cab46dd7b6f102921062f3c7ec8d43
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Fri Jan 22 17:17:53 2016 +0100
Snap: Do not restart preview during longshots
Change-Id: I6ad439dc0be7c6e0d13ac7c22aacdc0ad559d051
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Mar 19 10:43:33 2017 +0100
Snap: Add overlay for restarting camera preview for additional cameras
Change-Id: I95eb7237b101b73d66fe231a11d0c8d5156bfe47
Change-Id: I49312aef5331bf549e38a0534b95f76a0b8bb8da
|
|
|
|
| |
Change-Id: If734a7f4c25465876e657926700763b9169d786e
|
|
|
|
| |
Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
|
|
|
|
|
|
| |
This reverts commit 8fce47a5fb0277b3763b94a1fd23ea499d35e4b1.
Change-Id: I955f7ad42df89d30b39b8c7c26473ceac69a9c9d
|
|
|
|
|
|
| |
Set navigation bar according to flag and set it to show by default
Change-Id: I5ddb9d5f8150d7fd1d182bacb25cd02651a2db5b
|
|
|
|
| |
Change-Id: I599cbd5b54451e2e2a4ae58307f93e9dca22e995
|
|
|
|
|
|
|
|
|
| |
Changed the Panoramic preview to full screen
Resized the warped preview image to smaller Size
and render on top of the full screen preview image
Warped preview image can be turned on/off
Change-Id: I859839542ce94c5f70d7fe7983e93b5e9534b415
|
|
|
|
|
|
|
|
| |
For low RAM devices, allow reduction of the panorama frame size to
save memory via the 'panorama_frame_size_reduction' config option.
Change-Id: I26b98699341d5eedfe2ebe8a6ed417fe62933bd5
CRs-Fixed: 669381
|
|
Change-Id: I3be2758b2ddca31dbc2f21457a62664310c39684
|