"no previous declaration" warnings fixed in samples

pull/7163/head
Rostislav Vasilikhin 8 years ago
parent 289d879d48
commit d7db220196
  1. 7
      samples/openvx/no_wrappers.cpp
  2. 4
      samples/openvx/wrappers.cpp
  3. 4
      samples/openvx/wrappers_video.cpp

@ -27,6 +27,13 @@ enum UserMemoryMode
COPY, USER_MEM
};
vx_image convertCvMatToVxImage(vx_context context, cv::Mat image, bool toCopy);
cv::Mat copyVxImageToCvMat(vx_image ovxImage);
void swapVxImage(vx_image ovxImage);
vx_status createProcessingGraph(vx_image inputImage, vx_image outputImage, vx_graph& graph);
int ovxDemo(std::string inputPath, UserMemoryMode mode);
vx_image convertCvMatToVxImage(vx_context context, cv::Mat image, bool toCopy)
{
if (!(!image.empty() && image.dims <= 2 && image.channels() == 1))

@ -15,6 +15,10 @@ enum UserMemoryMode
COPY, USER_MEM, MAP
};
ivx::Graph createProcessingGraph(ivx::Image& inputImage, ivx::Image& outputImage);
int ovxDemo(std::string inputPath, UserMemoryMode mode);
ivx::Graph createProcessingGraph(ivx::Image& inputImage, ivx::Image& outputImage)
{
using namespace ivx;

@ -15,6 +15,10 @@ enum UserMemoryMode
COPY, USER_MEM, MAP
};
ivx::Graph createProcessingGraph(ivx::Image& inputImage, ivx::Image& outputImage);
int ovxDemo(std::string inputPath, UserMemoryMode mode);
ivx::Graph createProcessingGraph(ivx::Image& inputImage, ivx::Image& outputImage)
{
using namespace ivx;

Loading…
Cancel
Save