]> git.sesse.net Git - nageru/blob - shared/memcpy_interleaved.h
Move VADisplayWithCleanup into its own header file, in shared/.
[nageru] / shared / memcpy_interleaved.h
1 #ifndef _MEMCPY_INTERLEAVED_H
2 #define _MEMCPY_INTERLEAVED_H 1
3
4 #include <stddef.h>
5 #include <stdint.h>
6
7 // Copies every other byte from src to dest1 and dest2.
8 // TODO: Support stride.
9 void memcpy_interleaved(uint8_t *dest1, uint8_t *dest2, const uint8_t *src, size_t n);
10
11 #endif  // !defined(_MEMCPY_INTERLEAVED_H)