upload.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2017 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 #include <map>
7 #include <vector>
8 
10 #include "synthetic-stream-gl.h"
11 
12 #include <librealsense2/rs.hpp>
13 #include "opengl3.h"
14 
15 #include <memory>
16 
17 namespace rs2
18 {
19  class stream_profile;
20  class visualizer_2d;
21 }
22 
23 namespace librealsense
24 {
25  namespace gl
26  {
28  {
29  public:
30  upload();
31  ~upload() override;
32 
33  void cleanup_gpu_resources() override;
34  void create_gpu_resources() override;
35 
36  rs2::frame process_frame(const rs2::frame_source& source, const rs2::frame& f) override;
37  private:
38  std::vector<int> _hist;
39  std::vector<float> _fhist;
40  int* _hist_data;
41  float* _fhist_data;
42  bool _enabled = false;
43  };
44  }
45 }
Definition: cah-model.h:10
GLdouble f
static const textual_icon upload
Definition: model-views.h:235
std::vector< float > _fhist
Definition: upload.h:39
GLsizei GLsizei GLchar * source
std::vector< int > _hist
Definition: upload.h:38


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