Home | History | Annotate | Download | only in mrst

Lines Matching refs:SURFACE

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;
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)
580 /* drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_H264: Looking up colocated buffer for surface %08x\n", surface); */
581 int index = GET_SURFACE_INFO_colocated_index(surface);
664 /*for resolution change feature, need allocat co-located buffer according the size of surface*/
706 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id);
912 object_surface_p colocated_surface = SURFACE(slice_param->RefPicList1[0].picture_id);
970 object_surface_p surface = SURFACE(slice_param->RefPicList0[i].picture_id);
971 if (surface) {
972 uint32_t dpb_idx = GET_SURFACE_INFO_dpb_idx(surface->psb_surface);
1049 drv_debug_msg(VIDEO_DEBUG_ERROR, "Display rotate mode does not match surface rotate mode!\n");
1182 object_surface_p ref_surface = SURFACE(slice_param->RefPicList0[i].picture_id);
1196 object_surface_p ref_surface = SURFACE(slice_param->RefPicList1[i].picture_id);
1209 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id);
1213 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s L%d Invalide reference surface handle, but still continue\n",
1575 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s can't find colocated buffer for target surface!\n", __func__);