fix(api): depth core.

This commit is contained in:
TinyOh 2019-03-13 10:03:12 +08:00
parent dfea14aba3
commit af8e188ae1
2 changed files with 6 additions and 3 deletions

View File

@ -29,6 +29,9 @@ class DepthProcessorOCV : public Processor {
virtual ~DepthProcessorOCV(); virtual ~DepthProcessorOCV();
std::string Name() override; std::string Name() override;
inline Processor::process_type ProcessOutputConnection() override {
return Processor::WITHOUT_CLONE;
}
protected: protected:
Object *OnCreateOutput() override; Object *OnCreateOutput() override;

View File

@ -44,9 +44,9 @@ class DisparityProcessor : public Processor {
inline Processor::process_type ProcessOutputConnection() override { inline Processor::process_type ProcessOutputConnection() override {
return Processor::WITHOUT_CLONE; return Processor::WITHOUT_CLONE;
} }
// inline Processor::process_type ProcessInputConnection() override { inline Processor::process_type ProcessInputConnection() override {
// return Processor::WITHOUT_CLONE; return Processor::WITHOUT_CLONE;
// } }
Object *OnCreateOutput() override; Object *OnCreateOutput() override;
bool OnProcess( bool OnProcess(
Object *const in, Object *const out, Object *const in, Object *const out,