commit | ec2e9ca0007df3ac1caae5c6c1fdddcbbe07a842 | [log] [tgz] |
---|---|---|
author | Bruce Lai <bruce.lai@sifive.com> | Fri Aug 18 01:50:49 2023 -0700 |
committer | Frank Barchard <fbarchard@chromium.org> | Tue Sep 05 22:44:48 2023 +0000 |
tree | 9f2f5ab149455da52a0ee7cbef23ca800c7a856d | |
parent | f0921806a293e3e008e6325a51d4ea760c39d2c1 [diff] |
[RVV] Support AR64ToAB64 and RGBA-family color conversions Add scalar code for AR64ToAB64, ARGBToRGBA, ARGBToBGRA, ARGBToABGR, RGBAToARGB, BGRAToARGB, and ABGRToARGB. They are originally implemented by ARGBShffle. This CL independetly implements them, and only enables for risc-v now. This CL also add RVV implementation for `RGBA-family <-> RGBA-family` color conversions. * Run on SiFive internal FPGA(VLEN=128): Test Case Speedup AR64ToAB64_Opt x4.6 ARGBToRGBA_Opt x6 ARGBToBGRA_Opt x6 ARGBToABGR_Opt x6 RGBAToARGB_Opt x6 Change-Id: Ie0630901046084aa259699fcdeccc64170d7103f Signed-off-by: Bruce Lai <bruce.lai@sifive.com> Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4797451 Reviewed-by: Frank Barchard <fbarchard@chromium.org>
libyuv is an open source project that includes YUV scaling and conversion functionality.
See Getting started for instructions on how to get started developing.
You can also browse the docs directory for more documentation.