mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-10 22:47:32 +00:00
vp8: reset loopfilter delta values at keyframes.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 0bf511d579
)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
This commit is contained in:
parent
211badf068
commit
9837f19693
@ -318,6 +318,7 @@ static int decode_frame_header(VP8Context *s, const uint8_t *buf, int buf_size)
|
|||||||
memcpy(s->prob->pred8x8c , vp8_pred8x8c_prob_inter , sizeof(s->prob->pred8x8c));
|
memcpy(s->prob->pred8x8c , vp8_pred8x8c_prob_inter , sizeof(s->prob->pred8x8c));
|
||||||
memcpy(s->prob->mvc , vp8_mv_default_prob , sizeof(s->prob->mvc));
|
memcpy(s->prob->mvc , vp8_mv_default_prob , sizeof(s->prob->mvc));
|
||||||
memset(&s->segmentation, 0, sizeof(s->segmentation));
|
memset(&s->segmentation, 0, sizeof(s->segmentation));
|
||||||
|
memset(&s->lf_delta, 0, sizeof(s->lf_delta));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!s->macroblocks_base || /* first frame */
|
if (!s->macroblocks_base || /* first frame */
|
||||||
|
Loading…
Reference in New Issue
Block a user