Package-level declarations

Types

Link copied to clipboard
open class AboutBox
Creates and displays an "about" box.
Link copied to clipboard
Layout that adjusts to maintain a specific aspect ratio.
Link copied to clipboard
Layout that adjusts to maintain a specific aspect ratio.
Link copied to clipboard

Shows the camera preview on screen while simultaneously recording it to a .mp4 file.

Link copied to clipboard
open class CameraUtils
Camera-related utility functions.
Link copied to clipboard
Trivial activity used to test Choreographer behavior.
Link copied to clipboard
open class CircularEncoder
Encodes video in a fixed-size circular buffer.
Link copied to clipboard
Holds encoded video data in a circular buffer.
Link copied to clipboard
Opens a large number of MediaCodec encoders, just to see what happens.
Link copied to clipboard
Show color bars.
Link copied to clipboard
interface Content
Content, managed by ContentManager.
Link copied to clipboard
open class ContentManager
Manages content generated by the app.
Link copied to clipboard
Demonstrates capturing video into a ring buffer.
Link copied to clipboard
Decodes two video streams simultaneously to two TextureViews.
Link copied to clipboard
abstract class GeneratedMovie : Content
Base class for generated movies.
Link copied to clipboard
Simple activity that gathers and displays information from the GLES driver.
Link copied to clipboard
Exercises SurfaceHolder#setFixedSize().
Link copied to clipboard
More or less straight out of TextureView's doc.
Link copied to clipboard
Main activity -- entry point from Launcher.
Link copied to clipboard
open class MiscUtils
Some handy utilities.
Link copied to clipboard
Generates a very simple movie.
Link copied to clipboard
open class MoviePlayer
Plays the video track from a movie file to a Surface.
Link copied to clipboard
Generates a simple movie, featuring two small rectangles that slide across the screen.
Link copied to clipboard
Exercises some less-commonly-used aspects of SurfaceView.
Link copied to clipboard
Basic glReadPixels() speed test.
Link copied to clipboard
Demonstrates efficient display + recording of OpenGL rendering using an FBO.
Link copied to clipboard
Tweaked version of Drawable2d that rescales the texture coordinates to provide a "zoom" effect.
Link copied to clipboard
Exercises a SurfaceFlinger feature that defers acquisition of a buffer until a certain time.
Link copied to clipboard
Activity demonstrating the use of MediaProjectionManager and VirtualDisplay to create a recording of the screen and save it as a movie.
Link copied to clipboard
Generate a short movie using Surface input to MediaCodec, where the Surface is written to from software (lock() + unlockAndPost() rather than GLES).
Link copied to clipboard
Movie player callback.
Link copied to clipboard
Direct the Camera preview to a GLES texture and manipulate it.
Link copied to clipboard
Encode a movie from frames rendered from an external texture image.
Link copied to clipboard
Encode a movie from frames rendered from an external texture image.
Link copied to clipboard
An unscientific test of texture upload speed.
Link copied to clipboard
A demonstration of using Canvas to draw on a TextureView.
Link copied to clipboard
Simple demonstration of using GLES to draw on a TextureView.
Link copied to clipboard
open class VideoEncoderCore
This class wraps up the core components used for surface-input video encoding.
Link copied to clipboard
open class WorkDialog
Utility functions for work_dialog.

Functions

Link copied to clipboard