Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECM
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
ECM
ECM
Commits
602418ae
Commit
602418ae
authored
6 years ago
by
Naeri Park
Browse files
Options
Downloads
Patches
Plain Diff
JVET-L0158, JVET-L0106 (JVET_L0158_L0106_RESET_BUFFER)
parent
13556742
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/Lib/CommonLib/TypeDef.h
+3
-0
3 additions, 0 deletions
source/Lib/CommonLib/TypeDef.h
source/Lib/DecoderLib/DecSlice.cpp
+7
-0
7 additions, 0 deletions
source/Lib/DecoderLib/DecSlice.cpp
source/Lib/EncoderLib/EncSlice.cpp
+7
-0
7 additions, 0 deletions
source/Lib/EncoderLib/EncSlice.cpp
with
17 additions
and
0 deletions
source/Lib/CommonLib/TypeDef.h
+
3
−
0
View file @
602418ae
...
@@ -58,6 +58,9 @@
...
@@ -58,6 +58,9 @@
#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
#if JVET_L0266_HMVP
#define JVET_L0158_L0106_RESET_BUFFER 1 //reset the history buffer on HMVP
#endif
#define JVET_L0553_FIX_INITQP 1
#define JVET_L0553_FIX_INITQP 1
#define JVET_L0053_L0272_DM 1 // use center position of luma block to derive DM
#define JVET_L0053_L0272_DM 1 // use center position of luma block to derive DM
...
...
This diff is collapsed.
Click to expand it.
source/Lib/DecoderLib/DecSlice.cpp
+
7
−
0
View file @
602418ae
...
@@ -230,6 +230,13 @@ void DecSlice::decompressSlice( Slice* slice, InputBitstream* bitstream )
...
@@ -230,6 +230,13 @@ void DecSlice::decompressSlice( Slice* slice, InputBitstream* bitstream )
}
}
#endif
#endif
#if JVET_L0158_L0106_RESET_BUFFER
if
(
cs
.
slice
->
getSliceType
()
!=
I_SLICE
&&
ctuXPosInCtus
==
0
)
{
cs
.
slice
->
resetMotionLUTs
();
}
#endif
isLastCtuOfSliceSegment
=
cabacReader
.
coding_tree_unit
(
cs
,
ctuArea
,
pic
->
m_prevQP
,
ctuRsAddr
);
isLastCtuOfSliceSegment
=
cabacReader
.
coding_tree_unit
(
cs
,
ctuArea
,
pic
->
m_prevQP
,
ctuRsAddr
);
m_pcCuDecoder
->
decompressCtu
(
cs
,
ctuArea
);
m_pcCuDecoder
->
decompressCtu
(
cs
,
ctuArea
);
...
...
This diff is collapsed.
Click to expand it.
source/Lib/EncoderLib/EncSlice.cpp
+
7
−
0
View file @
602418ae
...
@@ -1538,6 +1538,13 @@ void EncSlice::encodeCtus( Picture* pcPic, const bool bCompressEntireSlice, cons
...
@@ -1538,6 +1538,13 @@ void EncSlice::encodeCtus( Picture* pcPic, const bool bCompressEntireSlice, cons
const
UnitArea
ctuArea
(
cs
.
area
.
chromaFormat
,
Area
(
pos
.
x
,
pos
.
y
,
pcv
.
maxCUWidth
,
pcv
.
maxCUHeight
)
);
const
UnitArea
ctuArea
(
cs
.
area
.
chromaFormat
,
Area
(
pos
.
x
,
pos
.
y
,
pcv
.
maxCUWidth
,
pcv
.
maxCUHeight
)
);
DTRACE_UPDATE
(
g_trace_ctx
,
std
::
make_pair
(
"ctu"
,
ctuRsAddr
)
);
DTRACE_UPDATE
(
g_trace_ctx
,
std
::
make_pair
(
"ctu"
,
ctuRsAddr
)
);
#if JVET_L0158_L0106_RESET_BUFFER
if
(
pcSlice
->
getSliceType
()
!=
I_SLICE
&&
ctuXPosInCtus
==
0
)
{
pcSlice
->
resetMotionLUTs
();
}
#endif
#if ENABLE_WPP_PARALLELISM
#if ENABLE_WPP_PARALLELISM
pcPic
->
scheduler
.
wait
(
ctuXPosInCtus
,
ctuYPosInCtus
);
pcPic
->
scheduler
.
wait
(
ctuXPosInCtus
,
ctuYPosInCtus
);
#endif
#endif
...
...
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