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

Timo Rothenpieler timo at rothenpieler.org
Wed Mar 1 12:58:39 EET 2017


>> We recently just had all sorts of discussions what decoders should and
>> should not do, I don't think scaling in a decoder is a good thing to
>> start doing here.
> 
> scaling in some decoders is mandated by some specs
> some standards support reduced resolution which can switch from frame
> to frame without the decoder output changing
> There is also the possiblity of scalability where the reference stream
> has lower resolution IIRC.
> 
> This is kind of different of course but, scaling code in decoders is
> part of some specifications.

Would like to bring this back up.
I'd like to merge this, as specially the scaling is freely done by the
video asic, offering a possibility to scale without requiring non-free
libnpp. And cropping so far is not possible at all.

Yes, scaling and cropping is not something a decoder usually does, but
it exposes a hardware feature that has no other way of accessing it,
which offers valuable functionality to users.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170301/6725b683/attachment.sig>


More information about the ffmpeg-devel mailing list