[FFmpeg-devel] [PATCH] libavcodec: Implementation of DNxUncompressed decoder
Michael Niedermayer
michael at niedermayer.cc
Sun Aug 25 22:44:54 EEST 2024
On Sat, Aug 24, 2024 at 05:19:01PM +0200, Martin Schitter wrote:
> This is am implementation of an DNxUncomressed / SMPTE 50 decoder.
> It's not supporting all possible subtypes, but a wide range of them.
> For more info read the comment sections included in the source file.
>
> Please review this contribution and merge it.
[...]
> +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 layer as workaround */
> +
> + int ret, x, y, lw;
> + const size_t soh = 2;
> + const _Float16 opaque = 1.0;
libavcodec/dnxucdec.c: In function ‘half_add_alpha’:
libavcodec/dnxucdec.c:169:11: error: ‘_Float16’ is not supported on this target
169 | const _Float16 opaque = 1.0;
[...]
thx
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240825/98557f3e/attachment.sig>
More information about the ffmpeg-devel
mailing list