Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:surfaceDef

533         C2D_RGB_SURFACE_DEF surfaceDef;
537 surfaceDef.phys = (void*) gpuaddr;
538 surfaceDef.buffer = (void*) (handle->base);
540 surfaceDef.format = c2d_format |
542 surfaceDef.width = rhs->w;
543 surfaceDef.height = rhs->h;
544 int aligned_width = ALIGN((int)surfaceDef.width,32);
545 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
548 &surfaceDef)) {
554 C2D_YUV_SURFACE_DEF surfaceDef;
555 memset(&surfaceDef, 0, sizeof(surfaceDef));
557 surfaceDef.format = c2d_format;
571 surfaceDef.width = rhs->w;
572 surfaceDef.height = rhs->h;
573 surfaceDef.plane0 = (void*) (handle->base);
574 surfaceDef.phys0 = (void*) (gpuaddr);
575 surfaceDef.stride0 = yuvInfo.yStride;
577 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
578 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
579 surfaceDef.stride1 = yuvInfo.plane1_stride;
581 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
582 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
583 surfaceDef.stride2 = yuvInfo.plane2_stride;
587 &surfaceDef)) {