Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 0/3] RISC-V V swscale pixel format conversions
@ 2022-09-28 15:29 Rémi Denis-Courmont
  2022-09-28 15:29 ` [FFmpeg-devel] [PATCH 1/3] sws/rgb2rgb: RISC-V V shuffle_bytes_xxxx functions remi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Rémi Denis-Courmont @ 2022-09-28 15:29 UTC (permalink / raw)
  To: ffmpeg-devel

Hello,

This adds the pixel format conversions that appear to covered by checkasm
(plus YUYV to I422 for which a patch was sent already).

RVV has no register-register interleaving/deinterleaving instructions, so this
uses strided loads or stores instead. Another option would be full register move then segmented store, but that is presumably slower.

The following changes since commit d31013166ac3727ae7c7ebbb756e1e5800bc2b40:

  lavc/pixblockdsp: RISC-V diff_pixels & diff_pixels_unaligned (2022-09-28 11:46:11 +0200)

are available in the Git repository at:

  git.remlab.net:git/ffmpeg.git rvv-swscale

for you to fetch changes up to 18edd2c3108b126fc478635ac1048db60b9d7fc4:

  sws/rgb2rgb: RISC-V 64-bit V packed YUYV/UYVY to planar 4:2:2 (2022-09-28 18:23:53 +0300)

----------------------------------------------------------------
Rémi Denis-Courmont (3):
      sws/rgb2rgb: RISC-V V shuffle_bytes_xxxx functions
      sws/rgb2rgb: RISC-V V interleaveBytes
      sws/rgb2rgb: RISC-V 64-bit V packed YUYV/UYVY to planar 4:2:2

 libswscale/rgb2rgb.c           |   2 +
 libswscale/rgb2rgb.h           |   1 +
 libswscale/riscv/Makefile      |   2 +
 libswscale/riscv/rgb2rgb.c     |  61 ++++++++++++++++
 libswscale/riscv/rgb2rgb_rvv.S | 157 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 223 insertions(+)
 create mode 100644 libswscale/riscv/Makefile
 create mode 100644 libswscale/riscv/rgb2rgb.c
 create mode 100644 libswscale/riscv/rgb2rgb_rvv.S

-- 
Реми Дёни-Курмон
http://www.remlab.net/



_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-29  4:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 15:29 [FFmpeg-devel] [PATCH 0/3] RISC-V V swscale pixel format conversions Rémi Denis-Courmont
2022-09-28 15:29 ` [FFmpeg-devel] [PATCH 1/3] sws/rgb2rgb: RISC-V V shuffle_bytes_xxxx functions remi
2022-09-28 15:30 ` [FFmpeg-devel] [PATCH 2/3] sws/rgb2rgb: RISC-V V interleaveBytes remi
2022-09-28 15:30 ` [FFmpeg-devel] [PATCH 3/3] sws/rgb2rgb: RISC-V 64-bit V packed YUYV/UYVY to planar 4:2:2 remi
2022-09-29  4:04 ` [FFmpeg-devel] [PATCH 0/3] RISC-V V swscale pixel format conversions Lynne

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git