Home
last modified time | relevance | path

Searched refs:surfaceDef (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp276 … C2D_YUV_SURFACE_DEF * surfaceDef = (C2D_YUV_SURFACE_DEF *)malloc(sizeof(C2D_YUV_SURFACE_DEF)); in getDummySurfaceDef() local
277 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 …]
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp523 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
527 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 …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp539 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
543 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 …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp533 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
537 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 …]
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit_c2d.cpp534 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
538 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 …]