Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Maintenance on Tuesday 15.4. at 14:00. ETA 60 - 90 minutes.
Show more breadcrumbs
Nicolas Pope
ftl
Merge requests
!105
CUDA optical flow smoothing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CUDA optical flow smoothing
feature/off-cuda
into
master
Overview
0
Commits
28
Pipelines
1
Changes
2
Merged
Sebastian Hahta
requested to merge
feature/off-cuda
into
master
5 years ago
Overview
0
Commits
28
Pipelines
1
Changes
2
Expand
Closes
#155 (closed)
0
0
Merge request reports
Viewing commit
3d6409d8
Prev
Next
Show latest version
2 files
+
9
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
3d6409d8
documentation on the interface
· 3d6409d8
Sebastian Hahta
authored
5 years ago
components/rgbd-sources/include/ftl/rgbd/frame.hpp
+
8
−
3
Options
@@ -71,9 +71,14 @@ public:
* @param Channel type
* @returns Reference to channel data
*
* Returns non-const reference to channel data. Invalidates other copies of
* the data (host/gpu) for the specified channel, next time getChannel() is
* called a memory transfer may occur.
* Returns non-const reference to channel memory. Invalidates other copies
* of the data (host/gpu) for the specified channel, next time getChannel()
* is called a memory transfer may occur.
*
* NOTE: If user of setChannel<T>() wants to modify contents instead of
* replacing them, getChannel<T>() needs to be called first to
* ensure there is valid contents in the returned reference!
* (TODO: interface could be improved)
*/
template
<
typename
T
>
T
&
setChannel
(
const
ftl
::
rgbd
::
channel_t
&
channel
);
Loading