aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-02Merge "Fix copyright header for pvmediascanner.cpp" into froyoHEADandroid-sdk-tools_r6android-sdk-2.2_r2android-sdk-2.2_r1android-cts-2.2_r8android-cts-2.2_r7android-cts-2.2_r6android-cts-2.2_r5android-cts-2.2_r4android-cts-2.2_r3android-cts-2.2_r2android-cts-2.2_r1android-2.2_r1.3android-2.2_r1.2android-2.2_r1.1android-2.2_r1android-2.2.3_r2.1android-2.2.3_r2android-2.2.3_r1android-2.2.2_r1android-2.2.1_r2android-2.2.1_r1mastermainfroyo-releasefroyoJean-Baptiste Queru
2010-04-01Fix copyright header for pvmediascanner.cppJames Dong
bug - 2563005 Change-Id: I79a2169022ffcddee3261bc2929f0bea28e50c5a
2010-03-31Update AMR codec.Dave Sparks
Change-Id: I38ce72815c61cdc1039b0ec27d48a004b0ba669c
2010-03-25The file writer thread is not thread-safe.James Dong
We can run into problem where deallocate() called from two separate thread which breaks PV's thread model where every task is scheduled to run within a single omx thread. I am pretty sure that this is why the free chunk available notification is lost sometimes; however, this is certainly not the fix to all the problems that we have seen so far. bug - 2484098 Change-Id: I88bc494a11ffd739bc5771fa75b4643de503714f
2010-03-22Merge "Some free chunk available notification is missing, which messes up ↵James Dong
the number of outstanding output buffer count. As a result, the media server either hangs if omx encoder node thinks it is still waiting for some buffers to be returned from the omx component, or silently crashes if the omx encoder node frees the buffer prematurely"
2010-03-22Some free chunk available notification is missing, which messes up the ↵James Dong
number of outstanding output buffer count. As a result, the media server either hangs if omx encoder node thinks it is still waiting for some buffers to be returned from the omx component, or silently crashes if the omx encoder node frees the buffer prematurely bug - 2484098 Change-Id: Ic928a29ad1365c31b93f8a51942b4cf85445bd5d
2010-03-22Fix some memory corruption bugs in the file writer which may cause the media ↵James Dong
server to crash Currently, we hold the lock for the fragment queue for writing. This obviously resolves the memory corruption problem, but could lead to performance issue. TODO: MOT is reviewing PV's implementation of vector to see whether we use a second lock to prevent frames to be released while we using the first element of the queued frames to do file writing. bug - 2501987 Change-Id: If25ffd93702f93c5ee4120beca234156c9405895
2010-03-17Log waitforever event because encoder does not return all buffersJames Dong
bug - 2484098 Change-Id: Ica88bc4905adecc2ee506fd2f5b9e2c0ecf01fe5
2010-03-10Fix the mode constants in the metadatadriver to properly align with the ↵Andreas Huber
public constants, this mismatch prevented proper metadata extraction. Change-Id: I1c1d541be8aebc7d45ec39891c53ba43fa946ece related-to-bug: 2074137
2010-03-08Merge "Fix a software decoder freeze issue"James Dong
2010-03-08Add an empty CleanSpec.mkJean-Baptiste Queru
Change-Id: Id6eb47e74a1c3bfaf935a3c8c4da7c7b0a34b625
2010-03-05Fix omx encoder node so that it can handle the case where the SPS and PPS ↵James Dong
are returned by the encoder in a single output buffer. This patch also reverts most of the unnecessary changes introduced by QCOM bug - 2489213
2010-03-04Fix a software decoder freeze issueJames Dong
OpenCore's software decoders are all using 2 output buffers. Holding more than 1 buffer in the video MIO can lead to starvation and playback freeze. bug - 2478420
2010-03-04Log a potential deadlock issue in audio MIO for recordingJames Dong
When the number of bytes returned from audio driver is <= 0, the existing audio MIO terminates the audio recording thread in the MIO immediately. but when the application tries to terminate the audio recording via stop or reset, the stop or reset can potentially wait forever. This is not verified, thus I enable the logging first to get confirmation should this happens. bug - 2484098
2010-03-03Merge "QUalcomm H.264 encoder support."Gloria Wang
2010-03-03QUalcomm H.264 encoder support.Gloria Wang
2010-03-03Add some extra debugging for tracking down stop recording problemJames Dong
bug - 2484098
2010-02-25Issue 2071329: audio track is shorter than video track for video capture on ↵Eric Laurent
sholes Add API to retrieve number of frames dropped by audio input kernel driver. Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
2010-02-22Fix a media server crash due to a race condition in the Camera MIOJames Dong
The problem was that the pmemInfo can be changed from both the OpenCore omx proxy thread and the callback thread, and thus needs to be protected. bug - 2374541
2010-02-16use HAL YUV constants instead of libui'sMathias Agopian
2010-02-16Switch to use xml configuration for authoringJames Dong
2010-02-12Replace Tremor with Tremolo (an ARM optimised version of the Tremor library ↵Gloria Wang
for doing Ogg Vorbis decompression)
2010-02-11split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian
2010-02-11am 031db879: Merge "Fix intermittent Mac build errors." into eclairYing Wang
Merge commit '031db8796b5140efb30b21671f32d12137989834' * commit '031db8796b5140efb30b21671f32d12137989834': Fix intermittent Mac build errors.
2010-02-11Merge "Fix intermittent Mac build errors." into eclairandroid-cts-2.1_r5android-cts-2.1_r4android-cts-2.1_r3android-cts-2.1_r2Ying Wang
2010-02-10Merge "Change the FragmentWriter queue to be vector based"James Dong
2010-02-10Fix for URL parsing which may mistreat :pass as :portJames Dong
bug - 2317216
2010-02-10Change the FragmentWriter queue to be vector basedDan Vacura
Previously the fragment writer thread queue was a static queue and if the number of output buffers was greater than the queue size an overflow would occur and encoded frames would be dropped, resulting in corrupted video or missed audio. - We will do performance optimization later. - Improve the lock usage based on reviewer's comment
2010-02-08Use Tremor for sim-eng, and Tremolo for other targets.Gloria Wang
2010-02-05Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor ↵Gloria Wang
library for doing Ogg Vorbis decompression)" This reverts commit 8a10af55f9b10ea77dc78fb221ebeda2204fb34e.
2010-02-05Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor ↵Gloria Wang
library for doing Ogg Vorbis decompression)"
2010-02-05am 5b11918b: reconcile main tree with open-source eclairThe Android Open Source Project
Merge commit '5b11918b7a4571dffdb94d76d9d03104e9830813' * commit '5b11918b7a4571dffdb94d76d9d03104e9830813': android-2.1_r1 snapshot eclair snapshot
2010-02-05reconcile main tree with open-source eclairandroid-sdk-tools_r5The Android Open Source Project
2010-02-04Replace Tremor with Tremolo (an ARM optimised version of the Tremor library ↵Gloria Wang
for doing Ogg Vorbis decompression)
2010-02-04Fix intermittent Mac build errors.Ying Wang
See http://b/issue?id=2391369
2010-02-03URL is parsed incorrectly in OpenCoreJames Dong
OpenCore searches in an URL (after the protocal portion) for ":", and "/". Then, it uses the string after ":" to indicate the actual port number. However, when ":" comes after "/", ":" does not indicate the port number. bug - 2317216
2010-01-29reconcile android-2.1_r1 snapshotThe Android Open Source Project
2010-01-28Support for specifying additional http headers for media sources.Andreas Huber
related-to-bug: 2393577
2010-01-12android-2.1_r1 snapshotThe Android Open Source Project
2010-01-06Merge "Treat files with extension MPEG as MP4 during scanning"James Dong
2010-01-06am 0bb93756: The number of frames that need to be hold in the video MIO is ↵James Dong
platform-specific. Merge commit '0bb93756e59a04933d4ab896ce593f994bf5267d' * commit '0bb93756e59a04933d4ab896ce593f994bf5267d': The number of frames that need to be hold in the video MIO is platform-specific.
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.
2010-01-06Treat files with extension MPEG as MP4 during scanningJames Dong
2009-12-21Remove duplicate header-copying directiveJean-Baptiste Queru
The primary directive is in codecs_v2/audio/aac/dec/util/getactualaacconfig/Android.mk Fixes the following warning: build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/sholes/obj/include/libpv/getactualaacconfig.h' build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/sholes/obj/include/libpv/getactualaacconfig.h' Change-Id: I97c2f04fbe315deb725f15efebbbac040cd2e986
2009-12-16Fix a bug in finding a sw-based codec where a hw-based codec may be used ↵James Dong
although a sw-based codec was found
2009-12-14Use hw-based codec if a sw-based codec is not available but a hw-based codec ↵James Dong
is, when sw-based codec decoders are requested. Thus, the request for sw-based codec becomes "preferred" request now, instead of "forced" ones.
2009-12-10am afa07b52: Fix tearing for 720P video playback. Hold 2 decoded video ↵James Dong
frames instead of 1 so that SF can have more room to complete composition. bug 2309411 Merge commit 'afa07b52460a1c9f88294f14f5a2a259543c88b5' into eclair-mr2 * commit 'afa07b52460a1c9f88294f14f5a2a259543c88b5': Fix tearing for 720P video playback.
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-03Refactor the MediaScanner, the existing one becomes a subclass of ↵Andreas Huber
MediaScanner specific to the PV implementation. The encoding autodetection functionality now lives in libmedia as part of the MediaScannerClient implementation, as it is not PV specific.
2009-12-02am 67499507: Enable the support for selecting preferred video codecs ↵James Dong
(software based vs hardware based) Merge commit '674995079ccb3544671ae00d378d2d932ca9d062' into eclair-mr2 * commit '674995079ccb3544671ae00d378d2d932ca9d062': Enable the support for selecting preferred video codecs (software based vs hardware based)