> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of > Andreas Rheinhardt > Sent: wtorek, 27 lutego 2024 20:59 > To: ffmpeg-devel@ffmpeg.org > Cc: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > Subject: [FFmpeg-devel] [PATCH 2/9] avcodec/libxevd: Set AV_CODEC_CAP_DR1 > > This decoder uses av_image_copy() to copy decoded images to buffers obtained > via ff_get_buffer(); ergo it can handle user-provided buffers. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > libavcodec/libxevd.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index > eb007e30fe..4bcf2585cc 100644 > --- a/libavcodec/libxevd.c > +++ b/libavcodec/libxevd.c > @@ -531,7 +531,8 @@ const FFCodec ff_libxevd_decoder = { > .close = libxevd_close, > .priv_data_size = sizeof(XevdContext), > .p.priv_class = &libxevd_class, > - .p.capabilities = AV_CODEC_CAP_DELAY | > AV_CODEC_CAP_OTHER_THREADS | AV_CODEC_CAP_AVOID_PROBING, > + .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | > + AV_CODEC_CAP_OTHER_THREADS | > + AV_CODEC_CAP_AVOID_PROBING, > .p.profiles = NULL_IF_CONFIG_SMALL(ff_evc_profiles), > .p.wrapper_name = "libxevd", > .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | > FF_CODEC_CAP_NOT_INIT_THREADSAFE | > FF_CODEC_CAP_SETS_FRAME_PROPS > -- > 2.40.1 > It has been checked. Looks good. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://protect2.fireeye.com/v1/url?k=1bd9a923-4442903c-1bd8226c- > 000babdfecba-775f8081ce267ea1&q=1&e=6c5480c4-5786-4329-8ea5- > 7b0e913bf303&u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmp > eg-devel > > To unsubscribe, visit link above, or email ffmpeg-devel-requ...@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-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-devel] [PATCH 2/9] avcodec/libxevd: Set AV_CODEC_CAP_DR1
Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics Wed, 06 Mar 2024 02:38:11 -0800
- ... Andreas Rheinhardt
- ... Andreas Rheinhardt
- ... Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
- ... Andreas Rheinhardt
- ... Andreas Rheinhardt
- ... Andreas Rheinhardt
- ... Andreas Rheinhardt
- ... Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
- ... Andreas Rheinhardt
- ... Andreas Rheinhardt
- ... Andreas Rheinhardt
- ... Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
- ... Andreas Rheinhardt