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

1 2 3

  /sdk/emulator/opengl/host/libs/Translator/include/EGL/
eglinternalplatform.h 21 typedef SrfcInfo* SURFACE;
22 typedef SURFACE EGLNativeSurfaceType;
  /hardware/intel/img/psb_video/src/
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]);
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);
psb_surface_attrib.c 45 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
50 * Create surface
137 VASurfaceID *surface /* out */
166 obj_surface = SURFACE(surfaceID);
178 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create Surface from V4L2 buffer: %dx%d, stride=%d, buffer offset=0x%08x, size=%d\n",
182 *surface = surfaceID;
248 object_surface_p obj_surface = SURFACE(*surface);
250 *surface = VA_INVALID_SURFACE;
285 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create surface: width %d, height %d, format 0x%08x
    [all...]
pnw_rotate.c 57 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
203 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]);
213 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]);
223 drv_debug_msg(VIDEO_DEBUG_GENERAL, "NativeWindow(0x%x), get surface flinger rotate %d\n", driver_data->native_window, display_rotate);
233 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]);
243 object_surface_p obj_surface = SURFACE(obj_context->render_targets[index]);
255 drv_debug_msg(VIDEO_DEBUG_GENERAL, "NativeWindow(0x%x), get surface flinger rotate %d\n", driver_data->native_window, display_rotate);
423 * Detach a surface from obj_surface
435 /* Allocate alternative output surface */
437 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Try to allocate surface for alternative rotate output\n")
    [all...]
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_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_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);
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);
psb_drv_video.c 133 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
814 obj_surface = SURFACE(surfaceID);
866 /* by default, surface fourcc is NV12 */
875 object_surface_p obj_surface = SURFACE(surface_list[i]);
909 object_surface_p obj_surface = SURFACE(surface_list[i]);
914 drv_debug_msg(VIDEO_DEBUG_ERROR, "Some surface is deriving by images\n");
920 object_surface_p obj_surface = SURFACE(surface_list[i]);
925 /* Surface is being displaying. Need to stop overlay here */
    [all...]
psb_output.c 57 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
184 /* clean the displaying surface information in kernel */
219 object_surface_p surface,
238 /* check for surface */
240 if (*dest_x > surface->width) *dest_x = surface->width - 1;
242 if (*dest_y > surface->height) *dest_y = surface->height - 1;
244 if (((*width) + (*dest_x)) > surface->width) *width = surface->width - *dest_x
    [all...]
vsp_vp8.c 43 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
331 object_surface_p ref_surf = SURFACE(va_seq->reference_frames[i]);
416 object_surface_p src_surface = SURFACE(surface_id);
423 /* use vaCreateSurfaceWithAttribute with VAExternalMemoryNULL to create surface*/
464 object_surface_p cur_surf = SURFACE(surface_id);
    [all...]
pnw_H264.c 202 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
298 object_surface_p ref_surface = SURFACE(pic->picture_id);
694 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id);
1083 object_surface_p surface = SURFACE(slice_param->RefPicList0[i].picture_id); local
    [all...]
  /hardware/intel/img/psb_video/src/android/
psb_surface_gralloc.c 44 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
145 obj_surface = SURFACE(surfaceID);
219 /* by default, surface fourcc is NV12 */
228 object_surface_p obj_surface = SURFACE(surface_list[i]);
303 obj_surface = SURFACE(surfaceID);
430 /* by default, surface fourcc is NV12 */
442 object_surface_p obj_surface = SURFACE(surface_list[i]);
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...]
  /frameworks/base/core/jni/
com_google_android_gles_jni_EGLImpl.cpp 29 #include <gui/Surface.h>
31 #include <gui/Surface.h>
165 jobject surface, jint attribute, jintArray value) {
166 if (display == NULL || surface == NULL || value == NULL
172 EGLContext sur = getSurface(_env, surface);
329 "Make sure the SurfaceView or associated SurfaceHolder has a valid Surface");
361 window = new Surface(producer, true);
447 static jboolean jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) {
448 if (display == NULL || surface == NULL) {
453 EGLSurface sur = getSurface(_env, 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);
psb_H264.c 195 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
291 object_surface_p ref_surface = SURFACE(pic->picture_id);
484 object_surface_p obj_surface = SURFACE(obj_context->render_targets[i]);
502 /* FIXME: For RAR surface, need allocate RAR buffer */
556 psb_surface_p surface = obj_surface->psb_surface; local
558 if (!GET_SURFACE_INFO_colocated_index(surface)) {
565 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_H264: Allocating colocated buffer for surface %08x size = %08x\n", surface, size);
573 SET_SURFACE_INFO_colocated_index(surface, index + 1); /* 0 means unset, index is offset by 1 */
578 static psb_buffer_p psb__H264_lookup_colocated_buffer(context_H264_p ctx, psb_surface_p surface)
970 object_surface_p surface = SURFACE(slice_param->RefPicList0[i].picture_id); local
    [all...]
psb_MPEG4.c 339 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
554 psb_surface_p surface = obj_surface->psb_surface; local
    [all...]
  /hardware/intel/img/psb_video/src/x11/
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...]
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...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
CameraRecordingStream.java 31 import android.view.Surface;
59 private Surface mRecordingSurface;
137 * Add the stream output surface to the target output surface list.
139 * @param outputSurfaces The output surface list where the stream can
140 * add/remove its output surface.
141 * @param detach Detach the recording surface from the outputSurfaces.
143 public synchronized void onConfiguringOutputs(List<Surface> outputSurfaces,
146 // Can detach the surface in CONFIGURED and RECORDING state
150 Log.w(TAG, "Can not detach surface when recording stream is in IDLE state")
    [all...]
  /frameworks/base/media/java/android/media/
MediaRecorder.java 25 import android.view.Surface;
87 private Surface mSurface;
130 * Gets the surface to record from when using SURFACE video source.
132 * <p> May only be called after {@link #prepare}. Frames rendered to the Surface before
136 * {@link #stop}, or is called when VideoSource is not set to SURFACE.
139 public native Surface getSurface();
142 * Sets a Surface to show a preview of recorded media (video). Calls this
144 * set. If {@link #setCamera(Camera)} is used and the surface has been
146 * this is called with non-null surface, the preview surface of the camer
    [all...]

Completed in 372 milliseconds

1 2 3