MCPcopy Create free account
hub / github.com/RawTherapee/RawTherapee / decreaseRef

Method decreaseRef

rtgui/thumbnail.cc:789–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787}
788
789void Thumbnail::decreaseRef ()
790{
791 {
792 MyMutex::MyLock lock(mutex);
793
794 if ( ref == 0 ) {
795 return;
796 }
797
798 if ( --ref != 0 ) {
799 return;
800 }
801 }
802 cachemgr->closeThumbnail (this);
803}
804
805void Thumbnail::getThumbnailSize(int &w, int &h, const rtengine::procparams::ProcParams *pparams)
806{

Callers 7

deleteEntryMethod · 0.45
closeMethod · 0.45
loadBatchQueueMethod · 0.45
processLineParamsFunction · 0.45
~BatchQueueEntryMethod · 0.45
~FileBrowserEntryMethod · 0.45
_openImageMethod · 0.45

Calls 1

closeThumbnailMethod · 0.80

Tested by

no test coverage detected