> -----Original Message----- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Carl Eugen Hoyos > Sent: Tuesday, April 9, 2019 9:27 PM > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > 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 <zachary.z...@intel.com>: > > 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 > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org > with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".