23 #include "orfcontainer.h"
26 using namespace Debug;
33 OrfContainer::OrfContainer(IO::Stream *_file, off_t offset)
34 : IFDFileContainer(_file, offset)
52 if ((p[0] ==
'I') && (p[1] ==
'I')) {
53 if((p[2] ==
'R') && ((p[3] ==
'O') || (p[3] ==
'S'))) {
55 Trace(DEBUG1) <<
"Identified EL ORF file. Subtype = " << p[3] <<
"\n";
60 else if((p[0] ==
'M') && (p[1] ==
'M')) {
61 if((p[3] ==
'R') && ((p[2] ==
'O') || (p[2] ==
'S'))) {
63 Trace(DEBUG1) <<
"Identified BE ORF file. Subtype = " << p[2] <<
"\n";
69 Trace(ERROR) <<
"Unidentified ORF file\n";
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard. I guess it failed.
virtual IFDFileContainer::EndianType isMagicHeader(const char *p, int len)