[FFmpeg-devel] [PATCH] swscale/ppc: VSX-optimize yuv2rgb_full
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Mar 20 15:41:27 EET 2019
2019-03-20 13:37 GMT+01:00, Lauri Kasanen <cand at gmx.com>:
> @@ -480,5 +722,66 @@ av_cold void ff_sws_init_swscale_vsx(SwsContext *c)
Are there followup patches?
Or why is the following hunk so convoluted?
> + if (c->flags & SWS_BITEXACT)
> + return;
> +#if !HAVE_BIGENDIAN
Are you planning to add big-endian support?
> + if (c->flags & SWS_FULL_CHR_H_INT) {
Iiuc, the first if above and this one can be merged.
> + switch (dstFormat) {
> + case AV_PIX_FMT_RGB24:
> +#if HAVE_POWER8
> + if (cpu_flags & AV_CPU_FLAG_POWER8) {
if (HAVE_POWER8 && cpu_flags & AV_CPU_FLAG_POWER8)
Carl Eugen
More information about the ffmpeg-devel
mailing list