Home
last modified time | relevance | path

Searched refs:BPP (Results 1 - 2 of 2) sorted by relevance

/foundation/window/window_manager/utils/src/
H A Dsurface_reader.cpp30 const int BPP = 4; // bytes per pixel member
128 auto data = (uint8_t *)malloc(width * height * BPP); in ProcessBuffer()
134 errno_t ret = memcpy_s(data + width * i * BPP, width * BPP, addr + stride * i, width * BPP); in ProcessBuffer()
/foundation/window/window_manager/snapshot/test/unittest/
H A Dsnapshot_utils_test.cpp30 constexpr int BPP = 4; member
247 .stride = 256 * BPP, in HWTEST_F()
264 .stride = 256 * BPP, in HWTEST_F()
281 .stride = 256 * BPP, in HWTEST_F()
413 .stride = 256 * BPP, in HWTEST_F()

Completed in 1 milliseconds