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
Remy Foray
VVCSoftware_VTM
Commits
633288ce
Commit
633288ce
authored
Aug 22, 2018
by
Frank Bossen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply bug fixes from BMS 2.0.1
parent
39b913ea
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
source/Lib/CommonLib/IntraPrediction.cpp
source/Lib/CommonLib/IntraPrediction.cpp
+2
-2
source/Lib/CommonLib/version.h
source/Lib/CommonLib/version.h
+1
-1
source/Lib/EncoderLib/InterSearch.cpp
source/Lib/EncoderLib/InterSearch.cpp
+6
-2
No files found.
source/Lib/CommonLib/IntraPrediction.cpp
View file @
633288ce
...
...
@@ -710,8 +710,8 @@ void IntraPrediction::xPredIntraAng( const CPelBuf &pSrc, PelBuf &pDst, const Ch
if
(
wT
+
wL
==
0
)
break
;
int
c
=
x
+
y
+
1
;
const
Pel
left
=
refSide
[
c
+
1
]
;
const
Pel
top
=
refMain
[
c
+
1
]
;
const
Pel
left
=
(
wL
!=
0
)
?
refSide
[
c
+
1
]
:
0
;
const
Pel
top
=
(
wT
!=
0
)
?
refMain
[
c
+
1
]
:
0
;
pDsty
[
x
]
=
ClipPel
((
wL
*
left
+
wT
*
top
+
(
64
-
wL
-
wT
)
*
pDsty
[
x
]
+
32
)
>>
6
,
clpRng
);
}
...
...
source/Lib/CommonLib/version.h
View file @
633288ce
#if ! defined( NEXT_SOFTWARE_VERSION )
#define NEXT_SOFTWARE_VERSION "2.0"
#define NEXT_SOFTWARE_VERSION "2.0
.1
"
#endif
source/Lib/EncoderLib/InterSearch.cpp
View file @
633288ce
...
...
@@ -2673,7 +2673,11 @@ void InterSearch::xPredAffineInterSearch( PredictionUnit& pu,
if
(
m_pcEncCfg
->
getFastMEForGenBLowDelayEnabled
()
&&
iRefList
==
1
)
// list 1
{
#if JVET_K0185_AFFINE_6PARA_ENC
if
(
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
)
>=
0
&&
(
pu
.
cu
->
affineType
!=
AFFINEMODEL_6PARAM
||
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
)
==
refIdx4Para
[
0
])
)
#else
if
(
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
)
>=
0
)
#endif
{
int
iList1ToList0Idx
=
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
);
::
memcpy
(
cMvTemp
[
1
][
iRefIdxTemp
],
cMvTemp
[
0
][
iList1ToList0Idx
],
sizeof
(
Mv
)
*
3
);
...
...
@@ -3337,7 +3341,7 @@ void InterSearch::xAffineMotionEstimation( PredictionUnit& pu,
#endif
DTRACE
(
g_trace_ctx
,
D_COMMON
,
" (%d) yy uiBitsBest=%d
\n
"
,
DTRACE_GET_COUNTER
(
g_trace_ctx
,
D_COMMON
),
uiBitsBest
);
}
uiCostBest
=
(
uint32_t
)(
floor
(
fWeight
*
(
double
)
uiCostBest
)
+
(
double
)
m_pcRdCost
->
getCost
(
uiBitsBest
)
);
uiCostBest
=
(
Distortion
)(
floor
(
fWeight
*
(
double
)
uiCostBest
)
+
(
double
)
m_pcRdCost
->
getCost
(
uiBitsBest
)
);
DTRACE
(
g_trace_ctx
,
D_COMMON
,
" (%d) uiBitsBest=%d, uiCostBest=%d
\n
"
,
DTRACE_GET_COUNTER
(
g_trace_ctx
,
D_COMMON
),
uiBitsBest
,
uiCostBest
);
...
...
@@ -3649,7 +3653,7 @@ void InterSearch::xAffineMotionEstimation( PredictionUnit& pu,
#endif
}
uiCostTemp
=
(
uint32_t
)(
floor
(
fWeight
*
(
double
)
uiCostTemp
)
+
(
double
)
m_pcRdCost
->
getCost
(
uiBitsTemp
)
);
uiCostTemp
=
(
Distortion
)(
floor
(
fWeight
*
(
double
)
uiCostTemp
)
+
(
double
)
m_pcRdCost
->
getCost
(
uiBitsTemp
)
);
// store best cost and mv
if
(
uiCostTemp
<
uiCostBest
)
...
...
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