Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
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
Container Registry
Model registry
Operate
Environments
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
Yoshitaka Morigami
VVCSoftware_VTM
Commits
23604637
Commit
23604637
authored
6 years ago
by
Frank Bossen
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_ticket103' into 'master'
Fix ticket
#103
on MV rounding issue during AMVP candidates generation See merge request
!87
parents
3b547049
b1e4c272
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/CommonLib/UnitTools.cpp
+6
-0
6 additions, 0 deletions
source/Lib/CommonLib/UnitTools.cpp
with
6 additions
and
0 deletions
source/Lib/CommonLib/UnitTools.cpp
+
6
−
0
View file @
23604637
...
...
@@ -2365,6 +2365,9 @@ void PU::fillMvpCand(PredictionUnit &pu, const RefPicList &eRefPicList, const in
if
(
pu
.
cu
->
imv
!=
0
)
{
unsigned
imvShift
=
pu
.
cu
->
imv
<<
1
;
#if REMOVE_MV_ADAPT_PREC
imvShift
+=
VCEG_AZ07_MV_ADD_PRECISION_BIT_FOR_STORE
;
#endif
roundMV
(
cColMv
,
imvShift
);
}
int
i
=
0
;
...
...
@@ -3158,6 +3161,9 @@ void PU::addAMVPHMVPCand(const PredictionUnit &pu, const RefPicList eRefPicList,
MotionInfo
neibMi
;
int
i
=
0
;
unsigned
imvShift
=
imv
<<
1
;
#if REMOVE_MV_ADAPT_PREC
imvShift
+=
VCEG_AZ07_MV_ADD_PRECISION_BIT_FOR_STORE
;
#endif
int
num_avai_candInLUT
=
slice
.
getAvailableLUTMrgNum
();
int
num_allowedCand
=
std
::
min
(
MAX_NUM_HMVP_AVMPCANDS
,
num_avai_candInLUT
);
...
...
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