HomeSort by relevance Sort by last modified time
    Searched defs:SURFACE (Results 1 - 25 of 49) sorted by null

1 2

  /hardware/intel/img/psb_video/src/android/
psb_output_android.c 53 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
150 VASurfaceID surface,
170 obj_surface = SURFACE(surface);
176 psb_putsurface_textureblit(ctx, data, surface, srcx, srcy, srcw, srch,
191 VASurfaceID surface,
233 ctx, surface, srcx, srcy, srcw, srch,
280 VASurfaceID surface,
293 int srf_rotate; /* primary surface rotation */
294 psb_surface_p rotate_surface; /* rotate surface */
    [all...]
psb_surface_gralloc.c 44 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
154 obj_surface = SURFACE(surfaceID);
231 /* by default, surface fourcc is NV12 */
240 object_surface_p obj_surface = SURFACE(surface_list[i]);
314 obj_surface = SURFACE(surfaceID);
480 /* by default, surface fourcc is NV12 */
494 object_surface_p obj_surface = SURFACE(surface_list[i]);
  /hardware/intel/img/psb_video/src/
pnw_H263ES.c 47 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
292 ctx->ref_surface = SURFACE(pBuffer->reference_picture);
293 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture);
psb_surface_attrib.c 46 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
51 * Create surface
135 VASurfaceID *surface /* out */
164 obj_surface = SURFACE(surfaceID);
176 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create Surface from V4L2 buffer: %dx%d, stride=%d, buffer offset=0x%08x, size=%d\n",
180 *surface = surfaceID;
246 object_surface_p obj_surface = SURFACE(*surface);
248 *surface = VA_INVALID_SURFACE;
283 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create surface: width %d, height %d, format 0x%08x
    [all...]
vsp_compose.c 43 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
73 drv_debug_msg(VIDEO_DEBUG_ERROR, "there isn't RGB surface!\n");
82 yuv_surface = SURFACE(pipeline_param->surface);
84 drv_debug_msg(VIDEO_DEBUG_ERROR, "invalid yuv surface %x\n", pipeline_param->surface);
89 /* The RGB surface will be the first element */
90 rgb_surface = SURFACE(pipeline_param->additional_outputs[0]);
92 drv_debug_msg(VIDEO_DEBUG_ERROR, "invalid RGB surface %x\n", pipeline_param->additional_outputs[0]);
pnw_MPEG4ES.c 47 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
336 ctx->ref_surface = SURFACE(pBuffer->reference_picture);
337 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture);
pnw_jpeg.c 45 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
94 and a surface of that source size is allocatable. */
153 object_surface_p surface_p = SURFACE(obj_context->render_targets[0]);
tng_H263ES.c 56 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
320 ps_buf->ref_surface[0] = ps_buf->ref_surface[2] = SURFACE(psPicParams->reference_picture);
321 ps_buf->ref_surface[1] = ps_buf->ref_surface[3] = SURFACE(psPicParams->reconstructed_picture);
326 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture);
327 ps_buf->rec_surface = SURFACE(psPicParams->reconstructed_picture);
tng_MPEG4ES.c 56 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
332 ps_buf->ref_surface[0] = ps_buf->ref_surface[2] = SURFACE(psPicParams->reference_picture);
333 ps_buf->ref_surface[1] = ps_buf->ref_surface[3] = SURFACE(psPicParams->reconstructed_picture);
338 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture);
339 ps_buf->rec_surface = SURFACE(psPicParams->reconstructed_picture);
pnw_H264ES.c 49 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
609 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id);
610 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id);
    [all...]
tng_yuv_processor.c 40 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &dec_ctx->obj_context->driver_data->surface_heap, id ))
243 object_surface_p obj_surface = SURFACE(vpp_params->surface);
pnw_rotate.c 57 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
208 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]);
218 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]);
228 drv_debug_msg(VIDEO_DEBUG_GENERAL, "NativeWindow(0x%x), get surface flinger rotate %d\n", driver_data->native_window, display_rotate);
238 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]);
248 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]);
260 drv_debug_msg(VIDEO_DEBUG_GENERAL, "NativeWindow(0x%x), get surface flinger rotate %d\n", driver_data->native_window, display_rotate);
437 * Detach a surface from obj_surface
449 /* Allocate alternative output surface */
451 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Try to allocate surface for alternative rotate output\n")
    [all...]
tng_H264ES.c 62 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);
817 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id);
819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);
    [all...]
pnw_MPEG2.c 531 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
740 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
748 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
749 ctx->backward_ref_surface = SURFACE(ctx->pic_params->backward_reference_picture);
    [all...]
psb_overlay.c 54 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
412 VADriverContextP ctx, PsbPortPrivPtr pPriv, VASurfaceID __maybe_unused surface,
928 VASurfaceID surface,
942 obj_surface = SURFACE(surface);
    [all...]
psb_texture.c 64 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
464 static PPVR2DMEMINFO psb_wrap_surface_pvr2dbuf(psb_driver_data_p driver_data, VASurfaceID surface)
469 object_surface_p obj_surface = SURFACE(surface);
479 if (driver_data->wrapped_surface_id[i] == surface && driver_data->videoBuf[i]) {
510 driver_data->wrapped_surface_id[i] = surface;
525 VADriverContextP ctx, unsigned char *dst, VASurfaceID surface, int src_x, int src_y, int src_w,
538 obj_surface = SURFACE(surface);
549 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: Invalid surface ID 0x%08x!\n", __func__, surface)
    [all...]
  /hardware/intel/img/psb_video/src/mrst/
lnc_H263ES.c 48 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
267 ctx->ref_surface = SURFACE(pBuffer->reference_picture);
268 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture);
lnc_MPEG4ES.c 48 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
298 ctx->ref_surface = SURFACE(pBuffer->reference_picture);
299 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture);
lnc_H264ES.c 52 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
334 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id);
335 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id);
    [all...]
psb_MPEG2.c 528 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
723 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
731 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
732 ctx->backward_ref_surface = SURFACE(ctx->pic_params->backward_reference_picture);
    [all...]
psb_MPEG2MC.c 142 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
    [all...]
  /hardware/intel/img/psb_video/src/x11/
psb_ctexture.c 54 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
221 VASurfaceID surface,
242 object_surface_p obj_surface = SURFACE(surface);
251 obj_surface = SURFACE(surface);
253 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: Invalid surface ID 0x%08x.\n", __func__, surface);
409 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->extend_blt_meminfo[texture_priv->extend_current_blt_buffer], surface, srcx, srcy, srcw, srch, 0, 0, local
415 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->extend_blt_meminfo[texture_priv->extend_current_blt_buffer], surface, srcx, srcy, srcw, srch, 0, 0 local
468 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo_pixmap, surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 1, local
473 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo_pixmap, surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 0, local
487 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 1, local
492 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 0, local
505 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->flip_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, local
510 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->flip_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, local
    [all...]
psb_x11.c 51 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
106 VASurfaceID surface,
149 object_surface_p obj_surface = SURFACE(surface);
434 /*FIXME: overlay path can't handle subpicture scaling. when surface size > dest box, fallback to texblit.*/
457 VASurfaceID surface,
476 obj_surface = SURFACE(surface);
490 psb_putsurface_x11(ctx, surface, draw, srcx, srcy, srcw, srch,
509 psb_putsurface_ctexture(ctx, surface, draw
    [all...]
psb_xvva.c 46 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
371 VASurfaceID surface,
388 object_surface_p obj_surface = SURFACE(surface);
460 VASurfaceID surface,
469 object_surface_p obj_surface = SURFACE(surface); /* surface already checked */
603 obj_rotate_surface = SURFACE(output->rotate_surfaceID);
615 obj_rotate_surface = SURFACE(output->rotate_surfaceID)
    [all...]
  /frameworks/base/core/jni/
com_google_android_gles_jni_EGLImpl.cpp 29 #include <gui/Surface.h>
31 #include <gui/Surface.h>
160 jobject surface, jint attribute, jintArray value) {
161 if (display == NULL || surface == NULL || value == NULL
167 EGLContext sur = getSurface(_env, surface);
274 "Make sure the SurfaceView or associated SurfaceHolder has a valid Surface");
306 window = new Surface(producer, true);
392 static jboolean jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) {
393 if (display == NULL || surface == NULL) {
398 EGLSurface sur = getSurface(_env, surface);
    [all...]

Completed in 943 milliseconds

1 2