Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:surfaceDef

539         C2D_RGB_SURFACE_DEF surfaceDef;
543 surfaceDef.phys = (void*) gpuaddr;
544 surfaceDef.buffer = (void*) (handle->base);
546 surfaceDef.format = c2d_format |
548 surfaceDef.width = rhs->w;
549 surfaceDef.height = rhs->h;
550 int aligned_width = ALIGN((int)surfaceDef.width,32);
551 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
554 &surfaceDef)) {
560 C2D_YUV_SURFACE_DEF surfaceDef;
561 memset(&surfaceDef, 0, sizeof(surfaceDef));
563 surfaceDef.format = c2d_format;
577 surfaceDef.width = rhs->w;
578 surfaceDef.height = rhs->h;
579 surfaceDef.plane0 = (void*) (handle->base);
580 surfaceDef.phys0 = (void*) (gpuaddr);
581 surfaceDef.stride0 = yuvInfo.yStride;
583 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
584 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
585 surfaceDef.stride1 = yuvInfo.plane1_stride;
587 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
588 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
589 surfaceDef.stride2 = yuvInfo.plane2_stride;
593 &surfaceDef)) {