[FFmpeg-devel] [PATCH v2] swscale/output: VSX-optimize 16-bit yuv2plane1

Michael Niedermayer michael at niedermayer.cc
Fri Dec 14 19:25:19 EET 2018


On Thu, Dec 13, 2018 at 02:07:58PM +0200, Lauri Kasanen wrote:
> ./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p16le \
> -f null -vframes 100 -v error -nostats -
> 
> 2120 UNITS in planar1,   65393 runs,    143 skips
> 
> -cpuflags 0
> 
> 19157 UNITS in planar1,   65512 runs,     24 skips
> 
> 9.03632 speedup, 16be similarly.
> 
> Fate passes, each format tested with an image to video conversion.
> 
> Signed-off-by: Lauri Kasanen <cand at gmx.com>
> ---
> 
> v2: Copy-pasted rows were flipped.
> 
>  libswscale/ppc/swscale_vsx.c | 59 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 59 insertions(+)

will apply

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181214/35a470e3/attachment.sig>


More information about the ffmpeg-devel mailing list