Skip to content
Snippets Groups Projects
Commit a04892f7b151 authored by Aleksandr Bakhshiev's avatar Aleksandr Bakhshiev
Browse files

Merge with default

--HG--
branch : NamedIO
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ virtual void CreateClassSamples(UStorage *storage);
// --------------------------
};
extern Detection DetectionLibrary;
extern RDK_LIB_TYPE Detection DetectionLibrary;
}
......
......@@ -182,7 +182,7 @@ bool UBADifferenceFrameSimple::BCalculate(UBitmap &input, UBitmap &deduction, UB
for(j=0; j<Width; j++)
{
bdif = *reinterpret_cast<unsigned*>(bufdata)
- *reinterpret_cast<unsigned*>(*bufded);
- *reinterpret_cast<unsigned*>(bufded);
*reinterpret_cast<unsigned*>(buf) = (bdif<0)?-bdif:bdif;
buf+=4; bufdata+=4; bufded+=4;
}
......
......@@ -198,8 +198,6 @@ bool UBALoopingSimple::BCalculate(UBitmap &input, UBitmap &output)
for(i=0;i<Length;i++,pData+=4,ptData+=4)
{
unsigned int &tc=*reinterpret_cast<unsigned*>(ptData);
tc=0;
b=*reinterpret_cast<unsigned*>(pData);
tc=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment