MCPcopy Create free account

hub / github.com/PhilLab/Android-MediaCodec-Examples / types & classes

Types & classes21 in github.com/PhilLab/Android-MediaCodec-Examples

ClassBufferToSurfaceWrapper
Wraps testEncodeDecodeVideoFromBuffer(true)
EncodeDecodeTest.java:110
ClassCameraToMpegTest
Record video from the camera preview and encode it as an MP4 file. Demonstrates the use of MediaMuxer and MediaCodec with Camera input. Does not rec
CameraToMpegTest.java:68
ClassCameraToMpegWrapper
Wraps encodeCameraToMpeg(). This is necessary because SurfaceTexture will try to use the looper in the current thread if one exists, and the CTS test
CameraToMpegTest.java:117
ClassCodecInputSurface
Holds state associated with a Surface used for MediaCodec encoder input. <p> The constructor takes a Surface obtained from MediaCodec.createInputSurfa
CameraToMpegTest.java:500
ClassCodecInputSurface
Holds state associated with a Surface used for MediaCodec encoder input. <p> The constructor takes a Surface obtained from MediaCodec.createInputSurfa
EncodeAndMuxTest.java:341
ClassCodecOutputSurface
Holds state associated with a Surface used for MediaCodec decoder output. <p> The constructor for this class will prepare GL, create a SurfaceTexture,
ExtractMpegFramesTest.java:316
ClassCodecOutputSurface
Holds state associated with a Surface used for MediaCodec decoder output. <p> The constructor for this class will prepare GL, create a SurfaceTexture,
ExtractMpegFramesTest_egl14.java:314
ClassDecodeEditEncodeTest
This test has three steps: <ol> <li>Generate a video test stream. <li>Decode the video from the stream, rendering frames into a SurfaceTexture.
DecodeEditEncodeTest.java:45
ClassEncodeAndMuxTest
Generate an MP4 file using OpenGL ES drawing commands. Demonstrates the use of MediaMuxer and MediaCodec with Surface input. <p> This uses various fe
EncodeAndMuxTest.java:52
ClassEncodeDecodeTest
Generates a series of video frames, encodes them, decodes them, and tests for significant divergence from the original. <p> We copy the data from the
EncodeDecodeTest.java:41
ClassExtractMpegFramesTest
Extract frames from an MP4 using MediaExtractor, MediaCodec, and GLES. Put a .mp4 file in "/sdcard/source.mp4" and look for output files named "/sdca
ExtractMpegFramesTest.java:63
ClassExtractMpegFramesTest
Extract frames from an MP4 using MediaExtractor, MediaCodec, and GLES. Put a .mp4 file in "/sdcard/source.mp4" and look for output files named "/sdca
ExtractMpegFramesTest_egl14.java:61
ClassExtractMpegFramesWrapper
Wraps extractMpegFrames(). This is necessary because SurfaceTexture will try to use the looper in the current thread if one exists, and the CTS tests
ExtractMpegFramesTest.java:84
ClassExtractMpegFramesWrapper
Wraps extractMpegFrames(). This is necessary because SurfaceTexture will try to use the looper in the current thread if one exists, and the CTS tests
ExtractMpegFramesTest_egl14.java:82
ClassSTextureRender
Code for rendering a texture onto a surface using OpenGL ES 2.0.
CameraToMpegTest.java:742
ClassSTextureRender
Code for rendering a texture onto a surface using OpenGL ES 2.0.
ExtractMpegFramesTest.java:607
ClassSTextureRender
Code for rendering a texture onto a surface using OpenGL ES 2.0.
ExtractMpegFramesTest_egl14.java:598
ClassSurfaceTextureManager
Manages a SurfaceTexture. Creates SurfaceTexture and TextureRender objects, and provides functions that wait for frames and render them to the curren
CameraToMpegTest.java:633
ClassSurfaceToSurfaceWrapper
Wraps testEncodeDecodeVideoFromSurfaceToSurface()
EncodeDecodeTest.java:154
ClassVideoChunks
The elementary stream coming out of the "video/avc" encoder needs to be fed back into the decoder one chunk at a time. If we just wrote the data to a
DecodeEditEncodeTest.java:737
ClassVideoEditWrapper
Wraps testEditVideo, running it in a new thread. Required because of the way SurfaceTexture.OnFrameAvailableListener works when the current thread ha
DecodeEditEncodeTest.java:96