Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PhilLab/Android-MediaCodec-Examples
/ functions
Functions
160 in github.com/PhilLab/Android-MediaCodec-Examples
⨍
Functions
160
◇
Types & classes
21
↓ 1 callers
Method
releaseEncoder
Releases encoder resources. May be called after partial / failed initialization.
EncodeAndMuxTest.java:187
↓ 1 callers
Method
releaseSurfaceTexture
Releases the SurfaceTexture.
CameraToMpegTest.java:320
↓ 1 callers
Method
runTest
Entry point.
CameraToMpegTest.java:135
↓ 1 callers
Method
runTest
Entry point.
ExtractMpegFramesTest.java:102
↓ 1 callers
Method
runTest
Entry point.
ExtractMpegFramesTest_egl14.java:100
↓ 1 callers
Method
saveFrame
Saves the current frame to disk as a PNG image.
ExtractMpegFramesTest.java:539
↓ 1 callers
Method
saveFrame
Saves the current frame to disk as a PNG image.
ExtractMpegFramesTest_egl14.java:530
↓ 1 callers
Method
selectCodec
Returns the first codec capable of encoding the specified MIME type, or null if no match was found.
DecodeEditEncodeTest.java:211
↓ 1 callers
Method
selectColorFormat
Returns a color format that is supported by the codec and by this test code. If no match is found, this throws a test failure -- the set of formats k
EncodeDecodeTest.java:336
↓ 1 callers
Method
setPresentationTime
Sends the presentation time stamp to EGL. Time is expressed in nanoseconds.
EncodeAndMuxTest.java:452
↓ 1 callers
Method
setup
Creates interconnected instances of TextureRender, SurfaceTexture, and Surface.
ExtractMpegFramesTest.java:355
↓ 1 callers
Method
setup
Creates interconnected instances of TextureRender, SurfaceTexture, and Surface.
ExtractMpegFramesTest_egl14.java:351
↓ 1 callers
Method
surfaceCreated
Initializes GL state. Call this after the EGL surface has been created and made current.
CameraToMpegTest.java:845
↓ 1 callers
Method
surfaceCreated
Initializes GL state. Call this after the EGL surface has been created and made current.
ExtractMpegFramesTest.java:713
↓ 1 callers
Method
surfaceCreated
Initializes GL state. Call this after the EGL surface has been created and made current.
ExtractMpegFramesTest_egl14.java:704
↓ 1 callers
Method
swapBuffers
Calls eglSwapBuffers. Use this to "publish" the current frame.
EncodeAndMuxTest.java:443
↓ 1 callers
Method
videoEditTest
Tests editing of a video file with GL.
DecodeEditEncodeTest.java:135
Method
BufferToSurfaceWrapper
(EncodeDecodeTest test)
EncodeDecodeTest.java:113
Method
CameraToMpegWrapper
(CameraToMpegTest test)
CameraToMpegTest.java:121
Method
CodecInputSurface
Creates a CodecInputSurface from a Surface.
CameraToMpegTest.java:512
Method
CodecInputSurface
Creates a CodecInputSurface from a Surface.
EncodeAndMuxTest.java:353
Method
CodecOutputSurface
Creates a CodecOutputSurface backed by a pbuffer with the specified dimensions. The new EGL context and surface will be made current. Creates a Surf
ExtractMpegFramesTest.java:339
Method
CodecOutputSurface
Creates a CodecOutputSurface backed by a pbuffer with the specified dimensions. The new EGL context and surface will be made current. Creates a Surf
ExtractMpegFramesTest_egl14.java:336
Method
ExtractMpegFramesWrapper
(ExtractMpegFramesTest test)
ExtractMpegFramesTest.java:88
Method
ExtractMpegFramesWrapper
(ExtractMpegFramesTest test)
ExtractMpegFramesTest_egl14.java:86
Method
STextureRender
()
CameraToMpegTest.java:787
Method
STextureRender
()
ExtractMpegFramesTest.java:652
Method
STextureRender
()
ExtractMpegFramesTest_egl14.java:643
Method
SurfaceTextureManager
Creates instances of TextureRender and SurfaceTexture.
CameraToMpegTest.java:644
Method
SurfaceToSurfaceWrapper
(EncodeDecodeTest test)
EncodeDecodeTest.java:157
Method
VideoEditWrapper
(DecodeEditEncodeTest test)
DecodeEditEncodeTest.java:99
Method
changeFragmentShader
Replaces the fragment shader.
CameraToMpegTest.java:684
Method
changeFragmentShader
Replaces the fragment shader. Pass in null to reset to default.
ExtractMpegFramesTest.java:750
Method
changeFragmentShader
Replaces the fragment shader. Pass in null to reset to default.
ExtractMpegFramesTest_egl14.java:741
Method
onFrameAvailable
(SurfaceTexture st)
CameraToMpegTest.java:725
Method
onFrameAvailable
(SurfaceTexture st)
ExtractMpegFramesTest.java:524
Method
onFrameAvailable
(SurfaceTexture st)
ExtractMpegFramesTest_egl14.java:515
Method
release
()
CameraToMpegTest.java:665
Method
run
()
CameraToMpegTest.java:125
Method
run
()
DecodeEditEncodeTest.java:102
Method
run
()
ExtractMpegFramesTest.java:92
Method
run
()
ExtractMpegFramesTest_egl14.java:90
Method
run
()
EncodeDecodeTest.java:116
Method
run
()
EncodeDecodeTest.java:160
Method
testEncodeCameraToMp4
test entry point
CameraToMpegTest.java:106
Method
testEncodeDecodeVideoFromBufferToBuffer720p
()
EncodeDecodeTest.java:81
Method
testEncodeDecodeVideoFromBufferToBufferQCIF
Tests streaming of AVC video through the encoder and decoder. Data is encoded from a series of byte[] buffers and decoded into ByteBuffers. The outp
EncodeDecodeTest.java:73
Method
testEncodeDecodeVideoFromBufferToBufferQVGA
()
EncodeDecodeTest.java:77
Method
testEncodeDecodeVideoFromBufferToSurface720p
()
EncodeDecodeTest.java:105
Method
testEncodeDecodeVideoFromBufferToSurfaceQCIF
Tests streaming of AVC video through the encoder and decoder. Data is encoded from a series of byte[] buffers and decoded into Surfaces. The output
EncodeDecodeTest.java:97
Method
testEncodeDecodeVideoFromBufferToSurfaceQVGA
()
EncodeDecodeTest.java:101
Method
testEncodeDecodeVideoFromSurfaceToSurface720p
()
EncodeDecodeTest.java:149
Method
testEncodeDecodeVideoFromSurfaceToSurfaceQCIF
Tests streaming of AVC video through the encoder and decoder. Data is provided through a Surface and decoded onto a Surface. The output is checked f
EncodeDecodeTest.java:141
Method
testEncodeDecodeVideoFromSurfaceToSurfaceQVGA
()
EncodeDecodeTest.java:145
Method
testEncodeVideoToMp4
Tests encoding of AVC video from a Surface. The output is saved as an MP4 file.
EncodeAndMuxTest.java:93
Method
testExtractMpegFrames
test entry point
ExtractMpegFramesTest.java:73
Method
testExtractMpegFrames
test entry point
ExtractMpegFramesTest_egl14.java:71
Method
testVideoEdit720p
()
DecodeEditEncodeTest.java:87
Method
testVideoEditQCIF
()
DecodeEditEncodeTest.java:79
Method
testVideoEditQVGA
()
DecodeEditEncodeTest.java:83
← previous
101–160 of 160, ranked by callers