Lines Matching refs:surfaceDef
540 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
544 surfaceDef.phys = (void*) gpuaddr; in set_image()
545 surfaceDef.buffer = (void*) (handle->base); in set_image()
547 surfaceDef.format = c2d_format | in set_image()
550 surfaceDef.format = surfaceDef.format | in set_image()
553 surfaceDef.width = rhs->w; in set_image()
554 surfaceDef.height = rhs->h; in set_image()
555 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image()
556 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()
559 &surfaceDef)) { in set_image()
565 C2D_YUV_SURFACE_DEF surfaceDef; in set_image() local
566 memset(&surfaceDef, 0, sizeof(surfaceDef)); in set_image()
568 surfaceDef.format = c2d_format; in set_image()
582 surfaceDef.width = rhs->w; in set_image()
583 surfaceDef.height = rhs->h; in set_image()
584 surfaceDef.plane0 = (void*) (handle->base); in set_image()
585 surfaceDef.phys0 = (void*) (gpuaddr); in set_image()
586 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
588 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset); in set_image()
589 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset); in set_image()
590 surfaceDef.stride1 = yuvInfo.plane1_stride; in set_image()
592 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset); in set_image()
593 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset); in set_image()
594 surfaceDef.stride2 = yuvInfo.plane2_stride; in set_image()
598 &surfaceDef)) { in set_image()