[FFmpeg-trac] #5570(swscale:open): POWER8 VSX vectorization libswscale/input.c

FFmpeg trac at avcodec.org
Tue Sep 21 09:50:06 EEST 2021


#5570: POWER8 VSX vectorization libswscale/input.c
-------------------------------------+-------------------------------------
             Reporter:  David        |                    Owner:  (none)
  Edelsohn                           |
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:  bounty vsx   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by pocock):

 I copied the patches from this bug #5570 and also #9077 into the build
 tree for the Debian package version 7:4.3.2-0+deb11u2.  I put everything
 in this branch based on the Debian packaging:
 https://gitlab.com/debify/ffmpeg/-/tree/pocock/bullseye-ppc64el

 I ran the build on a Debian 11 (bullseye) system

 {{{
 dpkg-buildpackage -rfakeroot -i.git -j65 -b --no-sign
 }}}

 Building with both patches some of the unit tests fail.

 Building without the patch here for #5077 the unit tests pass.

 I've copied the test output below


 {{{
 --- BUILD_DIR/tests/ref/fate/filter-pixfmts-scale       2021-09-19
 17:23:40.129078035 +0200
 +++ tests/data/fate/filter-pixfmts-scale        2021-09-21
 07:43:08.567738778 +0200
 @@ -9,12 +9,12 @@
  bgr444le            01be36a28ebca1a11eb4d192986cd4e9
  bgr48be             3ae02769c69d2512eaa26fff65763acb
  bgr48le             a6ce2344f07b77438258b6787fe5c24c
 -bgr4_byte           01efea74088e5e3343c19ee053b95f31
 +bgr4_byte           191a304d3ab99e7f3e7c0e00b353d928
  bgr555be            ab353278d103d379e1ec86e5cabb645f
  bgr555le            16ccbf59297e4b9ab25fd8af5a84a95d
  bgr565be            3477e19fc11f95285836f30fdff26c1d
  bgr565le            82a81e7c9d4e0431fa22f4df9694afdc
 -bgr8                2c57e76ccf04d51de6acafcf35d6fa70
 +bgr8                2b8447aa9ec0a1c19efb03d5f98fe8d7
  bgra                d8316272bc3a360ef9dff3ecc84520a3
  bgra64be            4e6a1b9f9c18b881c27d76611d45f737
  bgra64le            efeee0abcc658ebcff049d5e74d74943
 @@ -63,19 +63,19 @@
  p010le              4b316f2b9e18972299beb73511278fa8
  p016be              31e204018cbb53f8988c4e1174ea8ce9
  p016le              d5afe557f492a09317e525d7cb782f5b
 -pal8                29e10892009b2cfe431815ec3052ed3b
 +pal8                0c9a2544b27b62e3d1fd0809bae67bbd
  rgb0                fbd27e98154efb7535826afed41e9bb0
  rgb24               e022e741451e81f2ecce1c7240b93e87
  rgb444be            db52b9ecdf98479b693e3f4bd9e77bac
  rgb444le            63288425c05f146cde5c82b85bb126e0
  rgb48be             45b25016f10d54cf36eef3479afd8249
  rgb48le             40577b147620ecfb115717473d000697
 -rgb4_byte           9e540a2e7193ebcbf1c7f85d192a0c4e
 +rgb4_byte           03192eea530b12d078edba6446a4d233
  rgb555be            cb5407a0d40f3d0120155daeaaa9a222
  rgb555le            c15540d1fc887882c35860634009c439
  rgb565be            c69fa7d6e458509de65e911d147629a8
  rgb565le            a4a6ef89cdc10282b428cb1392f2a353
 -rgb8                bcdc033b4ef0979d060dbc8893d4db58
 +rgb8                092fb66393af3d56713d49f652405de4
  rgba                85bb5d03cea1c6e8002ced3373904336
  rgba64be            ee73e57923af984b31cc7795d13929da
  rgba64le            783d2779adfafe3548bdb671ec0de69e
  BUILD_DIR/debian/standard/ffmpeg -nostdin -nostats -cpuflags all -flags
 +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact
 -threads 1 -f image2 -vcodec pgmyuv -hwaccel none -threads 1 -thread_type
 frame+slice -i BUILD_DIR/debian/standard/tests/vsynth1/%02d.pgm -flags
 +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags
 +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact
 -threads 1 -dct fastint -vf format=yvyu422,vflip= -vcodec rawvideo
 -frames:v 5 -pix_fmt yvyu422 -frames:v 1 -f nut md5:
 Test filter-pixfmts-scale failed. Look at tests/data/fate/filter-pixfmts-
 scale.err for details.
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/5570#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list