Re: [FFmpeg-devel] [PATCH 1/3] avcodec: Refactor common nvdec hwaccel logic

2017-11-20 Thread Timo Rothenpieler
this version is good as well smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 1/3] avcodec: Refactor common nvdec hwaccel logic

2017-11-19 Thread Philip Langdale
The 'simple' hwaccels (not h.264 and hevc) all use the same bitstream management and reference lookup logic so let's refactor all that into common functions. I verified that casting a signed int -1 to unsigned char produces 255 according to the C language specification. Signed-off-by: Philip