Lines Matching refs:surfaceDef
534 C2D_RGB_SURFACE_DEF surfaceDef;
538 surfaceDef.phys = (void*) gpuaddr;
539 surfaceDef.buffer = (void*) (handle->base);
541 surfaceDef.format = c2d_format |
543 surfaceDef.width = rhs->w;
544 surfaceDef.height = rhs->h;
545 int aligned_width = ALIGN(surfaceDef.width,32);
546 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3;
549 &surfaceDef)) {
555 C2D_YUV_SURFACE_DEF surfaceDef;
556 memset(&surfaceDef, 0, sizeof(surfaceDef));
558 surfaceDef.format = c2d_format;
572 surfaceDef.width = rhs->w;
573 surfaceDef.height = rhs->h;
574 surfaceDef.plane0 = (void*) (handle->base);
575 surfaceDef.phys0 = (void*) (gpuaddr);
576 surfaceDef.stride0 = yuvInfo.yStride;
578 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset);
579 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset);
580 surfaceDef.stride1 = yuvInfo.plane1_stride;
582 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset);
583 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset);
584 surfaceDef.stride2 = yuvInfo.plane2_stride;
588 &surfaceDef)) {