This change implements mjpeg hwaccel support for nvdec on top of the hwaccel hooks that Mark put together. When Mark previously sent the change out for review, it included a hack to handle remapping of YUVJ pix fmts that couldn't be merged as-is. The problem was never resolved, which blocked merging.
However, nvdec support doesn't require any remapping of YUVJ, so there's no need for the hack, and hopefully no blocker for merging. I have not included the other patches from Mark's original set as they are also not required for nvdec. Mark Thompson (1): mjpegdec: Add hwaccel hooks Philip Langdale (2): avcodec/mjpeg: Pass full buffer to hwaccel start_frame avcodec/nvdec: Implement mjpeg nvdec hwaccel Changelog | 2 +- configure | 2 ++ libavcodec/Makefile | 1 + libavcodec/hwaccels.h | 1 + libavcodec/mjpegdec.c | 76 ++++++++++++++++++++++++++++++++++++++++-- libavcodec/mjpegdec.h | 12 +++++++ libavcodec/nvdec.c | 1 + libavcodec/nvdec_mjpeg.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ libavcodec/version.h | 2 +- 9 files changed, 179 insertions(+), 4 deletions(-) create mode 100644 libavcodec/nvdec_mjpeg.c -- 2.14.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel