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
14
Merge Requests
14
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
00675d41
Commit
00675d41
authored
Jan 18, 2019
by
Karsten Suehring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove macro JVET_L0053_L0272_DM
parent
75fb27d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+0
-1
source/Lib/CommonLib/UnitTools.cpp
source/Lib/CommonLib/UnitTools.cpp
+0
-8
No files found.
source/Lib/CommonLib/TypeDef.h
View file @
00675d41
...
@@ -62,7 +62,6 @@
...
@@ -62,7 +62,6 @@
#define JVET_L0053_L0272_DM 1 // use center position of luma block to derive DM
#define JVET_L0147_ALF_SUBSAMPLED_LAPLACIAN 1 // Subsampled Laplacian calculation
#define JVET_L0147_ALF_SUBSAMPLED_LAPLACIAN 1 // Subsampled Laplacian calculation
...
...
source/Lib/CommonLib/UnitTools.cpp
View file @
00675d41
...
@@ -474,13 +474,9 @@ void PU::getIntraChromaCandModes( const PredictionUnit &pu, unsigned modeList[NU
...
@@ -474,13 +474,9 @@ void PU::getIntraChromaCandModes( const PredictionUnit &pu, unsigned modeList[NU
modeList
[
5
]
=
DM_CHROMA_IDX
;
modeList
[
5
]
=
DM_CHROMA_IDX
;
#endif
#endif
#if JVET_L0053_L0272_DM
Position
topLeftPos
=
pu
.
blocks
[
pu
.
chType
].
lumaPos
();
Position
topLeftPos
=
pu
.
blocks
[
pu
.
chType
].
lumaPos
();
Position
refPos
=
topLeftPos
.
offset
(
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
width
>>
1
,
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
height
>>
1
);
Position
refPos
=
topLeftPos
.
offset
(
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
width
>>
1
,
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
height
>>
1
);
const
PredictionUnit
*
lumaPU
=
CS
::
isDualITree
(
*
pu
.
cs
)
?
pu
.
cs
->
picture
->
cs
->
getPU
(
refPos
,
CHANNEL_TYPE_LUMA
)
:
&
pu
;
const
PredictionUnit
*
lumaPU
=
CS
::
isDualITree
(
*
pu
.
cs
)
?
pu
.
cs
->
picture
->
cs
->
getPU
(
refPos
,
CHANNEL_TYPE_LUMA
)
:
&
pu
;
#else
const
PredictionUnit
*
lumaPU
=
CS
::
isDualITree
(
*
pu
.
cs
)
?
pu
.
cs
->
picture
->
cs
->
getPU
(
pu
.
blocks
[
pu
.
chType
].
lumaPos
(),
CHANNEL_TYPE_LUMA
)
:
&
pu
;
#endif
const
uint32_t
lumaMode
=
lumaPU
->
intraDir
[
CHANNEL_TYPE_LUMA
];
const
uint32_t
lumaMode
=
lumaPU
->
intraDir
[
CHANNEL_TYPE_LUMA
];
for
(
int
i
=
0
;
i
<
4
;
i
++
)
for
(
int
i
=
0
;
i
<
4
;
i
++
)
{
{
...
@@ -731,13 +727,9 @@ uint32_t PU::getFinalIntraMode( const PredictionUnit &pu, const ChannelType &chT
...
@@ -731,13 +727,9 @@ uint32_t PU::getFinalIntraMode( const PredictionUnit &pu, const ChannelType &chT
if
(
uiIntraMode
==
DM_CHROMA_IDX
&&
!
isLuma
(
chType
)
)
if
(
uiIntraMode
==
DM_CHROMA_IDX
&&
!
isLuma
(
chType
)
)
{
{
#if JVET_L0053_L0272_DM
Position
topLeftPos
=
pu
.
blocks
[
pu
.
chType
].
lumaPos
();
Position
topLeftPos
=
pu
.
blocks
[
pu
.
chType
].
lumaPos
();
Position
refPos
=
topLeftPos
.
offset
(
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
width
>>
1
,
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
height
>>
1
);
Position
refPos
=
topLeftPos
.
offset
(
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
width
>>
1
,
pu
.
blocks
[
pu
.
chType
].
lumaSize
().
height
>>
1
);
const
PredictionUnit
&
lumaPU
=
CS
::
isDualITree
(
*
pu
.
cs
)
?
*
pu
.
cs
->
picture
->
cs
->
getPU
(
refPos
,
CHANNEL_TYPE_LUMA
)
:
*
pu
.
cs
->
getPU
(
topLeftPos
,
CHANNEL_TYPE_LUMA
);
const
PredictionUnit
&
lumaPU
=
CS
::
isDualITree
(
*
pu
.
cs
)
?
*
pu
.
cs
->
picture
->
cs
->
getPU
(
refPos
,
CHANNEL_TYPE_LUMA
)
:
*
pu
.
cs
->
getPU
(
topLeftPos
,
CHANNEL_TYPE_LUMA
);
#else
const
PredictionUnit
&
lumaPU
=
CS
::
isDualITree
(
*
pu
.
cs
)
?
*
pu
.
cs
->
picture
->
cs
->
getPU
(
pu
.
blocks
[
chType
].
lumaPos
(),
CHANNEL_TYPE_LUMA
)
:
*
pu
.
cs
->
getPU
(
pu
.
blocks
[
chType
].
lumaPos
(),
CHANNEL_TYPE_LUMA
);
#endif
uiIntraMode
=
lumaPU
.
intraDir
[
0
];
uiIntraMode
=
lumaPU
.
intraDir
[
0
];
}
}
...
...
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