Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Dariusz Frankiewicz/Media Platform (PLT) /SRPOL/Engineer/삼성전자" <d.frankiewic@samsung.com>
To: "'FFmpeg development discussions and patches'" <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] libavcodec/libxev: Update EVC codec naming
Date: Mon, 10 Jun 2024 15:25:49 +0200
Message-ID: <000001dabb39$b6241940$226c4bc0$@samsung.com> (raw)
In-Reply-To: <AS8P250MB074451A63E1D9028BF5576A28FC62@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM>



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> Andreas Rheinhardt
> Sent: Monday, June 10, 2024 12:52 PM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH] libavcodec/libxev: Update EVC codec
> naming
> 
> Dariusz Frankiewicz:
> > Make consistency between encoder and decoder implementation.
> >
> > Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
> > ---
> >  libavcodec/libxevd.c | 2 +-
> >  libavcodec/libxeve.c | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index
> > 520fdab7d8..51303ec71d 100644
> > --- a/libavcodec/libxevd.c
> > +++ b/libavcodec/libxevd.c
> > @@ -469,7 +469,7 @@ static av_cold int libxevd_close(AVCodecContext
> > *avctx)  }
> >
> >  const FFCodec ff_libxevd_decoder = {
> > -    .p.name             = "evc",
> > +    .p.name             = "libxevd",
> 
> The codec name is used in avcodec_find_decoder_by_name() (and also in the
> ffmpeg cli tool). Changing it causes breakage.
> 

I tested EVC encoding and decoding and it works correctly after this change.
It looks that maybe in some implementation cases it may be problematic.

Buy anyway I will remove this change and keep only macro usage change.


> >      CODEC_LONG_NAME("EVC / MPEG-5 Essential Video Coding (EVC)"),
> >      .p.type             = AVMEDIA_TYPE_VIDEO,
> >      .p.id               = AV_CODEC_ID_EVC,
> > diff --git a/libavcodec/libxeve.c b/libavcodec/libxeve.c index
> > 1d9972619d..40eab08ef2 100644
> > --- a/libavcodec/libxeve.c
> > +++ b/libavcodec/libxeve.c
> > @@ -600,7 +600,7 @@ static const FFCodecDefault libxeve_defaults[] = {
> >
> >  const FFCodec ff_libxeve_encoder = {
> >      .p.name             = "libxeve",
> > -    .p.long_name        = NULL_IF_CONFIG_SMALL("libxeve MPEG-5 EVC"),
> > +    CODEC_LONG_NAME("EVC / MPEG-5 Essential Video Coding (EVC)"),
> >      .p.type             = AVMEDIA_TYPE_VIDEO,
> >      .p.id               = AV_CODEC_ID_EVC,
> >      .init               = libxeve_init,
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://protect2.fireeye.com/v1/url?k=9299ff12-f312ea2b-9298745d-
> 000babffae10-91beb1eef5249c9b&q=1&e=aaa2678c-be48-4f85-bd88-
> 7e727cab48c9&u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmp
> eg-devel
> 
> To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org
> with subject "unsubscribe".

_______________________________________________
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:[~2024-06-10 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240610095557eucas1p1e0e3ea6c417efeb30a0875471e2a3310@eucas1p1.samsung.com>
2024-06-10  9:55 ` Dariusz Frankiewicz
2024-06-10 10:52   ` Andreas Rheinhardt
2024-06-10 13:25     ` Dariusz Frankiewicz/Media Platform (PLT) /SRPOL/Engineer/삼성전자 [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='000001dabb39$b6241940$226c4bc0$@samsung.com' \
    --to=d.frankiewic@samsung.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