summaryrefslogtreecommitdiff
path: root/libavfilter/vf_scale_qsv.c
Commit message (Collapse)AuthorAge
* lavfi/scale_qsv: Fix a format specifier for a variable of type int.Carl Eugen Hoyos2020-04-04
|
* lavfi/vf_scale_qsv: fix the class_name in help for scale_qsvLinjie Fu2020-02-18
| | | | | | | | | | | | | | | | Class name is used in show_help_children(avfilter_get_class(),...) to prompt the available filters. $ ffmpeg -h full Before: qsvscale AVOptions: After: scale_qsv AVOptions: Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Zhong Li <zhongli_dev@126.com>
* avfilter/vf_scale_qsv: add logging context to logSteven Liu2019-10-08
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavfi/scale_qsv: change alignment to be 16 bytesZhong Li2019-08-20
| | | | | | | 32 bytes alignment is not needed and increases the failure possibilty of SFC (low power scaling mode) Signed-off-by: Zhong Li <zhong.li@intel.com>
* lavf/qsv_scale: add scaling modes supportZhong Li2019-06-25
| | | | | | | | | | | | | | | | | | | | | | 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: Zhong Li <zhong.li@intel.com>
* lavf/qsv: use av_cold for init/uninitZhong Li2019-06-03
| | | | Signed-off-by: Zhong Li <zhong.li@intel.com>
* Merge commit 'e05e5920a4e1f1f15cc8a7c843159d519f6ec18e'James Almer2018-09-11
|\ | | | | | | | | | | | | * commit 'e05e5920a4e1f1f15cc8a7c843159d519f6ec18e': qsv: Error out if getting session handle failed in avfilter Merged-by: James Almer <jamrial@gmail.com>
| * qsv: Error out if getting session handle failed in avfilterZhong Li2018-08-23
| | | | | | | | | | | | | | | | | | Solve some issues found by an automated code scansion. Suppress the complain "variables 'handle' is used but maybe uninitialized". Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'cca5e4f040971db6de0bfe6968f00c021d8a9c42'James Almer2018-04-13
|\| | | | | | | | | | | | | * commit 'cca5e4f040971db6de0bfe6968f00c021d8a9c42': qsv: adding Multi Frame Encode support Merged-by: James Almer <jamrial@gmail.com>
| * qsv: adding Multi Frame Encode supportMaxym Dmytrychenko2018-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting from API 1.25 helps to improve performance of the simultaneous encode, 1:N scenario, like: ./avconv -y -hwaccel qsv -c:v h264_qsv -r 30000/1001 -i ~/bbb_sunflower_1080p_60fps_normal.mp4 -vframes 600 -an \ -filter_complex "split=2[s1][s2]; [s1]scale_qsv=1280:720[o1]; [s2]scale_qsv=960:540[o2]" \ -map [o1] -c:v h264_qsv -b:v 3200k -minrate 3200k -maxrate 3200k -f rawvideo /tmp/3200a.264 \ -map [o2] -c:v h264_qsv -b:v 1750k -minrate 1750k -maxrate 1750k -f rawvideo /tmp/1750a.264 Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit 'e4cdef00263dc8b3c8de9d34ceacd00dc68979c0'Mark Thompson2018-02-12
|\| | | | | | | | | | | | | * commit 'e4cdef00263dc8b3c8de9d34ceacd00dc68979c0': vf_scale_qsv: Support increasing hardware frame pool size Merged-by: Mark Thompson <sw@jkqxz.net>
| * vf_scale_qsv: Support increasing hardware frame pool sizeMark Thompson2018-02-11
| | | | | | | | | | The deinterlacer does not change, because it does not allocate any new frames (for output it uses the same pool as the input).
* | avfilter: Add AV_OPT_FLAG_FILTERING_PARAM where it is missingMichael Niedermayer2017-03-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e3fb74f7f9a8f1895381355f40c92cac3c1023d9'Matthieu Bouron2017-03-30
|\| | | | | | | | | | | | | * commit 'e3fb74f7f9a8f1895381355f40c92cac3c1023d9': lavfi: Always propagate hw_frames_ctx through links Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
| * lavfi: Always propagate hw_frames_ctx through linksMark Thompson2016-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds a new flag to mark filters which are aware of hwframes and will perform this task themselves, and marks all appropriate filters with this flag. This is required to allow software-mapped hardware frames to work, because we need to have the frames context available for any later mapping operation in the filter graph. The output from the filter graph should only propagate further to an encoder if the hardware format actually matches the visible format (mapped frames are valid here and have an hw_frames_ctx, but this should not be given to the encoder as its hardware context).
* | Merge commit '7e2561fa8313982aa21f7657953eedeeb33b210d'Matthieu Bouron2017-03-29
|\| | | | | | | | | | | | | | | * commit '7e2561fa8313982aa21f7657953eedeeb33b210d': lavfi: Use ff_get_video_buffer in all filters using hwframes vf_hwupload_cuda: Fix build error Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
| * lavfi: Use ff_get_video_buffer in all filters using hwframesMark Thompson2016-11-02
| |
| * lavfi: add a QSV scaling filterAnton Khirnov2016-06-21
|
* lavfi: add a QSV scaling filterAnton Khirnov2017-03-12
This merges libav commit ac7bfd69678f3966e38debdb27f4bde94dc0345c, which was previously skipped. (cherry picked from commit ac7bfd69678f3966e38debdb27f4bde94dc0345c) Signed-off-by: Mark Thompson <sw@jkqxz.net>