Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:surfaceDef

532         C2D_RGB_SURFACE_DEF surfaceDef;
536 surfaceDef.phys = (void*) gpuaddr;
537 surfaceDef.buffer = (void*) (handle->base);
539 surfaceDef.format = c2d_format |
541 surfaceDef.width = rhs->w;
542 surfaceDef.height = rhs->h;
543 int aligned_width = ALIGN(surfaceDef.width,32);
544 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
547 &surfaceDef)) {
553 C2D_YUV_SURFACE_DEF surfaceDef;
554 memset(&surfaceDef, 0, sizeof(surfaceDef));
556 surfaceDef.format = c2d_format;
570 surfaceDef.width = rhs->w;
571 surfaceDef.height = rhs->h;
572 surfaceDef.plane0 = (void*) (handle->base);
573 surfaceDef.phys0 = (void*) (gpuaddr);
574 surfaceDef.stride0 = yuvInfo.yStride;
576 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
577 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
578 surfaceDef.stride1 = yuvInfo.plane1_stride;
580 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
581 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
582 surfaceDef.stride2 = yuvInfo.plane2_stride;
586 &surfaceDef)) {