diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-09-23 13:14:10 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-09-23 13:14:10 +0000 |
commit | e7577aa20fe5708d310ee45e91f96b71242902b4 (patch) | |
tree | af62327f760dc3cd377e778434cfbac418260fe6 /multimedia/x264/files/patch-common_cpu.c | |
parent | multimedia/x264: don't require SSE on i386 with ASM=on (default) (diff) |
multimedia/x264: add OPENCL option, enabled by default
Before OpenCL can be used for lookahead install at least one
implementation: devel/freeocl, devel/pocl, lang/beignet or lang/clover.
$ x264 --fullhelp | fgrep opencl
--opencl Enable use of OpenCL
--opencl-clbin <string> Specify path of compiled OpenCL kernel cache
--opencl-device <integer> Specify OpenCL device ordinal
where the options also work in other apps e.g.,
$ ffmpeg -i <input-file> -codec:v libx264 -x264opts opencl:opencl-device=1 <output-file>
$ mpv --ovc libx264 --ovcopts-add x264opts=opencl:opencl-device=1 -o <output-file> <input-file>
Differential Revision: https://reviews.freebsd.org/D7958
Approved by: koobs (maintainer)
Notes
Notes:
svn path=/head/; revision=422671
Diffstat (limited to 'multimedia/x264/files/patch-common_cpu.c')
0 files changed, 0 insertions, 0 deletions