Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VVCSoftware_VTM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
jvet
VVCSoftware_VTM
Commits
27c36197
Commit
27c36197
authored
Mar 13, 2019
by
Philippe de Lagrange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some cleanup in xGetMinMaxQP
parent
e15dc112
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
source/Lib/EncoderLib/EncModeCtrl.cpp
source/Lib/EncoderLib/EncModeCtrl.cpp
+1
-9
No files found.
source/Lib/EncoderLib/EncModeCtrl.cpp
View file @
27c36197
...
...
@@ -167,14 +167,6 @@ void EncModeCtrl::xGetMinMaxQP( int& minQP, int& maxQP, const CodingStructure& c
minQP
=
cs
.
currQP
[
partitioner
.
chType
];
maxQP
=
cs
.
currQP
[
partitioner
.
chType
];
}
#if SHARP_LUMA_DELTA_QP
if
(
m_pcEncCfg
->
getLumaLevelToDeltaQPMapping
().
isEnabled
()
&&
(
!
CS
::
isDualITree
(
cs
)
||
isLuma
(
partitioner
.
chType
)))
{
minQP
=
Clip3
(
-
sps
.
getQpBDOffset
(
CHANNEL_TYPE_LUMA
),
MAX_QP
,
baseQP
-
m_lumaQPOffset
);
maxQP
=
minQP
;
}
#endif
#else
const
uint32_t
currDepth
=
partitioner
.
currDepth
;
...
...
@@ -222,6 +214,7 @@ void EncModeCtrl::xGetMinMaxQP( int& minQP, int& maxQP, const CodingStructure& c
maxQP
=
cs
.
currQP
[
partitioner
.
chType
];
}
}
#endif
#if SHARP_LUMA_DELTA_QP
if
(
m_pcEncCfg
->
getLumaLevelToDeltaQPMapping
().
isEnabled
()
&&
(
!
CS
::
isDualITree
(
cs
)
||
isLuma
(
partitioner
.
chType
)))
...
...
@@ -230,7 +223,6 @@ void EncModeCtrl::xGetMinMaxQP( int& minQP, int& maxQP, const CodingStructure& c
maxQP
=
minQP
;
}
#endif
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment