i-rinat / libvdpau-va-gl

VDPAU driver with OpenGL/VAAPI backend
MIT License
161 stars 26 forks source link

Is libswscale still required? #25

Closed Nikoli closed 10 years ago

Nikoli commented 10 years ago

Compiled commit a7bf701c3d61dacde50c895d9449260d85bcbb08 , it does not link to libswscale.so.2 anymore:

$ objdump -p /usr/lib64/vdpau/libvdpau_va_gl.so.1|grep NEEDED|sort
  NEEDED               ld-linux-x86-64.so.2
  NEEDED               libc.so.6
  NEEDED               libglib-2.0.so.0
  NEEDED               libGL.so.1
  NEEDED               libGLU.so.1
  NEEDED               libpthread.so.0
  NEEDED               libva.so.1
  NEEDED               libva-x11.so.1
  NEEDED               libX11.so.6
i-rinat commented 10 years ago

I've removed libswscale in favor of GLSL-based conversions. But it turned out, GLSL-based code was not noticably faster than libswscale-based. On slower machines it can be even slower. For example on Atom N270 + GMA950 glsl gives about 30 fps on colorspace conversion only. Libswscale code performs at about 100 fps.

So I think I'll use libswscale again.