| 202 | } |
| 203 | |
| 204 | static inline uint32_t panel_reverse_addr(uint32_t addr, uint32_t upperBound, uint32_t dirMask) { |
| 205 | assert(dirMask == 0 || ~dirMask == 0); |
| 206 | return (addr ^ dirMask) + (upperBound & dirMask); |
| 207 | } |
| 208 | |
| 209 | static inline void panel_buffer_pixel_chunk(uint8_t (* restrict srcPixel)[3], uint32_t * restrict dstPixel, uint8_t redShift) { |
| 210 | uint8_t blueShift = redShift ^ (PANEL_DISP_RED ^ PANEL_DISP_BLUE); |
no outgoing calls
no test coverage detected