Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
f932e152
Commit
f932e152
authored
Jul 21, 2014
by
Tim Kopp
Committed by
Gerrit Code Review
Jul 21, 2014
Browse files
Merge "VP9 denoiser fix: ref frames now updated properly"
parents
1cfaaf67
c66f612c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
vp9/encoder/vp9_denoiser.c
vp9/encoder/vp9_denoiser.c
+3
-4
No files found.
vp9/encoder/vp9_denoiser.c
View file @
f932e152
...
@@ -345,10 +345,9 @@ void vp9_denoiser_update_frame_info(VP9_DENOISER *denoiser,
...
@@ -345,10 +345,9 @@ void vp9_denoiser_update_frame_info(VP9_DENOISER *denoiser,
int
refresh_last_frame
)
{
int
refresh_last_frame
)
{
if
(
frame_type
==
KEY_FRAME
)
{
if
(
frame_type
==
KEY_FRAME
)
{
int
i
;
int
i
;
copy_frame
(
denoiser
->
running_avg_y
[
LAST_FRAME
],
src
);
// Start at 1 so as not to overwrite the INTRA_FRAME
for
(
i
=
2
;
i
<
MAX_REF_FRAMES
-
1
;
i
++
)
{
for
(
i
=
1
;
i
<
MAX_REF_FRAMES
;
++
i
)
{
copy_frame
(
denoiser
->
running_avg_y
[
i
],
copy_frame
(
denoiser
->
running_avg_y
[
i
],
src
);
denoiser
->
running_avg_y
[
LAST_FRAME
]);
}
}
}
else
{
/* For non key frames */
}
else
{
/* For non key frames */
if
(
refresh_alt_ref_frame
)
{
if
(
refresh_alt_ref_frame
)
{
...
...
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