Filter.java
Go to the documentation of this file.
1 package com.intel.realsense.librealsense;
2 
3 public abstract class Filter extends ProcessingBlock implements FilterInterface{
4  protected FrameQueue mQueue = new FrameQueue(1);
5 
6  @Override
7  public Frame process(Frame original) {
8  nInvoke(mHandle, original.getHandle());
9  Frame f = mQueue.pollForFrame();
10  return f != null ? f : original;
11  }
12 
13  @Override
14  public FrameSet process(FrameSet original) {
15  nInvoke(mHandle, original.getHandle());
16  FrameSet f = mQueue.pollForFrames();
17  return f != null ? f : original;
18  }
19 }
Frame process(Frame original)
Definition: Filter.java:7
FrameSet process(FrameSet original)
Definition: Filter.java:14
GLdouble f
static native void nInvoke(long handle, long frameHandle)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:14