Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
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
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
jvet
VVCSoftware_VTM
Commits
4173658c
Commit
4173658c
authored
5 years ago
by
Frank Bossen
Browse files
Options
Downloads
Patches
Plain Diff
Fix #840: Use proper source buffer when boundaries are present
parent
7f27a0ba
No related branches found
No related tags found
1 merge request
!1280
Fix #840: Use proper source buffer when boundaries are present
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Lib/CommonLib/AdaptiveLoopFilter.cpp
+3
-4
3 additions, 4 deletions
source/Lib/CommonLib/AdaptiveLoopFilter.cpp
with
3 additions
and
4 deletions
source/Lib/CommonLib/AdaptiveLoopFilter.cpp
+
3
−
4
View file @
4173658c
...
...
@@ -474,13 +474,12 @@ void AdaptiveLoopFilter::ALFProcess(CodingStructure& cs)
if
(
filterIdx
!=
0
)
{
const
Area
blkSrc
(
0
,
0
,
w
>>
chromaScaleX
,
h
>>
chromaScaleY
);
Area
blkDst
(
xPos
>>
chromaScaleX
,
yPos
>>
chromaScaleY
,
width
>>
chromaScaleX
,
height
>>
chromaScaleY
);
const
Area
blkSrc
(
0
,
0
,
w
,
h
);
Area
blkDst
(
xStart
>>
chromaScaleX
,
yStart
>>
chromaScaleY
,
w
>>
chromaScaleX
,
h
>>
chromaScaleY
);
const
int16_t
*
filterCoeff
=
m_ccAlfFilterParam
.
ccAlfCoeff
[
compIdx
-
1
][
filterIdx
-
1
];
m_filterCcAlf
(
recYuv
.
get
(
compID
),
tmpYuv
,
blkDst
,
blkSrc
,
compID
,
filterCoeff
,
m_clpRngs
,
cs
,
m_filterCcAlf
(
recYuv
.
get
(
compID
),
buf
,
blkDst
,
blkSrc
,
compID
,
filterCoeff
,
m_clpRngs
,
cs
,
m_alfVBLumaCTUHeight
,
m_alfVBLumaPos
);
}
}
...
...
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