Age | Commit message (Collapse) | Author |
|
We add an extra member variable to the video mio base class, and ask the
derived class to overwrite this value if necessary.
|
|
Hold 2 decoded video frames instead of 1 so that SF can have more room to complete composition.
bug 2309411
|
|
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.
|
|
|
|
OC 2.0 only allows a single redirect to prevent redirect loops.
This patch allows for up to 8 redirects before it fails.
|
|
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.
|
|
-: a tiny bit of performance hit
+: let us track the SD card write halt issue
low-risk change
|
|
[NJ-1432] Content truncated while seeking YouTube clip
Bug 1968334
Cherry-picked from MR2
|
|
Add method to AndroidAudioInput to change audio source.
Force AndroidAudioInput audio source to AUDIO_SOURCE_CAMCORDER if a video input is present.
|
|
|
|
* changes:
[RIO-7925] Mp4 composer node File writer hang issue while running stress test.
|
|
* changes:
2226576 [RIO-7913] crash in the software mpeg4 decoder
|
|
|
|
camera mio
|
|
RIO-7939: Change H.263 encoding default GOB header interval to 0
Cherry-picked from MR2
|
|
(1280x720).
Fix failures to generate thumbnails for HD contents.
|
|
* changes:
DO NOT MERGE TO MR2 2182157 Fix for [RIO-7730] valgrind errors in opencore (cherry picked from commit 806a89c8e5e12bc3c08beee22be7450140c46e9a)
|
|
* 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)
|
|
2182157 Fix for [RIO-7730] valgrind errors in opencore
(cherry picked from commit 806a89c8e5e12bc3c08beee22be7450140c46e9a)
|
|
2182414 Fix for [RIO-7731] valgrind error in opencore.
(cherry picked from commit 89369ebd893c0fd29f72f44b9fed8842cab593bf)
|
|
RIO-7725: valgrind error in opencore when playing youtube
http://b/issue?id=2179296
(cherry picked from commit 85f7a2a081970605dcdb27c6e4c769cbbb0221df)
|
|
|
|
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
|
|
[RIO-7781] OsclLeave 113 with AMRNB audio-only recording
bug 2194094
Cherry-picked from mr2 branch
|
|
to OMX_SetParameter.
|
|
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
|
|
The change depends on
https://android-git.corp.google.com/g/30984
|
|
by copying a string without its 0 terminator.
|
|
|
|
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.
|
|
* changes:
RIO-7671:(Part A MIO fixes) MIO should unregister the observer when the clock is reset. http://b/issue?id=2171037
|
|
clock is reset.
http://b/issue?id=2171037
|
|
|
|
instead of IDR.
http://b/issue?id=2167163
J.D. & D.S.
|
|
This reverts commit a371da5e01f7bcf1edb4c1c43faaf3fdcc51f682.
http://b/issue?id=2164330
J.D. & D.S.
|
|
|
|
|
|
* 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.
|
|
Calculate the correct latency based on Opencore BufferSize and KernelBufferSize.
|
|
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.
|
|
* changes:
Don't build OpenCore software video encoders by default.
|
|
* changes:
RIO-6831: Query the stride from the OMX components instead of assuming a 16-byte alignment.
|
|
Change
https://android-git.corp.google.com/g/#change,27815
modified a config which is NOT used now. This one is the real deal.
|
|
* changes:
PVMFMediaClock takes care of device latency. Remove the device latency processing in AMIO.
|
|
16-byte alignment.
|
|
|
|
processing in AMIO.
|
|
|
|
|
|
* 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.
|