Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Philip Langdale via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: Diego de Souza via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
Cc: Philip Langdale <philipl@overt.org>,
	Diego de Souza <ddesouza@nvidia.com>,
	Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Subject: Re: [FFmpeg-devel] [PATCH v2 3/3] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling
Date: Sun, 24 Aug 2025 08:41:43 -0700
Message-ID: <20250824084143.3e56f088@fido7> (raw)
In-Reply-To: <mailman.5655.1751973627.1384.ffmpeg-devel@ffmpeg.org>

On Tue, 8 Jul 2025 11:19:45 +0000
Diego de Souza via ffmpeg-devel <ffmpeg-devel@ffmpeg.org> wrote:

> 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.

Hi Andreas,

I'm trying to go through these patches, and I don't understand what you
were asking for Diego to change here. The original format list is
replaced, but that's because it's turned into a list of structs from a
list of constants. Or were you referring to something else. I also
can't see what is different about Diego's proposed alternative.

I want to make sure whatever change you're asking for is eventually
included.

Thanks,

--phil
_______________________________________________
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".

  reply	other threads:[~2025-08-24 15:42 UTC|newest]

Thread overview: 9+ 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
2025-08-24 15:41         ` Philip Langdale via ffmpeg-devel [this message]
2025-08-24 20:59     ` Philip Langdale via ffmpeg-devel

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=20250824084143.3e56f088@fido7 \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=andreas.rheinhardt@outlook.com \
    --cc=ddesouza@nvidia.com \
    --cc=philipl@overt.org \
    /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