/hardware/intel/common/libva/va/egl/ |
H A D | va_egl.c | 51 * the low-level buffer ID (or handle) of the decoded surface to gst-gltexture, and gst-gltexture 66 VASurfaceID surface, 77 return va_egl->vaGetEGLClientBufferFromSurface(ctx, surface, buffer); 64 vaGetEGLClientBufferFromSurface( VADisplay dpy, VASurfaceID surface, EGLClientBuffer *buffer ) argument
|
/hardware/intel/common/libva/test/common/ |
H A D | va_display_drm.c | 62 VASurfaceID surface, 60 va_put_surface_drm( VADisplay va_dpy, VASurfaceID surface, const VARectangle *src_rect, const VARectangle *dst_rect ) argument
|
H A D | va_display_android.cpp | 82 VASurfaceID surface, 90 return vaPutSurface(va_dpy, surface, anw, 80 va_put_surface_android( VADisplay va_dpy, VASurfaceID surface, const VARectangle *src_rect, const VARectangle *dst_rect ) argument
|
H A D | va_display.c | 155 VASurfaceID surface, 164 return g_display_hooks->put_surface(va_dpy, surface, src_rect, dst_rect); 153 va_put_surface( VADisplay va_dpy, VASurfaceID surface, const VARectangle *src_rect, const VARectangle *dst_rect ) argument
|
H A D | va_display_wayland.c | 40 struct wl_surface *surface; member in struct:display 110 if (d->surface) { 111 wl_surface_destroy(d->surface); 112 d->surface = NULL; 143 if (!d->surface) { 144 d->surface = wl_compositor_create_surface(d->compositor); 145 if (!d->surface) 150 d->shell_surface = wl_shell_get_shell_surface(d->shell, d->surface); 161 VASurfaceID surface, 173 va_status = vaGetSurfaceBufferWl(va_dpy, surface, VA_FRAME_PICTUR 159 va_put_surface_wayland( VADisplay va_dpy, VASurfaceID surface, const VARectangle *src_rect, const VARectangle *dst_rect ) argument [all...] |
H A D | va_display_x11.c | 107 VASurfaceID surface, 116 if (surface == VA_INVALID_SURFACE) 125 return vaPutSurface(va_dpy, surface, x11_window, 105 va_put_surface_x11( VADisplay va_dpy, VASurfaceID surface, const VARectangle *src_rect, const VARectangle *dst_rect ) argument
|
/hardware/intel/common/libva/va/glx/ |
H A D | va_glx.c | 115 // Create a surface used for display to OpenGL 136 // Destroy a VA/GLX surface 151 // Copy a VA surface to a VA/GLX surface 155 VASurfaceID surface, 164 INVOKE(ctx, CopySurface, (ctx, gl_surface, surface, flags)); 152 vaCopySurfaceGLX( VADisplay dpy, void *gl_surface, VASurfaceID surface, unsigned int flags ) argument
|
/hardware/intel/common/libva/va/ |
H A D | va_tpi.c | 73 VASurfaceID surface, 96 return tpi->vaPutSurfaceBuf( ctx, surface, data, data_len, srcx, srcy, srcw, srch, 104 VASurfaceID surface, 115 return tpi->vaSetTimestampForSurface(ctx, surface, timestamp); 71 vaPutSurfaceBuf( VADisplay dpy, VASurfaceID surface, unsigned char* data, int* data_len, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, VARectangle *cliprects, unsigned int number_cliprects, unsigned int flags ) argument 102 vaSetTimestampForSurface( VADisplay dpy, VASurfaceID surface, long long timestamp ) argument
|
/hardware/intel/common/libva/va/wayland/ |
H A D | va_wayland.c | 163 VASurfaceID surface, 174 return ctx->vtable_wayland->vaGetSurfaceBufferWl(ctx, surface, flags, 161 vaGetSurfaceBufferWl( VADisplay dpy, VASurfaceID surface, unsigned int flags, struct wl_buffer **out_buffer ) argument
|
/hardware/libhardware/tests/hwc/ |
H A D | test-arrows.c | 142 EGLSurface surface; local 148 if (egl_create(&display, &surface, &w, &h)) 156 eglSwapBuffers(display, surface); 162 egl_destroy(display, surface);
|
H A D | util.c | 175 EGLSurface surface; local 200 surface = eglCreateWindowSurface(display, config, window, NULL); 201 if (surface == EGL_NO_SURFACE) 208 if (!(res = eglMakeCurrent(display, surface, surface, context))) 211 eglQuerySurface(display, surface, EGL_WIDTH, &w); 212 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 217 *_surface = surface; 229 void egl_destroy(EGLDisplay display, EGLSurface surface) { argument 231 eglDestroySurface(display, surface); [all...] |
/hardware/intel/common/libmix/videoencoder/ |
H A D | VideoEncoderUtils.h | 42 void setVASurface(VASurfaceID surface) {mVASurface = surface;} argument
|
H A D | VideoEncoderBase.h | 30 VASurfaceID surface; member in struct:SurfaceMap 142 android::List <VASurfaceMap *> mSrcSurfaceMapList; //all mapped surface info list from input buffer 146 VASurfaceID mRefSurface; //reference surface, only used in base 147 VASurfaceID mRecSurface; //reconstructed surface, only used in base 173 //supported surface memory types
|
/hardware/intel/common/libva/va/android/ |
H A D | va_android.cpp | 189 VASurfaceID surface, 207 VASurfaceID surface, 233 VA_TRACE_LOG(va_TracePutSurface, dpy, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, 237 return ctx->vtable->vaPutSurface( ctx, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, 205 vaPutSurface( VADisplay dpy, VASurfaceID surface, sp<ANativeWindow> draw, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, VARectangle *cliprects, unsigned int number_cliprects, unsigned int flags ) argument
|
/hardware/intel/common/libva/va/x11/ |
H A D | va_x11.c | 218 VASurfaceID surface, 236 VASurfaceID surface, 259 VA_TRACE_LOG(va_TracePutSurface, dpy, surface, (void *)draw, srcx, srcy, srcw, srch, 263 return ctx->vtable->vaPutSurface( ctx, surface, (void *)draw, srcx, srcy, srcw, srch, 234 vaPutSurface( VADisplay dpy, VASurfaceID surface, Drawable draw, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, VARectangle *cliprects, unsigned int number_cliprects, unsigned int flags ) argument
|
/hardware/intel/common/libmix/mix_video/src/ |
H A D | mixvideoformatenc_preview.c | 385 /*TODO: compute the surface number*/ 403 "Failed allocate surface\n"); 433 "Failed allocate shared surface\n"); 469 "Failed allocate private surface\n"); 486 LOG_V( "assign surface Done\n"); 499 //Derive an VAImage from an existing surface. 722 /*unref the current source surface*/ 730 /*unref the reconstructed surface*/ 737 /*unref the reference surface*/ 797 /*unref the current source surface*/ 881 gulong surface = 0; local [all...] |
H A D | mixvideoformat_mp42.c | 342 LOG_E("Not enough memory to create surface pool!\n"); 608 gulong surface = 0; local 883 LOG_V("Getting a new surface\n");LOG_V("frame type is %d\n", frame_type); 885 /* Get a frame from the surface pool */ 888 LOG_E("Failed to get frame from surface pool!\n"); 916 LOG_V("I frame, surface ID %u\n", (guint) frame->frame_id); 923 LOG_V("P frame, surface ID %u, forw ref frame is %u\n", 937 LOG_V("B frame, surface ID %u, forw ref %d, back ref %d\n", 1021 /* Get our surface ID from the frame object */ 1022 ret = mix_videoframe_get_frame_id(frame, &surface); [all...] |
H A D | mixvideoformatenc_mpeg4.c | 432 /*TODO: compute the surface number*/
450 "Failed allocate surface\n");
480 "Failed allocate shared surface\n");
516 "Failed allocate private surface\n");
533 LOG_V( "assign surface Done\n");
546 //Derive an VAImage from an existing surface.
778 /*unref the current source surface*/
785 /*unref the reconstructed surface*/
792 /*unref the reference surface*/
852 /*unref the current source surface*/
1206 gulong surface = 0; local [all...] |
/hardware/intel/common/libva/test/putsurface/ |
H A D | putsurface_wayland.c | 69 VASurfaceID surface, 95 return va_put_surface(dpy, wl_drawable, surface, &src_rect, &dst_rect, 111 struct wl_surface *surface; member in struct:drawable 163 wl_surface_attach(wl_drawable->surface, buffer, 0, 0); 165 wl_drawable->surface, 171 callback = wl_surface_frame(wl_drawable->surface); 172 wl_surface_commit(wl_drawable->surface); 259 drawable1->surface = surface1; 274 drawable1->surface = surface2; 67 vaPutSurface( VADisplay dpy, VASurfaceID surface, struct drawable *wl_drawable, short src_x, short src_y, unsigned short src_w, unsigned short src_h, short dst_x, short dst_y, unsigned short dst_w, unsigned short dst_h, const VARectangle *cliprects, unsigned int num_cliprects, unsigned int flags ) argument
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | RotationBufferProvider.cpp | 160 VASurfaceID *surface; local 220 surface = &mRotatedSurfaces[mTargetIndex]; 223 surface = &mSourceSurface; 224 /* set src surface width/height to video crop size */ 240 surface, 246 *surface = 0; 312 // create first target surface 315 ETRACE("failed to create target surface with attribute"); 416 // start to create next target surface 420 ETRACE("failed to create target surface wit [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
H A D | RotationBufferProvider.cpp | 160 VASurfaceID *surface; local 219 surface = &mRotatedSurfaces[mTargetIndex]; 222 surface = &mSourceSurface; 223 /* set src surface width/height to video crop size */ 239 surface, 245 *surface = 0; 311 // create first target surface 314 ELOGTRACE("failed to create target surface with attribute"); 415 // start to create next target surface 419 ELOGTRACE("failed to create target surface wit [all...] |
/hardware/intel/img/psb_video/src/android/ |
H A D | psb_output_android.c | 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 */ 295 int rotate_srf_rotate = -1; /* degree of the rotate surface */ 316 obj_surface = SURFACE(surface); 148 psb_putsurface_ctexture( VADriverContextP ctx, VASurfaceID surface, unsigned char* data, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, unsigned int __maybe_unused flags ) argument 458 psb_PutSurface( VADriverContextP ctx, VASurfaceID surface, void __maybe_unused * android_isurface, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, VARectangle *cliprects, unsigned int number_cliprects, unsigned int flags ) argument [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | psb_surface_attrib.c | 51 * Create surface 135 VASurfaceID *surface /* out */ 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" 386 /* by default, surface fourcc is NV12 */ 415 VASurfaceID *surface, /* out */ 436 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create surface: width %d, height %d, format 0x%08x" 445 CHECK_SURFACE(surface); 410 psb_CreateSurfaceFromKBuf( VADriverContextP ctx, int _width, int _height, int format, VASurfaceID *surface, unsigned int kbuf_handle, unsigned size, unsigned int kBuf_fourcc, unsigned int luma_stride, unsigned int chroma_u_stride, unsigned int chroma_v_stride, unsigned int luma_offset, unsigned int chroma_u_offset, unsigned int chroma_v_offset, unsigned int tiling ) argument [all...] |
H A D | tng_vld_dec.c | 85 /* In VPP ctx, current_render_target is rotated surface */ 109 drv_debug_msg(VIDEO_DEBUG_ERROR, "out-loop surface is NULL, abort msvdx alternative output\n"); 114 drv_debug_msg(VIDEO_DEBUG_WARNING, "Display rotate mode does not match surface rotate mode!\n"); 350 psb_surface_p surface = obj_surface->psb_surface; local 351 int index = GET_SURFACE_INFO_colocated_index(surface); 359 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Allocating colocated buffer for surface %08x size = %08x\n", surface, size); 367 SET_SURFACE_INFO_colocated_index(surface, index + 1); /* 0 means unset, index is offset by 1 */ 376 SET_SURFACE_INFO_colocated_index(surface, index); /* replace the original buffer */ 382 psb_buffer_p vld_dec_lookup_colocated_buffer(context_DEC_p ctx, psb_surface_p surface) argument [all...] |
/hardware/intel/img/psb_video/src/x11/ |
H A D | psb_ctexture.c | 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, src local 219 psb_putsurface_ctexture( VADriverContextP ctx, VASurfaceID surface, Drawable draw, short srcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short desty, unsigned short destw, unsigned short desth, unsigned int flags ) argument 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...] |