Re: [FFmpeg-devel] [PATCH v10 4/6] libavcodec/dnxucdec: DNxUncompressed decoder

2024-10-09 Thread martin schitter
Thanks for looking again in such an accurate manner over this code! On 09.10.24 18:13, Michael Niedermayer wrote: On Fri, Oct 04, 2024 at 11:07:33PM +0200, Martin Schitter wrote: [...] +static int half_add_alpha(AVCodecContext *avctx, AVFrame *frame, const AVPacket *pkt) +{ +/* ffmpeg doe

Re: [FFmpeg-devel] [PATCH v10 4/6] libavcodec/dnxucdec: DNxUncompressed decoder

2024-10-09 Thread Michael Niedermayer
On Fri, Oct 04, 2024 at 11:07:33PM +0200, Martin Schitter wrote: [...] > +static int half_add_alpha(AVCodecContext *avctx, AVFrame *frame, const > AVPacket *pkt) > +{ > +/* ffmpeg doesn't provide RGB half bit depth without alpha channel right > now > + * we simply add an opaque alpha lay

[FFmpeg-devel] [PATCH v10 4/6] libavcodec/dnxucdec: DNxUncompressed decoder

2024-10-04 Thread Martin Schitter
--- libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/dnxucdec.c | 385 + 3 files changed, 387 insertions(+) create mode 100644 libavcodec/dnxucdec.c diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 81fc0a1..251b826 10