Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beyond Protocol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
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 moved to Monday 17.3. at 13:00. ETA 60 - 90 minutes.
Show more breadcrumbs
Beyond AKA
Beyond Protocol
Commits
ed8b2e77
Commit
ed8b2e77
authored
2 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Patches
Plain Diff
#43
Fix channel utils
parent
8d817349
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ftl/protocol/channelUtils.hpp
+7
-7
7 additions, 7 deletions
include/ftl/protocol/channelUtils.hpp
with
7 additions
and
7 deletions
include/ftl/protocol/channelUtils.hpp
+
7
−
7
View file @
ed8b2e77
...
...
@@ -23,14 +23,14 @@ std::string name(Channel c);
int
type
(
Channel
c
);
/** @deprecated */
inline
bool
isFloatChannel
(
ftl
::
codecs
::
Channel
chan
)
{
inline
bool
isFloatChannel
(
ftl
::
protocol
::
Channel
chan
)
{
switch
(
chan
)
{
case
Channel
::
GroundTruth
:
case
Channel
::
Depth
:
case
Channel
::
Confidence
:
case
Channel
::
Flow
:
case
Channel
::
Density
:
case
Channel
::
Energy
:
return
true
;
case
Channel
::
k
GroundTruth
:
case
Channel
::
k
Depth
:
case
Channel
::
k
Confidence
:
case
Channel
::
k
Flow
:
case
Channel
::
k
Density
:
case
Channel
::
k
Energy
:
return
true
;
default
:
return
false
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment