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
Philip Cowan
VVCSoftware_VTM
Commits
b83a25af
Commit
b83a25af
authored
5 years ago
by
Biao Wang
Browse files
Options
Downloads
Patches
Plain Diff
JVET-P0329: simplify planar prediction by comparison removal
parent
ba94da3f
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/IntraPrediction.cpp
+6
-0
6 additions, 0 deletions
source/Lib/CommonLib/IntraPrediction.cpp
source/Lib/CommonLib/TypeDef.h
+2
-0
2 additions, 0 deletions
source/Lib/CommonLib/TypeDef.h
with
8 additions
and
0 deletions
source/Lib/CommonLib/IntraPrediction.cpp
+
6
−
0
View file @
b83a25af
...
...
@@ -336,8 +336,14 @@ void IntraPrediction::xPredIntraPlanar( const CPelBuf &pSrc, PelBuf &pDst )
{
const
uint32_t
width
=
pDst
.
width
;
const
uint32_t
height
=
pDst
.
height
;
#if JVET_P0329_PLANAR_SIMPLIFICATION
const
uint32_t
log2W
=
floorLog2
(
width
);
const
uint32_t
log2H
=
floorLog2
(
height
);
#else
const
uint32_t
log2W
=
floorLog2
(
width
<
2
?
2
:
width
);
const
uint32_t
log2H
=
floorLog2
(
height
<
2
?
2
:
height
);
#endif
int
leftColumn
[
MAX_CU_SIZE
+
1
],
topRow
[
MAX_CU_SIZE
+
1
],
bottomRow
[
MAX_CU_SIZE
],
rightColumn
[
MAX_CU_SIZE
];
const
uint32_t
offset
=
1
<<
(
log2W
+
log2H
);
...
...
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/TypeDef.h
+
2
−
0
View file @
b83a25af
...
...
@@ -56,6 +56,8 @@
#define JVET_P0111_CHROMA_422_FIX 1 // JVET-P0422: Bug fix of chroma 422 intra mode mapping
#define JVET_P0329_PLANAR_SIMPLIFICATION 1 // JVET-P0329: simplify planar prediction by comparison removal
#define JVET_P0516_PLT_BINARIZATION 1 // JVET-P0516: PLT is always signaled when pred mode is euqal to 1 (intra mode)
#define JVET_P0562_TS_RESIDUAL_CODING_SIMP 1 // JVET-P0562: Fix the Rice parameter equal to 1 for the remainder of TS residual coding
...
...
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