replicant-frameworks_native/include/ui
Pannag Sanketi acb7b5dfc8 Adding SurfaceEncoder for encoding FilterFrames
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
2011-07-21 17:12:50 -07:00
..
egl frameworks/base: move ANativeWindow/android_native_buffer_t out 2011-05-03 16:39:54 -07:00
android_native_buffer.h frameworks/base: move ANativeWindow/android_native_buffer_t out 2011-05-03 16:39:54 -07:00
DisplayInfo.h Mouse pointer integration. 2011-01-04 17:31:24 -08:00
EGLNativeSurface.h
EGLUtils.h
FramebufferNativeWindow.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBuffer.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBufferAllocator.h [3171580] don't automatically log GraphicBuffer allocation failures 2010-12-03 17:33:09 -08:00
GraphicBufferMapper.h
GraphicLog.h
Input.h am 61220e88: am bbbab26e: am 2c180499: Merge "Revert velocity damping. Bug: 4364920" into honeycomb-mr2 2011-06-07 17:52:30 -07:00
InputTransport.h Add initial API for stylus and mouse buttons. 2011-05-13 12:11:17 -07:00
Keyboard.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.h Add support for fallback keycodes. 2010-12-07 17:35:26 -08:00
KeycodeLabels.h Add 3D mode key and others. 2011-03-16 11:31:42 -07:00
KeyLayoutMap.h Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
PixelFormat.h Adding SurfaceEncoder for encoding FilterFrames 2011-07-21 17:12:50 -07:00
Point.h
PowerManager.h The CHEEK_TOUCH stuff never worked. Remove it. 2010-11-08 13:02:58 -08:00
Rect.h
Region.h get rid of dependency on copybit HAL module 2011-04-28 19:50:21 -07:00
VirtualKeyMap.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00