Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:surfaceDef

523         C2D_RGB_SURFACE_DEF surfaceDef;
527 surfaceDef.phys = (void*) gpuaddr;
528 surfaceDef.buffer = (void*) (handle->base);
530 surfaceDef.format = c2d_format |
532 surfaceDef.width = rhs->w;
533 surfaceDef.height = rhs->h;
534 int aligned_width = ALIGN(surfaceDef.width,32);
535 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
538 &surfaceDef)) {
544 C2D_YUV_SURFACE_DEF surfaceDef;
545 memset(&surfaceDef, 0, sizeof(surfaceDef));
547 surfaceDef.format = c2d_format;
561 surfaceDef.width = rhs->w;
562 surfaceDef.height = rhs->h;
563 surfaceDef.plane0 = (void*) (handle->base);
564 surfaceDef.phys0 = (void*) (gpuaddr);
565 surfaceDef.stride0 = yuvInfo.yStride;
567 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
568 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
569 surfaceDef.stride1 = yuvInfo.plane1_stride;
571 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
572 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
573 surfaceDef.stride2 = yuvInfo.plane2_stride;
577 &surfaceDef)) {