aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-06The number of frames that need to be hold in the video MIO is platform-specific.android-2.1_r2.1sandroid-2.1_r2.1p2android-2.1_r2.1pandroid-2.1_r2eclair-sholes-release2eclair-releaseeclair-passion-releaseJames Dong
We add an extra member variable to the video mio base class, and ask the derived class to overwrite this value if necessary.
2009-12-09Fix tearing for 720P video playback.android-sdk-2.1_r1android-2.1_r1James Dong
Hold 2 decoded video frames instead of 1 so that SF can have more room to complete composition. bug 2309411
2009-12-02Enable the support for selecting preferred video codecs (software based vs ↵James Dong
hardware based) This patch allows us to exclusively use software video codec for metadata retriever to avoid cases where the metadata retriever contents hw accelerated video codecs with some foreground video playback process. Currently, if the hw accelerated video codec is taken by the metadata retriever, then the foreground video playback process has to use software-based video codec for playback. End users won't have a very good experience using software-based video codec for playing high resolution videos in the foreground, if not always impossible. The change touches many files in OpenCore, but the actual change in each file is just a line or two. Thanks for comments from the reviewers. I was able to greatly reduce the number of files that are changed. We should have used the configuration files to advertise whether an omx core is hardware-based or software-based. Currently, this patch recognizes the software codecs by checking the component name. If the component name contains "PV", then it is a software-based codec. This is a hack. In addition, it would be nice to have more options for selecting a codec. For instance: option a. hardware only; b. hardware preferred; c. software only and d. software preferred. but that adds more complexity. Removed a new method based on reviewer's comment.
2009-11-20RIO-8067: set player engine watchdog timer lower bound to 1 sec. DO NOT MERGE.Jianhong Jiang
2009-11-19Allow multiple RTSP redirects. Bug 2272041.Dave Sparks
OC 2.0 only allows a single redirect to prevent redirect loops. This patch allows for up to 8 redirects before it fails.
2009-11-14Fix an incorrect time profiling bug in camera MIOJames Dong
The problem was that when DoStop or DoReset was called, the first sample time stamp,iAudioFirstFrameTs, was reset right way, which made the VF detection calculation in the writeComplete() callback incorrect. The solution is to move the iAudioFirstFrameTs reset logic to DoStart() to make sure that we still always has the correct initialized first sample time stamp.
2009-11-11Add some logging to track potential write haltandroid-sdk-2.0.1_r1android-sdk-2.0.1-docs_r1android-2.0.1_r1eclair-sholes-releaseJames Dong
-: a tiny bit of performance hit +: let us track the SD card write halt issue low-risk change
2009-11-11DO NOT MERGE TO MR2Sahil Sachdeva
[NJ-1432] Content truncated while seeking YouTube clip Bug 1968334 Cherry-picked from MR2
2009-11-11Fix issue 2194140: [Passion] Support Audience chip.Eric Laurent
Add method to AndroidAudioInput to change audio source. Force AndroidAudioInput audio source to AUDIO_SOURCE_CAMCORDER if a video input is present.
2009-11-06Log specific OMX_EventError events reported from OMX componentsJames Dong
2009-11-05Merge change Ie4968a76 into eclairAndroid (Google) Code Review
* changes: [RIO-7925] Mp4 composer node File writer hang issue while running stress test.
2009-11-05Merge change I8b58bac2 into eclairAndroid (Google) Code Review
* changes: 2226576 [RIO-7913] crash in the software mpeg4 decoder
2009-11-052226576 [RIO-7913] crash in the software mpeg4 decoderSahil Sachdeva
2009-11-05Add view finder freeze detection logic for video recording application in ↵James Dong
camera mio
2009-11-04DO NOT MERGE TO MR2Jianhong Jiang
RIO-7939: Change H.263 encoding default GOB header interval to 0 Cherry-picked from MR2
2009-11-04The max video frame size was too small (640x480). increase it to handle HD ↵James Dong
(1280x720). Fix failures to generate thumbnails for HD contents.
2009-11-03Merge change I024bce92 into eclairAndroid (Google) Code Review
* changes: DO NOT MERGE TO MR2 2182157 Fix for [RIO-7730] valgrind errors in opencore (cherry picked from commit 806a89c8e5e12bc3c08beee22be7450140c46e9a)
2009-11-03Merge change I7c40cce5 into eclairAndroid (Google) Code Review
* changes: DO NOT MERGE TO MR2 RIO-7725: valgrind error in opencore when playing youtube http://b/issue?id=2179296 (cherry picked from commit 85f7a2a081970605dcdb27c6e4c769cbbb0221df)
2009-11-03DO NOT MERGE TO MR2Sahil Sachdeva
2182157 Fix for [RIO-7730] valgrind errors in opencore (cherry picked from commit 806a89c8e5e12bc3c08beee22be7450140c46e9a)
2009-11-03DO NOT MERGE TO MR2Sahil Sachdeva
2182414 Fix for [RIO-7731] valgrind error in opencore. (cherry picked from commit 89369ebd893c0fd29f72f44b9fed8842cab593bf)
2009-11-03DO NOT MERGE TO MR2Jianhong Jiang
RIO-7725: valgrind error in opencore when playing youtube http://b/issue?id=2179296 (cherry picked from commit 85f7a2a081970605dcdb27c6e4c769cbbb0221df)
2009-11-02[RIO-7925] Mp4 composer node File writer hang issue while running stress test.Sahil Sachdeva
2009-11-02DO NOT MERGE TO MR2Jianhong Jiang
There is a crash due to OMX_UseBuffer change. In Reset(), media input node deletes the media input node port, which deletes the allocator. When encoder node releases the media data, it calls the allocator to release the memory. That causes crash. Cherry-picked from MR2 branch. commit af748e6c031c733e2737a7ea4affbc082e92dca2 Author: Jianhong Jiang <jianhong@google.com> Date: Fri Oct 23 14:41:57 2009 -0700 RIO-7762: OMX_UseBuffer support buffers allocated in MIO. The change depends on https://android-git.corp.google.com/g/30984
2009-11-02DO NOT MERGE TO MR2Sahil Sachdeva
[RIO-7781] OsclLeave 113 with AMRNB audio-only recording bug 2194094 Cherry-picked from mr2 branch
2009-10-29The InputRotationType was not properly initialized before using it in a call ↵Andreas Huber
to OMX_SetParameter.
2009-10-24There is an issue with dummy allocator which causes camcorder failure.Jianhong Jiang
Also increased the size of iPrivateDataFsiFragmentAlloc to prevent from running out of space. This is a follow up for: commit 903c9e2563e86af0faf3af9982128736915a5982 Author: Jianhong Jiang <jianhong@google.com> Date: Fri Oct 23 14:41:57 2009 -0700 RIO-7762: OMX_UseBuffer support buffers allocated in MIO. The change depends on https://android-git.corp.google.com/g/30984
2009-10-24RIO-7762: OMX_UseBuffer support buffers allocated in MIO.Jianhong Jiang
The change depends on https://android-git.corp.google.com/g/30984
2009-10-23Fix valgrind error in media scanner (http://b/issue?id=2210270) causedMarco Nelissen
by copying a string without its 0 terminator.
2009-10-23Fix two valgrind errors (bug 2208968)Marco Nelissen
2009-10-12Add log statement for OMX component reporting errors.android-sdk-tools_r4android-sdk-tools_r3android-sdk-2.0_r1android-2.0_r1Jianhong Jiang
bug 2171732 This is just to help TI to track down the OMX component issues. Ideally, we still need to have a fix for this issue, since we must take out battery if this occurs.
2009-10-07Merge change I7bff0de8 into eclairAndroid (Google) Code Review
* changes: RIO-7671:(Part A MIO fixes) MIO should unregister the observer when the clock is reset. http://b/issue?id=2171037
2009-10-06RIO-7671:(Part A MIO fixes) MIO should unregister the observer when the ↵Jianhong Jiang
clock is reset. http://b/issue?id=2171037
2009-10-05Reduce log spew during media streaming. Bug 2168469.Dave Sparks
2009-10-05RIO-7665: Workaround for encoder problem where slice is marked as sync frame ↵Jianhong Jiang
instead of IDR. http://b/issue?id=2167163 J.D. & D.S.
2009-10-05Revert "RIO-7131: add support for app to choose OMX components."Jianhong Jiang
This reverts commit a371da5e01f7bcf1edb4c1c43faaf3fdcc51f682. http://b/issue?id=2164330 J.D. & D.S.
2009-10-01RIO-7131: add support for app to choose OMX components.Jianhong Jiang
2009-09-30Better error reporting in case of recording failure.Jianhong Jiang
2009-09-30Merge change Ifd8e3c0c into eclairAndroid (Google) Code Review
* changes: RIO-7174: Encode AVC Mpeg4Bitrate atom. http://b/issue?id=2039880 The change authors the Mpeg4Bitrate atom. But will -- use avg bitrate as max bitrate; -- DecodeBufferDB is set to 0; There is followup work to address these issues. Since the Gallery app only looks for avg bitrate, this change alone is showing the bitrate info correctly.
2009-09-30Fix the AudioRecord Latency in Audio Input MIO.Sahil Sachdeva
Calculate the correct latency based on Opencore BufferSize and KernelBufferSize.
2009-09-30RIO-7174: Encode AVC Mpeg4Bitrate atom.Jianhong Jiang
http://b/issue?id=2039880 The change authors the Mpeg4Bitrate atom. But will -- use avg bitrate as max bitrate; -- DecodeBufferDB is set to 0; There is followup work to address these issues. Since the Gallery app only looks for avg bitrate, this change alone is showing the bitrate info correctly.
2009-09-30Merge change Ic4bc0980 into eclairAndroid (Google) Code Review
* changes: Don't build OpenCore software video encoders by default.
2009-09-30Merge change I379ce3ea into eclairAndroid (Google) Code Review
* changes: RIO-6831: Query the stride from the OMX components instead of assuming a 16-byte alignment.
2009-09-29Make default media sample sync window [-10, 50]Jianhong Jiang
Change https://android-git.corp.google.com/g/#change,27815 modified a config which is NOT used now. This one is the real deal.
2009-09-29Merge change Icbf599dd into eclairAndroid (Google) Code Review
* changes: PVMFMediaClock takes care of device latency. Remove the device latency processing in AMIO.
2009-09-29RIO-6831: Query the stride from the OMX components instead of assuming a ↵Jianhong Jiang
16-byte alignment.
2009-09-29Make default media sample sync window [-10, 50]Jianhong Jiang
2009-09-29PVMFMediaClock takes care of device latency. Remove the device latency ↵Jianhong Jiang
processing in AMIO.
2009-09-27Don't build OpenCore software video encoders by default.James Dong
2009-09-22RIO-7574: By default, use current system time as creation & modification date.Jianhong Jiang
2009-09-18Merge change 25533 into eclairAndroid (Google) Code Review
* changes: Remove an extra call of ResetData from ThreadLogoff in AndroidSurfaceOutput. This extra call results in a crash if Reset is called during Engine's track selection failure.