Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c29 #define BPP ((DISPLAY_BITS_PER_PIXEL(PIXEL_FORMAT)) / BITS_PER_BYTE) macro
31 #define BUFFER_SIZE (CROSS_DIM * CROSS_DIM * BPP)
85 for (i = 0; i < BPP; i++) { in fill_cross_buffer()
87 index = BPP * (CROSS_DIM / 2 * CROSS_DIM + x); in fill_cross_buffer()
91 index = BPP * (y * CROSS_DIM + CROSS_DIM / 2); in fill_cross_buffer()
125 if (BPP == 0 || BPP > 4) { in main()
126 LOG_ERR("Unsupported BPP=%d", BPP); in main()