Re: [FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add BRAW video decoder

2019-12-15 Thread Kieran Kunhya
> There is thread_once there. And similar is done for imm4. > So do not see what you complain about. I am clearly blind. sorry Kieran ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe

Re: [FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add BRAW video decoder

2019-12-15 Thread Paul B Mahol
On 12/15/19, Kieran Kunhya wrote: >> +static av_cold void braw_static_init(void) >> +{ >> +INIT_VLC_STATIC(&dc_vlc, 13, 16, dc_bits, 1, 1, dc_codes, 2, 2, >> 8192); >> +INIT_VLC_STATIC(&ac_vlc, 18, 194, ac_bits, 1, 1, ac_codes, 4, 4, >> 262144); >> +} >> + > >> +.caps_internal= FF_

Re: [FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add BRAW video decoder

2019-12-14 Thread Kieran Kunhya
> +static av_cold void braw_static_init(void) > +{ > +INIT_VLC_STATIC(&dc_vlc, 13, 16, dc_bits, 1, 1, dc_codes, 2, 2, 8192); > +INIT_VLC_STATIC(&ac_vlc, 18, 194, ac_bits, 1, 1, ac_codes, 4, 4, 262144); > +} > + > +.caps_internal= FF_CODEC_CAP_INIT_THREADSAFE | > +

[FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add BRAW video decoder

2019-12-14 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Does not use optimized 8x8 idct as its buggy and give errors around high contrast borders. Sending to receive general feedback and useful comments. Still probabbly missing additional post processing. --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c