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
jvet-tuc
VVCSoftware_VTM
Commits
aa5290de
Commit
aa5290de
authored
1 year ago
by
Antti Hallapuro
Browse files
Options
Downloads
Patches
Plain Diff
Change variable names to be more descriptive
parent
5cf82667
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/CommonLib/SEINeuralNetworkPostFiltering.cpp
+13
-13
13 additions, 13 deletions
source/Lib/CommonLib/SEINeuralNetworkPostFiltering.cpp
with
13 additions
and
13 deletions
source/Lib/CommonLib/SEINeuralNetworkPostFiltering.cpp
+
13
−
13
View file @
aa5290de
...
...
@@ -283,13 +283,13 @@ void SEINeuralNetworkPostFiltering::findFrameRateUpSamplingInputPics(
}
#if JVET_AD0054_NNPFC_INTERPOLATED_PICS_CONSTRAINT
bool
fpCurrPicArrangementTypeIs
Fi
ve
=
false
;
bool
fpCurrPicFrameIsFrame0Flag
=
false
;
bool
fpCurrPicArrangementTypeIs
TemporalInterlea
ve
=
false
;
bool
fpCurrPicFrameIsFrame0Flag
=
false
;
const
SEIMessages
currPicFramePacking
=
getSeisByType
(
currCodedPic
->
SEIs
,
SEI
::
PayloadType
::
FRAME_PACKING
);
if
(
!
currPicFramePacking
.
empty
())
{
const
SEIFramePacking
*
seiFramePacking
=
(
SEIFramePacking
*
)
*
(
currPicFramePacking
.
begin
());
fpCurrPicArrangementTypeIs
Fi
ve
=
seiFramePacking
->
m_arrangementType
==
5
;
fpCurrPicArrangementTypeIs
TemporalInterlea
ve
=
seiFramePacking
->
m_arrangementType
==
5
;
fpCurrPicFrameIsFrame0Flag
=
seiFramePacking
->
m_currentFrameIsFrame0Flag
;
}
...
...
@@ -323,7 +323,7 @@ void SEINeuralNetworkPostFiltering::findFrameRateUpSamplingInputPics(
bool
isCurrPicLastInOutputOrder
=
lastPic
!=
nullptr
&&
currCodedPic
==
lastPic
;
bool
pictureRateUpsamplingFlag
=
(
currNnpfc
->
m_purpose
&
0x08
)
!=
0
;
bool
pictureRateUpsamplingFlag
=
(
currNnpfc
->
m_purpose
&
FRAME_RATE_UPSAMPLING
)
!=
0
;
int
greaterThan0count
=
0
;
int
numPostRoll
=
0
;
if
(
pictureRateUpsamplingFlag
)
...
...
@@ -368,8 +368,8 @@ void SEINeuralNetworkPostFiltering::findFrameRateUpSamplingInputPics(
{
for
(
int
i
=
j
+
1
;
i
<=
(
numInputPics
-
j
-
1
);
i
++
)
{
Picture
*
prevPic
=
nullptr
;
Picture
*
prevPicWithFramePacking
Five
=
nullptr
;
Picture
*
prevPic
=
nullptr
;
Picture
*
prevPicWith
TemporalInterleave
FramePacking
=
nullptr
;
for
(
auto
pic
:
m_picList
)
{
...
...
@@ -379,7 +379,7 @@ void SEINeuralNetworkPostFiltering::findFrameRateUpSamplingInputPics(
{
prevPic
=
pic
;
}
if
(
prevPicWithFramePacking
Five
==
nullptr
||
pic
->
getPOC
()
>
prevPicWithFramePacking
Five
->
getPOC
())
if
(
prevPicWith
TemporalInterleave
FramePacking
==
nullptr
||
pic
->
getPOC
()
>
prevPicWith
TemporalInterleave
FramePacking
->
getPOC
())
{
SEIMessages
picFramePacking
=
getSeisByType
(
pic
->
SEIs
,
SEI
::
PayloadType
::
FRAME_PACKING
);
if
(
!
picFramePacking
.
empty
())
...
...
@@ -387,26 +387,26 @@ void SEINeuralNetworkPostFiltering::findFrameRateUpSamplingInputPics(
const
SEIFramePacking
*
seiFramePacking
=
(
SEIFramePacking
*
)
*
(
picFramePacking
.
begin
());
if
(
seiFramePacking
->
m_arrangementType
==
5
&&
seiFramePacking
->
m_currentFrameIsFrame0Flag
==
fpCurrPicFrameIsFrame0Flag
)
{
prevPicWithFramePacking
Five
=
pic
;
prevPicWith
TemporalInterleave
FramePacking
=
pic
;
}
}
}
}
}
if
(
pictureRateUpsamplingFlag
&&
fpCurrPicArrangementTypeIs
Fi
ve
&&
prevPicWithFramePacking
Five
!=
nullptr
)
if
(
pictureRateUpsamplingFlag
&&
fpCurrPicArrangementTypeIs
TemporalInterlea
ve
&&
prevPicWith
TemporalInterleave
FramePacking
!=
nullptr
)
{
inputPic
[
i
]
=
prevPicWithFramePacking
Five
;
inputPic
[
i
]
=
prevPicWith
TemporalInterleave
FramePacking
;
inputPresentFlag
[
i
]
=
true
;
}
else
if
(
!
pictureRateUpsamplingFlag
&&
prevPic
!=
nullptr
)
{
inputPic
[
i
]
=
prevPicWithFramePacking
Five
;
inputPic
[
i
]
=
prevPicWith
TemporalInterleave
FramePacking
;
inputPresentFlag
[
i
]
=
true
;
}
else
if
(
!
fpCurrPicArrangementTypeIs
Fi
ve
&&
prevPic
!=
nullptr
)
else
if
(
!
fpCurrPicArrangementTypeIs
TemporalInterlea
ve
&&
prevPic
!=
nullptr
)
{
inputPic
[
i
]
=
prevPicWithFramePacking
Five
;
inputPic
[
i
]
=
prevPicWith
TemporalInterleave
FramePacking
;
inputPresentFlag
[
i
]
=
true
;
}
else
...
...
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