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
Show more breadcrumbs
Nicolas Pope
ftl
Merge requests
!201
Implements
#170
concurrent encoding
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Implements
#170
concurrent encoding
feature/170/concurrentencode
into
master
Overview
0
Commits
3
Pipelines
2
Changes
6
Merged
Nicolas Pope
requested to merge
feature/170/concurrentencode
into
master
5 years ago
Overview
0
Commits
3
Pipelines
2
Changes
6
Expand
Also resolves some other bug issues.
0
0
Merge request reports
Viewing commit
f73669e9
Prev
Next
Show latest version
6 files
+
49
−
40
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
f73669e9
Fix for decode crashing
· f73669e9
Nicolas Pope
authored
5 years ago
components/codecs/include/ftl/codecs/hevc.hpp
+
4
−
0
Options
@@ -97,6 +97,10 @@ inline NALType getNALType(const std::vector<uint8_t> &data) {
return
static_cast
<
NALType
>
((
data
[
4
]
>>
1
)
&
0x3F
);
}
inline
bool
validNAL
(
const
std
::
vector
<
uint8_t
>
&
data
)
{
return
data
[
0
]
==
0
&&
data
[
1
]
==
0
&&
data
[
2
]
==
0
&&
data
[
3
]
==
1
;
}
/**
* Check the HEVC bitstream for an I-Frame. With NvPipe, all I-Frames start
* with a VPS NAL unit so just check for this.
Loading