Searched refs:surfaceDef (Results 1 – 5 of 5) sorted by relevance
276 … C2D_YUV_SURFACE_DEF * surfaceDef = (C2D_YUV_SURFACE_DEF *)malloc(sizeof(C2D_YUV_SURFACE_DEF)); in getDummySurfaceDef() local277 memset(surfaceDef, 0x0, sizeof(C2D_YUV_SURFACE_DEF)); in getDummySurfaceDef()278 surfaceDef->format = getC2DFormat(format); in getDummySurfaceDef()279 surfaceDef->width = width; in getDummySurfaceDef()280 surfaceDef->height = height; in getDummySurfaceDef()281 surfaceDef->plane0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()282 surfaceDef->phys0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()283 surfaceDef->stride0 = calcStride(format, width); in getDummySurfaceDef()284 surfaceDef->plane1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()285 surfaceDef->phys1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()[all …]
523 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local527 surfaceDef.phys = (void*) gpuaddr; in set_image()528 surfaceDef.buffer = (void*) (handle->base); in set_image()530 surfaceDef.format = c2d_format | in set_image()532 surfaceDef.width = rhs->w; in set_image()533 surfaceDef.height = rhs->h; in set_image()534 int aligned_width = ALIGN(surfaceDef.width,32); in set_image()535 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()538 &surfaceDef)) { in set_image()544 C2D_YUV_SURFACE_DEF surfaceDef; in set_image() local[all …]
539 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local543 surfaceDef.phys = (void*) gpuaddr; in set_image()544 surfaceDef.buffer = (void*) (handle->base); in set_image()546 surfaceDef.format = c2d_format | in set_image()548 surfaceDef.width = rhs->w; in set_image()549 surfaceDef.height = rhs->h; in set_image()550 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image()551 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()554 &surfaceDef)) { in set_image()560 C2D_YUV_SURFACE_DEF surfaceDef; in set_image() local[all …]
533 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local537 surfaceDef.phys = (void*) gpuaddr; in set_image()538 surfaceDef.buffer = (void*) (handle->base); in set_image()540 surfaceDef.format = c2d_format | in set_image()542 surfaceDef.width = rhs->w; in set_image()543 surfaceDef.height = rhs->h; in set_image()544 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image()545 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()548 &surfaceDef)) { in set_image()554 C2D_YUV_SURFACE_DEF surfaceDef; in set_image() local[all …]
534 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local538 surfaceDef.phys = (void*) gpuaddr; in set_image()539 surfaceDef.buffer = (void*) (handle->base); in set_image()541 surfaceDef.format = c2d_format | in set_image()543 surfaceDef.width = rhs->w; in set_image()544 surfaceDef.height = rhs->h; in set_image()545 int aligned_width = ALIGN(surfaceDef.width,32); in set_image()546 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()549 &surfaceDef)) { in set_image()555 C2D_YUV_SURFACE_DEF surfaceDef; in set_image() local[all …]