MCPcopy Create free account
hub / github.com/RenderKit/embree / cpy2

Function cpy2

tutorials/common/image/tinyexr.h:813–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811static const int kEXRVersionSize = 8;
812
813static 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
821static void inline swap2(unsigned short *val) {
822#if TINYEXR_LITTLE_ENDIAN

Callers 4

DecompressPizFunction · 0.85
DecodePixelDataFunction · 0.85
EncodePixelDataFunction · 0.85
tinyexr.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected