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
13
Merge Requests
13
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
e71b5d2d
Commit
e71b5d2d
authored
Jan 18, 2019
by
Karsten Suehring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove macro JVET_L0081_VPDU_SPLIT_CONSTRAINTS
parent
f7609855
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
15 deletions
+0
-15
source/Lib/CommonLib/CommonDef.h
source/Lib/CommonLib/CommonDef.h
+0
-2
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+0
-1
source/Lib/CommonLib/UnitPartitioner.cpp
source/Lib/CommonLib/UnitPartitioner.cpp
+0
-8
source/Lib/EncoderLib/EncModeCtrl.cpp
source/Lib/EncoderLib/EncModeCtrl.cpp
+0
-4
No files found.
source/Lib/CommonLib/CommonDef.h
View file @
e71b5d2d
...
@@ -275,9 +275,7 @@ static const int MAX_TU_SIZE = 128;
...
@@ -275,9 +275,7 @@ static const int MAX_TU_SIZE = 128;
static
const
int
MAX_LOG2_TU_SIZE_PLUS_ONE
=
8
;
///< log2(MAX_TU_SIZE) + 1
static
const
int
MAX_LOG2_TU_SIZE_PLUS_ONE
=
8
;
///< log2(MAX_TU_SIZE) + 1
static
const
int
MAX_NUM_PARTS_IN_CTU
=
(
(
MAX_CU_SIZE
*
MAX_CU_SIZE
)
>>
(
MIN_CU_LOG2
<<
1
)
);
static
const
int
MAX_NUM_PARTS_IN_CTU
=
(
(
MAX_CU_SIZE
*
MAX_CU_SIZE
)
>>
(
MIN_CU_LOG2
<<
1
)
);
static
const
int
MAX_TR_SIZE
=
MAX_CU_SIZE
;
static
const
int
MAX_TR_SIZE
=
MAX_CU_SIZE
;
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
static
const
int
MAX_TU_SIZE_FOR_PROFILE
=
64
;
static
const
int
MAX_TU_SIZE_FOR_PROFILE
=
64
;
#endif
static
const
int
MAX_LOG2_DIFF_CU_TR_SIZE
=
2
;
static
const
int
MAX_LOG2_DIFF_CU_TR_SIZE
=
2
;
static
const
int
MAX_CU_TILING_PARTITIONS
=
1
<<
(
MAX_LOG2_DIFF_CU_TR_SIZE
<<
1
);
static
const
int
MAX_CU_TILING_PARTITIONS
=
1
<<
(
MAX_LOG2_DIFF_CU_TR_SIZE
<<
1
);
...
...
source/Lib/CommonLib/TypeDef.h
View file @
e71b5d2d
...
@@ -59,7 +59,6 @@
...
@@ -59,7 +59,6 @@
#define JVET_L0285_8BIT_TRANSFORM_CORE 1 // Primary transform using 8-bit cores
#define JVET_L0285_8BIT_TRANSFORM_CORE 1 // Primary transform using 8-bit cores
#define JVET_L0081_VPDU_SPLIT_CONSTRAINTS 1 // VPDU constraints for binary and ternary partitions
#define JVET_L0104_NO_4x4BI_INTER_CU 1 // Prohibit 4x4 bi-prediction for inter CU
#define JVET_L0104_NO_4x4BI_INTER_CU 1 // Prohibit 4x4 bi-prediction for inter CU
#define JVET_L0266_HMVP 1 //History-based MVP
#define JVET_L0266_HMVP 1 //History-based MVP
...
...
source/Lib/CommonLib/UnitPartitioner.cpp
View file @
e71b5d2d
...
@@ -398,29 +398,21 @@ bool QTBTPartitioner::canSplit( const PartSplit split, const CodingStructure &cs
...
@@ -398,29 +398,21 @@ bool QTBTPartitioner::canSplit( const PartSplit split, const CodingStructure &cs
{
{
case
CU_HORZ_SPLIT
:
case
CU_HORZ_SPLIT
:
if
(
area
.
height
<=
minBtSize
||
area
.
height
>
maxBtSize
)
return
false
;
if
(
area
.
height
<=
minBtSize
||
area
.
height
>
maxBtSize
)
return
false
;
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
if
(
area
.
width
>
MAX_TU_SIZE_FOR_PROFILE
&&
area
.
height
<=
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
if
(
area
.
width
>
MAX_TU_SIZE_FOR_PROFILE
&&
area
.
height
<=
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
#endif
break
;
break
;
case
CU_VERT_SPLIT
:
case
CU_VERT_SPLIT
:
if
(
area
.
width
<=
minBtSize
||
area
.
width
>
maxBtSize
)
return
false
;
if
(
area
.
width
<=
minBtSize
||
area
.
width
>
maxBtSize
)
return
false
;
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
if
(
area
.
width
<=
MAX_TU_SIZE_FOR_PROFILE
&&
area
.
height
>
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
if
(
area
.
width
<=
MAX_TU_SIZE_FOR_PROFILE
&&
area
.
height
>
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
#endif
break
;
break
;
case
CU_TRIH_SPLIT
:
case
CU_TRIH_SPLIT
:
if
(
(
cs
.
sps
->
getSpsNext
().
getMTTMode
()
&
1
)
!=
1
)
return
false
;
if
(
(
cs
.
sps
->
getSpsNext
().
getMTTMode
()
&
1
)
!=
1
)
return
false
;
if
(
area
.
height
<=
2
*
minTtSize
||
area
.
height
>
maxTtSize
||
area
.
width
>
maxTtSize
)
return
false
;
if
(
area
.
height
<=
2
*
minTtSize
||
area
.
height
>
maxTtSize
||
area
.
width
>
maxTtSize
)
return
false
;
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
if
(
area
.
width
>
MAX_TU_SIZE_FOR_PROFILE
||
area
.
height
>
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
if
(
area
.
width
>
MAX_TU_SIZE_FOR_PROFILE
||
area
.
height
>
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
#endif
break
;
break
;
case
CU_TRIV_SPLIT
:
case
CU_TRIV_SPLIT
:
if
(
(
cs
.
sps
->
getSpsNext
().
getMTTMode
()
&
1
)
!=
1
)
return
false
;
if
(
(
cs
.
sps
->
getSpsNext
().
getMTTMode
()
&
1
)
!=
1
)
return
false
;
if
(
area
.
width
<=
2
*
minTtSize
||
area
.
width
>
maxTtSize
||
area
.
height
>
maxTtSize
)
return
false
;
if
(
area
.
width
<=
2
*
minTtSize
||
area
.
width
>
maxTtSize
||
area
.
height
>
maxTtSize
)
return
false
;
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
if
(
area
.
width
>
MAX_TU_SIZE_FOR_PROFILE
||
area
.
height
>
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
if
(
area
.
width
>
MAX_TU_SIZE_FOR_PROFILE
||
area
.
height
>
MAX_TU_SIZE_FOR_PROFILE
)
return
false
;
#endif
break
;
break
;
default:
default:
break
;
break
;
...
...
source/Lib/EncoderLib/EncModeCtrl.cpp
View file @
e71b5d2d
...
@@ -1502,15 +1502,11 @@ bool EncModeCtrlMTnoRQT::tryMode( const EncTestMode& encTestmode, const CodingSt
...
@@ -1502,15 +1502,11 @@ bool EncModeCtrlMTnoRQT::tryMode( const EncTestMode& encTestmode, const CodingSt
{
{
unsigned
maxBTD
=
cs
.
pcv
->
getMaxBtDepth
(
slice
,
partitioner
.
chType
);
unsigned
maxBTD
=
cs
.
pcv
->
getMaxBtDepth
(
slice
,
partitioner
.
chType
);
const
CodingUnit
*
cuBR
=
bestCS
->
cus
.
back
();
const
CodingUnit
*
cuBR
=
bestCS
->
cus
.
back
();
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
unsigned
height
=
partitioner
.
currArea
().
lumaSize
().
height
;
unsigned
height
=
partitioner
.
currArea
().
lumaSize
().
height
;
#endif
if
(
bestCU
&&
(
(
bestCU
->
btDepth
==
0
&&
maxBTD
>=
(
slice
.
isIntra
()
?
3
:
2
)
)
if
(
bestCU
&&
(
(
bestCU
->
btDepth
==
0
&&
maxBTD
>=
(
slice
.
isIntra
()
?
3
:
2
)
)
||
(
bestCU
->
btDepth
==
1
&&
cuBR
&&
cuBR
->
btDepth
==
1
&&
maxBTD
>=
(
slice
.
isIntra
()
?
4
:
3
)
)
)
||
(
bestCU
->
btDepth
==
1
&&
cuBR
&&
cuBR
->
btDepth
==
1
&&
maxBTD
>=
(
slice
.
isIntra
()
?
4
:
3
)
)
)
#if JVET_L0081_VPDU_SPLIT_CONSTRAINTS
&&
(
width
<=
MAX_TU_SIZE_FOR_PROFILE
&&
height
<=
MAX_TU_SIZE_FOR_PROFILE
)
&&
(
width
<=
MAX_TU_SIZE_FOR_PROFILE
&&
height
<=
MAX_TU_SIZE_FOR_PROFILE
)
#endif
&&
cuECtx
.
get
<
bool
>
(
DID_HORZ_SPLIT
)
&&
cuECtx
.
get
<
bool
>
(
DID_VERT_SPLIT
)
)
&&
cuECtx
.
get
<
bool
>
(
DID_HORZ_SPLIT
)
&&
cuECtx
.
get
<
bool
>
(
DID_VERT_SPLIT
)
)
{
{
return
false
;
return
false
;
...
...
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