summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/tests/SurfaceMediaSource_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix libgui header locationMathias Agopian2012-02-271-4/+4
| | | | Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
* Move away from MediaDebug and use ADebug insteadJames Dong2012-02-101-5/+5
| | | | Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-36/+36
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Fixing bug in SurfaceMediaSource_testPannag Sanketi2011-09-021-5/+19
| | | | | | | | The test was making EGL calls once disconnected. Instead of calling "disconnect" directly on the Surface, and EGL calls should be made to that effect. Change-Id: I21468ac8cbc2cb3145a49269e32a884736cd452e
* Update SurfaceMediaSource_test to not use pbuffer configsPannag Sanketi2011-08-301-30/+16
| | | | | | | | SurfaceMediaSource_test now does not use pbuffer configs to create a surface. Always uses a window config. Also, cleaned up the test a bit. Change-Id: Idda40dcb8474249eccaa8d2dad20ee840d2dd484
* Testing the GL/ CPU encoding w/ Gralloc buffersPannag Sanketi2011-08-241-91/+678
| | | | | | | | | | | | | | | 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
* Start thread pool for binder callsJames Dong2011-08-011-0/+1
| | | | | Change-Id: Ie67f54ba06d7fdb42bcb041c1e0a50d8477ae423 related-to-bug: 5095635
* Adding Metadata mode to SurfaceMediaSourcePannag Sanketi2011-07-221-7/+6
| | | | | | | | | | | | 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
* Renaming SurfaceEncoder to SurfaceMediaSourcePannag Sanketi2011-07-211-0/+349
Related to bug id: 4529323 Change-Id: Id820d45a536bd2c65e0a59def564eb5b3ea4a71c