Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:surfaceDef

542         C2D_RGB_SURFACE_DEF surfaceDef;
546 surfaceDef.phys = (void*) gpuaddr;
547 surfaceDef.buffer = (void*) (handle->base);
549 surfaceDef.format = c2d_format |
551 surfaceDef.width = rhs->w;
552 surfaceDef.height = rhs->h;
553 int aligned_width = ALIGN((int)surfaceDef.width,32);
554 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
557 &surfaceDef)) {
563 C2D_YUV_SURFACE_DEF surfaceDef;
564 memset(&surfaceDef, 0, sizeof(surfaceDef));
566 surfaceDef.format = c2d_format;
580 surfaceDef.width = rhs->w;
581 surfaceDef.height = rhs->h;
582 surfaceDef.plane0 = (void*) (handle->base);
583 surfaceDef.phys0 = (void*) (gpuaddr);
584 surfaceDef.stride0 = yuvInfo.yStride;
586 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
587 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
588 surfaceDef.stride1 = yuvInfo.plane1_stride;
590 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
591 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
592 surfaceDef.stride2 = yuvInfo.plane2_stride;
596 &surfaceDef)) {