summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
| * SnapdragonCamera: To enable duplication for 720psatyavaraprasad yerramsetti2014-11-041-3/+11
| | | | | | | | | | | | | | | | This will enable output duplication from cpp for 720p camcorder resolution same like 1080p resolution Change-Id: I7b4713fe4f8db5a175242d4ce265806f5acbda84
* | Merge "Camera2: Add See More feature in the menu"Linux Build Service Account2014-11-041-0/+9
|\ \
| * | Camera2: Add See More feature in the menuSanthosh Kumar Thimmanna Bhattar2014-10-271-0/+9
| |/ | | | | | | | | | | - User can select See More feature in video mode. Change-Id: I13636846cce67caeb6eb0b3e073399fdae2be471
* | Merge "SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP."Linux Build Service Account2014-11-041-0/+13
|\ \
| * | SnapdragonCamera: Add OptimalJpegThumbnailSize selction logic in APP.satyavaraprasad yerramsetti2014-10-311-0/+13
| |/ | | | | | | | | | | | | | | | | | | | | - Set a jpegthumbnail size that is closest to the Picture height and has the right aspect ratio. - Earlier this logic was implemented in HAL but due to CTS2 testJpegExif failure, moving this to APP CRs-Fixed: 748114 Change-Id: Ia2c97bf8cec7198ee291e63c3be9bbe5fb18b3b7
* | Merge "SnapdragonCamera: Enable TNR only in Video mode"Linux Build Service Account2014-11-041-1/+1
|\ \
| * | SnapdragonCamera: Enable TNR only in Video modeDimitar Borisov2014-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - TNR is enabled in Video mode only - KEY_QC_VIDEO_TNR_MODE is updated correctly CRs-Fixed: 739136 Change-Id: If2ed62f38199b4353ffaae6bab693de87f7634d8
* | | Merge "Camera2: Fix video duration is wrong issue"Linux Build Service Account2014-11-021-1/+6
|\ \ \ | |_|/ |/| |
| * | Camera2: Fix video duration is wrong issueliangche2014-10-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | When mMediaRecorderPausing is true, video duration is equal to mRecordingTotalTime, which can fix video duration is wrong issue if use pause/resume. Change-Id: I71d41414bba11564cfe84166fbc18608636a73d1
* | | Merge "Camera2: Do not restart preview to update flip params on new orientation"Linux Build Service Account2014-10-211-44/+52
|\ \ \ | |_|/ |/| |
| * | Camera2: Do not restart preview to update flip params on new orientationSanthosh Kumar H E2014-10-161-44/+52
| |/ | | | | | | | | | | | | | | | | | | | | | | | | When there was a orientation change flip paramter had to be changed. Currently all parameters are set again and preview is being restarted. so preview will not be smooth when user rotae the device. This change makes sure only necessary params are updated and preview will not be restarted. CRs-Fixed: 710129 Change-Id: I564431ef8cedaf68c9d12e2a84a3a430c845ab6d
* / SnapdragonCamera: IS is disabled when 4k video quality is enabledDimitar Borisov2014-10-141-3/+21
|/ | | | | | | - IS is disabled when 4k video quality is enabled CRs-Fixed: 733839 Change-Id: Iaaaa779bab0fbd7f9e5e5be08c6ada1c67ceb17a
* SnapdragonCamera: Add support for CDS and TNR settingsDimitar Borisov2014-09-301-0/+56
| | | | | | | | | | | | | Add support for CDS and TNR settings - CDS and TNR can be controlled in photo mode and video mode. - CDS is set to off and cannot be set to other value when TNR is enabled - CDS value is restored when TNR is disabled again CRs-Fixed: 715042 Change-Id: Idf08403e38d0e3e634b047a955f2328b4237e691
* Merge "Camera: Enable liveshot during 4K recording"Linux Build Service Account2014-09-131-2/+1
|\
| * Camera: Enable liveshot during 4K recordingSusmitha Gummalla2014-08-271-2/+1
| | | | | | | | | | | | --Enable take picture during 4K recording Change-Id: I562b80a17198460255ea5fd8cab928665f96aad9
* | Camera: Add support for video rotationApurva Rajguru2014-09-031-0/+8
|/ | | | | | Adding menu items for video rotation. Change-Id: Ic684dd279f6c2f867e607ba6fbe3919db67b96f8
* SnapdragonCamera: Add H265 encoderVladimir Petrov2014-08-221-0/+1
| | | | | | Add support for selecting the HEVC video encoder (H265). Change-Id: I3b7974eb333e0914047e9b5c96a0fb9d6f494b2a
* SnapdragonCamera: Match video and preview sizes for all HFR modesLeena Winterrowd2014-08-211-1/+1
| | | | | | | | HFR sets the video resolution as the preview resolution. Do the same when HSR is selected. CRs-Fixed: 679522, 687765 Change-Id: Ie08ce94193b8f0b53551b00808294eacc66ff6e4
* SnapdragonCamera: Fix HFR string mismatchLeena Winterrowd2014-08-211-3/+3
| | | | | | Enforce consistency between HFR strings at the app and HAL levels Change-Id: I10f1cce5f90c1a87c15dddf80d05c28c8eaff298
* SnapdragonCamera: Fix improper call to disable HFRVladimir Petrov2014-08-211-34/+43
| | | | | | | | | | | | | | | - Remove the filter for unsupported HFR modes in camcorder (may re-introduce CR#510215) - Fix improperly hardcoded setting of HFR mode to "disable" instead of "off" - Revert code where string prefixes were added to HFR camera parameter This reverts commit 1ad1d65a88e350e6e5461828ab930638b778564d. This reverts commit 9804a5e9116c8e17ac11449fcd83f2e0af5d4f38. CRs-Fixed: 687765 Change-Id: I85eecca7f2fc9bd83e90e0610ab66f1102dedc02
* SnapdragonCamera: Set video size for preview in HFR caseEmilian Peev2014-08-211-1/+57
| | | | | | | | | Due to HW limitations, the preview size needs to match the video size in HFR use cases. Otherwise the framerate may be lower than expected. Change-Id: I09ce25befa781b683e167da1ab4c20b5214df59b CRs-Fixed: 656181
* SnapdragonCamera: Switch to SD card when internal storage is fullkaiyiz2014-08-211-0/+7
| | | | | | | | | | | | | | | | When internal storage is full, switch to SD card for storage. Change the save path from internal storage to SD card when updateStorageSpace is called if: 1. Internal storage is the current save path and does not have enough space 2. SD card has enough space Display a toast message and update display of the save path menu item when the storage path is switched. CRs-Fixed: 687210 Change-Id: I6a9804e4f64e6d55c6aebd889ac2ce5e887cfa5a
* SnapdragonCamera: To enable mirroring for 1080pCherian Deepak2014-08-181-1/+17
| | | | | | | This will enable output duplication from cpp for 1080p camcorder resolution Change-Id: I3a6a49d98bea8102f3a00963deaba968fdec96ce
* Rename module and package name to co-exist with AOSP appSachin Shah2014-08-161-1/+1
| | | | | | | | Rename package from com.android.camera2 to org.codeaurora.snapcam, module name from Camera2 to SnapdragonCamera and app name from "Camera" to "Snapdragon Camera" Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
* Camera2: Enhance KK cameraapp for LChiou-Hao Hsu2014-08-161-3/+3
| | | | | | Enhance KK cameraapp for L. Change-Id: If708b253f34a131d7842f8921e54c008283e0056
* Camera: Add HSR 60 and HSR 90 modesVijay kumar Tumati2014-07-161-55/+34
| | | | | | | | | | | | | Adding 2 more modes 60 and 90 to HSR feature. HSR - High speed recording where video is recorded at the same fps at which camera is pumping frames. CRs-Fixed: 629713 Change-Id: I31a13f8d5db8c94be7bafb7506bafe268b764362
* Merge "Merge tag 'android-4.4.3_r1' into HEAD"Linux Build Service Account2014-06-231-1/+12
|\
| * Merge tag 'android-4.4.3_r1' into HEADChiou-Hao Hsu2014-06-111-1/+12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 4.4.3 release 1 * tag 'android-4.4.3_r1': Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Remove TRIM support Import translations. DO NOT MERGE Import translations. DO NOT MERGE Fix samsung video recording Fix WB indicator override Revert fixed focus area in CAF mode Add another HTC picture resolution Always set focus mode first before applying scene mode Reduce logging of flattened Preferences Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence. Conflicts: res/values/arrays.xml src/com/android/camera/FocusOverlayManager.java src/com/android/camera/PhotoModule.java src/com/android/camera/VideoModule.java Change-Id: I4be00366e24933c6504639776c711e1a874d1f2e
| | * Fix samsung video recordingMichael Kolb2013-12-031-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patching Bryce CL into Carlsbad Bug: 9056573 Change-Id: I81fc31e24fe26bef4179bfc4428def2e8b7d94e9 Conflicts: src/com/android/camera/VideoModule.java
* | | Camera2: fix flash light turn on after resume camera activitykaiyiz2014-06-171-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | If user choose an app to open video, onResume will be called after the choose dialog is dismiss. The function opencamera will be called and the value mPreviewFocused will be set true, which lead to flash light turn on when setCameraParameters. The value mPreviewFocused won't be true if not in Camera Preview, we can use the visible of mCameraControls to judge. CRs-Fixed: 680450 Change-Id: Ia04ae0fb77f05fb991e5262f86cbe6f308db7709
* | Merge "Camera2: enable WNR in video mode"Linux Build Service Account2014-06-061-0/+7
|\ \
| * | Camera2: enable WNR in video modeLikai Ding2014-06-061-0/+7
| | | | | | | | | | | | | | | | | | | | | Enable WNR to reduce noise in 720P recording preview. Change-Id: I74471446b5fba0216b292f8fca81bf6e09b5d997 CRs-Fixed: 669247
* | | Merge "Camera2: disable the shutter button when not previewing"Linux Build Service Account2014-06-061-0/+1
|\ \ \
| * | | Camera2: disable the shutter button when not previewingLikai Ding2014-06-061-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Camera app will crash if the shutter button is clicked while not previewing. Disable the shutter button in onStopPreview() as it's called by onSurfaceTextureDestroyed(). Change-Id: Ied369610c590323b977b4ac1c3150c6c905e9466 CRs-Fixed: 669190
* | | Merge "Camera: Move out TimeLapse option from global list"Linux Build Service Account2014-06-061-0/+3
|\ \ \ | |/ / |/| |
| * | Camera: Move out TimeLapse option from global listSuman Mukherjee2014-05-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TimeLapse setting was common for front and back camera As there is no specific reason to have it common, to align with other settings, moved it out from common list so that Timelapse setting change in front camrea will not affect for back camera and vice versa. CRs-Fixed: 654627 Change-Id: I0b14284adc6063ccb9bf175a37644c162bb47fd5
* | | Camera2: Query support for longshot and ZSL+HDR from parameters.Sai Kumar Sanagavarapu2014-06-021-0/+5
|/ / | | | | | | | | | | | | | | | | | | Query camera parameters to check if longshot and ZSL+HDR are supported or not. Also, add generic way of enabling/disabling preferences to facilitate features which are mutually exclusive. Change-Id: I4332e3d5050f56b1953e4c0d767eb87f7e932c49
* | Camera: Block HFR option for Video HDRSuman Mukherjee2014-04-231-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | Video HDR can’t work with HFR and that caused AEC behaviour change. Fix Made: User'll be notified that HFR/HSR selection is not allowed for HDR mode. After that, HFR selection will be set to off and the option will be disabled. It'll not be vice versa as HDR has higher priority than HFR. Change-Id: I4b0f8362667a53e46a83223cab77b7248e1410e2 CRs-Fixed: 652078
* | Merge "Camera2: enable antibanding when dis is enable"Linux Build Service Account2014-04-211-0/+18
|\ \
| * | Camera2: enable antibanding when dis is enableGaoxiang Chen2014-04-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | banding will seriously impact DIS algorithm, so we need to set anti-banding to auto when DIS is enabled. Change-Id: I5ce9e907c68be803b35a929659fc1a9e0ac78642 CRs-fixed: 619074
* | | Camera: Disable DIS option for unsupported resolutionSuman Mukherjee2014-04-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DIS will not work for unsupported resolution. If user'll start recording with DIS alongwith 720p resolution using front camera, then it'll crash. Fix: Block in UI, so that user'll not be able to select DIS with unsupported resolution after intimating through toasts. Change-Id: I982e64f9f3a24c96e83484c6ce8cda3381139520 CRs-Fixed: 644268
* | | Merge "Camera: Change video capture duration with HFR"Linux Build Service Account2014-04-191-0/+15
|\ \ \
| * | | Camera: Change video capture duration with HFRSuman Mukherjee2014-04-081-0/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While capturing a video with HFR, duration is getting stored properly in metadata but not in media database. While checking details, duration is showing actual captured duration, not the playback duration. After rebooting the phone, then media table is getting updated with proper duration. Fix made: After capture, change duration value as per user selected HFR option. CRs-Fixed: 627354 Change-Id: Ifb7c607e3545c4d2a2e0b1b7666cb0567640d416
* / / Camera: Block DIS and Timelapse for HFRSuman Mukherjee2014-03-271-0/+21
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | DIS and Timelapse is not supported for HFR scenario. If user'll start recording with timelapse or DIS with HFR then crash observed from lower layer. Fix Made: User'll be notified that HFR/HSR selection is not allowed for TimeLapse and/ DIS mode. After that, HFR selection will be set to off and the option will be disabled. It'll not be vice versa as DIS/TimeLapse has higher priority than HFR for their existance in primary popup rather than being in secondary. Change-Id: I42ed3d3d20727ddda1b15c21b3ba85c8c41a82ef CRs-Fixed: 627373, 627362
* | Camera: Open back camera first irrespective of IDVijay kumar Tumati2014-03-261-0/+31
| | | | | | | | | | | | | | | | On 8916, we see back camera probed with camera ID 1. We need to open back camera first in these cases as well. Change-Id: Ie3d71afc75ef92bbb95d748cd581252fb8294e1c
* | Merge "Camera: Add a feature to choose where to store the picture and video"Linux Build Service Account2014-03-061-1/+14
|\ \
| * | Camera: Add a feature to choose where to store the picture and videoSanthosh Kumar H E2014-02-271-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a feature to choose use SDcard or phone to store picture and video captured by camera and camcorder. Some of the changes are taken from: I987a691c93edc4250fe0366d0623c85ea0152117 CRs-Fixed: 619806 Change-Id: I009df4c70f0a1b49b20750f806c799f025bb6197
* | | Merge "Camera: Check if codec supports HFR resolution/fps."Linux Build Service Account2014-03-031-0/+24
|\ \ \ | |/ / |/| |
| * | Camera: Check if codec supports HFR resolution/fps.Sai Kumar Sanagavarapu2014-01-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Some codecs can have limitation on the max HFR fps and video size combination. So, query the video encoder capabilites first and report error if codec doesnt support the combination. Change-Id: Ic2032176067a6f92d1363471d1a767d5ef589591
* | | Merge "Camera2: Added pause button in Camcorder"Linux Build Service Account2014-02-181-3/+39
|\ \ \