/hardware/libhardware/modules/overlay/ |
README.android | 2 Skeleton for the "overlay" HAL module.
|
overlay.cpp | 17 #define LOG_TAG "Overlay" 20 #include <hardware/overlay.h> 53 name: "Sample Overlay module", 63 * an overlay. 78 static overlay_handle_t getHandleRef(struct overlay_t* overlay) { 80 return &(static_cast<overlay_object *>(overlay)->mHandle); 141 /* Create overlay object. Talk to the h/w here and adjust to what it can 152 overlay_t* overlay) 155 delete overlay; 159 overlay_t* overlay, [all...] |
Android.mk | 24 LOCAL_SRC_FILES := overlay.cpp 25 LOCAL_MODULE := overlay.default
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_phyuv.c | 73 SDL_Overlay* overlay; local 81 /* Create the overlay structure */ 82 overlay = SDL_calloc(1, sizeof(SDL_Overlay)); 84 if (overlay == NULL) 91 overlay->format = format; 92 overlay->w = width; 93 overlay->h = height; 94 overlay->hwdata = NULL; 97 overlay->hwfuncs = &ph_yuvfuncs; 105 SDL_FreeYUVOverlay(overlay); [all...] |
SDL_phyuv_c.h | 57 extern int ph_LockYUVOverlay(_THIS, SDL_Overlay* overlay); 58 extern void ph_UnlockYUVOverlay(_THIS, SDL_Overlay* overlay); 59 extern int ph_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect* dst); 60 extern void ph_FreeYUVOverlay(_THIS, SDL_Overlay* overlay);
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_yuv.c | 153 SDL_Overlay *overlay; local 156 /* Create the overlay structure */ 157 overlay = SDL_calloc (1, sizeof(SDL_Overlay)); 158 if (!overlay) 165 overlay->format = format; 166 overlay->w = width; 167 overlay->h = height; 170 overlay->hwfuncs = &directfb_yuvfuncs; 174 overlay->hwdata = hwdata; 178 SDL_FreeYUVOverlay (overlay); [all...] |
SDL_DirectFB_yuv.h | 31 extern int DirectFB_LockYUVOverlay(_THIS, SDL_Overlay *overlay); 33 extern void DirectFB_UnlockYUVOverlay(_THIS, SDL_Overlay *overlay); 35 extern int DirectFB_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); 37 extern void DirectFB_FreeYUVOverlay(_THIS, SDL_Overlay *overlay);
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysyuv.cc | 130 SDL_Overlay* overlay; local 156 /* Create the overlay structure */ 157 overlay = (SDL_Overlay*)SDL_calloc(1, sizeof(SDL_Overlay)); 159 if (overlay == NULL) 166 overlay->format = format; 167 overlay->w = width; 168 overlay->h = height; 169 overlay->hwdata = NULL; 172 overlay->hwfuncs = &be_yuvfuncs; 180 SDL_FreeYUVOverlay(overlay); [all...] |
/frameworks/base/services/surfaceflinger/tests/overlays/ |
overlays.cpp | 6 #include <ui/Overlay.h> 40 // now request an overlay 42 sp<Overlay> overlay = new Overlay(ref); local 46 * here we can use the overlay API 50 overlay->dequeueBuffer(&buffer); 53 void* address = overlay->getBufferAddress(buffer); 56 overlay->queueBuffer(buffer);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_yuv.c | 38 SDL_Overlay *overlay; local 53 overlay = NULL; 57 overlay = video->CreateYUVOverlay(this, w, h, format, display); 59 /* If hardware YUV overlay failed ... */ 60 if ( overlay == NULL ) { 61 overlay = SDL_CreateYUV_SW(this, w, h, format, display); 63 return overlay; 66 int SDL_LockYUVOverlay(SDL_Overlay *overlay) 68 if ( overlay == NULL ) { 69 SDL_SetError("Passed NULL overlay"); [all...] |
SDL_yuv_sw_c.h | 27 /* This is the software implementation of the YUV video overlay support */ 31 extern int SDL_LockYUV_SW(_THIS, SDL_Overlay *overlay); 33 extern void SDL_UnlockYUV_SW(_THIS, SDL_Overlay *overlay); 35 extern int SDL_DisplayYUV_SW(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); 37 extern void SDL_FreeYUV_SW(_THIS, SDL_Overlay *overlay);
|
SDL_yuvfuncs.h | 33 int (*Lock)(_THIS, SDL_Overlay *overlay); 34 void (*Unlock)(_THIS, SDL_Overlay *overlay); 35 int (*Display)(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); 36 void (*FreeHW)(_THIS, SDL_Overlay *overlay);
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5yuv.c | 124 SDL_Overlay *overlay; local 148 /* Create the overlay structure */ 149 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 150 if ( overlay == NULL ) { 154 SDL_memset(overlay, 0, (sizeof *overlay)); 157 overlay->format = format; 158 overlay->w = width; 159 overlay->h = height [all...] |
SDL_dx5yuv_c.h | 32 extern int DX5_LockYUVOverlay(_THIS, SDL_Overlay *overlay); 34 extern void DX5_UnlockYUVOverlay(_THIS, SDL_Overlay *overlay); 36 extern int DX5_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); 38 extern void DX5_FreeYUVOverlay(_THIS, SDL_Overlay *overlay);
|
/hardware/libhardware/include/hardware/ |
overlay.h | 33 #define OVERLAY_HARDWARE_MODULE_ID "overlay" 36 * Name of the overlay device to open 43 /* possible overlay formats */ 51 // by the overlay 90 /* Number of fractional bits support by the overlay scaling engine */ 106 /* opaque reference to an Overlay kernel object */ 116 /* returns a reference to this overlay's handle (the caller doesn't 118 overlay_handle_t (*getHandleRef)(struct overlay_t* overlay); 145 /* get static informations about the capabilities of the overlay engine */ 148 /* creates an overlay matching the given parameters as closely as possible [all...] |
/frameworks/base/libs/ui/ |
Overlay.cpp | 23 #include <ui/Overlay.h> 25 #include <hardware/overlay.h> 29 Overlay::Overlay(const sp<OverlayRef>& overlayRef) 44 Overlay::~Overlay() { 50 status_t Overlay::dequeueBuffer(overlay_buffer_t* buffer) 56 status_t Overlay::queueBuffer(overlay_buffer_t buffer) 62 status_t Overlay::resizeInput(uint32_t width, uint32_t height) 68 status_t Overlay::setParameter(int param, int value 172 sp<IOverlay> overlay = IOverlay::asInterface(data.readStrongBinder()); local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11yuv.c | 95 SDL_Overlay *overlay; local 197 /* Enable auto-painting of the overlay colorkey */ 221 /* Create the overlay structure */ 222 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 223 if ( overlay == NULL ) { 228 SDL_memset(overlay, 0, (sizeof *overlay)); 231 overlay->format = format; 232 overlay->w = width [all...] |
SDL_x11yuv_c.h | 33 extern int X11_LockYUVOverlay(_THIS, SDL_Overlay *overlay); 35 extern void X11_UnlockYUVOverlay(_THIS, SDL_Overlay *overlay); 37 extern int X11_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); 39 extern void X11_FreeYUVOverlay(_THIS, SDL_Overlay *overlay);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsyuv.c | 77 SDL_Overlay *overlay; local 91 SDL_SetError("Overlay width/height must be multiples of 16"); 96 SDL_SetError("Overlay too large (maximum size: %d pixels)", 114 /* Create the overlay structure */ 115 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 116 if ( overlay == NULL ) { 120 SDL_memset(overlay, 0, (sizeof *overlay)); 123 overlay->format = format [all...] |
SDL_gsyuv_c.h | 31 extern int GS_LockYUVOverlay(_THIS, SDL_Overlay *overlay); 33 extern void GS_UnlockYUVOverlay(_THIS, SDL_Overlay *overlay); 35 extern int GS_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst); 37 extern void GS_FreeYUVOverlay(_THIS, SDL_Overlay *overlay);
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
SDL_QuartzYUV.m | 40 static int QZ_LockYUV (_THIS, SDL_Overlay *overlay) { 45 static void QZ_UnlockYUV (_THIS, SDL_Overlay *overlay) { 50 static int QZ_DisplayYUV (_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst) { 65 scale_x = FixDiv ( Long2Fix (dst->w), Long2Fix (overlay->w) ); 66 scale_y = FixDiv ( Long2Fix (dst->h), Long2Fix (overlay->h) ); 89 static void QZ_FreeHWYUV (_THIS, SDL_Overlay *overlay) { 94 SDL_free (overlay->hwfuncs); 95 SDL_free (overlay->pitches); 96 SDL_free (overlay->pixels); 119 SDL_Overlay *overlay; [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP_ImgConv.c | 101 if(pComponentPrivate->overlay){
102 if(pComponentPrivate->overlay->iOvlyConvBufPtr){
103 OMX_FREE(pComponentPrivate->overlay->iOvlyConvBufPtr);
104 pComponentPrivate->overlay->iOvlyConvBufPtr = NULL;
106 OMX_FREE(pComponentPrivate->overlay);
107 pComponentPrivate->overlay=NULL;
110 OMX_MALLOC(pComponentPrivate->overlay, sizeof(VPP_OVERLAY));
111 pComponentPrivate->overlay->iRBuff = NULL ;
112 pComponentPrivate->overlay->iGBuff = NULL;
113 pComponentPrivate->overlay->iBBuff = NULL; [all...] |
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
CreateGestureActivity.java | 46 GestureOverlayView overlay = (GestureOverlayView) findViewById(R.id.gestures_overlay); local 47 overlay.addOnGestureListener(new GesturesProcessor()); 65 final GestureOverlayView overlay = local 67 overlay.post(new Runnable() { 69 overlay.setGesture(mGesture); 111 public void onGestureStarted(GestureOverlayView overlay, MotionEvent event) { 116 public void onGesture(GestureOverlayView overlay, MotionEvent event) { 119 public void onGestureEnded(GestureOverlayView overlay, MotionEvent event) { 120 mGesture = overlay.getGesture(); 122 overlay.clear(false) [all...] |
/frameworks/base/include/ui/ |
Overlay.h | 31 #include <hardware/overlay.h> 51 friend class Overlay; 68 class Overlay : public virtual RefBase 71 Overlay(const sp<OverlayRef>& overlayRef); 73 /* destroys this overlay */ 76 /* get the HAL handle for this overlay */ 79 /* blocks until an overlay buffer is available and return that buffer. */ 82 /* release the overlay buffer and post it */ 85 /* change the width and height of the overlay */ 98 /* get physical informations about the overlay */ [all...] |
/hardware/ti/omap3/liboverlay/ |
Android.mk | 23 LOCAL_SRC_FILES := v4l2_utils.c overlay.cpp 24 LOCAL_MODULE := overlay.omap3
|