summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp/VideoEditorPlayer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t for frame countsGlenn Kasten2012-11-151-1/+1
| | | | | | Also fix typo: bufferCount should be frameCount. Change-Id: Ibed539504db75ef99dc21c8ff1bf2987122063a5
* Use uint32_t for sample rateGlenn Kasten2012-11-141-1/+1
| | | | Change-Id: Ie240b48fb54b08359f69ecd4e5f8bda3d15cbe80
* Add support for deep audio buffersEric Laurent2012-04-201-3/+4
| | | | | | | | | | Allow AudioSink to use deep audio buffering when the source is audio only and its duration is more than a certain threshold. This helps improve battery life but implies higher audio latency. Change-Id: Ie79915b61c370292f05aabda9779356570e03cbb
* rename audio policy output flagsEric Laurent2012-04-181-1/+1
| | | | Change-Id: I27c46bd1d1b2b5f96b87af7d05b951fef18a1312
* Add gapless playback support for NuPlayerMarco Nelissen2012-04-021-2/+9
| | | | | | | | | This makes NuPlayer use a SkipCutBuffer when needed, and adds a new AudioSink method to retrieve the number of frames written so far, so NuPlayerRenderer can calculate how much data it can write without blocking. Also make some more methods const. Change-Id: Id7d253ad8a7b85e9a84ca2baafbe32817b16c744
* Use audio_policy_output_flags_t consistentlyGlenn Kasten2012-03-081-1/+1
| | | | Change-Id: I425cfd442257560dcf141d3d8599ddc7d21c1d13
* Set channel mask when opening audio sinkJean-Michel Trivi2012-03-051-5/+17
| | | | | | | | | Update the code to use the AudioSink::open() interface that takes a channel mask as an additional parameter. The code is only stereo, and returns an error when attempting to create a video editor audio sink with more than two channels. Change-Id: Ib9bba067da0b286c08656976b89fba7c8b42f99f
* More source code Clean up in video editor engineJames Dong2012-01-191-1/+1
| | | | | | | | | o fixed incorrect design and got rid of PreviewPlayerBase class o removed obsolete/unused code as much as possible and reformatted the source code o verified and passed functional tests o More to come ... Change-Id: I7a89162f8b9d9ea6eabcf0457366cd2f6d970d11
* Remove streaming related logic from preview player.James Dong2012-01-121-5/+9
| | | | | | | Video editor engine only deals with local file playback/preview. Change-Id: I8e3414abf8a109a77a1e34a959fb4a090612ae3d related-to-bug: 5857057
* Use audio_format_t consistentlyGlenn Kasten2012-01-121-1/+1
| | | | Change-Id: Idb08c49fe1a2c87ea2bb080815a5a6f95409834c
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I5c54a0185527f6ca3e746d625a007aa06f6f25f9
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I261ad4d5348f4832488707edeb3cbdbb6dd12fca
* Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-251-41/+41
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I366680b6e614b8983d1def28cc2fdbfa98f39531
* Use GL to render preview.Chih-Chung Chang2011-08-081-2/+2
| | | | | | | | | | | To speed up the preview, we direct the decoder output to a SurfaceTexture, then draw the texture to a surface. The media rendering parameters (crop, black-border) are implemented using different vertex coordinates. The color effects are implemented using fragment shaders. Currently only three color effects are implemented, but that's all the appplication uses. Change-Id: If84439fee572ed37ea077749ef9f2bd4f78703e1
* Add YV12 color converter interface for VideoEditor.Chih-Chung Chang2011-07-271-10/+0
| | | | | | | | | | | | The original assumption in VideoEditor is that the decoder output and encoder input are in YV12 format. However on different hardware platform the actual formats may be different. So now we load a platform-specific YV12 color conversion module which knows the actual format and can convert to/from YV12, which is the format used in VideoEditor internally for processing. Bug: 5061733 Change-Id: I852f85efd30c05cf6c42810059ee4d2ef37ee3da
* Make line-ending consistent (unix style).Chih-Chung Chang2011-06-301-553/+553
| | | | Change-Id: Id837b042952ff5d97907591f337b2222cff2c8a9
* Fix for: 4676350 Do not use dual copyright declaration for video editor codeThomas Le Guevel2011-06-231-1/+0
| | | | Change-Id: I2856be051fa3b3ddfe67e096e45fb0b34beb92be
* Revert "Use AudioTrack::event_type not int in callback"Glenn Kasten2011-06-011-1/+1
| | | This reverts commit dd51bdc4cf4b7c9f09e7dc4116651c6681d5287c
* Use AudioTrack::event_type not int in callbackGlenn Kasten2011-06-011-1/+1
| | | | Change-Id: I09ff321f9457c0a9ee58e59bee38ed53799e494b
* update for new audio.h header locationDima Zavin2011-05-111-1/+1
| | | | | Change-Id: I593b91a84a603d8c7f51a83232cced5af4980baf Signed-off-by: Dima Zavin <dima@android.com>
* Add setParameter/getParameter to MediaPlayer APIGloria Wang2011-04-291-0/+10
| | | | | | for bug 1982947 Change-Id: Ic32704367bdcf2ade3f035a164927e95c69af7fa
* libvideoeditor: convert to use new audio.hDima Zavin2011-04-271-3/+5
| | | | | Change-Id: I39726f6f6cd5aabbd91629f329876660b3d3cec2 Signed-off-by: Dima Zavin <dima@android.com>
* remove unused references to ISurfaceMathias Agopian2011-04-051-8/+0
| | | | Change-Id: Ia11c5f46f38c0b00ca63d19d3484bf4024cdb75d
* Fix for the issue: TestPreviewWithTransition fails (4133108)Raghavender Palla2011-03-211-0/+10
| | | | Change-Id: I53eb798f4f86e83f8a4668c7256241367c1ccbe4
* Bug 3438258 surface texturesGlenn Kasten2011-02-241-0/+8
| | | | | | | This is sufficient to build, but is not a full implementation. See bug 3467199 for the real implementation. Change-Id: Ifc3325fa9b019669bffddfd7bfd10bce57d0a136
* Fix for 3369917 Audio skips at clip edit pointsRajneesh Chowdury2011-02-221-3/+6
| | | | Change-Id: Iba66585cc2e679475d8db529d6113586b58e626e
* Fix for issue 3439595 : Movie studio playback previous framesSantosh Madhava2011-02-171-0/+5
| | | | Change-Id: I0f1a6cdfa40f6c8eebe989116e01ba8c212d5872
* Fixed issue 3385135: change min audio buffer count to match awesome playerDanny Fernandes2011-02-111-3/+3
| | | | Change-Id: I4408b5c42edd0a65016ed621b31ecda513d17d60
* videoeditor preview code on honeycombDharmaray Kundargi2011-01-161-0/+542
Change-Id: I9c3c9cb921ea697ab16732973d26ef9035cda2ee