Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Monitor
Incidents
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
Karsten Suehring
VVCSoftware_VTM
Commits
ec8fa606
Commit
ec8fa606
authored
1 month ago
by
Fabrice URBAN
Browse files
Options
Downloads
Patches
Plain Diff
use ptl from VPS configuration if valid instead of SPS for EncLib::xInitVPS checks
parent
4a8b737f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/EncoderLib/EncLib.cpp
+10
-2
10 additions, 2 deletions
source/Lib/EncoderLib/EncLib.cpp
with
10 additions
and
2 deletions
source/Lib/EncoderLib/EncLib.cpp
+
10
−
2
View file @
ec8fa606
...
...
@@ -1151,8 +1151,6 @@ void EncLib::xInitVPS( const SPS& sps )
m_vps
->
m_olsHrdParams
.
clear
();
m_vps
->
m_olsHrdParams
.
resize
(
m_vps
->
getNumOlsTimingHrdParamsMinus1
(),
std
::
vector
<
OlsHrdParams
>
(
m_vps
->
getMaxSubLayers
()));
ProfileTierLevelFeatures
profileTierLevelFeatures
;
profileTierLevelFeatures
.
extractPTLInformation
(
sps
);
m_vps
->
setMaxTidIlRefPicsPlus1
(
m_cfgVPSParameters
.
m_maxTidILRefPicsPlus1
);
m_vps
->
deriveOutputLayerSets
();
m_vps
->
deriveTargetOutputLayerSet
(
m_vps
->
m_targetOlsIdx
);
...
...
@@ -1198,6 +1196,16 @@ void EncLib::xInitVPS( const SPS& sps )
if
(
m_vps
->
getNumLayersInOls
(
i
)
>
1
)
{
const
int
dpbIdx
=
m_vps
->
getOlsDpbParamsIdx
(
i
);
ProfileTierLevelFeatures
profileTierLevelFeatures
;
if
(
m_vps
->
getProfileTierLevel
(
i
).
getLevelIdc
()
!=
Level
::
NONE
&&
m_vps
->
getProfileTierLevel
(
i
).
getProfileIdc
()
!=
Profile
::
NONE
)
{
profileTierLevelFeatures
.
extractPTLInformation
(
m_vps
->
getProfileTierLevel
(
i
)
);
}
else
{
profileTierLevelFeatures
.
extractPTLInformation
(
sps
);
}
if
(
m_vps
->
getMaxSubLayers
()
==
1
)
{
...
...
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