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] V5: VAAPI: Add high bit depth encode/decode support
@ 2022-08-26  2:17 Philip Langdale
  2022-08-26  2:17 ` [FFmpeg-devel] [PATCH 1/3] lavu/pixfmt: Add P012, Y212, XV30, and XV36 formats Philip Langdale
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Philip Langdale @ 2022-08-26  2:17 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Philip Langdale

This changeset fills in support for the remaining high bit depth
formats the VAAPI exposes. This requires adding more weird Microsoft
pixel formats and then mapping them in the VAAPI code. I've also
enabled hw mapping between VAAPI and vulkan for sufficiently simple
formats.

V5: Switched to using alpha-less variants of Y410 and Y412 (called XV30
    and XV36 in libdrm) to avoid forcing the overhead of alpha handling
    in situations where it can't actually be used.

Philip Langdale (3):
  lavu/pixfmt: Add P012, Y212, XV30, and XV36 formats
  lavc/vaapi: Add support for remaining 10/12bit profiles
  lavu/hwcontext_vulkan: support mapping VUYX, P012, and XV36

 libavcodec/hevcdec.c             |  8 +++
 libavcodec/vaapi_decode.c        | 13 +++++
 libavcodec/vaapi_encode.c        |  4 ++
 libavcodec/vaapi_encode_h265.c   |  4 ++
 libavcodec/vaapi_encode_vp9.c    |  1 +
 libavcodec/vaapi_hevc.c          | 11 +++-
 libavcodec/vp9.c                 |  2 +
 libavutil/hwcontext_vaapi.c      | 25 +++++++++
 libavutil/hwcontext_vulkan.c     | 10 ++++
 libavutil/pixdesc.c              | 95 +++++++++++++++++++++++++++++++-
 libavutil/pixfmt.h               | 16 ++++++
 tests/ref/fate/imgutils          |  8 +++
 tests/ref/fate/sws-pixdesc-query | 38 +++++++++++++
 13 files changed, 233 insertions(+), 2 deletions(-)

-- 
2.34.1

_______________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2022-09-05 18:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26  2:17 [FFmpeg-devel] [PATCH 0/3] V5: VAAPI: Add high bit depth encode/decode support Philip Langdale
2022-08-26  2:17 ` [FFmpeg-devel] [PATCH 1/3] lavu/pixfmt: Add P012, Y212, XV30, and XV36 formats Philip Langdale
2022-09-05 14:51   ` James Almer
2022-09-05 18:09     ` Philip Langdale
2022-08-26  2:17 ` [FFmpeg-devel] [PATCH 2/3] lavc/vaapi: Add support for remaining 10/12bit profiles Philip Langdale
2022-08-26  2:17 ` [FFmpeg-devel] [PATCH 3/3] lavu/hwcontext_vulkan: support mapping VUYX, P012, and XV36 Philip Langdale
2022-09-01 16:37 ` [FFmpeg-devel] [PATCH 0/3] V5: VAAPI: Add high bit depth encode/decode support Philip Langdale

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