I have a Visual C++ solution file that contains 3 projects. i want to access the variables declared in a function in a project from a function in another project. Function declarations are in .h file and expansion in .cpp files. Can i use friend class or any other suitable method.
I want to access the variables and pointers like intraPredAngle, absAng, dirMode, Pel* pDst used in the begining of function Void TComPrediction::xPredIntraAng. from TDecCU.cpp (at the reconstruction section from line 509 onwards. Please refer the following link
My objective is to control the addition of
pPred[ uiX ] + pResi[ uiX ] at line 518 based on intraPredAngle and dirmode values. ( addition operation based on some if loops).