avcodec: Implement mpeg2 nvdec hwaccel

Multimedia / FFmpeg - Philip Langdale [overt.org] - 18 November 2017 16:13 EST

This is mostly straight-forward. The weird part is that it should just work for mpeg1, but I see corruption in my test cases, so I'm going to try and fix that separately.

7c9f739d86 avcodec: Implement mpeg2 nvdec hwaccel
Changelog | 2 +-
configure | 2 +
libavcodec/Makefile | 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/mpeg12dec.c | 3 +
libavcodec/nvdec.c | 11 ++--
libavcodec/nvdec_mpeg12.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++
libavcodec/version.h | 2 +-
8 files changed, 167 insertions(+), 7 deletions(-)

  • Share