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
Remy Foray
VVCSoftware_VTM
Commits
7148477c
Commit
7148477c
authored
5 years ago
by
Xiang Li
Browse files
Options
Downloads
Plain Diff
Merge branch 'tlu/VVCSoftware_VTM-N0477_LMCS_cleanup'
parents
b39e9ed1
2abebb4c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/CommonLib/TypeDef.h
+1
-0
1 addition, 0 deletions
source/Lib/CommonLib/TypeDef.h
source/Lib/DecoderLib/DecCu.cpp
+8
-0
8 additions, 0 deletions
source/Lib/DecoderLib/DecCu.cpp
with
9 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
1
−
0
View file @
7148477c
...
...
@@ -50,6 +50,7 @@
#include
<assert.h>
#include
<cassert>
#define JVET_N0477_LMCS_CLEANUP 1
#define JVET_N0220_LMCS_SIMPLIFICATION 1
#define JCTVC_Y0038_PARAMS 1
...
...
This diff is collapsed.
Click to expand it.
source/Lib/DecoderLib/DecCu.cpp
+
8
−
0
View file @
7148477c
...
...
@@ -203,7 +203,11 @@ void DecCu::xIntraRecBlk( TransformUnit& tu, const ComponentID compID )
}
const
Slice
&
slice
=
*
cs
.
slice
;
bool
flag
=
slice
.
getReshapeInfo
().
getUseSliceReshaper
()
&&
(
slice
.
isIntra
()
||
(
!
slice
.
isIntra
()
&&
m_pcReshape
->
getCTUFlag
()));
#if JVET_N0477_LMCS_CLEANUP
if
(
flag
&&
slice
.
getReshapeInfo
().
getSliceReshapeChromaAdj
()
&&
(
compID
!=
COMPONENT_Y
)
&&
(
tu
.
cbf
[
COMPONENT_Cb
]
||
tu
.
cbf
[
COMPONENT_Cr
]))
#else
if
(
flag
&&
slice
.
getReshapeInfo
().
getSliceReshapeChromaAdj
()
&&
(
compID
!=
COMPONENT_Y
))
#endif
{
const
Area
area
=
tu
.
Y
().
valid
()
?
tu
.
Y
()
:
Area
(
recalcPosition
(
tu
.
chromaFormat
,
tu
.
chType
,
CHANNEL_TYPE_LUMA
,
tu
.
blocks
[
tu
.
chType
].
pos
()),
recalcSize
(
tu
.
chromaFormat
,
tu
.
chType
,
CHANNEL_TYPE_LUMA
,
tu
.
blocks
[
tu
.
chType
].
size
()));
const
CompArea
&
areaY
=
CompArea
(
COMPONENT_Y
,
tu
.
chromaFormat
,
area
);
...
...
@@ -571,7 +575,11 @@ void DecCu::xDecodeInterTexture(CodingUnit &cu)
{
CodingStructure
&
cs
=
*
cu
.
cs
;
const
Slice
&
slice
=
*
cs
.
slice
;
#if JVET_N0477_LMCS_CLEANUP
if
(
slice
.
getReshapeInfo
().
getUseSliceReshaper
()
&&
m_pcReshape
->
getCTUFlag
()
&&
slice
.
getReshapeInfo
().
getSliceReshapeChromaAdj
()
&&
(
compID
==
COMPONENT_Y
)
&&
(
currTU
.
cbf
[
COMPONENT_Cb
]
||
currTU
.
cbf
[
COMPONENT_Cr
]))
#else
if
(
slice
.
getReshapeInfo
().
getUseSliceReshaper
()
&&
m_pcReshape
->
getCTUFlag
()
&&
slice
.
getReshapeInfo
().
getSliceReshapeChromaAdj
()
&&
(
compID
==
COMPONENT_Y
))
#endif
{
const
CompArea
&
areaY
=
currTU
.
blocks
[
COMPONENT_Y
];
PelBuf
predY
=
cs
.
getPredBuf
(
areaY
);
...
...
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