MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / cpy2

Function cpy2

third-party/tinyexr/tinyexr.h:774–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772static const int kEXRVersionSize = 8;
773
774static void cpy2(unsigned short *dst_val, const unsigned short *src_val) {
775 unsigned char *dst = reinterpret_cast<unsigned char *>(dst_val);
776 const unsigned char *src = reinterpret_cast<const unsigned char *>(src_val);
777
778 dst[0] = src[0];
779 dst[1] = src[1];
780}
781
782static void swap2(unsigned short *val) {
783#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