summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Stagefright: fix a compiler warningJamie Gennis2011-08-111-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ia6b2027dfe80960450156d918bdd7fe1567cafea
* | | | Raise the maximum input buffer size for the vpx video decoder to 256KBAndreas Huber2011-08-191-1/+1
| |_|/ |/| | | | | | | | | | | Change-Id: I0411763829bf186d1b3b679fa72c9051524506b4 related-to-bug: 5169641
* | | Merge "When switching surface, do not set mSeekNotificationSent as true, ↵Gloria Wang2011-08-181-4/+5
|\ \ \ | | | | | | | | | | | | because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272."
| * | | When switching surface, do not set mSeekNotificationSent as true,Gloria Wang2011-08-181-4/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272. Change-Id: I290aff29b6d9ec8db67c66abbe1f352a43f57073
* | | Merge "Some decoders require more gentle treatment"Andreas Huber2011-08-182-14/+45
|\ \ \
| * | | Some decoders require more gentle treatmentJames Dong2011-08-182-14/+45
| |/ / | | | | | | | | | | | | | | | | | | | | | We sacrifice A/V sync to some extent to enable the decoder to recover from temporary bottlenecks. Change-Id: I16195091ad752bfad4c70869cdd7e9f28ca3a118 related-to-bug: 5180142
* | | Disable vorbis-auto-looping if the audio sink used is not realtime, i.e. ↵Andreas Huber2011-08-181-1/+6
|/ / | | | | | | | | | | | | recording. Change-Id: I982e740e8488ff8717ca5f081db9def55aabc9ec related-to-bug: 5179033
* | Merge "Make sure we have all the sample table metadata before declaring a ↵Andreas Huber2011-08-173-0/+14
|\ \ | | | | | | | | | track valid."
| * | Make sure we have all the sample table metadata before declaring a track valid.Andreas Huber2011-08-173-0/+14
| | | | | | | | | | | | | | | Change-Id: I2dfbc3e6017b5cd264e4cccfa47d19047b2e7f31 related-to-bug: 5178976
* | | Merge "Don't time out prematurely for video encoding waiting for output buffers"James Dong2011-08-171-1/+8
|\ \ \ | |/ / |/| |
| * | Don't time out prematurely for video encoding waiting for output buffersJames Dong2011-08-161-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | o For timelapse video encoding, the timelapse between two neighoring input frames could be very long Change-Id: I2b6f9c392f2237deae71c894efc7fc3692431796 related-to-bug: 5160548
* | | Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB ↵Kristian Monsen2011-08-171-4/+2
|\ \ \ | | | | | | | | | | | | in ICS vs HCMR2"
| * | | Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS ↵Kristian Monsen2011-08-161-4/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | vs HCMR2 Reenabling chromium as a shread lib Change-Id: I5f7abe61624d812c5781c4a453f587e744bc082d
* | | Merge "Error handling in ACodec and Nuplayer."Andreas Huber2011-08-164-64/+63
|\ \ \
| * | | Error handling in ACodec and Nuplayer.Andreas Huber2011-08-164-64/+63
| |/ / | | | | | | | | | | | | | | | | | | Codec errors (and codec not found errors) now trigger a controlled shutdown of playback and signal errors to the MediaPlayer client. Change-Id: I2ee23ff2a1422d05a1a21e50ecb87d7c7ab958cc
* | | Properly initialize some instance variables.Andreas Huber2011-08-161-0/+2
|/ / | | | | | | Change-Id: I190b889be343dca14fe8109528be14cc3cdd4c34
* | Add a null check to handle failure of android::createPlayerJason Simmons2011-08-121-1/+3
| | | | | | | | Change-Id: Id56bd0c16104e46d8dc71f13d8a44aefe251fad4
* | Fix the software AAC decoder's AAC+ detection to ignore malformed framesAndreas Huber2011-08-121-2/+4
| | | | | | | | | | | | | | at the beginning of the stream. Change-Id: Ib990848c696896e7d43c80dec8119dec35704b74 related-to-bug: 5122512
* | Merge "Audio effects: track CPU and memory use separately"Eric Laurent2011-08-112-1/+27
|\ \
| * | Audio effects: track CPU and memory use separatelyEric Laurent2011-08-112-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, CPU and memory usage for an audio effect were registered and checked against the limit by audio policy manager upon effect instantiation. Even if an effect was not enabled it would prevent another effect to be created if the CPU load budget was exceeded, which was too restrictive. This change adds a method to register/unregister CPU load only when an effect is enabled or disabled. It also adds a mechanism to place all effects on the global output mix in suspend state (disabled) when an effect is enabled on a specific session. This will allow applications using session effects to have the priority over others using global effects. Also fixes some issues with suspend/restore mechanism: - avoid taking actions when an effect is disconnected and was not enabled. - do not remove a session from the suspended sessions list when corresponding effect chain is destroyed. Change-Id: I5225278aba1ae13d0d0997bfe26a0c9fb46b17d3
* | | Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB ↵Kristian Monsen2011-08-111-1/+2
|\ \ \ | |/ / |/| | | | | in ICS vs HCMR2"
| * | Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS ↵Kristian Monsen2011-08-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | vs HCMR2 Trying to build with static libchromium on the build server. Change-Id: Ib88ce1803f3d36ef97a627c1454ed83239a3afee
* | | Merge "To reduce the bytes need to be buffered before start playing the ↵Gloria Wang2011-08-101-1/+1
|\ \ \ | | | | | | | | | | | | streaming video. We might revert this change if too many spinnings were introduced. For bug 4448008."
| * | | To reduce the bytes need to be buffered before start playing the streaming ↵Gloria Wang2011-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | video. We might revert this change if too many spinnings were introduced. For bug 4448008. Change-Id: I3248bba9237d71c2bd99feebc9c73f7bd45260de
* | | | Merge "When using "secure input buffer mode" we instantiate a different OMX ↵Andreas Huber2011-08-101-3/+11
|\ \ \ \ | | | | | | | | | | | | | | | component"
| * | | | When using "secure input buffer mode" we instantiate a different OMX componentAndreas Huber2011-08-101-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We form the new component name by appending the suffix ".secure". Change-Id: I509848b50ae92edb179a941493ca611f923213ec
* | | | | Merge "Revert "Notify the OMX component that it's going to be used in ↵Andreas Huber2011-08-101-23/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | "secure" mode.""
| * | | | Revert "Notify the OMX component that it's going to be used in "secure" mode."Andreas Huber2011-08-101-23/+0
| | |/ / | |/| | | | | | | | | | This reverts commit 7616178271e95f009452a21ea45e7225997dc27a.
* | | | Merge "Fix initial 0 duration video sample in the recorded videos"James Dong2011-08-101-8/+12
|\ \ \ \
| * | | | Fix initial 0 duration video sample in the recorded videosJames Dong2011-08-091-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Patch suggested by pmehendale@nvidia.com Change-Id: Ibf516ba83b721b0d0ab55bb7637fe9b7b2958214 related-to-bug: 5117434
* | | | | Merge "To support for switching from a non-null surface/ surface texture to ↵Gloria Wang2011-08-101-1/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | a null one, and vice versa. Fix for bug 5137445."
| * | | | To support for switching from a non-null surface/ surface texture toGloria Wang2011-08-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a null one, and vice versa. Fix for bug 5137445. Change-Id: Ifca2997f8ad27a843abbdaa7e89a56329bc40fde
* | | | | Merge "Network traffic accounting for chromium stack support in mediaserver."Ashish Sharma2011-08-098-12/+106
|\ \ \ \ \
| * | | | | Network traffic accounting for chromium stack support in mediaserver.Ashish Sharma2011-08-058-12/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Atribute network activity to uid calling the mediaplayer - Enables logging of chromium network stack in logcat Change-Id: I2d28c8392248a056b3cee305dd4d4475ebba4337
* | | | | | Merge changes Ie06e73e5,I7ac6b5b0Mathias Agopian2011-08-091-1/+5
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: free all buffers when ANativeWindow::disconnect is called return correct value from query after connecting a surface
| * | | | | return correct value from query after connecting a surfaceMathias Agopian2011-08-081-1/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the first time a surface was connected, the values returned by query NATIVE_WINDOW_DEFAULT_{WIDTH|HEIGHT} and NATIVE_WINDOW_TRANSFORM_HINT were wrong until a call to queueBuffer was performed. Bug: 5137366, 5121607 Change-Id: I7ac6b5b0daa876638f6bed7c20f286a6e6d984f6
* | | | | Merge "Do not release recording frames if camera is gone"James Dong2011-08-091-1/+1
|\ \ \ \ \
| * | | | | Do not release recording frames if camera is goneJames Dong2011-08-051-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Change-Id: Ia6038c1a3ca17207e43a955ec47c42cdff1f5a76 related-to-bug: 5129465
* | | | | Keep effects sessions active when the caller dies.Marco Nelissen2011-08-095-2/+57
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Don't remove effects until the session they are in goes away or all AudioEffects have been explicitly released. This allows the control panel process to die without stopping the effects. Change-Id: I4496e5df080230ca1af149dec95c1309ab8ea888
* | | | Notify the OMX component that it's going to be used in "secure" mode.Andreas Huber2011-08-081-0/+23
|/ / / | | | | | | | | | | | | Change-Id: Id87c4b295eb38f7d24045918e73df298d7b842f9 related-to-bug: 5137212
* | | Merge "Close the DRM session in the destructor of ChromiumHTTPDataSource. ↵Gloria Wang2011-08-041-4/+2
|\ \ \ | |/ / | | | | | | Fix for bug 5015079."
| * | Close the DRM session in the destructor of ChromiumHTTPDataSource.Gloria Wang2011-08-041-4/+2
| |/ | | | | | | | | | | Fix for bug 5015079. Change-Id: I45fcf6ff8b50e62f2812930eaf68c00206cb7e52
* | Eliminate superfluous memcpys by wrapping an ABuffer in a MediaBufferAndreas Huber2011-08-043-7/+18
|/ | | | | Change-Id: I1313f117cd7cdfaf7d6ec25413a0b4b8ea495037 related-to-bug: 5122973
* Restart HLS streaming from the bottom of the playlist if we miss the boat on theAndreas Huber2011-08-042-18/+27
| | | | | | | | | | next segment. This can happen if for whatever reason we playback video slower than it is served. Also removed some unnecessary verbosity from ChromiumHTTPDataSource. Change-Id: I6e870879310c9efe4d50d7dc0883c08405442d79 related-to-bug: 5120425
* Merge "Check the syncword for each frame. Fix for bug 5117233."Gloria Wang2011-08-031-1/+1
|\
| * Check the syncword for each frame.Gloria Wang2011-08-031-1/+1
| | | | | | | | | | | | Fix for bug 5117233. Change-Id: I714c9b671832c9606cabdfe6bb21697c08de2eff
* | Removing hack for framerate setting in Stagefright for encoders.Sarthak Aggarwal2011-08-021-5/+0
| | | | | | | | | | | | | | | | | | | | Ducati binary starting to support frame-rate on i/p port rather than o/p port, stagefright can start giving frame-rate frame rate on i/p port and 0 on o/p port. Change-Id: I70830747e43e6bfcac73f0fb01de0ab0235a7b28 Signed-Off-By: Sarthak Aggarwal<sarthak@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Merge "Start thread pool for binder calls"James Dong2011-08-021-0/+1
|\ \
| * | Start thread pool for binder callsJames Dong2011-08-011-0/+1
| | | | | | | | | | | | | | | Change-Id: Ie67f54ba06d7fdb42bcb041c1e0a50d8477ae423 related-to-bug: 5095635
* | | Merge "Re-calculate mCurrentTimeUs for MP3 CBR seek because we might have ↵Gloria Wang2011-08-021-0/+10
|\ \ \ | | | | | | | | | | | | called Resync() which changes mCurrentPos. For bug 4869063."