From: lance.lmwang@gmail.com
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 1/2] avutil/parseutils: add qhd(Quad HD) or wqhd(Wide Quad HD) for 1440p
Date: Tue, 11 Jan 2022 09:28:01 +0800
Message-ID: <20220111012801.GA8324@gmail.com> (raw)
In-Reply-To: <AM7PR03MB6660B9F437E2F7A0AD5BFE788F509@AM7PR03MB6660.eurprd03.prod.outlook.com>
On Mon, Jan 10, 2022 at 07:16:50PM +0100, Andreas Rheinhardt wrote:
> lance.lmwang@gmail.com:
> > From: Limin Wang <lance.lmwang@gmail.com>
> >
> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> > ---
> > libavutil/parseutils.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
> > index 7f678cd..19bbdde 100644
> > --- a/libavutil/parseutils.c
> > +++ b/libavutil/parseutils.c
> > @@ -102,6 +102,7 @@ static const VideoSizeAbbr video_size_abbrs[] = {
> > { "wsxga", 1600,1024 },
> > { "wuxga", 1920,1200 },
> > { "woxga", 2560,1600 },
> > + { "wqhd", 2560,1440 },
> > { "wqsxga", 3200,2048 },
> > { "wquxga", 3840,2400 },
> > { "whsxga", 6400,4096 },
> > @@ -111,6 +112,7 @@ static const VideoSizeAbbr video_size_abbrs[] = {
> > { "hd480", 852, 480 },
> > { "hd720", 1280, 720 },
> > { "hd1080", 1920,1080 },
> > + { "qhd", 2560,1440 },
> > { "2k", 2048,1080 }, /* Digital Cinema System Specification */
> > { "2kdci", 2048,1080 },
> > { "2kflat", 1998,1080 },
> >
>
> This code added a second qhd abbreviation to this list; it precedes and
> therefore overrides the earlier dimension of 960x540. Ticket #9591 is
> about this.
> According to Wikipedia, qHD is 960x540 (q stands for quarter in this
> case) and QHD is 2560x1440 (Q is quad). So maybe an ad-hoc check for
> this would be appropriate?
Sorry, I'll change the qhd to quadhd to avoid the name conflict.
>
> - Andreas
> _______________________________________________
> 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".
--
Thanks,
Limin Wang
_______________________________________________
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:[~2022-01-11 1:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1635344836-23293-1-git-send-email-lance.lmwang@gmail.com>
2022-01-10 18:16 ` Andreas Rheinhardt
2022-01-11 1:28 ` lance.lmwang [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=20220111012801.GA8324@gmail.com \
--to=lance.lmwang@gmail.com \
--cc=ffmpeg-devel@ffmpeg.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