• Zhong Li's avatar
    lavf/qsv_scale: add scaling modes support · dd662bbd
    Zhong Li authored
    low_power mode will use a fixed HW engine (SFC), thus can offload EU usage.
    high quality mode will take EU usage (AVS sampler).
    
    Performance and EU usage (Render usage) comparsion on Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz:
    
    High quality mode : ffmpeg -hwaccel qsv -c:v h264_qsv -i bbb_sunflower_1080p_30fps_normal_2000frames.h264 \
    -vf scale_qsv=w=1280:h=736:mode=hq -f null -
    fps=389
    RENDER usage: 28.10 (provided by MSDK metrics_monitor)
    
    Low Power mode: ffmpeg -hwaccel qsv -c:v h264_qsv -i ~/bbb_sunflower_1080p_30fps_normal_2000frames.h264 \
    -vf scale_qsv=w=1280:h=736:mode=low_power -f null -
    fps=343
    RENDER usage: 0.00
    
    Low power mode (SFC) may be disabled if not supported by
    MSDK/Driver/HW, and replaced by AVS mode interanlly.
    Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
    dd662bbd
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...