cpp_marker_detection_example/app/src/main/jni/marker_detection_app.cc
void OnFrameAvailableRouter(void* context, TangoCameraId,
                            const TangoImageBuffer* buffer) {
  tango_marker_detection::MarkerDetectionApp* app =
      static_cast<tango_marker_detection::MarkerDetectionApp*>(context);
  app->OnFrameAvailable(buffer);
}
// This function routes color image frame callbacks to the application object
// for handling.
//
// @param context, context will be a pointer to a MarkerDetectionApp
//        instance on which to call callbacks.
// @param id, id of the updated camera.
// @param buffer, the image buffer.
This function routes color image frame callbacks to the application object
for handling.
This function routes color image frame callbacks to the application object for handling .
void OnFrameAvailableRouter(void* context, TangoCameraId,
                            const TangoImageBuffer* buffer) {
  tango_marker_detection::MarkerDetectionApp* app =
      static_cast<tango_marker_detection::MarkerDetectionApp*>(context);
  app->OnFrameAvailable(buffer);
}
void OnFrameAvailableRouter ( void * context , TangoCameraId , const TangoImageBuffer * buffer ) { tango_marker_detection :: MarkerDetectionApp * app = static_cast < tango_marker_detection :: MarkerDetectionApp * > ( context ) ; app -> OnFrameAvailable ( buffer ) ; }
This function routes color image frame callbacks to the application object
for handling.
This function routes color image frame callbacks to the application object for handling .