From 006f9048b760615d1bb5000a93148f472edf51c6 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 7 Apr 2015 21:13:10 +0100 Subject: [PATCH] (AutomatedTests) Use the outputImage address rather than the address of the pointer Change-Id: I634a5a3f9b8e9839e2d515cf8ecbcc05f7123c23 --- .../src/dali-adaptor-internal/utc-Dali-ImageOperations.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/automated-tests/src/dali-adaptor-internal/utc-Dali-ImageOperations.cpp b/automated-tests/src/dali-adaptor-internal/utc-Dali-ImageOperations.cpp index ffb7dd7..ce51949 100644 --- a/automated-tests/src/dali-adaptor-internal/utc-Dali-ImageOperations.cpp +++ b/automated-tests/src/dali-adaptor-internal/utc-Dali-ImageOperations.cpp @@ -1383,25 +1383,25 @@ int UtcDaliImageOperationsPointSampleRGBA888ScaleToZeroDims(void) // Try several different starting image sizes: // 1x1 -> 1x1: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 1, 1, (unsigned char*) &outputImage, 0, 0 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 1, 1, (unsigned char*) outputImage, 0, 0 ); // Single-pixel wide tall stripe: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 1, 1024, (unsigned char*) &outputImage, 0, 33 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 1, 1024, (unsigned char*) outputImage, 0, 33 ); // Single-pixel tall, wide strip: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 1024, 1, (unsigned char*) &outputImage, 0, 67 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 1024, 1, (unsigned char*) outputImage, 0, 67 ); // Square mid-size image: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 103, 103, (unsigned char*) &outputImage, 21, 0 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 103, 103, (unsigned char*) outputImage, 21, 0 ); // Wide mid-size image: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 313, 79, (unsigned char*) &outputImage, 99, 0 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 313, 79, (unsigned char*) outputImage, 99, 0 ); // Tall mid-size image: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 53, 467, (unsigned char*) &outputImage, 9999, 0 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 53, 467, (unsigned char*) outputImage, 9999, 0 ); // 0 x 0 input image: - Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 0, 0, (unsigned char*) &outputImage, 200, 99 ); + Dali::Internal::Platform::PointSample4BPP( (const unsigned char *) inputImage, 0, 0, (unsigned char*) outputImage, 200, 99 ); FreeReadOnlyPagesRGBA( outputImage, getpagesize() / 4 ); -- 2.7.4