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
Philip Cowan
VVCSoftware_VTM
Commits
19c3ca64
Commit
19c3ca64
authored
6 years ago
by
Shunsuke Iwamura
Browse files
Options
Downloads
Patches
Plain Diff
change variable name to align with guideline
parent
92962217
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/Lib/CommonLib/LoopFilter.cpp
+7
-7
7 additions, 7 deletions
source/Lib/CommonLib/LoopFilter.cpp
source/Lib/CommonLib/LoopFilter.h
+1
-1
1 addition, 1 deletion
source/Lib/CommonLib/LoopFilter.h
with
8 additions
and
8 deletions
source/Lib/CommonLib/LoopFilter.cpp
+
7
−
7
View file @
19c3ca64
...
...
@@ -561,26 +561,26 @@ unsigned LoopFilter::xGetBoundaryStrengthSingle ( const CodingUnit& cu, const De
}
#if LUMA_ADAPTIVE_DEBLOCKING_FILTER_QP_OFFSET
void
LoopFilter
::
deriveLADFShift
(
const
Pel
*
piS
rc
,
const
int
iS
tride
,
int
&
iS
hift
,
const
DeblockEdgeDir
edgeDir
,
const
SPS
sps
)
void
LoopFilter
::
deriveLADFShift
(
const
Pel
*
s
rc
,
const
int
s
tride
,
int
&
s
hift
,
const
DeblockEdgeDir
edgeDir
,
const
SPS
sps
)
{
uint32_t
ui
Level
=
0
;
iS
hift
=
sps
.
getSpsNext
().
getLadfQpOffset
(
0
);
uint32_t
luma
Level
=
0
;
s
hift
=
sps
.
getSpsNext
().
getLadfQpOffset
(
0
);
if
(
edgeDir
==
EDGE_VER
)
{
ui
Level
=
(
piS
rc
[
0
]
+
piS
rc
[
3
*
iS
tride
]
+
piS
rc
[
-
1
]
+
piS
rc
[
3
*
iS
tride
-
1
])
>>
2
;
luma
Level
=
(
s
rc
[
0
]
+
s
rc
[
3
*
s
tride
]
+
s
rc
[
-
1
]
+
s
rc
[
3
*
s
tride
-
1
])
>>
2
;
}
else
// (edgeDir == EDGE_HOR)
{
ui
Level
=
(
piS
rc
[
0
]
+
piS
rc
[
3
]
+
piS
rc
[
-
iS
tride
]
+
piS
rc
[
-
iS
tride
+
3
])
>>
2
;
luma
Level
=
(
s
rc
[
0
]
+
s
rc
[
3
]
+
s
rc
[
-
s
tride
]
+
s
rc
[
-
s
tride
+
3
])
>>
2
;
}
for
(
int
k
=
1
;
k
<
sps
.
getSpsNext
().
getLadfNumIntervals
();
k
++
)
{
const
int
th
=
sps
.
getSpsNext
().
getLadfIntervalLowerBound
(
k
);
if
(
ui
Level
>
th
)
if
(
luma
Level
>
th
)
{
iS
hift
=
sps
.
getSpsNext
().
getLadfQpOffset
(
k
);
s
hift
=
sps
.
getSpsNext
().
getLadfQpOffset
(
k
);
}
else
{
...
...
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/LoopFilter.h
+
1
−
1
View file @
19c3ca64
...
...
@@ -80,7 +80,7 @@ private:
void
xEdgeFilterChroma
(
const
CodingUnit
&
cu
,
const
DeblockEdgeDir
edgeDir
,
const
int
iEdge
);
#if LUMA_ADAPTIVE_DEBLOCKING_FILTER_QP_OFFSET
void
deriveLADFShift
(
const
Pel
*
piS
rc
,
const
int
iS
tride
,
int
&
iS
hift
,
const
DeblockEdgeDir
edgeDir
,
const
SPS
sps
);
void
deriveLADFShift
(
const
Pel
*
s
rc
,
const
int
s
tride
,
int
&
s
hift
,
const
DeblockEdgeDir
edgeDir
,
const
SPS
sps
);
#endif
inline
void
xPelFilterLuma
(
Pel
*
piSrc
,
const
int
iOffset
,
const
int
tc
,
const
bool
sw
,
const
bool
bPartPNoFilter
,
const
bool
bPartQNoFilter
,
const
int
iThrCut
,
const
bool
bFilterSecondP
,
const
bool
bFilterSecondQ
,
const
ClpRng
&
clpRng
)
const
;
inline
void
xPelFilterChroma
(
Pel
*
piSrc
,
const
int
iOffset
,
const
int
tc
,
const
bool
bPartPNoFilter
,
const
bool
bPartQNoFilter
,
const
ClpRng
&
clpRng
)
const
;
...
...
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