Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 8689386601a7c40e8efe754e24516fdaa957ad4d Mon Sep 17 00:00:00 2001
- From: Hendrik Leppkes <h.leppkes@gmail.com>
- Date: Tue, 2 Feb 2016 20:03:11 +0100
- Subject: [PATCH] dca: add emms_c after AV_ZERO128 macros
- AV_ZERO64/128 can use MMX on x86.
- ---
- libavcodec/dca_core.c | 4 ++++
- 1 file changed, 4 insertions(+)
- diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c
- index 94f0f3d..a69be06 100644
- --- a/libavcodec/dca_core.c
- +++ b/libavcodec/dca_core.c
- @@ -927,6 +927,8 @@ static void erase_adpcm_history(DCACoreDecoder *s)
- for (ch = 0; ch < DCA_CHANNELS; ch++)
- for (band = 0; band < DCA_SUBBANDS; band++)
- AV_ZERO128(s->subband_samples[ch][band] - DCA_ADPCM_COEFFS);
- +
- + emms_c();
- }
- static int alloc_sample_buffer(DCACoreDecoder *s)
- @@ -1434,6 +1436,8 @@ static void erase_x96_adpcm_history(DCACoreDecoder *s)
- for (ch = 0; ch < DCA_CHANNELS; ch++)
- for (band = 0; band < DCA_SUBBANDS_X96; band++)
- AV_ZERO128(s->x96_subband_samples[ch][band] - DCA_ADPCM_COEFFS);
- +
- + emms_c();
- }
- static int alloc_x96_sample_buffer(DCACoreDecoder *s)
- --
- 2.6.2.windows.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement