[FFmpeg-devel] [PATCH 2/2] ffmpeg: Add cuvid hwaccel support

2016-06-10 Thread Timo Rothenpieler
--- Makefile | 1 + ffmpeg.c | 5 ++ ffmpeg.h | 3 + ffmpeg_cuvid.c | 237 + ffmpeg_opt.c | 3 + 5 files changed, 249 insertions(+) create mode 100644 ffmpeg_cuvid.c diff --git a/Makefile b/Makefile index 0ff4a87

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Add cuvid hwaccel support

2016-06-06 Thread Andrey Turkin
2016-06-05 21:58 GMT+03:00 Timo Rothenpieler : > +/* check if the decoder supports CUVID and the output only goes to > this stream */ > +if (ist->nb_filters || ist->hwaccel_id != HWACCEL_CUVID || !ist->dec > || !ist->dec->pix_fmts) > +goto cancel; > +for (pix_fmt = ist->dec->p

[FFmpeg-devel] [PATCH 2/2] ffmpeg: Add cuvid hwaccel support

2016-06-05 Thread Timo Rothenpieler
--- Makefile | 1 + ffmpeg.c | 5 ++ ffmpeg.h | 3 + ffmpeg_cuvid.c | 201 + ffmpeg_opt.c | 3 + 5 files changed, 213 insertions(+) create mode 100644 ffmpeg_cuvid.c diff --git a/Makefile b/Makefile index 0ff4a87