22 #include <boost/format.hpp>
24 #include "dumputils.hpp"
68 return "Panasonic RAW";
71 return "FujiFilm RAF";
87 out << boost::format(
"\tType = %1% (%2%)\n")
91 = str(boost::format(
"%1%, %2%")
94 out << boost::format(
"\tType ID = %1%\n") % typeId;
101 if (original !=
nullptr) {
102 out << boost::format(
"\tConverted to DNG from '%1%'\n") % original;
109 "\t*ERROR*: mismatched vendor id, got %1%\n")
116 out << boost::format(dev_mode ?
117 "\tMake = \"%1%\"\n" :
"\tMake = %1%\n")
123 out << boost::format(dev_mode ?
124 "\tModel = \"%1%\"\n" :
"\tModel = %1%\n")
129 | DNG_TAG_UNIQUE_CAMERA_MODEL);
130 if (uniqueCameraModel) {
131 out << boost::format(
"\tUnique Camera Model = %1%\n")
#define OR_GET_FILE_TYPEID_CAMERA(ftypeid)
Get the camera from the or_rawfile_typeid.
uint32_t or_rawfile_typeid
This is the type ID, a combination of vendor model It maps a specific camera. Only for the NATIVE fil...
struct _RawFile * ORRawFileRef
RawFile reference.
or_rawfile_type
Types of RAW files.
#define OR_GET_FILE_TYPEID_VENDOR(ftypeid)
Get the vendor from the or_rawfile_typeid.
@ OR_RAWFILE_TYPE_UNKNOWN
API_EXPORT or_rawfile_typeid or_rawfile_get_vendorid(ORRawFileRef rawfile)
Return the type id to identify the vendor.
API_EXPORT ORConstMetaValueRef or_rawfile_get_metavalue(ORRawFileRef rawfile, int32_t meta_index)
Get the metadata value.
API_EXPORT or_rawfile_typeid or_rawfile_get_typeid(ORRawFileRef rawfile)
Return the type id to identify the exact file type.
API_EXPORT or_rawfile_type or_rawfile_get_type(ORRawFileRef rawfile)
Get the RawFile type.