Definition at line 495 of file VideoAccessStrategy.h. References Impala::Core::Stream::Lavc::VideoAccessObject::CurrentHash(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn5(), HASH_SIZE, ILOG_DEBUG, mFrames, and mVao. Referenced by CurrentFrameMatchesFrame(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::NextFrameMatchesFrame(), and ProcessFrame(). 00496 { 00497 bool matched = false; 00498 const String currentHash = mVao->CurrentHash(); 00499 if (currentHash.size() == HASH_SIZE) 00500 { 00501 const char* currentHashStr = currentHash.c_str(); 00502 const char* frameHash = 00503 mFrames->GetColumn5()->GetVectorData(frameNr); 00504 matched = true; 00505 for (int i = 0; i < HASH_SIZE; i++) 00506 if (frameHash[i] != currentHashStr[i]) 00507 { 00508 matched = false; 00509 break; 00510 } 00511 } 00512 00513 if (!matched) 00514 ILOG_DEBUG("Hash does not match for frame " << 00515 frameNr << "; found: " << mVao->CurrentHash()); 00516 return matched; 00517 }
Here is the call graph for this function:
|