[FFmpeg-devel] [PATCH V8 1/2] libswscale/x86/yuv2rgb: Change inline assembly into nasm code
Michael Niedermayer
michael at niedermayer.cc
Tue Jan 21 11:04:15 EET 2020
On Sun, Jan 19, 2020 at 11:51:03AM +0800, Ting Fu wrote:
> The original inline assembly and nasm code have the same fps when called by command.
> NASM code almost has no impact on the perfromance.
>
> Signed-off-by: Ting Fu <ting.fu at intel.com>
> ---
> V8:
> Remove all reindention to make review easier.
> Fix some improper indention.
> Reserve the "inline" for next patch.
>
> libswscale/x86/Makefile | 1 +
> libswscale/x86/swscale.c | 16 +-
> libswscale/x86/yuv2rgb.c | 26 +-
> libswscale/x86/yuv2rgb_template.c | 392 +++++-------------------------
> libswscale/x86/yuv_2_rgb.asm | 270 ++++++++++++++++++++
> 5 files changed, 351 insertions(+), 354 deletions(-)
> create mode 100644 libswscale/x86/yuv_2_rgb.asm
Seems to work, i intend to apply this in a few days
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200121/228adb80/attachment.sig>
More information about the ffmpeg-devel
mailing list