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
d0f69186
Commit
d0f69186
authored
4 years ago
by
xlxiangli
Browse files
Options
Downloads
Plain Diff
Merge branch 'pbcowan/VVCSoftware_VTM-JVET-R0101'
parents
2d311142
ee31f385
No related branches found
No related tags found
1 merge request
!1628
JVET-R0101: SEI alternative picture timing information inference rules
Pipeline
#4954
passed
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/CommonLib/TypeDef.h
+2
-0
2 additions, 0 deletions
source/Lib/CommonLib/TypeDef.h
source/Lib/DecoderLib/SEIread.cpp
+24
-0
24 additions, 0 deletions
source/Lib/DecoderLib/SEIread.cpp
with
26 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
2
−
0
View file @
d0f69186
...
...
@@ -172,6 +172,8 @@
#define JVET_R0214_MMVD_SYNTAX_MODIFICATION 1 // JVET-R0214: MMVD syntax modifications
#define JVET_R0101_SEI_INFERENCE_RULES 1 // JVET-R0101: SEI alternative timing information inference rules (including those from JVET-R0413)
#define JVET_R0108_DCI_SIGNALING 1 // JVET-R0108 Proposal 1 DCI signaling changes
//########### place macros to be be kept below this line ###############
...
...
This diff is collapsed.
Click to expand it.
source/Lib/DecoderLib/SEIread.cpp
+
24
−
0
View file @
d0f69186
...
...
@@ -717,13 +717,25 @@ void SEIReader::xParseSEIPictureTiming(SEIPictureTiming& sei, uint32_t payloadSi
{
sei
.
m_nalCpbAltInitialRemovalDelayDelta
.
resize
(
bp
.
m_bpMaxSubLayers
);
sei
.
m_nalCpbAltInitialRemovalOffsetDelta
.
resize
(
bp
.
m_bpMaxSubLayers
);
#if JVET_R0101_SEI_INFERENCE_RULES
for
(
int
i
=
0
;
i
<=
bp
.
m_bpMaxSubLayers
-
1
;
++
i
)
{
sei
.
m_nalCpbAltInitialRemovalDelayDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
,
0
);
sei
.
m_nalCpbAltInitialRemovalOffsetDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
,
0
);
}
sei
.
m_nalCpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
,
0
);
sei
.
m_nalDpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
,
0
);
#else
sei
.
m_nalCpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
);
sei
.
m_nalDpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
);
#endif
for
(
int
i
=
(
bp
.
m_sublayerInitialCpbRemovalDelayPresentFlag
?
0
:
bp
.
m_bpMaxSubLayers
-
1
);
i
<=
bp
.
m_bpMaxSubLayers
-
1
;
++
i
)
{
#if !JVET_R0101_SEI_INFERENCE_RULES
sei
.
m_nalCpbAltInitialRemovalDelayDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
);
sei
.
m_nalCpbAltInitialRemovalOffsetDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
);
#endif
for
(
int
j
=
0
;
j
<
bp
.
m_bpCpbCnt
;
j
++
)
{
sei_read_code
(
pDecodedMessageOutputStream
,
bp
.
m_initialCpbRemovalDelayLength
,
symbol
,
...
...
@@ -744,13 +756,25 @@ void SEIReader::xParseSEIPictureTiming(SEIPictureTiming& sei, uint32_t payloadSi
{
sei
.
m_vclCpbAltInitialRemovalDelayDelta
.
resize
(
bp
.
m_bpMaxSubLayers
);
sei
.
m_vclCpbAltInitialRemovalOffsetDelta
.
resize
(
bp
.
m_bpMaxSubLayers
);
#if JVET_R0101_SEI_INFERENCE_RULES
for
(
int
i
=
0
;
i
<=
bp
.
m_bpMaxSubLayers
-
1
;
++
i
)
{
sei
.
m_vclCpbAltInitialRemovalDelayDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
,
0
);
sei
.
m_vclCpbAltInitialRemovalOffsetDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
,
0
);
}
sei
.
m_vclCpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
,
0
);
sei
.
m_vclDpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
,
0
);
#else
sei
.
m_vclCpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
);
sei
.
m_vclDpbDelayOffset
.
resize
(
bp
.
m_bpMaxSubLayers
);
#endif
for
(
int
i
=
(
bp
.
m_sublayerInitialCpbRemovalDelayPresentFlag
?
0
:
bp
.
m_bpMaxSubLayers
-
1
);
i
<=
bp
.
m_bpMaxSubLayers
-
1
;
++
i
)
{
#if !JVET_R0101_SEI_INFERENCE_RULES
sei
.
m_vclCpbAltInitialRemovalDelayDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
);
sei
.
m_vclCpbAltInitialRemovalOffsetDelta
[
i
].
resize
(
bp
.
m_bpCpbCnt
);
#endif
for
(
int
j
=
0
;
j
<
bp
.
m_bpCpbCnt
;
j
++
)
{
sei_read_code
(
pDecodedMessageOutputStream
,
bp
.
m_initialCpbRemovalDelayLength
,
symbol
,
...
...
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