On 03.10.24 20:44, Michael Niedermayer wrote:
On Mon, Sep 23, 2024 at 11:16:45AM +0200, Martin Schitter wrote:
[...]
+static av_cold int dnxuc_decode_init(AVCodecContext *avctx)
+{
+return 0;
+}
unneeded
done in v10.
+memcpy(&frame->data[2][2*(y*lw + x)], &r, 2);
+
On Mon, Sep 23, 2024 at 11:16:45AM +0200, Martin Schitter wrote:
[...]
> +static av_cold int dnxuc_decode_init(AVCodecContext *avctx)
> +{
> +return 0;
> +}
unneeded
[...]
> +/* DNxUncompressed utilizes a very dense bitpack representation of 10bit and
> 12bit pixel data.
> +
> +Lines of I
---
libavcodec/Makefile| 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/dnxucdec.c | 391 +
3 files changed, 393 insertions(+)
create mode 100644 libavcodec/dnxucdec.c
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 76366b3..87a9cc1 10