[FFmpeg-devel] [PATCH] FFmpeg: libavfilter/libmpcodecs: add vf_stereo3d high quality green-magenta and yellow-blue dubois anaglyph 3D output support

thomas schorpp thomas.schorpp at gmail.com
Thu Jan 31 17:26:55 CET 2013


On 31.01.2013 16:21, thomas schorpp wrote:
> On 31.01.2013 16:08, compn wrote:
>> On Thu, 31 Jan 2013 15:50:48 +0100, thomas schorpp wrote:
>>> On 31.01.2013 14:54, compn wrote:
>>>> On Tue, 29 Jan 2013 12:01:47 +0100, thomas schorpp wrote:
>>>>> for people who want to avoid expensive resources consumed by (nice trying) real time conversion stereoscopic media players at every playback
>>>>
>>>> there might be a patch coming very soon which will implement
>>>> opencl paralell support for filters. of course it probably wont support
>>>> all filters out of the box.
>>>>
>>>> -compn
>>>
>>> Not supported on Intel GPUs, I've cheched this out ~2 weeks ago:
>>
>> oh
>> http://streamcomputing.eu/blog/2012-08-07/intel-opencl-cpu-drivers-2013-beta-with-opencl-1-2-support/
>> (64bit only)
>>
>> i thought there was a generic cpu opencl multithreaded option.
>> i really dont know what opencl is , it may be best to ignore me.
>>
>> -compn
>
> No! Thanks for bringing this up, filters running on GPU vector processors would be great but:
> http://software.intel.com/en-us/articles/opencl-2013-release-notes/#3
>
> INTEL! Catch up!
> http://www.x.org/wiki/GalliumStatus
>
> y
> tom
>

http://dri.freedesktop.org/wiki/GalliumCompute#Supported_Hardware

People with supporting hardware may try this out and report, maybe someone can port a test FFmpeg filter with a matrix to OpenCL and report offloading
performancecompared to x86 filter code running on CPU (S)SSE2/3/VXA.

grep didn't find any opencl in debian testing X, vaapi, source packages besides of mesa which I don't in which dev package opencl code should be, nor "gallium":

schorpp at tom3:~$ apt-cache search mesa dev
libgl1-mesa-swx11-dev - A free implementation of the OpenGL API -- development files
libglw1-mesa-dev - A free implementation of the OpenGL API -- development files
libosmesa6-dev - Mesa Off-screen rendering extension -- development files
libvtk5.4 - Visualization Toolkit - A high level 3D visualization library
nvidia-glx-legacy-173xx-dev - NVIDIA OpenGL development files (transitional package) (173xx legacy version)
nvidia-glx-legacy-96xx-dev - NVIDIA OpenGL development files (transitional package) (96xx legacy version)
nvidia-glx-dev - NVIDIA OpenGL development files (transitional package)
xlibmesa-gl-dev - Übergangspaket für Debian etch
libegl1-mesa-dev - free implementation of the EGL API -- development files
libgl1-mesa-dev - free implementation of the OpenGL API -- GLX development files
libgles1-mesa-dev - free implementation of the OpenGL|ES 1.x API -- development files
libgles2-mesa-dev - free implementation of the OpenGL|ES 2.x API -- development files
libglu1-mesa-dev - Mesa OpenGL utility library -- development files
libopenvg1-mesa-dbg - free implementation of the OpenVG API -- debugging symbols
libopenvg1-mesa-dev - free implementation of the OpenVG API -- development files
libopenvg1-mesa - free implementation of the OpenVG API -- runtime
mesa-common-dev - Developer documentation for Mesa
libtxc-dxtn-dev - Development files for S3 Texture Compression (S3TC) library
schorpp at tom3:~$
schorpp at tom3:~$ apt-cache search opencl
openclipart-openoffice.org - clip art for OpenOffice.org gallery
openclipart-png - clip art in PNG format
openclipart-svg - clip art in SVG format
pyrit - A GPGPU-driven WPA/WPA2-PSK key cracker
python-pytools - big bag of things supplementing Python standard library
suricata - Next Generation Intrusion Detection and Prevention Tool
python-pyopencl - module to access OpenCL parallel computation API
nvidia-libopencl1-dev - NVIDIA OpenCL development files
nvidia-libopencl1-ia32 - NVIDIA OpenCL 32-bit library
nvidia-libopencl1 - NVIDIA OpenCL library
nvidia-opencl-common - NVIDIA OpenCL driver
nvidia-opencl-icd-ia32 - NVIDIA OpenCL ICD (32-bit)
nvidia-opencl-icd - NVIDIA OpenCL ICD
openclipart - Open Clip Art Library
openoffice.org - Büroprogrammsammlung
opencl-headers - OpenCL (Open Computing Language) header files
libreoffice - office productivity suite
youtube-dl - downloader of videos from YouTube and other sites
schorpp at tom3:~$
schorpp at tom3:~$ apt-cache search gallium
schorpp at tom3:~$
schorpp at vdr1:/mnt/data/usr/local/src$ grep -irsn opencl /usr/share/doc/mesa-common-dev
schorpp at vdr1:/mnt/data/usr/local/src$ grep -irsn opencl libxvmc-1.0.7
schorpp at vdr1:/mnt/data/usr/local/src$ grep -irsn opencl intel-vaapi-driver-1.0.17
schorpp at vdr1:/mnt/data/usr/local/src$ grep -irsn opencl xserver-xorg-video-intel-2.19.0
schorpp at vdr1:/mnt/data/usr/local/src$

Is it in Ubuntu?

LLVM and clang is distributed:

# apt-cache search llvm
libghc6-llvm-dev - Übergangspaket
libghc6-llvm-doc - Übergangspaket
libghc6-llvm-prof - Übergangspaket
libghc-llvm-doc - Dokumentation für Haskell-LLVM-Anbindungen
llvm-2.9 - Low-Level Virtual Machine (LLVM)
llvm-3.0 - Low-Level Virtual Machine (LLVM)
llvm-3.1 - Low-Level Virtual Machine (LLVM)
clang - Low-Level Virtual Machine (LLVM), C language family frontend
libclang-common-dev - clang library - Common development package
libclang-dev - clang library - Development package
libclang1 - clang library
...

y
tom



More information about the ffmpeg-devel mailing list