Lines Matching defs:position
108 int32_t position = y * handle.width + x;
109 if ((position * PIXEL_BYTES) > handle.size) {
110 DISPLAY_TEST_LOGE("the pixel position outside\n");
112 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position;
141 int32_t position = y * handle.width + x;
142 if ((position * PIXEL_BYTES) > handle.size) {
143 DISPLAY_TEST_LOGE("the pixel position outside\n");
145 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position;
182 int32_t position = y * handle.stride / PIXEL_BYTES + x;
183 if ((position * PIXEL_BYTES) > handle.size) {
184 DISPLAY_TEST_LOGE("the pixel position outside\n");
186 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position;