Home
last modified time | relevance | path

Searched refs:xmpStr (Results 1 – 15 of 15) sorted by relevance

/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/PluginHandler/
H A DFileHandlerInstance.cpp46 XMP_StringPtr xmpStr = NULL; in CacheFileData() local
51 if ( xmpStr != 0 ) free( (void*) xmpStr ); in CacheFileData()
58 if( xmpStr != NULL ) in CacheFileData()
60 this->xmpPacket.assign( xmpStr ); in CacheFileData()
80 XMP_StringPtr xmpStr = this->xmpPacket.c_str(); in ProcessXMP() local
85 if( xmpStr != NULL && xmpStr != this->xmpPacket.c_str() ) in ProcessXMP()
92 free( ( void * ) xmpStr ); in ProcessXMP()
112 if( xmpStr != NULL && xmpStr != this->xmpPacket.c_str() ) in ProcessXMP()
119 free( ( void * ) xmpStr ); in ProcessXMP()
145 XMP_StringPtr xmpStr = xmp.c_str(); in UpdateFile() local
[all …]
H A DHostAPIImpl.cpp654 …essionRef session, XMP_FileFormat format, StringPtr path, XMP_StringPtr* xmpStr, XMP_Bool * xmpExi… in GetXMPStandardHandler_V2() argument
670 *xmpStr = buffer; // callee function should free the memory. in GetXMPStandardHandler_V2()
674 …essionRef session, XMP_FileFormat format, StringPtr path, XMP_StringPtr* xmpStr, XMP_Bool * xmpExi… in GetXMPStandardHandler_V3() argument
690 *xmpStr = buffer; // callee function should free the memory. in GetXMPStandardHandler_V3()
694 …nRef session, XMP_FileFormat format, StringPtr path, const XMP_StringPtr xmpStr, WXMP_Error* wErro… in PutXMPStandardHandler() argument
750 size_t length = strnlen( xmpStr, Max_XMP_Uns32 ); in PutXMPStandardHandler()
755 SXMPMeta meta( xmpStr, static_cast<XMP_Uns32>( length )); in PutXMPStandardHandler()
/dports/textproc/exempi/exempi-2.5.2/XMPFilesPlugins/api/source/
H A DPluginBase.h76 void cacheFileData( XMP_IORef fileRef, XMP_StringPtr* xmpStr );
77 void updateFile( XMP_IORef fileRef, bool doSafeUpdate, XMP_StringPtr xmpStr );
78 void writeTempFile( XMP_IORef srcFileRef, XMP_IORef fileRef, XMP_StringPtr xmpStr );
106 …bool getXMPStandard( std::string& xmpStr, const std::string* path = NULL, bool* containsXMP = NULL…
143 …bool putXMPStandard( const XMP_StringPtr xmpStr, XMP_OptionBits flags = NULL, const std::string* p…
270 virtual void cacheFileData( const IOAdapter& file, std::string& xmpStr ) = 0;
271 virtual void updateFile( const IOAdapter& file, bool doSafeUpdate, const std::string& xmpStr ) = 0;
272 …d writeTempFile( const IOAdapter& srcFile, const IOAdapter& tmpFile, const std::string& xmpStr ) {} in writeTempFile() argument
273 …virtual void importToXMP( XMP_StringPtr* xmpStr, XMP_StringPtr* oldPtr , XMP_PacketInfo * packetIn…
274 virtual void exportFromXMP( XMP_StringPtr xmpStr );
[all …]
H A DPluginBase.cpp27 void PluginBase::cacheFileData( XMP_IORef fileRef, XMP_StringPtr* xmpStr ) in cacheFileData() argument
39 *xmpStr = bufferPtr; // callee function should free the memory. in cacheFileData()
45 void PluginBase::updateFile( XMP_IORef fileRef, bool doSafeUpdate, XMP_StringPtr xmpStr ) in updateFile() argument
48 std::string buffer( xmpStr ); in updateFile()
55 void PluginBase::writeTempFile( XMP_IORef srcFileRef, XMP_IORef tmpFileRef, XMP_StringPtr xmpStr ) in writeTempFile() argument
59 std::string buffer( xmpStr ); in writeTempFile()
139 this->importToXMP( xmpStr ); in importToXMP()
144 void PluginBase::importToXMP( XMP_StringPtr* xmpStr ) in importToXMP() argument
158 void PluginBase::exportFromXMP( XMP_StringPtr xmpStr ) in exportFromXMP() argument
237 bool ret = GetXMPStandard( this, this->getFormat(), _path, xmpStr, containsXMP ); in getXMPStandard()
[all …]
H A DPluginAPIImpl.cpp225 …tic_CacheFileData( SessionRef session, XMP_IORef fileRef, XMP_StringPtr* xmpStr, WXMP_Error * wErr… in Static_CacheFileData() argument
236 thiz->cacheFileData( fileRef, xmpStr ); in Static_CacheFileData()
259 …sionRef session, XMP_IORef fileRef, XMP_Bool doSafeUpdate, XMP_StringPtr xmpStr, WXMP_Error * wErr… in Static_UpdateFile() argument
270 thiz->updateFile( fileRef, ConvertXMP_BoolToBool( doSafeUpdate ), xmpStr ); in Static_UpdateFile()
284 …ssionRef session, XMP_IORef srcFileRef, XMP_IORef fileRef, XMP_StringPtr xmpStr, WXMP_Error * wErr… in Static_WriteTempFile() argument
295 thiz->writeTempFile( srcFileRef, fileRef, xmpStr ); in Static_WriteTempFile()
382 static XMPErrorID Static_ImportToXMPString( SessionRef session, XMP_StringPtr* xmpStr, WXMP_Error *… in Static_ImportToXMPString() argument
393 thiz->importToXMP( xmpStr ); in Static_ImportToXMPString()
407 static XMPErrorID Static_ExportFromXMPString( SessionRef session, XMP_StringPtr xmpStr, WXMP_Error … in Static_ExportFromXMPString() argument
418 thiz->exportFromXMP( xmpStr ); in Static_ExportFromXMPString()
[all …]
H A DPluginHandler.h180 …acheFileDataProc)( SessionRef session, XMP_IORef fileRef, XMP_StringPtr* xmpStr, WXMP_Error * wErr…
193 …sionRef session, XMP_IORef fileRef, XMP_Bool doSafeUpdate, XMP_StringPtr xmpStr, WXMP_Error * wErr…
206 …ssionRef session, XMP_IORef orgFileRef, XMP_IORef fileRef, XMP_StringPtr xmpStr, WXMP_Error * wErr…
266 typedef XMPErrorID (*ImportToXMPStringProc)( SessionRef session, XMP_StringPtr* xmpStr , WXMP_Error…
279 typedef XMPErrorID (*ImportToXMPStringWithPacketProc)( SessionRef session, XMP_StringPtr* xmpStr , …
291 typedef XMPErrorID (*ExportFromXMPStringProc)( SessionRef session, XMP_StringPtr xmpStr, WXMP_Error…
H A DHostAPI.h316 …essionRef session, XMP_FileFormat format, StringPtr path, XMP_StringPtr* xmpStr, XMP_Bool * contai…
347 …essionRef session, XMP_FileFormat format, StringPtr path, XMP_StringPtr* xmpStr, XMP_Bool * contai…
364 …nRef session, XMP_FileFormat format, StringPtr path, const XMP_StringPtr xmpStr, WXMP_Error* wErro…
H A DHostAPIAccess.h194 …onRef session, XMP_FileFormat format, const StringPtr path, std::string& xmpStr, bool* containsXMP…
209 …ession, XMP_FileFormat format, const StringPtr path, const XMP_StringPtr xmpStr, XMP_OptionBits fl…
H A DHostAPIAccess.cpp261 …onRef session, XMP_FileFormat format, const StringPtr path, std::string& xmpStr, bool* containsXMP… in GetXMPStandard() argument
287 xmpStr = outXmp; in GetXMPStandard()
303 …ession, XMP_FileFormat format, const StringPtr path, const XMP_StringPtr xmpStr, XMP_OptionBits fl… in PutXMPStandard() argument
316 …sStandardHandler_V3->mPutXMPStandardHandler( session, format, path, xmpStr, &error, flags, errorCa… in PutXMPStandard()
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/FileHandlers/
H A DWAV_Handler.cpp641 std::string legacyStr, xmpStr; in ImportLegacyItem() local
645 haveXMPItem = this->xmpObj.GetProperty ( xmpNS, xmpProp, &xmpStr, 0 ); in ImportLegacyItem()
647 haveXMPItem = this->xmpObj.GetLocalizedText ( xmpNS, xmpProp, "", "x-default", 0, &xmpStr, 0 ); in ImportLegacyItem()
689 UTF8ToMBCS ( &xmpStr ); in ImportLegacyItem()
690 if ( xmpStr == legacyStr ) return; in ImportLegacyItem()
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/public/include/client-glue/
H A DTXMPFiles.incl_cpp286 XMP_StringPtr xmpStr;
296 WrapCheckBool ( hasXMP, zXMPFiles_GetXMP_1 ( xmpRef, &xmpStr, &xmpLen, packetInfo ) );
298 if ( xmpPacket != 0 ) xmpPacket->assign ( xmpStr, xmpLen );
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/FormatSupport/
H A DReconcileIPTC.cpp699 std::string xmpStr; in ExportIPTC_DateCreated() local
705 bool found = xmp->GetProperty ( xmpNS, xmpProp, &xmpStr, &xmpFlags ); in ExportIPTC_DateCreated()
707 SXMPUtils::ConvertToDate ( xmpStr.c_str(), &xmpValue ); in ExportIPTC_DateCreated()
708 if ( xmpStr.size() > 10 ) xmpHasTime = true; // Date-only values are up to "YYYY-MM-DD". in ExportIPTC_DateCreated()
/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/FileHandlers/
H A DPostScript_Handler.hpp85 void ReconcileXMP( const std::string &xmpStr, std::string *outStr );
H A DPostScript_Handler.cpp1082 void PostScript_MetaHandler::ReconcileXMP( const std::string &xmpStr, std::string *outStr ) in ReconcileXMP() argument
1085 xmp.ParseFromBuffer( xmpStr.c_str(), xmpStr.length() ); in ReconcileXMP()
/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/FormatSupport/
H A DReconcileTIFF.cpp2687 std::string xmpStr; in ExportTIFF_Date() local
2688 bool foundXMP = xmp.GetProperty ( xmpNS, xmpProp, &xmpStr, 0 ); in ExportTIFF_Date()
2705 SXMPUtils::ConvertToDate ( xmpStr.c_str(), &xmpBin ); in ExportTIFF_Date()
2711 size_t xmpLen = xmpStr.size(); in ExportTIFF_Date()