[x265] [PATCH] ipfilter_ps now requires at least SSSE3

Steve Borho steve at borho.org
Mon Jul 29 19:10:20 CEST 2013


On Mon, Jul 29, 2013 at 5:44 AM, <praveen at multicorewareinc.com> wrote:

> # HG changeset patch
> # User praveentiwari
> # Date 1375094654 -19800
> # Node ID 7e4a0d1ae55309a133aea36e1201872356fdaeaf
> # Parent  6d1437cdaf6464a909891104ce34884ef2f9b23e
> ipfilter_ps now requires at least SSSE3
>

I folded these last two patches together so we don't have a broken commit.


> diff -r 6d1437cdaf64 -r 7e4a0d1ae553 source/common/vec/ipfilter.inc
> --- a/source/common/vec/ipfilter.inc    Mon Jul 29 16:04:01 2013 +0530
> +++ b/source/common/vec/ipfilter.inc    Mon Jul 29 16:14:14 2013 +0530
> @@ -44,15 +44,14 @@
>  #if INSTRSET > 3
>      p.ipfilter_pp[FILTER_H_P_P_4] = filterHorizontal_p_p<4>;
>      p.ipfilter_pp[FILTER_H_P_P_8] = filterHorizontal_p_p<8>;
> +    p.ipfilter_ps[FILTER_H_P_S_4] = filterHorizontal_p_s<4>;
> +    p.ipfilter_ps[FILTER_H_P_S_8] = filterHorizontal_p_s<8>;
>  #endif
>
>      p.ipfilter_pp[FILTER_V_P_P_4] = filterVertical_p_p<4>;
>      p.ipfilter_pp[FILTER_V_P_P_8] = filterVertical_p_p<8>;
>
> -    p.ipfilter_ps[FILTER_H_P_S_4] = filterHorizontal_p_s<4>;
>      p.ipfilter_sp[FILTER_V_S_P_4] = filterVertical_s_p<4>;
> -
> -    p.ipfilter_ps[FILTER_H_P_S_8] = filterHorizontal_p_s<8>;
>      p.ipfilter_sp[FILTER_V_S_P_8] = filterVertical_s_p<8>;
>
>      p.ipfilter_p2s = filterConvertPelToShort;
> diff -r 6d1437cdaf64 -r 7e4a0d1ae553 source/common/vec/ipfilter8.inc
> --- a/source/common/vec/ipfilter8.inc   Mon Jul 29 16:04:01 2013 +0530
> +++ b/source/common/vec/ipfilter8.inc   Mon Jul 29 16:14:14 2013 +0530
> @@ -1104,6 +1104,7 @@
>
>  #endif /* if INSTRSET > 4 */
>
> +#if INSTRSET > 3
>  template<int N>
>  void filterHorizontal_p_s(pixel *src, int srcStride, short *dst, int
> dstStride, int width, int height, short const *coeff)
>  {
> @@ -1195,6 +1196,8 @@
>      }
>  }
>
> +#endif /* if INSTRSET > 3 */
> +
>  void filterConvertPelToShort(pixel *src, int srcStride, short *dst, int
> dstStride, int width, int height)
>  {
>      pixel* srcOrg = src;
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> http://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/private/x265-devel/attachments/20130729/4f030f82/attachment.html>


More information about the x265-devel mailing list