summaryrefslogtreecommitdiff
path: root/src/com/android/camera/VideoModule.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | | SnapdragonCamera: customize camera picture qualitylikaid2015-04-081-1/+1
|/ / | | | | | | | | | | | | regional feature Change-Id: I4c80b4970ff4f628080cad20980aa545add6fdcf CRs-Fixed: 815630
* / SnapdragonCamera: Handle Camera device errors gracefully.Sai Kumar Sanagavarapu2015-03-261-1/+1
|/ | | | | | | | | | Handle Camera device errors from lower layers gracefully by finishing the activity and there by closing camera session and app. Also, display a toast message signifying the error because of which camera app is being shutdown. Change-Id: I86c4caf174356148bd4725329ea13ec82e944b94
* SnapdragonCamera: Disable CDS and TNR if SeeMore is enabledShwetha Kotekar2015-03-101-20/+48
| | | | | | | If seeMore is enabled, send a disable command to HAL to disable the CDS and TNR features. Change-Id: I91bac0a01c58cb13ba32296739b47f74dc296003
* Camera2: Disable SeeMore feature during 4K videoShwetha Kotekar2015-03-101-2/+13
| | | | | | | If the video resoultion is 4K, disable SeeMore and show a toast message. Change-Id: Ica6d5cf0e24154556fcdf44df9172ca255fe030a
* Merge "SnapdragonCamera: Set highest supported video resolution by default."Linux Build Service Account2015-02-271-11/+3
|\
| * SnapdragonCamera: Set highest supported video resolution by default.Sai Kumar Sanagavarapu2015-02-271-11/+3
| | | | | | | | | | | | | | Instead of defaulting to CIF, set the highest supported video resolution as the default video profile. Change-Id: I6cb1eab905d193cbc03f528d0fbc81f5af49ab89
* | SnapdragonCamera: Throw error popup for unsupported video profile.Sai Kumar Sanagavarapu2015-02-271-0/+14
|/ | | | | | | Check if the quality selected has a matching camcorder profile associated and show error popup if not supported. Change-Id: If3e1e3d62b4e2e9c8c16b9e4a346cbfa93c0f92b
* SnapdragonCamera: circular thumbnail iconLikai Ding2015-02-171-4/+0
| | | | | | | | | | 1. change thumbnail icon to circular and its background to transparent 2. speed up loading with optimal sample size and region decoder 3. fix orientation bug regarding panorama photos 4. don't fire load task on fake onDataLoaded() call Change-Id: I7f4eb8dad4c54a01a7ccd98907e06952e470840b (cherry picked from commit ac714ea974b4bd0ef99403def5aa7d8a3deecc5d)
* SnapdragonCamera: Disable LPM if DIS/Flip are enabled.Sai Kumar Sanagavarapu2015-02-131-6/+26
| | | | | | | Low power mode has to be disabled if DIS or Flip are enabled, because we need pproc to process these. Change-Id: I00cc015f23f8e16d3acadc995ad2f6839c2d8333
* Merge "SnapdragonCamera: Improve app stop latency"Linux Build Service Account2015-02-061-2/+3
|\
| * SnapdragonCamera: Improve app stop latencyShalaj Jain2014-12-091-2/+3
| | | | | | | | | | | | | | | | | | Disable shutter button before starting/stopping recording on a shutter button click and enable it after without any delay. Add logs to know when shutter button is disabled/enabled. Change-Id: Ibca1e964d2e2fc1c1bd47c104f87289eb2a507bf
* | SnapdragonCamera: fix portrait orientationLikai Ding2015-02-021-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | Fix camera activity to portrait, so there is no delay when rotation occurs. Main changes are: 1. RotateLayout now supports padding and dynamically added child. 2. Camera controls and gesture detetion are now orientation-aware. 3. Toasts are replaced with RotateTextToast. 4. Obselete layout files are removed. Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
* | Merge "SnapdragonCamera: Set low power mode by default."Linux Build Service Account2015-01-181-0/+5
|\ \
| * | SnapdragonCamera: Set low power mode by default.Sai Kumar Sanagavarapu2015-01-111-0/+5
| | | | | | | | | | | | | | | | | | If low power mode is supported, set it ON by default. Change-Id: If51754220a333be1d2733bf97a5adedc94d9fd5a
* | | SnapdragonCamera: Quick icon disappear after stop record by home keykaiyiz2015-01-071-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Color effect and switch camera icons disappear if re-launch camera after press home key during recording video. The icons are hided when start record video, but show icons aren't called after stop video record by press home key. Show and hide icons should always be called when stop and start record video, so move the functions to stopVideoRecord and startVideoRecord. Change-Id: Ie4fe9102e226452502fcc382329cc0e01799b0cf CRs-Fixed: 777114
* | SnapdragonCamera: Enable video recording pause/resume from applicationSanthosh Kumar Thimmanna Bhattar2014-12-231-2/+2
| | | | | | | | | | | | | | | | | | - Video recording pause/resume feature is not working as it is disabled by commenting out the pause/resume function call from snapdragon camera application. - Fix is to enable the pause/resume function call from application Change-Id: If75ab41000d0c62259a46135246fafe3398f5fd9
* | SnapdragonCamera: Enable CPP duplication by defaultRajaram Gudivada2014-12-101-7/+13
|/ | | | | | | | | | | Set NV12_VENUS for preview stream, when both the below conditions are met 1. setprop "persist.camera.cpp.duplication" is enabled(Default value is enabled) 2. If both preview & video resolution's are exactly same Change-Id: I2b58091071c36a624d986f14bbe1abe9c95a4c18
* SnapdragonCamera: Fix compatibility issues with KK.Sai Kumar Sanagavarapu2014-11-261-3/+3
| | | | | | | | | 1. Remove openLegacy call to open camera. 2. Use generic camcorder profile query mechanism instead of hardcoding profile enums in app. 3. Fix NPE during startpreview if mParameters is null. Change-Id: I7bfc00f68f512c3029ca8ba75863583f1b376094
* SnapdragonCamera: Add preview thumbnail buttonByunghun Jeon2014-11-191-0/+4
| | | | | | Add preview thumbnail button and touch it to go to gallery Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
* Merge "SnapdragonCamera: Use MDP composition instead of GPU"Linux Build Service Account2014-11-191-5/+7
|\
| * SnapdragonCamera: Use MDP composition instead of GPUByunghun Jeon2014-11-171-5/+7
| | | | | | | | | | | | Use MDP composition instead of GPU Change-Id: I4f47d26365bd611242a21e66b232d7521b502b04
* | Merge "SnapdragonCamera: Modify SnapdragonCamera UI"Linux Build Service Account2014-11-191-2/+5
|\|
| * SnapdragonCamera: Modify SnapdragonCamera UIByunghun Jeon2014-11-171-2/+5
| | | | | | | | | | | | Modified SnapdragonCamera setting menus with new icons Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
* | Merge "SnapdragonCamera: Fix shutter button is disable after stop record video"Linux Build Service Account2014-11-171-0/+1
|\ \ | |/ |/|
| * SnapdragonCamera: Fix shutter button is disable after stop record videokaiyiz2014-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The shutter button is disable before take a snapshot, and shutter button will be enable when called onPictureTaken, but enable shutter code will not be run when onPictureTaken is called after stopVideoRecording and sometimes onPictureTaken still not called. Enable shutter button when stopVideoRecording. CRs-Fixed: 703000 Change-Id: I4e7e2d17cfee33c7b91091f5c47ae85718054912
* | SnapdragonCamera: enable cpp duplication using system propertyVijay kumar Tumati2014-11-121-4/+10
|/ | | | | | | | This changes allows user to enable 1080P and 720p mirroring conditionally based on a system property (persist.camera.mirroring.enable) Change-Id: I7ec2cf7140682e496622c5874bc6667c33b03ad8
* Merge "SnapdragonCamera: To enable duplication for 720p"Linux Build Service Account2014-11-061-3/+11
|\
| * 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