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] v2: vaapi: switch 8bit 444 format to VUYX
@ 2022-08-20  2:14 Philip Langdale
  2022-08-20  2:14 ` [FFmpeg-devel] [PATCH 1/3] lavu/pixfmt: Introduce VUYX format Philip Langdale
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Philip Langdale @ 2022-08-20  2:14 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Philip Langdale

After discussion with Mark, I'm switching the preferred format for 8bit
444 content in vaapi to VUYX, which is the alpha-less variant of VUYA.

This format is formally supported by the driver, so we don't even need
to do any fudging.

I am not removing VUYA because we found another use for it, replacing
the previous requirement to use v408[enc|dec] to work with it.

* v2: Fix test update in wrong change

Philip Langdale (3):
  lavu/pixfmt: Introduce VUYX format
  libswscale: add support for VUYX format
  lavc/vaapi: Switch preferred 8bit 444 format to VUYX

 libavcodec/vaapi_decode.c                |  4 ++-
 libavcodec/vaapi_encode.c                |  2 +-
 libavcodec/vaapi_encode_h265.c           |  3 +-
 libavcodec/vaapi_encode_vp9.c            |  3 +-
 libavutil/pixdesc.c                      | 12 ++++++++
 libavutil/pixfmt.h                       |  2 ++
 libavutil/tests/pixfmt_best.c            |  1 +
 libswscale/input.c                       | 10 ++++---
 libswscale/output.c                      | 35 +++++++++++++++++++++---
 libswscale/utils.c                       |  1 +
 tests/ref/fate/filter-pixdesc-vuyx       |  1 +
 tests/ref/fate/filter-pixfmts-copy       |  1 +
 tests/ref/fate/filter-pixfmts-crop       |  1 +
 tests/ref/fate/filter-pixfmts-field      |  1 +
 tests/ref/fate/filter-pixfmts-fieldorder |  1 +
 tests/ref/fate/filter-pixfmts-hflip      |  1 +
 tests/ref/fate/filter-pixfmts-il         |  1 +
 tests/ref/fate/filter-pixfmts-null       |  1 +
 tests/ref/fate/filter-pixfmts-pad        |  1 +
 tests/ref/fate/filter-pixfmts-scale      |  1 +
 tests/ref/fate/filter-pixfmts-transpose  |  1 +
 tests/ref/fate/filter-pixfmts-vflip      |  1 +
 tests/ref/fate/imgutils                  |  1 +
 tests/ref/fate/pixfmt_best               |  2 +-
 tests/ref/fate/sws-pixdesc-query         |  3 ++
 25 files changed, 76 insertions(+), 15 deletions(-)
 create mode 100644 tests/ref/fate/filter-pixdesc-vuyx

-- 
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] 8+ messages in thread
* [FFmpeg-devel] [PATCH 0/3] v2: vaapi: switch 8bit 444 format to VUYX
@ 2022-08-20  4:31 Philip Langdale
  2022-08-20  4:31 ` [FFmpeg-devel] [PATCH 2/3] libswscale: add support for VUYX format Philip Langdale
  0 siblings, 1 reply; 8+ messages in thread
From: Philip Langdale @ 2022-08-20  4:31 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Philip Langdale

After discussion with Mark, I'm switching the preferred format for 8bit
444 content in vaapi to VUYX, which is the alpha-less variant of VUYA.

This format is formally supported by the driver, so we don't even need
to do any fudging.

I am not removing VUYA because we found another use for it, replacing
the previous requirement to use v408[enc|dec] to work with it.

* v2: Fix test update in wrong change
* v3: Remove incorrect alpha flag from pix_fmt

Philip Langdale (3):
  lavu/pixfmt: Introduce VUYX format
  libswscale: add support for VUYX format
  lavc/vaapi: Switch preferred 8bit 444 format to VUYX

 libavcodec/vaapi_decode.c                |  4 ++-
 libavcodec/vaapi_encode.c                |  2 +-
 libavcodec/vaapi_encode_h265.c           |  3 +-
 libavcodec/vaapi_encode_vp9.c            |  3 +-
 libavutil/pixdesc.c                      | 12 ++++++++
 libavutil/pixfmt.h                       |  2 ++
 libavutil/tests/pixfmt_best.c            |  1 +
 libswscale/input.c                       | 10 ++++---
 libswscale/output.c                      | 35 +++++++++++++++++++++---
 libswscale/utils.c                       |  1 +
 tests/ref/fate/filter-pixdesc-vuyx       |  1 +
 tests/ref/fate/filter-pixfmts-copy       |  1 +
 tests/ref/fate/filter-pixfmts-crop       |  1 +
 tests/ref/fate/filter-pixfmts-field      |  1 +
 tests/ref/fate/filter-pixfmts-fieldorder |  1 +
 tests/ref/fate/filter-pixfmts-hflip      |  1 +
 tests/ref/fate/filter-pixfmts-il         |  1 +
 tests/ref/fate/filter-pixfmts-null       |  1 +
 tests/ref/fate/filter-pixfmts-pad        |  1 +
 tests/ref/fate/filter-pixfmts-scale      |  1 +
 tests/ref/fate/filter-pixfmts-transpose  |  1 +
 tests/ref/fate/filter-pixfmts-vflip      |  1 +
 tests/ref/fate/imgutils                  |  1 +
 tests/ref/fate/pixfmt_best               |  2 +-
 tests/ref/fate/sws-pixdesc-query         |  3 ++
 25 files changed, 76 insertions(+), 15 deletions(-)
 create mode 100644 tests/ref/fate/filter-pixdesc-vuyx

-- 
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] 8+ messages in thread
* [FFmpeg-devel] [PATCH 0/3] vaapi: switch 8bit 444 format to VUYX
@ 2022-08-20  1:24 Philip Langdale
  2022-08-20  1:24 ` [FFmpeg-devel] [PATCH 2/3] libswscale: add support for VUYX format Philip Langdale
  0 siblings, 1 reply; 8+ messages in thread
From: Philip Langdale @ 2022-08-20  1:24 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Philip Langdale

After discussion with Mark, I'm switching the preferred format for 8bit
444 content in vaapi to VUYX, which is the alpha-less variant of VUYA.

This format is formally supported by the driver, so we don't even need
to do any fudging.

I am not removing VUYA because we found another use for it, replacing
the previous requirement to use v408[enc|dec] to work with it.

Philip Langdale (3):
  lavu/pixfmt: Introduce VUYX format
  libswscale: add support for VUYX format
  lavc/vaapi: Switch preferred 8bit 444 format to VUYX

 libavcodec/vaapi_decode.c                |  4 ++-
 libavcodec/vaapi_encode.c                |  2 +-
 libavcodec/vaapi_encode_h265.c           |  3 +-
 libavcodec/vaapi_encode_vp9.c            |  3 +-
 libavutil/pixdesc.c                      | 12 ++++++++
 libavutil/pixfmt.h                       |  2 ++
 libavutil/tests/pixfmt_best.c            |  1 +
 libswscale/input.c                       | 10 ++++---
 libswscale/output.c                      | 35 +++++++++++++++++++++---
 libswscale/utils.c                       |  1 +
 tests/ref/fate/filter-pixdesc-vuyx       |  1 +
 tests/ref/fate/filter-pixfmts-copy       |  1 +
 tests/ref/fate/filter-pixfmts-crop       |  1 +
 tests/ref/fate/filter-pixfmts-field      |  1 +
 tests/ref/fate/filter-pixfmts-fieldorder |  1 +
 tests/ref/fate/filter-pixfmts-hflip      |  1 +
 tests/ref/fate/filter-pixfmts-il         |  1 +
 tests/ref/fate/filter-pixfmts-null       |  1 +
 tests/ref/fate/filter-pixfmts-pad        |  1 +
 tests/ref/fate/filter-pixfmts-scale      |  1 +
 tests/ref/fate/filter-pixfmts-transpose  |  1 +
 tests/ref/fate/filter-pixfmts-vflip      |  1 +
 tests/ref/fate/imgutils                  |  1 +
 tests/ref/fate/pixfmt_best               |  2 +-
 tests/ref/fate/sws-pixdesc-query         |  3 ++
 25 files changed, 76 insertions(+), 15 deletions(-)
 create mode 100644 tests/ref/fate/filter-pixdesc-vuyx

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

end of thread, other threads:[~2022-08-20  4:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-20  2:14 [FFmpeg-devel] [PATCH 0/3] v2: vaapi: switch 8bit 444 format to VUYX Philip Langdale
2022-08-20  2:14 ` [FFmpeg-devel] [PATCH 1/3] lavu/pixfmt: Introduce VUYX format Philip Langdale
2022-08-20  2:14 ` [FFmpeg-devel] [PATCH 2/3] libswscale: add support for " Philip Langdale
2022-08-20  2:14 ` [FFmpeg-devel] [PATCH 3/3] lavc/vaapi: Switch preferred 8bit 444 format to VUYX Philip Langdale
  -- strict thread matches above, loose matches on Subject: below --
2022-08-20  4:31 [FFmpeg-devel] [PATCH 0/3] v2: vaapi: switch " Philip Langdale
2022-08-20  4:31 ` [FFmpeg-devel] [PATCH 2/3] libswscale: add support for VUYX format Philip Langdale
2022-08-20  1:24 [FFmpeg-devel] [PATCH 0/3] vaapi: switch 8bit 444 format to VUYX Philip Langdale
2022-08-20  1:24 ` [FFmpeg-devel] [PATCH 2/3] libswscale: add support for VUYX format Philip Langdale
2022-08-20  1:37   ` James Almer
2022-08-20  2:15     ` 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