Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
jvet
VVCSoftware_VTM
Commits
545123f1
Commit
545123f1
authored
5 years ago
by
Hendry
Browse files
Options
Downloads
Patches
Plain Diff
add a checking for temporal Id of GDR picture
parent
11d7526e
No related branches found
No related tags found
1 merge request
!918
JVET-N0865: GDR Non-Signalling Part
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/CommonLib/TypeDef.h
+1
-0
1 addition, 0 deletions
source/Lib/CommonLib/TypeDef.h
source/Lib/DecoderLib/DecLib.cpp
+5
-0
5 additions, 0 deletions
source/Lib/DecoderLib/DecLib.cpp
with
6 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
1
−
0
View file @
545123f1
...
@@ -281,6 +281,7 @@
...
@@ -281,6 +281,7 @@
#define JVET_N0100_PROPOSAL1 1 // JVET-N0100: ltrp picture signalling
#define JVET_N0100_PROPOSAL1 1 // JVET-N0100: ltrp picture signalling
#define JVET_N0865_SYNTAX 1 // JVET_N0865 syntax elements
#define JVET_N0865_SYNTAX 1 // JVET_N0865 syntax elements
#define JVET_N0865_NONSYNTAX 1 // JVET_N0865 other than syntax parts
#define JVET_N0865_GRA2GDR 1 // Changing the name of GRA to GDR
#define JVET_N0865_GRA2GDR 1 // Changing the name of GRA to GDR
#define EMULATION_PREVENTION_FIX 1 // fix for start code emulation reported in #270. Diverges from specification text
#define EMULATION_PREVENTION_FIX 1 // fix for start code emulation reported in #270. Diverges from specification text
...
...
This diff is collapsed.
Click to expand it.
source/Lib/DecoderLib/DecLib.cpp
+
5
−
0
View file @
545123f1
...
@@ -1135,6 +1135,11 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
...
@@ -1135,6 +1135,11 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
m_apcSlicePilot
->
setNalUnitType
(
nalu
.
m_nalUnitType
);
m_apcSlicePilot
->
setNalUnitType
(
nalu
.
m_nalUnitType
);
m_apcSlicePilot
->
setTLayer
(
nalu
.
m_temporalId
);
m_apcSlicePilot
->
setTLayer
(
nalu
.
m_temporalId
);
#if JVET_N0865_NONSYNTAX
if
(
nalu
.
m_nalUnitType
==
NAL_UNIT_CODED_SLICE_GDR
)
CHECK
(
nalu
.
m_temporalId
!=
0
,
"Current GDR picture has TemporalId not equal to 0"
);
#endif
m_HLSReader
.
setBitstream
(
&
nalu
.
getBitstream
()
);
m_HLSReader
.
setBitstream
(
&
nalu
.
getBitstream
()
);
m_HLSReader
.
parseSliceHeader
(
m_apcSlicePilot
,
&
m_parameterSetManager
,
m_prevTid0POC
);
m_HLSReader
.
parseSliceHeader
(
m_apcSlicePilot
,
&
m_parameterSetManager
,
m_prevTid0POC
);
...
...
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