Home
last modified time | relevance | path

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

/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.cpp286 … C2D_YUV_SURFACE_DEF * surfaceDef = (C2D_YUV_SURFACE_DEF *)malloc(sizeof(C2D_YUV_SURFACE_DEF)); in getDummySurfaceDef() local
287 memset(surfaceDef, 0x0, sizeof(C2D_YUV_SURFACE_DEF)); in getDummySurfaceDef()
288 surfaceDef->format = getC2DFormat(format); in getDummySurfaceDef()
289 surfaceDef->width = width; in getDummySurfaceDef()
290 surfaceDef->height = height; in getDummySurfaceDef()
291 surfaceDef->plane0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
292 surfaceDef->phys0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
293 surfaceDef->stride0 = calcStride(format, width); in getDummySurfaceDef()
294 surfaceDef->plane1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
295 surfaceDef->phys1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
[all …]
/hardware/qcom/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.cpp316 C2D_YUV_SURFACE_DEF * surfaceDef = new C2D_YUV_SURFACE_DEF; in getDummySurfaceDef() local
317 surfaceDef->format = getC2DFormat(format); in getDummySurfaceDef()
318 surfaceDef->width = width; in getDummySurfaceDef()
319 surfaceDef->height = height; in getDummySurfaceDef()
320 surfaceDef->plane0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
321 surfaceDef->phys0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
322 surfaceDef->stride0 = calcStride(format, width); in getDummySurfaceDef()
323 surfaceDef->plane1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
324 surfaceDef->phys1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
325 surfaceDef->stride1 = calcStride(format, width); in getDummySurfaceDef()
[all …]
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp313 C2D_YUV_SURFACE_DEF * surfaceDef = new C2D_YUV_SURFACE_DEF; in getDummySurfaceDef() local
314 surfaceDef->format = getC2DFormat(format); in getDummySurfaceDef()
315 surfaceDef->width = width; in getDummySurfaceDef()
316 surfaceDef->height = height; in getDummySurfaceDef()
317 surfaceDef->plane0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
318 surfaceDef->phys0 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
319 surfaceDef->stride0 = calcStride(format, width); in getDummySurfaceDef()
320 surfaceDef->plane1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
321 surfaceDef->phys1 = (void *)0xaaaaaaaa; in getDummySurfaceDef()
322 surfaceDef->stride1 = calcStride(format, width); 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/msm8996/libcopybit/
Dcopybit_c2d.cpp540 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()
[all …]
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit_c2d.cpp540 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()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp540 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()
[all …]
/hardware/qcom/sdm845/display/libcopybit/
Dcopybit_c2d.cpp540 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()
[all …]
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp538 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
542 surfaceDef.phys = (void*) gpuaddr; in set_image()
543 surfaceDef.buffer = (void*) (handle->base); in set_image()
545 surfaceDef.format = c2d_format | in set_image()
548 surfaceDef.format = surfaceDef.format | in set_image()
551 surfaceDef.width = rhs->w; in set_image()
552 surfaceDef.height = rhs->h; in set_image()
553 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image()
554 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()
557 &surfaceDef)) { in set_image()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp542 C2D_RGB_SURFACE_DEF surfaceDef; in set_image() local
546 surfaceDef.phys = (void*) gpuaddr; in set_image()
547 surfaceDef.buffer = (void*) (handle->base); in set_image()
549 surfaceDef.format = c2d_format | in set_image()
551 surfaceDef.width = rhs->w; in set_image()
552 surfaceDef.height = rhs->h; in set_image()
553 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image()
554 surfaceDef.stride = (aligned_width * c2diGetBpp(surfaceDef.format))>>3; in set_image()
557 &surfaceDef)) { in set_image()
563 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/sdm845/media/libc2dcolorconvert/
DC2DColorConverter.cpp317 void *surfaceDef = NULL; in getDummySurfaceDef() local
365 surfaceDef = *surfaceYUVDef; in getDummySurfaceDef()
390 surfaceDef = *surfaceRGBDef; in getDummySurfaceDef()
400 surfaceDef); in getDummySurfaceDef()