summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix 5200962: Handle 0-length buffers from OMXCodec and drop it.Chih-Chung Chang2011-08-261-0/+7
| | | | | | | | Change-Id: I67c42c41f649f8e37055721efb67ab3ca4b02f0b
* | Fix 5180429: Initialize native window transform to 0.Chih-Chung Chang2011-08-251-8/+10
| | | | | | | | Change-Id: I2730895059d408fa731dc4ca8da3f7984fe196ae
* | Fix for 5151331 [CRESPO] testPerformanceExport failedRajneesh Chowdury2011-08-231-0/+34
|/ | | | | | Ensure encoding width and height are multiple of 16. Change-Id: Ia077a52a16273cb9f775ebe0f0c66a81a35b9e19
* Fix for 4142219 Don't hard code platform-specific limitations.Rajneesh Chowdury2011-08-1927-1285/+636
| | | | | | | | | | Also fixes 5118207 add other video codec support for video editor export. For importing video clips, Video Editor engine will query StageFright codecs for supported codecs, profiles and levels. For Export, the profile and level are configured in media_profiles.xml Change-Id: I85c8bb8b87cfcf0f1351ecb8c4f369a8902e7a09
* Fix 5115581: Native crash while importing audio trackChih-Chung Chang2011-08-181-111/+56
| | | | | | | Add locking in storeBuffer and read. Use the Vector class to simplify the code. Change-Id: If36ddda432df2b6d6d728b27fa196d2a655e0ba4
* Speed up thumbnail generation.Chih-Chung Chang2011-08-156-212/+204
| | | | | | | We accept a tolerance parameter while decoding. We also tell the stagefright decoder to jump so we can move to the new frame faster. Change-Id: Iede3c1f909f1c42b2d5a53c782083367b00f62fb
* Add connect calls for SurfaceTexture. Clean PreviewRenderer.Chih-Chung Chang2011-08-114-135/+58
| | | | | | | Now connect() is necessary for SurfaceTexture. Also cleaned unused code in PreviewRenderer. Change-Id: Ic49df01e79f38a48a8c2cf194d13ee575660c834
* Merge "Fix for 4132872 inefficient export logic."Rajneesh Chowdury2011-08-0919-976/+2799
|\
| * Fix for 4132872 inefficient export logic.Rajneesh Chowdury2011-08-0819-976/+2799
| | | | | | | | | | | | | | | | | | | | | | | | Also fixes 3371103 Transitions between images takes a long time to generate. Redundant transcoding is removed. Decode encode will be done only once per clip. For images, conversion to 3gp clip is removed (except for generating Kenburn image clip). Change-Id: Id722cd0296641bd643eb5c63f4d8028716259c01
* | Rename YV12 to I420.Chih-Chung Chang2011-08-089-76/+76
| | | | | | | | Change-Id: I453b7044bf46950ef67091f3417ed3e6a65086a0
* | Use GL to render preview.Chih-Chung Chang2011-08-0813-343/+862
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Remove excessive logging"James Dong2011-08-041-2/+2
|\ \
| * | Remove excessive loggingJames Dong2011-08-021-2/+2
| |/ | | | | | | | | Change-Id: Ie0b37da59ad326184c983626c45ea78908e7c2b7 related-to-bug: 5109084
* | Remove unused mLastVideoBuffer and bAppliedVideoEffect.Chih-Chung Chang2011-08-032-30/+2
| | | | | | | | Change-Id: I29511aaa714494a1a6caa4ed95bbc26370b37246
* | Remove PreviewLocalRenderer (simplify the code).Chih-Chung Chang2011-08-022-117/+9
|/ | | | Change-Id: I1f04e591cd0a33eb70bd93d5600aba12e727386e
* Fix for 5083973 M4VSS3GPP_editCleanUp called twice problem.Rajneesh Chowdury2011-07-281-0/+12
| | | | | | Set VSS context to NULL after cleanup. Change-Id: I1086fbe60a7777b00e80f0ea504f58a183fd3241
* Remove unnecessary encoder input format check.Chih-Chung Chang2011-07-271-29/+3
| | | | | | | | | This was preventing the export function from working because the encoder may accept a format other than YV12. As we always convert frames to what the encoder accepts, the check is unnecessary. Change-Id: I2056f560b4737d33956b277fb39ebe85278464ae
* Add YV12 color converter interface for VideoEditor.Chih-Chung Chang2011-07-2714-248/+414
| | | | | | | | | | | | 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
* Clear buffer lists in stop() so we won't free the buffers again.Chih-Chung Chang2011-07-261-0/+3
| | | | | | Bug: 5073626 Change-Id: Ia41fc089568b48de005235d66c9b5b1a5f72b5ca
* Fix for issue 5055001 Movie studio is unusable after importing musicRajneesh Chowdury2011-07-221-84/+92
| | | | Change-Id: I9b3da1122e807c034cf44dd51b5e1d92dd84d73f
* Merge "Remove hard-coded requirement for number of buffers."Chih-Chung Chang2011-07-211-91/+238
|\
| * Remove hard-coded requirement for number of buffers.Chih-Chung Chang2011-07-201-91/+238
| | | | | | | | | | | | | | | | | | This change use two threads to read and return buffers from/to the encoder, so we won't block on read even if there are not enough input buffers. Bug: 4972572 Change-Id: Iab07da5b55ef384e1d2723b4f5d3164e5a509ebd
* | Merge "fix for issue 4142219 Don't hard code platform-specific limitations ↵Hong Teng2011-07-2111-268/+248
|\ \ | | | | | | | | | engine part."
| * | fix for issue 4142219Hong Teng2011-07-2011-268/+248
| |/ | | | | | | | | | | | | Don't hard code platform-specific limitations engine part. Change-Id: Ibc8a539e5bbac738f60ef935670a333b7017e20e
* | Merge "Fix for issue 4988956 No audio can be heard during preview"Rajneesh Chowdury2011-07-202-35/+72
|\ \ | |/ |/|
| * Fix for issue 4988956 No audio can be heard during previewRajneesh Chowdury2011-07-202-35/+72
| | | | | | | | Change-Id: I61fc9086f2c00259e4f54535a5938b161d95b144
* | call the new setScaling method in the appropriate placesMathias Agopian2011-07-191-16/+20
| | | | | | | | Change-Id: Iabd738b195d326b6bdf04fdfee75e1dd9d411cbd
* | Merge "Use the ANativeWindow APIs instead of the Surface APIs"Mathias Agopian2011-07-141-6/+6
|\ \
| * | Use the ANativeWindow APIs instead of the Surface APIsMathias Agopian2011-07-141-6/+6
| | | | | | | | | | | | | | | | | | | | | Surface inherits from ANativeWindow, the APIs on the later are the only public APIs. Change-Id: Ibddebfe535e026d872cc13287a102660c004385f
* | | Remove redundant include, now that NuHTTPDataSource.h is no more.Andreas Huber2011-07-131-1/+0
|/ / | | | | | | Change-Id: I7bed503ba341b5ea3b7a3cac7aa2a1f349c8ed03
* | Merge "Remove the simulator target from all makefiles. Bug: 5010576"Jeff Brown2011-07-126-24/+6
|\ \
| * | Remove the simulator target from all makefiles.Jeff Brown2011-07-116-24/+6
| | | | | | | | | | | | | | | | | | Bug: 5010576 Change-Id: Ida75833739d363061c2e688a6c7f7d7b3f3edd1e
* | | Fix 4973565: implement getFormat() like ↵Chih-Chung Chang2011-07-121-11/+14
|/ / | | | | | | | | | | Ie534e2660b0de2c3ac697b4e1f61e3aaf2c4cffe. Change-Id: I9c684fa971d5ef3f975017cbaaf06ba789a6c41f
* | Fix of issue 4973565 Cannot export movie.Rajneesh Chowdury2011-07-076-127/+472
|/ | | | | | Also fixes 4441452 Native Crash after applying transition Change-Id: Ic48c44bc2c5d07e57edb8f63393cea424d3275f4
* Merge "add private copy constructor and assignment operator to four media ↵James Dong2011-07-014-70/+53
|\ | | | | | | source classes"
| * add private copy constructor and assignment operator to four media source ↵James Dong2011-06-304-70/+53
| | | | | | | | | | | | | | | | classes o this patch addresses the encoder and decoder sources for audio and video Change-Id: I918784ca22138267c270836c91312540eedebc7f
* | Remove curtain effects (they are unused).Chih-Chung Chang2011-06-309-631/+0
| | | | | | | | Change-Id: I8e1ccad3e9ddf4c272e85e7ca04582b4863c242d
* | Make line-ending consistent (unix style).Chih-Chung Chang2011-06-3023-8603/+8603
|/ | | | Change-Id: Id837b042952ff5d97907591f337b2222cff2c8a9
* Simplified regulBitRate() method and fixed a copy and paste error in stop() ↵James Dong2011-06-281-21/+5
| | | | | | method Change-Id: I589aea9471130e690594f91598853a1f08dca081
* Merge "Fix for issue 4905998 OMXCodec::drainInputBuffer, findInt64(kKeyTime, ↵Rajneesh Chowdury2011-06-274-0/+6
|\ | | | | | | &lastBufferTimeUs) fails"
| * Fix for issue 4905998 OMXCodec::drainInputBuffer, findInt64(kKeyTime, ↵Rajneesh Chowdury2011-06-274-0/+6
| | | | | | | | | | | | &lastBufferTimeUs) fails Change-Id: I353bd9e8aa1eceb9c14040a9953777967500fb1d
* | Fix for issue 4949999 getFormat() returns NULLRajneesh Chowdury2011-06-271-10/+16
|/ | | | Change-Id: Ie534e2660b0de2c3ac697b4e1f61e3aaf2c4cffe
* Fix copy and paste errors for mime type strings in the 3GP readerJames Dong2011-06-271-5/+5
| | | | Change-Id: Ia91b06f4dba9e4265260b28aabeeffeceff6d157
* Fix for: 4676350 Do not use dual copyright declaration for video editor codeThomas Le Guevel2011-06-23177-177/+0
| | | | Change-Id: I2856be051fa3b3ddfe67e096e45fb0b34beb92be
* Revert "Use AudioTrack::event_type not int in callback"Glenn Kasten2011-06-014-7/+6
| | | This reverts commit dd51bdc4cf4b7c9f09e7dc4116651c6681d5287c
* Use AudioTrack::event_type not int in callbackGlenn Kasten2011-06-014-6/+7
| | | | Change-Id: I09ff321f9457c0a9ee58e59bee38ed53799e494b
* update for new audio.h header locationDima Zavin2011-05-112-2/+2
| | | | | Change-Id: I593b91a84a603d8c7f51a83232cced5af4980baf Signed-off-by: Dima Zavin <dima@android.com>
* Merge "Fix for issue 4035003 Support for 64 bit datatype a. ↵Thomas Le Guevel2011-05-0617-671/+72
|\ | | | | | | M4OSA_64BITS_SUPPORTED removed b. M4OSA_64BITS_NOT_SUPPORTED removed c. M4OSA_UInt64 removed d. M4OSA_Int64 removed e. M4OSA_INT32_FROM_INT32 removed f. M4OSA_TIME_FROM_INT32_UINT32 removed g. clean-up all macro in M4OSA_Time.h, M4OSA_Types.h and osal/inc/M4OSA_FileCommon.h"
| * Fix for issue 4035003 Support for 64 bit datatypehongteng2011-05-0517-671/+72
| | | | | | | | | | | | | | | | | | | | | | | | a. M4OSA_64BITS_SUPPORTED removed b. M4OSA_64BITS_NOT_SUPPORTED removed c. M4OSA_UInt64 removed d. M4OSA_Int64 removed e. M4OSA_INT32_FROM_INT32 removed f. M4OSA_TIME_FROM_INT32_UINT32 removed g. clean-up all macro in M4OSA_Time.h, M4OSA_Types.h and osal/inc/M4OSA_FileCommon.h Change-Id: I2b1751962945dcc668e995d05a57b66cd268642f
* | Clean up background audio processing codeJames Dong2011-05-032-169/+135
|/ | | | Change-Id: I6184e71cb0ccfdb1fc5f250bd7ecd4555efad482