int MMCMountAllDevices(int nMMCMode, BYTE *pSectorBuffer) { int nError = MMC_ERROR; DRIVE *pDrive; nMMCMode = nMMCMode; pDrive = NULL; MMCLock(); pDrive = &sDrive[MMC_DRIVE_C]; if (pDrive->wFlags & MMC_READY) { nError = GetCSD(pDrive); } MMCFree(); if (nError == MMC_OK) { nError = MMCReadSectors(MMC_DRIVE_C, pSectorBuffer, 0, 1); } return(nError); } /* MMCMountDevice */
Mat CmSaliencyGC::GetSaliencyCues() { vecD d; Mat salMatCSD; if (_GET_CSD){ GetCSD(_csd, d); salMatCSD = GetSalFromGMMs(_csd); } GetGU(_gu, d, 0.4, 15); Mat salMatGU = GetSalFromGMMs(_gu); if (_GET_CSD) return SpatialVar(salMatCSD) < SpatialVar(salMatGU) ? salMatCSD : salMatGU; else return salMatGU; }