Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
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
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
jvet
VVCSoftware_VTM
Commits
32eea0f3
Commit
32eea0f3
authored
5 years ago
by
Yin Zhao
Committed by
Xiang Li
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
JVET-P0063: fix local dual tree on split condition
parent
1b2b6b19
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/CommonLib/TypeDef.h
+2
-0
2 additions, 0 deletions
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/UnitPartitioner.cpp
+6
-0
6 additions, 0 deletions
source/Lib/CommonLib/UnitPartitioner.cpp
with
8 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
2
−
0
View file @
32eea0f3
...
...
@@ -88,6 +88,8 @@
#define JVET_P0111_CHROMA_422_FIX 1 // JVET-P0422: Bug fix of chroma 422 intra mode mapping
#define JVET_P0063_LDT_SPLIT_FIX 1 // JVET-P0063: Fix local dual tree on BT/TT split conditions in inter coding region
#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)
...
...
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/UnitPartitioner.cpp
+
6
−
0
View file @
32eea0f3
...
...
@@ -435,6 +435,9 @@ void QTBTPartitioner::canSplit( const CodingStructure &cs, bool& canNo, bool& ca
if
(
area
.
width
<=
minBtSize
)
canBv
=
false
;
if
(
area
.
width
<=
MAX_TB_SIZEY
&&
area
.
height
>
MAX_TB_SIZEY
)
canBv
=
false
;
if
(
chType
==
CHANNEL_TYPE_CHROMA
&&
areaC
.
width
*
areaC
.
height
<=
MIN_DUALTREE_CHROMA_SIZE
)
canBv
=
false
;
#if JVET_P0063_LDT_SPLIT_FIX
if
(
modeType
==
MODE_TYPE_INTER
&&
area
.
width
*
area
.
height
==
32
)
canBv
=
canBh
=
false
;
#endif
if
(
area
.
height
<=
2
*
minTtSize
||
area
.
height
>
maxTtSize
||
area
.
width
>
maxTtSize
)
canTh
=
false
;
if
(
area
.
width
>
MAX_TB_SIZEY
||
area
.
height
>
MAX_TB_SIZEY
)
canTh
=
false
;
...
...
@@ -443,6 +446,9 @@ void QTBTPartitioner::canSplit( const CodingStructure &cs, bool& canNo, bool& ca
canTv
=
false
;
if
(
area
.
width
>
MAX_TB_SIZEY
||
area
.
height
>
MAX_TB_SIZEY
)
canTv
=
false
;
if
(
chType
==
CHANNEL_TYPE_CHROMA
&&
areaC
.
width
*
areaC
.
height
<=
MIN_DUALTREE_CHROMA_SIZE
*
2
)
canTv
=
false
;
#if JVET_P0063_LDT_SPLIT_FIX
if
(
modeType
==
MODE_TYPE_INTER
&&
area
.
width
*
area
.
height
==
64
)
canTv
=
canTh
=
false
;
#endif
}
bool
QTBTPartitioner
::
canSplit
(
const
PartSplit
split
,
const
CodingStructure
&
cs
)
...
...
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