Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
gl
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
9
#include "
proc/synthetic-stream.h
"
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
{
27
class
upload
:
public
stream_filter_processing_block
,
public
gpu_processing_object
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
}
rs2::frame
Definition:
rs_frame.hpp:343
rs.hpp
rs2
Definition:
cah-model.h:10
opengl3.h
librealsense
Definition:
calibration-model.h:6
f
GLdouble f
Definition:
glad/glad/glad.h:1518
rs2::frame_source
Definition:
rs_processing.hpp:18
librealsense::gl::upload::_fhist_data
float * _fhist_data
Definition:
upload.h:41
rs2::textual_icons::upload
static const textual_icon upload
Definition:
model-views.h:235
librealsense::gl::upload
Definition:
upload.h:27
synthetic-stream-gl.h
librealsense::gl::upload::_hist_data
int * _hist_data
Definition:
upload.h:40
librealsense::gl::gpu_processing_object
Definition:
synthetic-stream-gl.h:293
synthetic-stream.h
librealsense::gl::upload::_fhist
std::vector< float > _fhist
Definition:
upload.h:39
source
GLsizei GLsizei GLchar * source
Definition:
glad/glad/glad.h:2829
librealsense::gl::upload::_hist
std::vector< int > _hist
Definition:
upload.h:38
librealsense::stream_filter_processing_block
Definition:
synthetic-stream.h:129
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:50:13