Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VVCSoftware_VTM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
JVET Trac bug tracker
JVET Trac bug tracker
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
jvet
VVCSoftware_VTM
Commits
809de035
Commit
809de035
authored
Jul 18, 2019
by
Frank Bossen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JVET-O0364 part 4: align PDPC process for DC with the one for Planar
parent
34bbb220
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
source/Lib/CommonLib/IntraPrediction.cpp
source/Lib/CommonLib/IntraPrediction.cpp
+6
-0
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+2
-0
No files found.
source/Lib/CommonLib/IntraPrediction.cpp
View file @
809de035
...
...
@@ -323,7 +323,11 @@ void IntraPrediction::predIntraAng( const ComponentID compId, PelBuf &piPred, co
const
int
scale
=
((
g_aucLog2
[
iWidth
]
-
2
+
g_aucLog2
[
iHeight
]
-
2
+
2
)
>>
2
);
CHECK
(
scale
<
0
||
scale
>
31
,
"PDPC: scale < 0 || scale > 31"
);
#if JVET_O0364_PDPC_DC
if
(
uiDirMode
==
PLANAR_IDX
||
uiDirMode
==
DC_IDX
)
#else
if
(
uiDirMode
==
PLANAR_IDX
)
#endif
{
for
(
int
y
=
0
;
y
<
iHeight
;
y
++
)
{
...
...
@@ -337,6 +341,7 @@ void IntraPrediction::predIntraAng( const ComponentID compId, PelBuf &piPred, co
}
}
}
#if !JVET_O0364_PDPC_DC
else
if
(
uiDirMode
==
DC_IDX
)
{
const
Pel
topLeft
=
srcBuf
.
at
(
0
,
0
);
...
...
@@ -353,6 +358,7 @@ void IntraPrediction::predIntraAng( const ComponentID compId, PelBuf &piPred, co
}
}
}
#endif
else
if
(
uiDirMode
==
HOR_IDX
)
{
const
Pel
topLeft
=
srcBuf
.
at
(
0
,
0
);
...
...
source/Lib/CommonLib/TypeDef.h
View file @
809de035
...
...
@@ -76,6 +76,8 @@
#define JVET_O0280_SIMD_TRIANGLE_WEIGHTING 1 // JVET-O0280: SIMD implementation for weighted sample prediction process of triangle prediction mode
#define JVET_O0364_PDPC_DC 1 // JVET-O0364 Part 4: align PDPC process for DC with the one for Planar
#define FIX_DB_MAX_TRANSFORM_SIZE 1
#define MRG_SHARELIST_SHARSIZE 32
...
...
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