0868deae404604b577892413c128d55a2bafc56e |
|
02-Oct-2012 |
Andreas Huber <andih@google.com> |
Optionally have SurfaceMediaSource return absolute timestamps based on systemTime(). Change-Id: I2eff15dd149a4b737d6e7473d1907cf0c80b6b38 related-to-bug: 7266706
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
0e1d71641624c641a0a1abe4098943f5a42c6f94 |
|
01-Oct-2012 |
Andreas Huber <andih@google.com> |
Remove double negatives from SurfaceMediaSource ensure mStarted actually reflects the state of SurfaceMediaSource Change-Id: I92557896993ad8da23fe6940e997402ad63b8cbc related-to-bug: 7258622
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
96fc6cc65ca93009a759a3a874b82a35771b9714 |
|
28-Sep-2012 |
Andreas Huber <andih@google.com> |
Various improvements to a cleaner shutdown of the wifi display connection. Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239 related-to-bug: 7247918
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
ef7d3793fa9bbfb25253626ede9a020ee9280a17 |
|
27-Sep-2012 |
Andreas Huber <andih@google.com> |
Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit. Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f related-to-bug: 7247584
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
00f41327264fa2e59cc05abaa5c554b2a32938e1 |
|
12-Sep-2012 |
Andreas Huber <andih@google.com> |
Throttle SurfaceMediaSource. Change-Id: I214ce60f8d94df9c07041577e34ed1ad5e199fdb
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
66e72bc85fb762876baff60ef29de729da93cf26 |
|
05-Sep-2012 |
Andreas Huber <andih@google.com> |
Configure the SurfaceMediaSource to emit the same number of buffers as the video encoder allocates for its input. Do this before connecting the bufferqueue through surface flinger. Change-Id: Ibc81db1359afe2d88fdb75b23fadae65c8a6f7cc
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
3d26e897fc91cf6ad3576d25b4b240e9a2189970 |
|
23-Aug-2012 |
James Dong <jdong@google.com> |
Don't hard code the number of buffers for SurfaceMediaSource Change-Id: I9ce17b3dc82a5d3e4a66569c76ad9745ceedacd6
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
a0ead0a2d2ce1d114ad3a17d755dddce831abb40 |
|
24-Aug-2012 |
Jamie Gennis <jgennis@google.com> |
SurfaceMediaSource: a few fixes / cleanups - Remove the setting of mStopped to true in onBuffersReleased - Cleaned up a few function call logs - Removed the 'reset' method. Change-Id: I56bab1d5cb2f3e6d59d54698c2e045d796d1849f
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
f15f6e2e7fc51d48ba95890e1f562908e6e957c0 |
|
13-Jun-2012 |
Jesse Hall <jessehall@google.com> |
Provide new argument to BufferQueue::releaseBuffer Change-Id: Ib86f1af80a0d2833535a0ad170dce5ac061eec75
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
2cd25a9056cc150b9fd3ac9b0bca37a1334ffd47 |
|
22-Jun-2012 |
Jamie Gennis <jgennis@google.com> |
SurfaceMediaSource: keep refs to current buffers This change fixes a bug in SurfaceMediaSource where it would not keep a reference to all of the Gralloc buffers that the video encoder is currently using. Bug: 6655597 Change-Id: Ifd99976cc7ae57ed724bbf2bbcff357a39497391
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
8add6cf4976de9b7bca7b73b1473a1e5f7201087 |
|
14-Apr-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Set gralloc consumer usage bits in SurfaceMediaSource. BufferQueue is no longer setting these for its endpoints; set the bits to GRALLOC_USAGE_HW_VIDEO_ENCODER | GRALLOC_USAGE_HW_TEXTURE. In the longer term, the set flags should be just GRALLOC_USAGE_HW_VIDEO_ENCODER, but that requires other changes. Change-Id: I4170658de49bf88d829d34605a15684e72a90706
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
bdddc659a941afdb7f4958f582c6901c07246097 |
|
31-Mar-2012 |
Daniel Lam <dalam@google.com> |
Refactored SurfaceMediaSource SurfaceMediaSource takes advantage of BufferQueue to avoid duplicated code. Change-Id: I5e60b8eca21e6c3cf728d363cd8f3786125182d1
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
df7e6ea0c755fb95a77d21010105e3a2eac69ff8 |
|
30-Mar-2012 |
Mathias Agopian <mathias@google.com> |
reduce IPCs in BufferQueue Change-Id: I1f8c32a771a411476d225adc62d1f07c24f39a3e
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
abf0610a8cea021548f2909e1d47d656206f641c |
|
23-Feb-2012 |
Daniel Lam <dalam@google.com> |
SurfaceTexture: Fully refactored from BufferQueue Cleaning up camera and media interactions as part of SurfaceTexture refactoring Change-Id: Iea2b10ff80b5f01f83ed0902c725df1d3b4c541a
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
6c6b4d0d2b98a7ceee8b697daaf611f8df3254fb |
|
12-Mar-2012 |
James Dong <jdong@google.com> |
Switched to use the header files in /frameworks/native and deleted the duplicate header files in /frameworks/base o related-to-bug: 6044887 Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
df712ea86e6350f7005a02ab0e1c60c28a343ed0 |
|
26-Feb-2012 |
Mathias Agopian <mathias@google.com> |
fix libgui header location Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
f1d5aa162c02a16b7195a43a9bcea4d592600ac4 |
|
07-Feb-2012 |
James Dong <jdong@google.com> |
Move away from MediaDebug and use ADebug instead Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
60c2b4ece6528d6d3f4e9e2c7e45772b65c4b87d |
|
04-Feb-2012 |
James Dong <jdong@google.com> |
Don't call virtual function in destructor of SurfaceMediaSource Change-Id: I3cbc2b1222335b61c814b5cdcfaefa495148b0ec
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
255adceb85bc23de61fb138ddb474852514b3b33 |
|
16-Dec-2011 |
Dave Burke <daveburke@google.com> |
am 0cc1e42d: am ac279de9: Merge "SurfaceMediaSource: use the HW_TEXTURE usage bit" into ics-mr1 * commit '0cc1e42d74e09c259a6da0abc9009d1abf7537b1': SurfaceMediaSource: use the HW_TEXTURE usage bit
|
69aac3e6cd68e8c305a41b2677123db7662efd4b |
|
16-Dec-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceMediaSource: use the HW_TEXTURE usage bit This change makes SurfaceMediaSource request Gralloc buffers with the HW_TEXTURE usage bit rather than the VIDEO_ENCODER bit. It is a temporary workaround for what is likely a Gralloc bug. Bug: 5771063 Change-Id: I9cce615e80fc14a1644fae27ba06970c262dd179
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
cd9e929c8490d1410e6d99c9b54585cb2fea569c |
|
30-Nov-2011 |
Jamie Gennis <jgennis@google.com> |
am c040e1e7: am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1 * commit 'c040e1e77923d81050f2d3dbdac5d07e01be72f6': SurfaceMediaSource: use the vid enc usage bit
|
404a123bed7f180724ead17f10e037b3eb347701 |
|
18-Nov-2011 |
Mathias Agopian <mathias@google.com> |
split ComposerService out of SurfaceComposerClient.h Change-Id: I1eb691f7ca263d5895d871ab675bb5826e0323c6
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
4c57986f963c81fc7c2455deb113c9b32b135468 |
|
22-Nov-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceMediaSource: use the vid enc usage bit This change makes SurfaceMediaSource add the VIDEO_ENC usage bit when allocating its GraphicBuffers rather than the HW_TEXTURE bit. Change-Id: Ie20e225c894fdbc31cad6bb82b3b64c7e98074eb
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
3856b090cd04ba5dd4a59a12430ed724d5995909 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
3e9bf4061475ae0d01c57e32c13e63808aa3e31f |
|
23-Sep-2011 |
Pannag Sanketi <psanketi@google.com> |
Returning EOS in SurfaceMediaSource:read In SurfaceMediaSource::read, if disconnect has already been called, then ERROR_END_OF_STREAM should be returned rather that NO_INIT. Else, it sometimes leads to a crash in mediarecorder stop() call. Related to FactoryROM bug: 5332812 Change-Id: I22132538ab2501d084e0283876817b1ec3f64a1d
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
7dc9b309f1ce01308bcfde9948ebfece32dc2870 |
|
08-Sep-2011 |
Pannag Sanketi <psanketi@google.com> |
Always set geometry in queuebuffer The queuebuffer could return early due to timestamp issues. Need to set the geometry even in that case. Change-Id: I04d7cd1df3996d640c269285398c0042923ba920
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
df4a59c61103e7e0e9332e167a0be67da5d82ff3 |
|
30-Aug-2011 |
Eino-Ville Talvala <etalvala@google.com> |
Fix SurfaceMediaSource timestamp handling. Was not basing timestamps on startTimeUs. Now synchronizes properly with audio. Bug: 4510826 Change-Id: I613db0aa91e51fc75d120e65540e742d8ab2ae43
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
c7de3f6bbaa6c1b8b334574fad34d583e3a67f5d |
|
28-Aug-2011 |
Pannag Sanketi <psanketi@google.com> |
Merge "Default W, H allowed in SurfaceMediaSource dequeue"
|
f76e1672c674620cb056f338a25ee4826d55dfcb |
|
25-Aug-2011 |
Pannag Sanketi <psanketi@google.com> |
Default W, H allowed in SurfaceMediaSource dequeue The client does not have to send (w, h) = (0,0) in dequeuebuffer. It can set the same w, h as the default width and height. Change-Id: I8202f90261ccaebbd35ea28c153a7472f01912f1
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
0c5c7d2b119d2350c186ae9902919bcf28c3e277 |
|
19-Aug-2011 |
Pannag Sanketi <psanketi@google.com> |
Testing the GL/ CPU encoding w/ Gralloc buffers This is the test for Gralloc buffers based encoding. contains a combination of two main changes: 1. GL based encoding tests added to SurfaceMediaSource_test 2. SurfaceMediaSource ::read() colorformat The SurfaceMediaSource::getformat() sets it to OMX_COLOR_FormatAndroidOpaque. The omx encoder needs to interpret that colorformat and reads the format from the Gralloc buffers directly Change-Id: Iee2fe8901384109a4952e1d6c528c59eb01eb5b1
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
820a509687599edb8ff1a7577de8b9295f416263 |
|
09-Aug-2011 |
Mathias Agopian <mathias@google.com> |
return correct value from query after connecting a surface 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
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
b283ac1ac6758aba907bfe56713d279e8aafd38b |
|
26-Jul-2011 |
Pannag Sanketi <psanketi@google.com> |
Merge "Adding Metadata mode to SurfaceMediaSource"
|
a361483bb5dbd3bbf132c5b99b2df7d197c3fc50 |
|
14-Jul-2011 |
Pannag Sanketi <psanketi@google.com> |
Adding Metadata mode to SurfaceMediaSource SurfaceMediaSource operates in metadata mode only, i.e. just the metadata is stored in videobuffers. SurfaceMediaSource passes the Gralloc buffer handle along with a 4 byte 'type' (indicating that the metadata is of type GrallocSource) to the encoder as opposed to the GrallocBuffer itself. Related to bug id: 4529323 Change-Id: I83aebc0dd10f317658cdf70be5802dfc35a1e72d
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
77882a8deb5167235ae591e49c9dcff9abb373c1 |
|
23-Jul-2011 |
Pannag Sanketi <psanketi@google.com> |
Merge "Connect MediaRecorder Native to SurfaceMediaSource"
|
29a142c7237821b6dc7bd1e8b56bb1efdc56767b |
|
19-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: add the abandon method. This change adds the 'abandon' method to the SurfaceTexture C++ class. This method may be used to put the SurfaceTexture in an abandoned state, causing all ISurfaceTexture methods to fail. Change-Id: Ibd261f7b73f44e2bec36a8508bf92113cfb7cf95
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
b33f3407bab0970a7f9241680723a1140b177c50 |
|
02-Jul-2011 |
Pannag Sanketi <psanketi@google.com> |
Connect MediaRecorder Native to SurfaceMediaSource Making a connection from MediaRecorder Native layer to the SurfaceMediaSource for the purpose of encoding GL Frames. This will be called from the java side inside the Mobile Filter Framework. The mediarecorder native layer (client), when set the videosource to option VIDEO_SOURCE_FRAMES, asks the StageFrightRecorder on the mediaserver side to create a SurfaceMediaSource object and pass it back as a sp<ISurfaceTexture> object. Using that, the client side will dequeue and queue buffers. Connecting the GL Frames to the obtained sp<ISurfaceTexture> is not part of this CL. Related to bug id: 4529323 Change-Id: I651bec718dd5b935779e7d7a050b841c2d0b0fcd
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
85eafc680a0bf5e0253cf611ac525769fc9bef3e |
|
22-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceMediaSource: remove getAllocator method This change removes the getAllocator method from SurfaceMediaSource because that method is no longer a part of the ISurfaceTexture interface. Change-Id: I0e2f0bc3bc1c8cd3c1b4b14246f07b9b4e3066c3
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|
1a2fafbaa36390a06cc9a066fcbe147c8c47ea77 |
|
01-Jul-2011 |
Pannag Sanketi <psanketi@google.com> |
Renaming SurfaceEncoder to SurfaceMediaSource Related to bug id: 4529323 Change-Id: Id820d45a536bd2c65e0a59def564eb5b3ea4a71c
/frameworks/av/media/libstagefright/SurfaceMediaSource.cpp
|