| 811 | static const int kEXRVersionSize = 8; |
| 812 | |
| 813 | static void inline cpy2(unsigned short *dst_val, const unsigned short *src_val) { |
| 814 | unsigned char *dst = reinterpret_cast<unsigned char *>(dst_val); |
| 815 | const unsigned char *src = reinterpret_cast<const unsigned char *>(src_val); |
| 816 | |
| 817 | dst[0] = src[0]; |
| 818 | dst[1] = src[1]; |
| 819 | } |
| 820 | |
| 821 | static void inline swap2(unsigned short *val) { |
| 822 | #if TINYEXR_LITTLE_ENDIAN |
no outgoing calls
no test coverage detected