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
Sun Yucheng
VVCSoftware_VTM
Commits
633288ce
Commit
633288ce
authored
6 years ago
by
Frank Bossen
Browse files
Options
Downloads
Patches
Plain Diff
Apply bug fixes from BMS 2.0.1
parent
39b913ea
No related branches found
Branches containing commit
Tags
VTM-3.0
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/Lib/CommonLib/IntraPrediction.cpp
+2
-2
2 additions, 2 deletions
source/Lib/CommonLib/IntraPrediction.cpp
source/Lib/CommonLib/version.h
+1
-1
1 addition, 1 deletion
source/Lib/CommonLib/version.h
source/Lib/EncoderLib/InterSearch.cpp
+6
-2
6 additions, 2 deletions
source/Lib/EncoderLib/InterSearch.cpp
with
9 additions
and
5 deletions
source/Lib/CommonLib/IntraPrediction.cpp
+
2
−
2
View file @
633288ce
...
@@ -710,8 +710,8 @@ void IntraPrediction::xPredIntraAng( const CPelBuf &pSrc, PelBuf &pDst, const Ch
...
@@ -710,8 +710,8 @@ void IntraPrediction::xPredIntraAng( const CPelBuf &pSrc, PelBuf &pDst, const Ch
if
(
wT
+
wL
==
0
)
break
;
if
(
wT
+
wL
==
0
)
break
;
int
c
=
x
+
y
+
1
;
int
c
=
x
+
y
+
1
;
const
Pel
left
=
refSide
[
c
+
1
];
const
Pel
left
=
(
wL
!=
0
)
?
refSide
[
c
+
1
]
:
0
;
const
Pel
top
=
refMain
[
c
+
1
];
const
Pel
top
=
(
wT
!=
0
)
?
refMain
[
c
+
1
]
:
0
;
pDsty
[
x
]
=
ClipPel
((
wL
*
left
+
wT
*
top
+
(
64
-
wL
-
wT
)
*
pDsty
[
x
]
+
32
)
>>
6
,
clpRng
);
pDsty
[
x
]
=
ClipPel
((
wL
*
left
+
wT
*
top
+
(
64
-
wL
-
wT
)
*
pDsty
[
x
]
+
32
)
>>
6
,
clpRng
);
}
}
...
...
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/version.h
+
1
−
1
View file @
633288ce
#if ! defined( NEXT_SOFTWARE_VERSION )
#if ! defined( NEXT_SOFTWARE_VERSION )
#define NEXT_SOFTWARE_VERSION "2.0"
#define NEXT_SOFTWARE_VERSION "2.0
.1
"
#endif
#endif
This diff is collapsed.
Click to expand it.
source/Lib/EncoderLib/InterSearch.cpp
+
6
−
2
View file @
633288ce
...
@@ -2673,7 +2673,11 @@ void InterSearch::xPredAffineInterSearch( PredictionUnit& pu,
...
@@ -2673,7 +2673,11 @@ void InterSearch::xPredAffineInterSearch( PredictionUnit& pu,
if
(
m_pcEncCfg
->
getFastMEForGenBLowDelayEnabled
()
&&
iRefList
==
1
)
// list 1
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
)
if
(
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
)
>=
0
)
#endif
{
{
int
iList1ToList0Idx
=
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
);
int
iList1ToList0Idx
=
slice
.
getList1IdxToList0Idx
(
iRefIdxTemp
);
::
memcpy
(
cMvTemp
[
1
][
iRefIdxTemp
],
cMvTemp
[
0
][
iList1ToList0Idx
],
sizeof
(
Mv
)
*
3
);
::
memcpy
(
cMvTemp
[
1
][
iRefIdxTemp
],
cMvTemp
[
0
][
iList1ToList0Idx
],
sizeof
(
Mv
)
*
3
);
...
@@ -3337,7 +3341,7 @@ void InterSearch::xAffineMotionEstimation( PredictionUnit& pu,
...
@@ -3337,7 +3341,7 @@ void InterSearch::xAffineMotionEstimation( PredictionUnit& pu,
#endif
#endif
DTRACE
(
g_trace_ctx
,
D_COMMON
,
" (%d) yy uiBitsBest=%d
\n
"
,
DTRACE_GET_COUNTER
(
g_trace_ctx
,
D_COMMON
),
uiBitsBest
);
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
);
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,
...
@@ -3649,7 +3653,7 @@ void InterSearch::xAffineMotionEstimation( PredictionUnit& pu,
#endif
#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
// store best cost and mv
if
(
uiCostTemp
<
uiCostBest
)
if
(
uiCostTemp
<
uiCostBest
)
...
...
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