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
2abebb4c
Commit
2abebb4c
authored
Apr 01, 2019
by
Taoran Lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
N0477 LMCS cleanup
parent
1a33f26e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+2
-0
source/Lib/DecoderLib/DecCu.cpp
source/Lib/DecoderLib/DecCu.cpp
+8
-0
No files found.
source/Lib/CommonLib/TypeDef.h
View file @
2abebb4c
...
...
@@ -50,6 +50,8 @@
#include <assert.h>
#include <cassert>
#define JVET_N0477_LMCS_CLEANUP 1
#define JCTVC_Y0038_PARAMS 1
#define JVET_MMVD_OFF_MACRO 0
...
...
source/Lib/DecoderLib/DecCu.cpp
View file @
2abebb4c
...
...
@@ -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
);
...
...
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