Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:surfaceDef

538         C2D_RGB_SURFACE_DEF surfaceDef;
542 surfaceDef.phys = (void*) gpuaddr;
543 surfaceDef.buffer = (void*) (handle->base);
545 surfaceDef.format = c2d_format |
547 surfaceDef.width = rhs->w;
548 surfaceDef.height = rhs->h;
549 int aligned_width = ALIGN((int)surfaceDef.width,32);
550 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
553 &surfaceDef)) {
559 C2D_YUV_SURFACE_DEF surfaceDef;
560 memset(&surfaceDef, 0, sizeof(surfaceDef));
562 surfaceDef.format = c2d_format;
576 surfaceDef.width = rhs->w;
577 surfaceDef.height = rhs->h;
578 surfaceDef.plane0 = (void*) (handle->base);
579 surfaceDef.phys0 = (void*) (gpuaddr);
580 surfaceDef.stride0 = yuvInfo.yStride;
582 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
583 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
584 surfaceDef.stride1 = yuvInfo.plane1_stride;
586 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
587 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
588 surfaceDef.stride2 = yuvInfo.plane2_stride;
592 &surfaceDef)) {