[FFmpeg-devel] [PATCH] (for discussion): cuvid: allow to crop and resize in decoder

Miroslav Slugeň thunder.m at email.cz
Sun Feb 12 21:51:01 EET 2017

This patch is for discussion only, not ready to commit yet.

1. Cuvid decoder actualy support scaling input to requested resolution 
without any performance penalty (like libnpp does), so this patch is 
proof of concept that it is working like expected.

2. Cuvid also supports cropping, but from tests only in 4px steps, this 
is also very nice, because hwaccel cuvid hasn't any cropping filter.

Anybody feel free to adopt this patch and modify it for final commit.

Miroslav Slugeň

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cuvid-add-resize-and-crop-futures.patch
Type: text/x-patch
Size: 9300 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170212/7b5f895d/attachment.bin>

More information about the ffmpeg-devel mailing list