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
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jeeva Raj A
VVCSoftware_VTM
Commits
4bfa9953
Commit
4bfa9953
authored
Jul 22, 2019
by
Meng Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JVET-O0256: Non-CE: Fast encoder with adjusted threshold in dependent quantization
parent
8b8cfa37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
source/Lib/CommonLib/DepQuant.cpp
source/Lib/CommonLib/DepQuant.cpp
+4
-0
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+2
-0
No files found.
source/Lib/CommonLib/DepQuant.cpp
View file @
4bfa9953
...
...
@@ -679,7 +679,11 @@ namespace DQIntern
m_QScale
=
g_quantScales
[
needsSqrt2ScaleAdjustment
?
1
:
0
][
qpRem
];
const
unsigned
qIdxBD
=
std
::
min
<
unsigned
>
(
maxLog2TrDynamicRange
+
1
,
8
*
sizeof
(
Intermediate_Int
)
+
invShift
-
IQUANT_SHIFT
-
1
);
m_maxQIdx
=
(
1
<<
(
qIdxBD
-
1
)
)
-
4
;
#if JVET_O0256_ADJUST_THD_DEPQUANT
m_thresLast
=
TCoeff
((
int64_t
(
4
)
<<
m_QShift
));
#else
m_thresLast
=
TCoeff
((
int64_t
(
3
)
<<
m_QShift
));
#endif
m_thresSSbb
=
TCoeff
((
int64_t
(
3
)
<<
m_QShift
));
// distortion calculation parameters
const
int64_t
qScale
=
(
gValue
==-
1
)
?
m_QScale
:
gValue
;
...
...
source/Lib/CommonLib/TypeDef.h
View file @
4bfa9953
...
...
@@ -52,6 +52,8 @@
#define JVET_O0216_ALF_COEFF_EG3 1 // JVET-O0216/O0302/O0648: using EG3 for ALF coefficients coding
#define JVET_O0256_ADJUST_THD_DEPQUANT 1 // JVET-O0256: Fast encoder with adjusted threshold in dependent quantization
#define JVET_O0272_LMCS_SIMP_INVERSE_MAPPING 1 // JVET-O0272: LMCS simplified inverse mapping
#define JVET_O0247_ALF_CTB_CODING_REDUNDANCY_REMOVAL 1 // JVET-O0247: not signal APS index when number APS is 2
...
...
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