Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keming Cao
VVCSoftware_VTM
Commits
77508dc6
Commit
77508dc6
authored
5 years ago
by
Taoran Lu
Browse files
Options
Downloads
Patches
Plain Diff
add decoder check: all slices in one picture shall use same LMCS aps id
parent
82b08e52
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/DecoderLib/DecLib.cpp
+13
-0
13 additions, 0 deletions
source/Lib/DecoderLib/DecLib.cpp
source/Lib/DecoderLib/DecLib.h
+3
-0
3 additions, 0 deletions
source/Lib/DecoderLib/DecLib.h
with
16 additions
and
0 deletions
source/Lib/DecoderLib/DecLib.cpp
+
13
−
0
View file @
77508dc6
...
...
@@ -410,6 +410,9 @@ DecLib::DecLib()
,
m_lastNoIncorrectPicOutputFlag
(
false
)
#else
,
m_craNoRaslOutputFlag
(
false
)
#endif
#if JVET_O0428_LMCS_CLEANUP
,
m_sliceLmcsApsId
(
-
1
)
#endif
,
m_pDecodedSEIOutputStream
(
NULL
)
,
m_decodedPictureHashSEIEnabled
(
false
)
...
...
@@ -1562,6 +1565,16 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
if
(
pcSlice
->
getLmcsEnabledFlag
())
{
APS
*
lmcsAPS
=
pcSlice
->
getLmcsAPS
();
#if JVET_O0428_LMCS_CLEANUP
if
(
m_bFirstSliceInPicture
)
{
m_sliceLmcsApsId
=
lmcsAPS
->
getAPSId
();
}
else
{
CHECK
(
lmcsAPS
->
getAPSId
()
!=
m_sliceLmcsApsId
,
"same APS ID shall be used for all slices in one picture"
);
}
#endif
SliceReshapeInfo
&
sInfo
=
lmcsAPS
->
getReshaperAPSInfo
();
SliceReshapeInfo
&
tInfo
=
m_cReshaper
.
getSliceReshaperInfo
();
tInfo
.
reshaperModelMaxBinIdx
=
sInfo
.
reshaperModelMaxBinIdx
;
...
...
This diff is collapsed.
Click to expand it.
source/Lib/DecoderLib/DecLib.h
+
3
−
0
View file @
77508dc6
...
...
@@ -121,6 +121,9 @@ private:
bool
m_lastNoIncorrectPicOutputFlag
;
//value of variable NoIncorrectPicOutputFlag of the last CRA / GDR pic
#else
bool
m_craNoRaslOutputFlag
;
//value of variable NoRaslOutputFlag of the last CRA pic
#endif
#if JVET_O0428_LMCS_CLEANUP
int
m_sliceLmcsApsId
;
//value of LmcsApsId, constraint is same id for all slices in one picture
#endif
std
::
ostream
*
m_pDecodedSEIOutputStream
;
...
...
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