/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 286 … 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/ |
D | C2DColorConverter.cpp | 316 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/ |
D | C2DColorConverter.cpp | 314 C2D_YUV_SURFACE_DEF * surfaceDef = new C2D_YUV_SURFACE_DEF; in getDummySurfaceDef() local 315 surfaceDef->format = getC2DFormat(format); in getDummySurfaceDef() 316 surfaceDef->width = width; in getDummySurfaceDef() 317 surfaceDef->height = height; in getDummySurfaceDef() 318 surfaceDef->plane0 = (void *)0xaaaaaaaa; in getDummySurfaceDef() 319 surfaceDef->phys0 = (void *)0xaaaaaaaa; in getDummySurfaceDef() 320 surfaceDef->stride0 = calcStride(format, width); in getDummySurfaceDef() 321 surfaceDef->plane1 = (void *)0xaaaaaaaa; in getDummySurfaceDef() 322 surfaceDef->phys1 = (void *)0xaaaaaaaa; in getDummySurfaceDef() 323 surfaceDef->stride1 = calcStride(format, width); in getDummySurfaceDef() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit_c2d.cpp | 523 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/ |
D | copybit_c2d.cpp | 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() [all …]
|
/hardware/qcom/sm8150/display/libcopybit/ |
D | copybit_c2d.cpp | 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() [all …]
|
/hardware/qcom/sdm845/display/libcopybit/ |
D | copybit_c2d.cpp | 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() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit_c2d.cpp | 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() [all …]
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit_c2d.cpp | 538 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/msm8084/libcopybit/ |
D | copybit_c2d.cpp | 533 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/msm8994/libcopybit/ |
D | copybit_c2d.cpp | 542 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/ |
D | copybit_c2d.cpp | 539 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/sdm845/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 317 void *surfaceDef = NULL; in getDummySurfaceDef() local 365 surfaceDef = *surfaceYUVDef; in getDummySurfaceDef() 390 surfaceDef = *surfaceRGBDef; in getDummySurfaceDef() 400 surfaceDef); in getDummySurfaceDef()
|
/hardware/qcom/sm8150/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 330 void *surfaceDef = NULL; local 382 surfaceDef = *surfaceYUVDef; 408 surfaceDef = *surfaceRGBDef; 418 surfaceDef);
|