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
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jeeva Raj A
VVCSoftware_VTM
Commits
cf175eff
Commit
cf175eff
authored
Jul 23, 2019
by
Weijia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JVET-O0315/O0200/O0205/O0296/O0342/O0463/O0542: Intra prediction mode alignment for BDPCM
parent
a3d66f49
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
source/Lib/CommonLib/TypeDef.h
source/Lib/CommonLib/TypeDef.h
+2
-0
source/Lib/DecoderLib/CABACReader.cpp
source/Lib/DecoderLib/CABACReader.cpp
+4
-0
source/Lib/EncoderLib/CABACWriter.cpp
source/Lib/EncoderLib/CABACWriter.cpp
+4
-0
source/Lib/EncoderLib/IntraSearch.cpp
source/Lib/EncoderLib/IntraSearch.cpp
+4
-0
No files found.
source/Lib/CommonLib/TypeDef.h
View file @
cf175eff
...
...
@@ -50,6 +50,8 @@
#include <assert.h>
#include <cassert>
#define JVET_O0315_RDPCM_INTRAMODE_ALIGN 1 // JVET-O0200/O0205/O0296/O0342/O0463/O0542: Intra prediction mode alignment for BDPCM
#define JVET_O0438_SPS_AFFINE_AMVR_FLAG 1 // JVET-O0438: affine AMVR control flag conditioned on affine control flag in SPS
#define JVET_O0052_TU_LEVEL_CTX_CODED_BIN_CONSTRAINT 1 // JVET-O0052 Method-1: TU-level context coded bin constraint
...
...
source/Lib/DecoderLib/CABACReader.cpp
View file @
cf175eff
...
...
@@ -1180,10 +1180,14 @@ void CABACReader::intra_luma_pred_modes( CodingUnit &cu )
if
(
cu
.
bdpcmMode
)
{
#if JVET_O0315_RDPCM_INTRAMODE_ALIGN
cu
.
firstPU
->
intraDir
[
0
]
=
cu
.
bdpcmMode
==
2
?
VER_IDX
:
HOR_IDX
;
#else
PredictionUnit
*
pu
=
cu
.
firstPU
;
unsigned
mpm_pred
[
NUM_MOST_PROBABLE_MODES
];
PU
::
getIntraMPMs
(
*
pu
,
mpm_pred
);
cu
.
firstPU
->
intraDir
[
0
]
=
mpm_pred
[
0
];
#endif
return
;
}
...
...
source/Lib/EncoderLib/CABACWriter.cpp
View file @
cf175eff
...
...
@@ -969,10 +969,14 @@ void CABACWriter::intra_luma_pred_modes( const CodingUnit& cu )
if
(
cu
.
bdpcmMode
)
{
#if JVET_O0315_RDPCM_INTRAMODE_ALIGN
cu
.
firstPU
->
intraDir
[
0
]
=
cu
.
bdpcmMode
==
2
?
VER_IDX
:
HOR_IDX
;
#else
PredictionUnit
*
pu
=
cu
.
firstPU
;
unsigned
mpm_pred
[
NUM_MOST_PROBABLE_MODES
];
PU
::
getIntraMPMs
(
*
pu
,
mpm_pred
);
cu
.
firstPU
->
intraDir
[
0
]
=
mpm_pred
[
0
];
#endif
return
;
}
...
...
source/Lib/EncoderLib/IntraSearch.cpp
View file @
cf175eff
...
...
@@ -962,9 +962,13 @@ bool IntraSearch::estIntraPredLumaQT( CodingUnit &cu, Partitioner &partitioner,
{
cu
.
bdpcmMode
=
-
mode
;
#if JVET_O0315_RDPCM_INTRAMODE_ALIGN
uiOrgMode
=
ModeInfo
(
false
,
0
,
NOT_INTRA_SUBPARTITIONS
,
cu
.
bdpcmMode
==
2
?
VER_IDX
:
HOR_IDX
);
#else
unsigned
mpm_pred
[
NUM_MOST_PROBABLE_MODES
];
PU
::
getIntraMPMs
(
pu
,
mpm_pred
);
uiOrgMode
=
ModeInfo
(
false
,
0
,
NOT_INTRA_SUBPARTITIONS
,
mpm_pred
[
0
]);
#endif
cu
.
mipFlag
=
uiOrgMode
.
mipFlg
;
cu
.
ispMode
=
uiOrgMode
.
ispMod
;
pu
.
multiRefIdx
=
uiOrgMode
.
mRefId
;
...
...
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