| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
Add video face detection to developer option
CRs-Fixed: 978207
Change-Id: I9308573a5a1004fc3803a955bc96f495ecbfc6c7
|
| |
|
|
|
|
|
|
| |
- Add condition to disable NR when SeeMore is enabled
- Clean up the SeeMore conditional checking logic
Change-Id: I191794c034e0c70818cee785516575d5642497ca
CRs-Fixed: 972044
|
| |
|
|
|
|
|
| |
Fix flickering Video preview when pause/resuming
Change-Id: I7e20cfdc06fc940f4fc96f408ce6ab570b0d8e64
CRs-Fixed: 971394
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Continuous pause & resume operation by pressing the power button
can cause the blank preview. The application close the camera when
there is onPause or screen off intent. Sometimes the resume comes
after screen off intent when user resumes the device quickly after
pausing the device. Because of this race-condition, the camera is
closed unintentionally.
To resolve the issue, re-structure the code to receive screen-off
intent only during video recording and stop the recording when
intent is received.
Change-Id: Ic993b83527b41dbbf53f63ef8ca25fa3a12fb77e
CRs-Fixed: 970172
|
| |
|
|
|
|
|
|
| |
Keep using modules instead of creating.
Don't remove the view without cleaning it.
Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0
CRs-Fixed: 958510
|
| |
|
|
|
|
|
| |
Register sd card media status listener on resume.
Change-Id: I7b3b7e3104b7729c83d83926bb794e0d7ec237d2
CRs-Fixed: 960865
|
| |
|
|
|
|
|
|
| |
Adding toast message to be shown to the user when media recording
is failed due to permission issue.
Change-Id: I5392b41b97c73ade8df7b5d70647361306c4f695
CRs-Fixed: 944657
|
| |
|
|
|
|
|
| |
Introducing audio mute button on video recording
Change-Id: I69ff6fe97c4b8d76a890b5e41667dab534d69ba8
CRs-Fixed: 937239
|
| |
|
|
|
|
|
| |
Moving Image Stabilization option to the menu
Change-Id: I7fb025a3d1909af436e7a52ee9d602b2ce2dc68b
CRs-Fixed: 937237
|
| |
|
|
|
|
|
|
|
|
| |
Currently preview cover will be hidden shortly after preview started,
but if the actual first frame comes late, the main screen will flash.
Register a oneshot preview callback to hide preview cover.
Register the callback before calling startPreview.
Change-Id: Ide0dd4b2eebe7cb73a2192f11c4ea3a471718c05
CRs-Fixed: 911138
|
| |
|
|
|
|
|
|
|
| |
While generalizing SnapdragonCamera app for any number of cameras we
have to handle a special case if number of camera's are less than 2.
If there is only 1 camera in the app then there is no camera switch
option and hence the corresponding switch icon object is null
Change-Id: I672708bb98a30054adaf916bb272b50cdd8d0091
|
| |
|
|
|
|
|
|
| |
Add developer option to choose video snapshot size.
The "Auto" option will revert back to old behavior of
choosing the largest size with the same aspect ratio
as the preview.
Change-Id: Ice68aef1963c1199d30e1edde4cccf7203f8fbbf
|
| |
|
|
|
|
| |
This reverts commit 1ab897565fa4d7543af44d263d7039a32cce2666.
Change-Id: Id5c0d5e7015ed656bb9f2190b1d9e408379392a5
|
| |
|
|
|
|
| |
This reverts commit 59b05fd1d75943f037aec41def16cdceb6443ecf.
Change-Id: I807bdbf0fe669a989d58484ab11451c891acaf5b
|
| |
|
|
|
|
| |
Fix QUALITY_4KDCI variable name to be proper for M upgrade
Change-Id: Iab3c884b784bdd8652a2755fee4f70fbea7fa7ed
|
| |
|
|
|
|
|
|
|
| |
Enable audio for HSR (stays disabled for HFR).
Scale the video-bitrate based on what the profile says and the
target-framerate being set on the encoder.
Change-Id: I93206bf56409ab053bfbde463f8deb8c84f7c844
CRs-Fixed: 899460
|
| |
|
|
|
|
|
| |
Enable camcorder pause, as MediaRecorder
support has been added.
Change-Id: I0b710145134a2bccf52c5e76525ff187d83905e5
|
| |
|
|
|
|
| |
Enable H265 video format
Change-Id: Id307c98ad9cf09b71194dc38f2fbdfd11328a241
|
| |
|
|
|
|
|
| |
Query encoder capabilities like max fps, width, height ,etc and
based on this result enable/disable certain profiles/hfr modes.
Change-Id: Ib5adf74eaa8d50f9ed8337a88932527624727cd4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[1] Use combination of MediaRecorder.setCaptureRate and
setVideoFrameRate API to achieve HFR/HSR
------------------------------------------------------------
CaptureRate videoFrameRate Recorded-video
------------------------------------------------------------
120 30 slow-mo @30fps
120 120 high-speed-video @120fps
------------------------------------------------------------
Deprecate usage of custom fields added to media-profiles for
checking max-capabilities. Instead, introduce high-speed profiles
and advertize correct values (ersolution, fps) to indicate
target capabilities
TODO: check against high-speed profile to check if a given
{resolution, fps} is supported
Add conversion routines in CameraSettings to convert from
normal quality level to time-lapse/high-speed quality.
Also, add back 4KDCI and VGA support
Change-Id: Ic1d5ed8ef52348cab2383abe304056e0401f7069
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. Address compilation due to compiler upgrade.
2. Comment out video dependencies to enable camera.
3. Fix compilation issue due to IMountService interface change.
4. Comment out ExtendedFace.
5. Remove non-standard video resolutions.
6. Revert "camera: override shutter sound volume" commit
8a50cda8f72738e943904fdf7cae189b2b0a8ea8.
Change-Id: I167ab5ff399c4f1d306a1a7ddf94896565c9625a
|
| |
|
|
|
|
|
| |
Not necessary to have tmpPath as it won't be accessed together
Change-Id: I0a97e2b114bf7a554b21c4ccb20d620a01a3c579
CRs-Fixed: 877959
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Videos over 4GB on SD card cannot be played correctly.
Set a limit if video is stored on SD card.
Change-Id: I9f658527c2f6ee4408b6f9c8c0b45e2b9ea9bf8b
CRs-Fixed: 902533
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
- Add menu for noise reduction modes
Change-Id: Ie5cd6590e08938fb8fbb668ac1b48aac5fe801c3
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At present the SnapdragonCamera App can support maximum of 2 cameras.
Generalizing SnapdragonCamera App to support any number of cameras
exposed to the application.
Note - If number of cameras supported is greater than 2 then we need
to add corresponding entries in media_profiles.xml so that recording
can work fine on more than 2 cameras supported.
Change-Id: Ic20667e29e0541d71c764bfd51a9c7a4d2ea83cd
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Currently SeeMore option for 4k recording is disabled.
As per requirements, enabling the same.
Change-Id: I69e84e0c20c199d80fc819f8aa6be62605bfbd79
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
During recording, there are only 2 widgets on UI. Directly attaching
them to window manager and making main UI layer fully transparent can
reduce power consumption.
Change-Id: I8c4f4768ab91d50fc72080f0f6d7316ee2e60ef4
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Previously, default video recording resolution was largest available.
This has been changed to be 1080p by default.
Change-Id: I29b4d7d8d80af1472315fdacb9c1672403247f7f
|
| |/
|
|
|
|
|
|
|
|
|
| |
The toast "Enable 4k video quality will disable IS" was shown every
time when update the camera parameters, that made user confused.
Move the toast to onSharedPreferenceChanged, show it only when
set video quality as 4K and IS is ON.
CRs-Fixed: 886568
Change-Id: I3246feada6eaf2097278e04b835ad1bc7ff811b8
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As per new open camera optimization, setContentView is called after init.
But VideoModule has a dependency in initialization on setContentView as
if setContentView is not called before using mFilmStripView then its value
is null. To avoid this changed the location of using mFilmStripView from
initialization to onResume.
Change-Id: I6f0116fa82554b11b06d733b3952e6596daa50d3
|
| |/
|
|
|
|
|
|
|
| |
Currently preview cover will be hidden shortly after preview started,
but if the actual first frame comes late, the main screen will flash.
Register a oneshot preview callback to hide preview cover.
Change-Id: I81fabf2d97c32fc2112cf4fceef4edd0872439e2
CRs-Fixed: 889021
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Duration calculated from recording start and end time does not always
match that in video file. Use video metadata instead.
Change-Id: Iab4f6b7030579bb78cc86effe6dd7d6993fa5918
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
The video duration limit read from intent is later overwritten by the
value from preference. Change the order to honor the intent value.
Change-Id: I833b1fbcecbbaeff48ff51144f5e584e91fb1838
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The preview cover was shown when onPause, but didn't hide after
resume. That caused the video preview turned to black screen.
After the camera preview starts, hide the preview cover if it is
still showing.
Change-Id: I79fdcd45d46d7c083a132e864bbf42649b100ae4
CRs-Fixed: 865933
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
The camera switch icon and color effect icon are hidden when start
recording, they will be shown again in onStopVideoRecording. But if
the start recording failed, the onStopVideoRecording will not be called,
that causes the icons disappeared.
Show the icons if start video recording failed.
Change-Id: I05f64d6fc4928adbd6d8e43e0b31e21e8cb6ea9e
CRs-Fixed: 863790
|
| |
|
|
|
|
|
|
| |
Disabling the CPP duplication feature default at app
and HAL will take care of using this feature based on
preview/video height and format constraints
Change-Id: Iaa2ca7c173dad0322abe2224258957d15dbec0b4
|
| |
|
|
|
|
|
|
| |
1) Don't disable the camera activities if atleast
one camera is detected
2) Pass CameraID to know profile is supported or not.
Change-Id: I307bf0c5ca228eef2ae69596f648fbdabff83398
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After HFR and time lapse both are on, the ListMenu is initialize again
and mListMenu is set null which lead to NullPointerException happened.
Don't initialize listmenu when it's showing, move toast to VideoMenu
reference similar code in PhotoModule.
Change-Id: I9eaa308cc1b5eccb7bc86a3da6ae99f09b280be9
CRs-Fixed: 796135
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SnapdragonCamera's default video quality value was set to highest
supported video resolution whitch was "720P"
Add the default video quality value string "pref_video_quality_default"
and overlay it to "VGA"
CRs-Fixed: 815638
Change-Id: I5013880a42028e0663a3d22ffa3cddf87990146b
|