[x265] [PATCH] remove unused asmname from x265_param

Ashok Kumar Mishra ashok at multicorewareinc.com
Fri Apr 13 14:46:09 CEST 2018


On Fri, Apr 13, 2018 at 1:39 PM, Ma0 <mateuszb at poczta.onet.pl> wrote:

> # HG changeset patch
> # User Ma0 <mateuszb at poczta.onet.pl>
> # Date 1523605826 -7200
> #      Fri Apr 13 09:50:26 2018 +0200
> # Node ID 98108efa572a95022c041d71b3e090f350619178
> # Parent  07defe235cde1949c55464952ee1dbdc10baf5e4
> remove unused asmname from x265_param
>
> diff -r 07defe235cde -r 98108efa572a source/CMakeLists.txt
> --- a/source/CMakeLists.txt     Thu Apr 12 16:57:19 2018 +0530
> +++ b/source/CMakeLists.txt     Fri Apr 13 09:50:26 2018 +0200
> @@ -29,7 +29,7 @@
>  option(STATIC_LINK_CRT "Statically link C runtime for release builds" OFF)
>  mark_as_advanced(FPROFILE_USE FPROFILE_GENERATE NATIVE_BUILD)
>  # X265_BUILD must be incremented each time the public API is changed
> -set(X265_BUILD 158)
> +set(X265_BUILD 159)
>  configure_file("${PROJECT_SOURCE_DIR}/x265.def.in"
>                 "${PROJECT_BINARY_DIR}/x265.def")
>  configure_file("${PROJECT_SOURCE_DIR}/x265_config.h.in"
> diff -r 07defe235cde -r 98108efa572a source/common/param.cpp
> --- a/source/common/param.cpp   Thu Apr 12 16:57:19 2018 +0530
> +++ b/source/common/param.cpp   Fri Apr 13 09:50:26 2018 +0200
> @@ -615,7 +615,6 @@
>      if (0) ;
>      OPT("asm")
>      {
> -        sscanf(value, "%s", p->asmname);
>          if (strcmp(value, "avx512")==0)
>          {
>              p->bEnableavx512 = 1;
> diff -r 07defe235cde -r 98108efa572a source/x265.h
> --- a/source/x265.h     Thu Apr 12 16:57:19 2018 +0530
> +++ b/source/x265.h     Fri Apr 13 09:50:26 2018 +0200
> @@ -636,7 +636,6 @@
>       *  avx512 capabilities.
>       *  Ensure to use --asm avx512 if you need to encode with avx512
> assembly primitives*/
>      int     bEnableavx512;
> -    char*   asmname;
>      /*== Parallelism Features ==*/
>
>      /* Number of concurrently encoded frames between 1 and
> X265_MAX_FRAME_THREADS
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>

Pushed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180413/394599d7/attachment-0001.html>


More information about the x265-devel mailing list