Home
last modified time | relevance | path

Searched refs:pixel (Results 1 - 5 of 5) sorted by relevance

/test/xts/hats/hdf/display/composer/common/
H A Ddisplay_test_utils.cpp110 DISPLAY_TEST_LOGE("the pixel position outside\n"); in GetPixelValue()
112 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in GetPixelValue() local
113 DISPLAY_TEST_CHK_RETURN((pixel == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("get pixel failed")); in GetPixelValue()
115 return *pixel; in GetPixelValue()
143 DISPLAY_TEST_LOGE("the pixel position outside\n"); in CheckPixel()
145 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in CheckPixel() local
146 DISPLAY_TEST_CHK_RETURN((pixel == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("get pixel failed")); in CheckPixel()
148 uint32_t checkColor = ConverToRGBA(static_cast<Composer::V1_0::PixelFormat>(handle.format), GetUint32(*pixel)); in CheckPixel()
186 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; SetPixel() local
[all...]
H A Dhdi_test_render_utils.cpp44 DISPLAY_TEST_LOGE("the pixel position outside\n"); in SetPixel()
46 uint32_t* pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel() local
47 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((pixel == nullptr), DISPLAY_TEST_LOGE("get pixel failed")); in SetPixel()
48 SetUint32(*pixel, color); in SetPixel()
/test/xts/hats/hdf/hdf_lite/display/
H A Dloadbmp_test.c46 uint16_t pixel = 0; in OsdMakeColorU16() local
54 pixel |= (1 << tmp); in OsdMakeColorU16()
59 pixel |= (r1 | (g1 << compinfo.bLen) | (b1 << (compinfo.bLen + compinfo.gLen))); in OsdMakeColorU16()
60 return pixel; in OsdMakeColorU16()
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/
H A Dnativeimage.cpp186 uint32_t *pixel = static_cast<uint32_t *>(mappedAddr); in OHNativeImageAttachContext() local
189 *pixel++ = value; in OHNativeImageAttachContext()
243 uint32_t *pixel = static_cast<uint32_t *>(mappedAddr); in OHNativeImageDetachContext() local
246 *pixel++ = value; in OHNativeImageDetachContext()
297 uint32_t *pixel = static_cast<uint32_t *>(mappedAddr); in OHNativeImageUpdateSurfaceImage() local
300 *pixel++ = value; in OHNativeImageUpdateSurfaceImage()
339 uint32_t *pixel = static_cast<uint32_t *>(mappedAddr); in OHNativeImageUpdateSurfaceImageBoundary() local
342 *pixel++ = value; in OHNativeImageUpdateSurfaceImageBoundary()
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp61 auto pixel = *(data + (i * stride) + (j * 4)); in g_isBwScreen() local
62 if (pixel >= BLANK_THR) { in g_isBwScreen()
65 if (pixel <= WHITE_THR) { in g_isBwScreen()

Completed in 5 milliseconds