Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keming Cao
VVCSoftware_VTM
Commits
b956530a
Commit
b956530a
authored
5 years ago
by
Guichun
Browse files
Options
Downloads
Patches
Plain Diff
JVET-Q0471 chroma QT split based on block height
parent
d43302e1
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
+1
-0
1 addition, 0 deletions
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/UnitPartitioner.cpp
+11
-0
11 additions, 0 deletions
source/Lib/CommonLib/UnitPartitioner.cpp
with
12 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
1
−
0
View file @
b956530a
...
...
@@ -50,6 +50,7 @@
#include
<assert.h>
#include
<cassert>
#define JVET_Q0471_CHROMA_QT_SPLIT_ON_HEIGHT 1 // JVET-Q0471: Chroma QT split
#define JVET_P0117_PTL_SCALABILITY 1 // JVET-P0117: sps_ptl_dpb_hrd_params_present_flag related syntax change, others in JVET-Q0786
...
...
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/UnitPartitioner.cpp
+
11
−
0
View file @
b956530a
...
...
@@ -390,7 +390,13 @@ void QTBTPartitioner::canSplit( const CodingStructure &cs, bool& canNo, bool& ca
// don't allow QT-splitting below a BT split
if
(
lastSplit
!=
CTU_LEVEL
&&
lastSplit
!=
CU_QUAD_SPLIT
)
canQt
=
false
;
#if JVET_Q0471_CHROMA_QT_SPLIT_ON_HEIGHT
SizeType
side
=
chType
==
CHANNEL_TYPE_CHROMA
?
areaC
.
height
:
area
.
height
;
if
(
side
<=
minQtSize
)
canQt
=
false
;
#else
if
(
area
.
width
<=
minQtSize
)
canQt
=
false
;
#endif
#if JVET_Q0438_MONOCHROME_BUGFIXES
if
(
areaC
&&
areaC
->
width
<=
MIN_DUALTREE_CHROMA_WIDTH
)
canQt
=
false
;
#else
...
...
@@ -563,7 +569,12 @@ PartSplit QTBTPartitioner::getImplicitSplit( const CodingStructure &cs )
const
bool
isBtAllowed
=
area
.
width
<=
maxBtSize
&&
area
.
height
<=
maxBtSize
;
#endif
const
unsigned
minQtSize
=
cs
.
pcv
->
getMinQtSize
(
*
cs
.
slice
,
chType
);
#if JVET_Q0471_CHROMA_QT_SPLIT_ON_HEIGHT
SizeType
side
=
chType
==
CHANNEL_TYPE_CHROMA
?
currArea
().
Cb
().
height
:
area
.
height
;
const
bool
isQtAllowed
=
side
>
minQtSize
&&
currBtDepth
==
0
;
#else
const
bool
isQtAllowed
=
area
.
width
>
minQtSize
&&
area
.
height
>
minQtSize
&&
currBtDepth
==
0
;
#endif
if
(
!
isBlInPic
&&
!
isTrInPic
&&
isQtAllowed
)
{
...
...
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