huffyuv: Enable again the PPC optimization

Message ID 20161001192618.12230-1-lu_zero@gentoo.org
State New
Headers show

Commit Message

Luca Barbato Oct. 1, 2016, 7:26 p.m.
---
 libavcodec/huffyuvdsp.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Vittorio Giovara Oct. 1, 2016, 9:08 p.m. | #1
On Sat, Oct 1, 2016 at 3:26 PM, Luca Barbato <lu_zero@gentoo.org> wrote:
> ---
>  libavcodec/huffyuvdsp.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/huffyuvdsp.c b/libavcodec/huffyuvdsp.c
> index b5a714d..0fd6fd7 100644
> --- a/libavcodec/huffyuvdsp.c
> +++ b/libavcodec/huffyuvdsp.c
> @@ -129,4 +129,6 @@ av_cold void ff_huffyuvdsp_init(HuffYUVDSPContext *c)
>
>      if (ARCH_X86)
>          ff_huffyuvdsp_init_x86(c);
> +    if (ARCH_PPC)
> +        ff_huffyuvdsp_init_ppc(c);
>  }
> --

Probably ok
Diego Biurrun Oct. 2, 2016, 10:10 a.m. | #2
On Sat, Oct 01, 2016 at 09:26:18PM +0200, Luca Barbato wrote:
> ---
>  libavcodec/huffyuvdsp.c | 2 ++
>  1 file changed, 2 insertions(+)

huffyuvdsp: Reenable PPC optimizations

> --- a/libavcodec/huffyuvdsp.c
> +++ b/libavcodec/huffyuvdsp.c
> @@ -129,4 +129,6 @@ av_cold void ff_huffyuvdsp_init(HuffYUVDSPContext *c)
>  
>      if (ARCH_X86)
>          ff_huffyuvdsp_init_x86(c);
> +    if (ARCH_PPC)
> +        ff_huffyuvdsp_init_ppc(c);

order

Diego

Patch

diff --git a/libavcodec/huffyuvdsp.c b/libavcodec/huffyuvdsp.c
index b5a714d..0fd6fd7 100644
--- a/libavcodec/huffyuvdsp.c
+++ b/libavcodec/huffyuvdsp.c
@@ -129,4 +129,6 @@  av_cold void ff_huffyuvdsp_init(HuffYUVDSPContext *c)
 
     if (ARCH_X86)
         ff_huffyuvdsp_init_x86(c);
+    if (ARCH_PPC)
+        ff_huffyuvdsp_init_ppc(c);
 }