> -----Original Message----- > From: ffmpeg-devel [mailto:[email protected]] On Behalf Of > Carl Eugen Hoyos > Sent: Tuesday, April 9, 2019 9:27 PM > To: FFmpeg development discussions and patches <[email protected]> > Subject: Re: [FFmpeg-devel] [PATCH RFC v2 3/3] libavutil: Add thumbnail > output to vaapi_h264 decoder > > 2019-04-08 10:53 GMT+02:00, Zachary Zhou <[email protected]>: > > This is sample code for reference > > > > HW support for decode+scaling in a single HW command (VDBOX+SFC). > > > The primary target usage is video analytics, but can be used playback, > > transcoding, etc. > > Yes. > So why is the feature called "thumbnail"? > I understand that this is one use case, but this is actually about free > scaling, no? > > Carl Eugen
Thanks Carl Eugen. Yes, thumbnail is one use case, and I think it may be more common. SFC fix function in GPU does the scaling, It supports both down scaling and up scaling. To be honest, SFC scaling range is [0.125, 8] for both X and Y direction currently. https://github.com/intel/media-driver/blob/master/media_driver/agnostic/common/codec/hal/codechal_decode_sfc.cpp#L823 -Zach > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email [email protected] > with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
