H A D | WebGLImageConversion.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 228 // Some code are merged back from Mozilla code in http://mxr.mozilla.org/mozilla-central/source/content/canvas/src/WebGLTexelConversions.h 238 template<> void unpack<WebGLImageConversion::DataFormatRGB8, uint8_t, uint8_t>(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 241 destination[0] = source[0]; 242 destination[1] = source[1]; 243 destination[2] = source[2]; 245 source += 3; 250 template<> void unpack<WebGLImageConversion::DataFormatBGR8, uint8_t, uint8_t>(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 253 destination[0] = source[2]; 254 destination[1] = source[ 262 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 274 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 286 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 304 unpack(const uint16_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 323 unpack(const uint16_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 343 unpack(const uint16_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 362 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 374 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 386 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 398 unpack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 410 unpack(const uint8_t* source, float* destination, unsigned pixelsPerRow) argument 423 unpack(const uint8_t* source, float* destination, unsigned pixelsPerRow) argument 436 unpack(const uint8_t* source, float* destination, unsigned pixelsPerRow) argument 449 unpack(const uint8_t* source, float* destination, unsigned pixelsPerRow) argument 462 unpack(const uint8_t* source, float* destination, unsigned pixelsPerRow) argument 475 unpack(const uint8_t* source, float* destination, unsigned pixelsPerRow) argument 488 unpack(const float* source, float* destination, unsigned pixelsPerRow) argument 500 unpack(const float* source, float* destination, unsigned pixelsPerRow) argument 512 unpack(const float* source, float* destination, unsigned pixelsPerRow) argument 524 unpack(const float* source, float* destination, unsigned pixelsPerRow) argument 546 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 555 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 564 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 576 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 587 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 597 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 610 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 622 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 633 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 649 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 665 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 670 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 687 pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) argument 703 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 718 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 735 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 751 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 766 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 783 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 799 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 813 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 829 pack(const uint8_t* source, uint16_t* destination, unsigned pixelsPerRow) argument 844 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 855 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 867 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 880 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 885 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 898 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 911 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 920 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 929 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 939 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 949 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 959 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 970 pack(const float* source, float* destination, unsigned pixelsPerRow) argument 981 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 993 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1006 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1019 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1030 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1042 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1054 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1064 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1075 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1086 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1095 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1105 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument 1115 pack(const float* source, uint16_t* destination, unsigned pixelsPerRow) argument [all...] |