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

1 2 3

  /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 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...]
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_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 137 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
884 obj_surface = SURFACE(surfaceID);
936 /* by default, surface fourcc is NV12 */
    [all...]
psb_output.c 58 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &driver_data->surface_heap, id ))
185 /* clean the displaying surface information in kernel */
220 object_surface_p surface,
239 /* check for surface */
241 if (*dest_x > surface->width) *dest_x = surface->width - 1;
243 if (*dest_y > surface->height) *dest_y = surface->height - 1;
245 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 ))
335 object_surface_p ref_surf = SURFACE(va_seq->reference_frames[i]);
420 object_surface_p src_surface = SURFACE(surface_id);
427 /* use vaCreateSurfaceWithAttribute with VAExternalMemoryNULL to create surface*/
468 object_surface_p cur_surf = SURFACE(surface_id);
    [all...]
pnw_MPEG4.c 1154 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
    [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 ))
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]);
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>
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...]
  /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...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_surface.c 243 BEGIN_NV04(push, NV05_SIFM(SURFACE), 1);
565 BEGIN_NV04(push, NV04_GDI(SURFACE), 1);
577 /* Swizzled surface. */
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
MediaRecorderTest.java 39 import android.view.Surface;
120 Surface surface; local
138 MediaRecorder.VideoSource.SURFACE :
152 surface = recorder.getSurface();
161 * should succeed for surface source
165 surface = recorder.getSurface();
178 * should succeed for surface source
182 surface = recorder.getSurface();
203 surface = recorder.getSurface()
234 Surface surface = null; local
584 Surface surface = null; local
    [all...]

Completed in 373 milliseconds

1 2 3