summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/tests
Commit message (Collapse)AuthorAgeFilesLines
* More precise 32-bit only for libstagefright/ subdirectoriesGlenn Kasten2014-03-171-0/+2
| | | | Change-Id: Ie4e8f9ccd834b902287d3452cc9fa739809ddb68
* Make frameworks/av 64-bit compatibleKévin PETIT2014-02-111-1/+1
| | | | | | | | | | | | Contains the necessary changes to make frameworks/av build and work on a 64-bit machine. Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
* fix build. optional tests brokeMathias Agopian2013-08-141-0/+2
| | | | Change-Id: Ifb38fb2a7bd9c3d6305726f8e6d661be05cdcf7e
* Add liblogYing Wang2013-04-091-0/+1
| | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-9/+9
| | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
* Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-6/+6
| | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
* Use new surface flinger API.Jeff Brown2012-08-241-1/+1
| | | | Change-Id: I594c6e15db5f617d2feaac1a65b5316daa3812d0
* Update ANativeWindow client code for syncJamie Gennis2012-06-212-10/+11
| | | | | | | This change updates all the uses of ANativeWindow to use the new ANW functions that accept and return Sync HAL fence file descriptors. Change-Id: Id7db42d8d6380f8b440d88476ce9211c6225fb16
* Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong2012-06-132-0/+190
| | | | | Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
* Fixed leaks in SurfaceMediaSource_testDaniel Lam2012-04-161-0/+9
| | | | | | | mEglSurface was being reused which resulted in EGLSurfaces being lost. Change-Id: Ica07cd24b0e4f3d4b2156f55b7de8e83d5466136
* Refactored SurfaceMediaSourceDaniel Lam2012-04-091-10/+13
| | | | | | | SurfaceMediaSource takes advantage of BufferQueue to avoid duplicated code. Change-Id: I5e60b8eca21e6c3cf728d363cd8f3786125182d1
* AV Android make files changesJames Dong2012-03-281-3/+2
| | | | | | | o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc o remove some runtime dependencies to libandroid, libandroid_runtime, etc Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
* SurfaceTexture: Fully refactored from BufferQueueDaniel Lam2012-03-131-4/+5
| | | | | | Cleaning up camera and media interactions as part of SurfaceTexture refactoring Change-Id: Iea2b10ff80b5f01f83ed0902c725df1d3b4c541a
* Switched to use the header files in /frameworks/nativeJames Dong2012-03-121-1/+1
| | | | | | | | and deleted the duplicate header files in /frameworks/base o related-to-bug: 6044887 Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
* 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-082-4/+4
| | | | | | | 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-262-42/+42
| | | | | | | 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-242-94/+682
| | | | | | | | | | | | | | | 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-212-35/+33
| | | | | | Related to bug id: 4529323 Change-Id: Id820d45a536bd2c65e0a59def564eb5b3ea4a71c
* Adding SurfaceEncoder for encoding FilterFramesPannag Sanketi2011-07-214-0/+553
Adding SurfaceEncoder which can be used to encode custom frame data. In a sense, it is reverse of what SurfaceTexture does. SurfaceEncoder takes in frames from a native window and passes them to an encoder, thus acting like a MediaSource. It uses GRAlloc buffers underneath for passing data. The client side sets the geometry, format in the beginning, which cannot be changed while the recording is going on. Currently, there is no common pixel format that both GRAlloc and HAL understand. Also, the encoder cannot encode using the data from the GRAlloc buffers. The SurfaceEncoder_test examines mainly the buffer passage since true encoding cannot be done at this point. SimpleDummyRecorder 'reads' the frames in the same thread as the start(), whereas DummyRecorder 'reads' in a separate thread much like the MPEG4Writer. The test with DummyRecorder is much closer to the real encoding implementation. Related to bug id: 4529323 Change-Id: I58ec19a150f8fe4d6195196dc44f55002b46c7c8