From: Diego de Souza via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Diego de Souza <ddesouza@nvidia.com>
Subject: Re: [FFmpeg-devel] [PATCH v2 3/3] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling
Date: Tue, 8 Jul 2025 11:19:45 +0000
Message-ID: <mailman.5655.1751973627.1384.ffmpeg-devel@ffmpeg.org> (raw)
In-Reply-To: <AS8P250MB07442F84D138D1821B686B538F4FA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM>
[-- Attachment #1: Type: message/rfc822, Size: 12831 bytes --]
From: Diego de Souza <ddesouza@nvidia.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v2 3/3] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling
Date: Tue, 8 Jul 2025 11:19:45 +0000
Message-ID: <MW4PR12MB7190D8A0E1F8D0AFBF96EB7ABF4EA@MW4PR12MB7190.namprd12.prod.outlook.com>
Hi Andreas,
Do you mean something like this?
struct format_entry {
enum AVPixelFormat format;
char name[16];
};
static const struct format_entry supported_formats[] = {
{AV_PIX_FMT_YUV420P, "planar8"},
{AV_PIX_FMT_YUV422P, "planar8"},
{AV_PIX_FMT_YUV444P, "planar8"},
{AV_PIX_FMT_YUV420P10,"planar10"},
{AV_PIX_FMT_YUV422P10,"planar10"},
{AV_PIX_FMT_YUV444P10,"planar10"},
{AV_PIX_FMT_YUV444P16,"planar16"},
{AV_PIX_FMT_NV12, "semiplanar8"},
{AV_PIX_FMT_NV16, "semiplanar8"},
{AV_PIX_FMT_P010, "semiplanar10"},
{AV_PIX_FMT_P210, "semiplanar10"},
{AV_PIX_FMT_P016, "semiplanar16"},
{AV_PIX_FMT_P216, "semiplanar16"},
{AV_PIX_FMT_0RGB32, "bgr0"},
{AV_PIX_FMT_0BGR32, "rgb0"},
{AV_PIX_FMT_RGB32, "bgra"},
{AV_PIX_FMT_BGR32, "rgba"},
};
Best regards,
Diego de Souza
Sr. Video Coding DevTech
NVIDIA<http://www.nvidia.com/>
On 07.07.25, 12:24, "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> wrote:
External email: Use caution opening links or attachments
Diego Felix de Souza via ffmpeg-devel:
> +struct format_entry {
> + enum AVPixelFormat format;
> + const char *name;
> +};
> +
> +static const struct format_entry supported_formats[] = {
> + {AV_PIX_FMT_YUV420P, "planar8"},
> + {AV_PIX_FMT_YUV422P, "planar8"},
> + {AV_PIX_FMT_YUV444P, "planar8"},
> + {AV_PIX_FMT_YUV420P10,"planar10"},
> + {AV_PIX_FMT_YUV422P10,"planar10"},
> + {AV_PIX_FMT_YUV444P10,"planar10"},
> + {AV_PIX_FMT_YUV444P16,"planar16"},
> + {AV_PIX_FMT_NV12, "semiplanar8"},
> + {AV_PIX_FMT_NV16, "semiplanar8"},
> + {AV_PIX_FMT_P010, "semiplanar10"},
> + {AV_PIX_FMT_P210, "semiplanar10"},
> + {AV_PIX_FMT_P016, "semiplanar16"},
> + {AV_PIX_FMT_P216, "semiplanar16"},
> + {AV_PIX_FMT_0RGB32, "bgr0"},
> + {AV_PIX_FMT_0BGR32, "rgb0"},
> + {AV_PIX_FMT_RGB32, "bgra"},
> + {AV_PIX_FMT_BGR32, "rgba"},
> };
Please avoid reloactions here.
- Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-devel&data=05%7C02%7Cddesouza%40nvidia.com%7Cece5308707544363795408ddbd407ca6%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638874806858183659%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=4%2FjdTAlOAaQVmkcdvCpbz%2FNZlL%2FMU5H0QiI8xbRy%2FTc%3D&reserved=0<https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
-----------------------------------------------------------------------------------
NVIDIA GmbH
Wuerselen
Amtsgericht Aachen
HRB 8361
Managing Directors: Rebecca Peters, Donald Robertson, Janet Hall, Ludwig von Reiche
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
prev parent reply other threads:[~2025-07-08 11:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-03 14:25 [FFmpeg-devel] [PATCH 1/3] avutil/hwcontext_cuda: Expands pixel formats support Diego Felix de Souza via ffmpeg-devel
2025-07-03 21:15 ` Michael Niedermayer
2025-07-07 9:45 ` [FFmpeg-devel] [PATCH v2 " Diego Felix de Souza via ffmpeg-devel
[not found] ` <20250707094536.22157-1-ddesouza@nvidia.com>
2025-07-07 9:45 ` [FFmpeg-devel] [PATCH v2 2/3] avfilter/hwupload_cuda: " Diego Felix de Souza via ffmpeg-devel
2025-07-07 9:45 ` [FFmpeg-devel] [PATCH v2 3/3] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling Diego Felix de Souza via ffmpeg-devel
2025-07-07 10:24 ` Andreas Rheinhardt
2025-07-08 11:19 ` Diego de Souza via ffmpeg-devel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.5655.1751973627.1384.ffmpeg-devel@ffmpeg.org \
--to=ffmpeg-devel@ffmpeg.org \
--cc=ddesouza@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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