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
12
Merge Requests
12
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
f3c66ebe
Commit
f3c66ebe
authored
Jan 18, 2019
by
Karsten Suehring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove macro JVET_L0104_NO_4x4BI_INTER_CU
parent
e71b5d2d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
11 deletions
+0
-11
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+0
-1
source/Lib/CommonLib/UnitTools.cpp
source/Lib/CommonLib/UnitTools.cpp
+0
-2
source/Lib/DecoderLib/CABACReader.cpp
source/Lib/DecoderLib/CABACReader.cpp
+0
-4
source/Lib/EncoderLib/CABACWriter.cpp
source/Lib/EncoderLib/CABACWriter.cpp
+0
-4
No files found.
source/Lib/CommonLib/TypeDef.h
View file @
f3c66ebe
...
...
@@ -60,7 +60,6 @@
#define JVET_L0285_8BIT_TRANSFORM_CORE 1 // Primary transform using 8-bit cores
#define JVET_L0104_NO_4x4BI_INTER_CU 1 // Prohibit 4x4 bi-prediction for inter CU
#define JVET_L0266_HMVP 1 //History-based MVP
#if JVET_L0266_HMVP
#define JVET_L0158_L0106_RESET_BUFFER 1 //reset the history buffer on HMVP
...
...
source/Lib/CommonLib/UnitTools.cpp
View file @
f3c66ebe
...
...
@@ -2919,12 +2919,10 @@ void PU::addAMVPHMVPCand(const PredictionUnit &pu, const RefPicList eRefPicList,
#endif
bool
PU
::
isBipredRestriction
(
const
PredictionUnit
&
pu
)
{
#if JVET_L0104_NO_4x4BI_INTER_CU
if
(
pu
.
cu
->
lumaSize
().
width
==
4
&&
pu
.
cu
->
lumaSize
().
height
==
4
)
{
return
true
;
}
#endif
return
false
;
}
...
...
source/Lib/DecoderLib/CABACReader.cpp
View file @
f3c66ebe
...
...
@@ -1634,11 +1634,7 @@ void CABACReader::inter_pred_idc( PredictionUnit& pu )
pu
.
interDir
=
1
;
return
;
}
#if JVET_L0104_NO_4x4BI_INTER_CU
if
(
!
(
PU
::
isBipredRestriction
(
pu
))
)
#else
if
(
true
)
#endif
{
unsigned
ctxId
=
DeriveCtx
::
CtxInterDir
(
pu
);
if
(
m_BinDecoder
.
decodeBin
(
Ctx
::
InterDir
(
ctxId
)
)
)
...
...
source/Lib/EncoderLib/CABACWriter.cpp
View file @
f3c66ebe
...
...
@@ -1618,11 +1618,7 @@ void CABACWriter::inter_pred_idc( const PredictionUnit& pu )
{
return
;
}
#if JVET_L0104_NO_4x4BI_INTER_CU
if
(
!
(
PU
::
isBipredRestriction
(
pu
))
)
#else
if
(
true
)
#endif
{
unsigned
ctxId
=
DeriveCtx
::
CtxInterDir
(
pu
);
if
(
pu
.
interDir
==
3
)
...
...
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