[FFmpeg-devel] [PATCH] avcodec/jpeg2000dec: support of 2 fields in 1 AVPacket

Devin Heitmueller devin.heitmueller at ltnglobal.com
Mon Feb 19 18:14:52 EET 2024


On Mon, Feb 19, 2024 at 3:23 AM Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> Absolutely.
> There have been WIP patches in the past that tried to do this, but
> resorting to memcpy instead of updating the decoder to write to every
> second line, and that should of course be avoided.
> HEVC also has HWAccel, which should work as well in the same manner,
> if possible.

Speaking as someone who works with interlaced HEVC on a regular basis,
I would *very much* welcome this change.  In the last five years I've
had to make hacks to ffmpeg, VLC, and gStreamer to recombine the
fields, since I don't have the expertise necessary to modify the
actual libavcodec HEVC decoder to do the interleaving.  If somebody
were to fix the decoder itself then I could throw away all those
hacks.

Regards,

Devin

-- 
Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: devin.heitmueller at ltnglobal.com


More information about the ffmpeg-devel mailing list