This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(){ | |
signed char p[] = {static_cast<signed char>(0x88), 0x88}; | |
signed char *cp = p; | |
signed short q[] = {static_cast<signed short>(0x88), 0x88}; | |
signed short *cq = q; | |
int g1 = *cp++, g2 = *cp++; | |
printf("%d %d\n",g1, g2); | |
g1 = *cq++; g2=*cq++; | |
printf("%d %d\n",g1, g2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/RawSpeed/DngDecoder.cpp b/RawSpeed/DngDecoder.cpp | |
index 139fa25..b11265d 100644 | |
--- a/RawSpeed/DngDecoder.cpp | |
+++ b/RawSpeed/DngDecoder.cpp | |
@@ -410,9 +410,10 @@ RawImage DngDecoder::decodeRawInternal() { | |
else | |
table[i] = intable[len-1]; | |
} | |
- for (int y = 0; y < mRaw->dim.y; y++) { | |
+ iPoint2D udim = mRaw->getUncroppedDim(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <immintrin.h> | |
#include <intrin.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
union Mat44 { | |
float m[4][4]; | |
__m128 row[4]; | |
}; |