Lines Matching defs:psb_surface
66 #define CHECK_SURFACE_REALLOC(psb_surface, msvdx_rotate, need) \
68 int old_rotate = GET_SURFACE_INFO_rotate(psb_surface); \
427 SET_SURFACE_INFO_rotate(obj_surface->psb_surface, 0);
446 psb_surface_p psb_surface = obj_surface->out_loop_surface;
450 if (psb_surface) {
453 free(psb_surface);
485 psb_surface_p psb_surface;
498 psb_surface = obj_surface->scaling_surface;
500 if (psb_surface) {
502 psb_surface_destroy(psb_surface);
503 free(psb_surface);
504 psb_surface = NULL;
512 if (!psb_surface) {
515 psb_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s));
516 CHECK_ALLOCATION(psb_surface);
520 0, psb_surface);
524 //ret = psb_buffer_setstatus(&psb_surface->buf, set_flags, clear_flags);
528 free(psb_surface);
543 obj_surface->scaling_surface = psb_surface;
546 SET_SURFACE_INFO_protect(psb_surface,
547 GET_SURFACE_INFO_protect(obj_surface->psb_surface));
556 (uint32_t)(wsbmKBufHandle(wsbmKBuf(psb_surface->buf.drm_buf)));
558 share_info->scaling_luma_stride = psb_surface->stride;
559 share_info->scaling_chroma_u_stride = psb_surface->stride;
560 share_info->scaling_chroma_v_stride = psb_surface->stride;
621 SET_SURFACE_INFO_tiling(rotate_surface, GET_SURFACE_INFO_tiling(obj_surface->psb_surface));
638 obj_surface->psb_surface->size, VA_FOURCC_NV12,
640 obj_surface->psb_surface->stride,
641 obj_surface->psb_surface->stride,
642 obj_surface->psb_surface->stride,
723 GET_SURFACE_INFO_protect(obj_surface->psb_surface));