Lines Matching defs:pixel
110 DISPLAY_TEST_LOGE("the pixel position outside\n");
112 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position;
113 DISPLAY_TEST_CHK_RETURN((pixel == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("get pixel failed"));
115 return *pixel;
143 DISPLAY_TEST_LOGE("the pixel position outside\n");
145 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position;
146 DISPLAY_TEST_CHK_RETURN((pixel == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("get pixel failed"));
148 uint32_t checkColor = ConverToRGBA(static_cast<Composer::V1_0::PixelFormat>(handle.format), GetUint32(*pixel));
184 DISPLAY_TEST_LOGE("the pixel position outside\n");
186 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position;
187 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((pixel == nullptr), DISPLAY_TEST_LOGE("get pixel failed"));
189 SetUint32(*pixel, color);