[FFmpeg-devel] [PATCH 03/13] avcodec/decode: support applying LCEVC enhacements

James Almer jamrial at gmail.com
Mon Sep 2 19:48:23 EEST 2024


On 9/2/2024 9:03 AM, Derek Buitenhuis wrote:
> On 8/31/2024 5:31 PM, James Almer wrote:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>   libavcodec/avcodec.c       |  2 ++
>>   libavcodec/avcodec.h       |  5 +++++
>>   libavcodec/decode.c        | 42 +++++++++++++++++++++++++++++++++++++-
>>   libavcodec/internal.h      |  2 ++
>>   libavcodec/lcevcdec.c      |  2 ++
>>   libavcodec/options_table.h |  1 +
>>   libavcodec/pthread_frame.c |  7 +++++++
>>   7 files changed, 60 insertions(+), 1 deletion(-)
> 
> No real opinion on the other patches, but this one feels really gross. I feel
> liek we should not be adding new codec-specific things in AVCodecInternal or
> in generic threding, decode, etc. It really feels quite wrong.

I could try to make it a bit more opaque to decode.c, making i call a 
function that would then set any needed post processing callback or 
something like that.

> 
> I probably missed discussion on this in previous revisions of this patch set,
> but I wanted to get my thoughts in writing.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240902/d1207cd4/attachment.sig>


More information about the ffmpeg-devel mailing list