Revised printf file format strings
This commit is contained in:
@@ -562,21 +562,21 @@ FrameData::FrameData (rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory*
|
|||||||
sampleFormat = IIOSF_FLOAT16;
|
sampleFormat = IIOSF_FLOAT16;
|
||||||
isHDR = true;
|
isHDR = true;
|
||||||
#if PRINT_HDR_PS_DETECTION
|
#if PRINT_HDR_PS_DETECTION
|
||||||
printf("HDR detected ! -> sampleFormat = %d (16 bits)\n", sampleFormat);
|
printf("HDR detected ! -> sampleFormat = %d (16-bit)\n", sampleFormat);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (bitspersample == 24) {
|
else if (bitspersample == 24) {
|
||||||
sampleFormat = IIOSF_FLOAT24;
|
sampleFormat = IIOSF_FLOAT24;
|
||||||
isHDR = true;
|
isHDR = true;
|
||||||
#if PRINT_HDR_PS_DETECTION
|
#if PRINT_HDR_PS_DETECTION
|
||||||
printf("HDR detected ! -> sampleFormat = %d (24 bits)\n", sampleFormat);
|
printf("HDR detected ! -> sampleFormat = %d (24-bit)\n", sampleFormat);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (bitspersample == 32) {
|
else if (bitspersample == 32) {
|
||||||
sampleFormat = IIOSF_FLOAT32;
|
sampleFormat = IIOSF_FLOAT32;
|
||||||
isHDR = true;
|
isHDR = true;
|
||||||
#if PRINT_HDR_PS_DETECTION
|
#if PRINT_HDR_PS_DETECTION
|
||||||
printf("HDR detected ! -> sampleFormat = %d (32 bits)\n", sampleFormat);
|
printf("HDR detected ! -> sampleFormat = %d (32-bit)\n", sampleFormat);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -586,21 +586,21 @@ FrameData::FrameData (rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory*
|
|||||||
sampleFormat = IIOSF_FLOAT16;
|
sampleFormat = IIOSF_FLOAT16;
|
||||||
isHDR = true;
|
isHDR = true;
|
||||||
#if PRINT_HDR_PS_DETECTION
|
#if PRINT_HDR_PS_DETECTION
|
||||||
printf("HDR detected ! -> sampleFormat = %d (16 bits)\n", sampleFormat);
|
printf("HDR detected ! -> sampleFormat = %d (16-bit)\n", sampleFormat);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (bitspersample == 24) {
|
else if (bitspersample == 24) {
|
||||||
sampleFormat = IIOSF_FLOAT24;
|
sampleFormat = IIOSF_FLOAT24;
|
||||||
isHDR = true;
|
isHDR = true;
|
||||||
#if PRINT_HDR_PS_DETECTION
|
#if PRINT_HDR_PS_DETECTION
|
||||||
printf("HDR detected ! -> sampleFormat = %d (24 bits)\n", sampleFormat);
|
printf("HDR detected ! -> sampleFormat = %d (24-bit)\n", sampleFormat);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (bitspersample == 32) {
|
else if (bitspersample == 32) {
|
||||||
sampleFormat = IIOSF_FLOAT32;
|
sampleFormat = IIOSF_FLOAT32;
|
||||||
isHDR = true;
|
isHDR = true;
|
||||||
#if PRINT_HDR_PS_DETECTION
|
#if PRINT_HDR_PS_DETECTION
|
||||||
printf("HDR detected ! -> sampleFormat = %d (32 bits)\n", sampleFormat);
|
printf("HDR detected ! -> sampleFormat = %d (32-bit)\n", sampleFormat);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} else if (sampleformat == SAMPLEFORMAT_INT || sampleformat == SAMPLEFORMAT_UINT) {
|
} else if (sampleformat == SAMPLEFORMAT_INT || sampleformat == SAMPLEFORMAT_UINT) {
|
||||||
|
Reference in New Issue
Block a user