Home | History | Annotate | Download | only in mrst

Lines Matching refs:SURFACE

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;
556 if (!GET_SURFACE_INFO_colocated_index(surface)) {
569 SET_SURFACE_INFO_colocated_index(surface, index + 1); /* 0 means unset, index is offset by 1 */
574 static psb_buffer_p psb__MPEG4_lookup_colocated_buffer(context_MPEG4_p ctx, psb_surface_p surface)
576 int index = GET_SURFACE_INFO_colocated_index(surface);
610 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PICTURE_CODING_I\nTarget surface = %08x (%08x)\n", ctx->obj_context->current_render_target->psb_surface, ctx->obj_context->current_render_target->base.id);
616 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
621 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PICTURE_CODING_P\nTarget surface = %08x (%08x)\n", ctx->obj_context->current_render_target->psb_surface, ctx->obj_context->current_render_target->base.id);
627 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
628 ctx->backward_ref_surface = SURFACE(ctx->pic_params->backward_reference_picture);
633 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PICTURE_CODING_B\nTarget surface = %08x (%08x)\n", ctx->obj_context->current_render_target->psb_surface, ctx->obj_context->current_render_target->base.id);
639 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture);
640 ctx->backward_ref_surface = SURFACE(ctx->pic_params->backward_reference_picture);
641 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PICTURE_CODING_S\nTarget surface = %08x (%08x)\n", ctx->obj_context->current_render_target->psb_surface, ctx->obj_context->current_render_target->base.id);
949 drv_debug_msg(VIDEO_DEBUG_ERROR, "Display rotate mode does not match surface rotate mode!\n");
980 psb_buffer_p colocated_ref_buffer = psb__MPEG4_lookup_colocated_buffer(ctx, ctx->forward_ref_surface->psb_surface); /* FIXME DE2.0 use backward ref surface */
1049 //drv_debug_msg(VIDEO_DEBUG_GENERAL, "Target surface = %08x\n", target_surface);