]> git.sesse.net Git - movit/log
movit
10 years agoLoosen up the 0.499 vs. 0.501 subpixel resample test.
Steinar H. Gunderson [Thu, 3 Apr 2014 20:54:13 +0000 (22:54 +0200)]
Loosen up the 0.499 vs. 0.501 subpixel resample test.

Seemingly these limits were a bit too tight for something that's
actually supposed to be approximate.

10 years agoRe-add resample kernel normalization, which was broken by accident.
Steinar H. Gunderson [Thu, 3 Apr 2014 20:40:23 +0000 (22:40 +0200)]
Re-add resample kernel normalization, which was broken by accident.

10 years agoFix a bug where having two DeconvolutionSharpenEffects in one chain would cause shade...
Steinar H. Gunderson [Thu, 3 Apr 2014 00:05:35 +0000 (02:05 +0200)]
Fix a bug where having two DeconvolutionSharpenEffects in one chain would cause shader compile errors.

10 years agoAdd zooming to ResampleEffect.
Steinar H. Gunderson [Tue, 1 Apr 2014 00:21:00 +0000 (02:21 +0200)]
Add zooming to ResampleEffect.

Same rationale as with the offset; we need resampling for proper zoom.

The look at heavy zoom isn't _quite_ what I had hoped for (although it's OK),
and there's a hint of shimmering in the zoom center if there's high-contrast
material there. For now, I'll write off the latter as Lanczos ringing;
I'll need to see what it does to video eventually (only tested with stills).

10 years agoFix a bug when scaling and doing offset at the same time. (At least one more remains.)
Steinar H. Gunderson [Sun, 30 Mar 2014 17:12:22 +0000 (19:12 +0200)]
Fix a bug when scaling and doing offset at the same time. (At least one more remains.)

10 years agoAdd support for offsets in ResampleEffect.
Steinar H. Gunderson [Sat, 29 Mar 2014 23:33:52 +0000 (00:33 +0100)]
Add support for offsets in ResampleEffect.

This enables smooth (subpixel) panning that people frequently want for stills
and titles, but that you couldn't do in a subpixel fashion before (PaddingEffect
could only do integer pixel offsets).

The placement (ResampleEffect) might seem a bit off at first, but subpixel
offset needs resampling, and ResampleEffect already has all the logic in place
for that. We could have used the GPU's built-in bilinear resampling, of course,
but it doesn't look all that good for high-contrast situations (although working
in linear light should help some).

10 years agoAdd some asserts.
Steinar H. Gunderson [Sat, 29 Mar 2014 22:47:08 +0000 (23:47 +0100)]
Add some asserts.

10 years agoMerge branch 'epoxy'
Steinar H. Gunderson [Fri, 28 Mar 2014 20:15:05 +0000 (21:15 +0100)]
Merge branch 'epoxy'

Conflicts:
effect_chain.cpp
resource_pool.cpp

10 years agoFix typo in luma_mix shader.
Dan Dennedy [Thu, 27 Mar 2014 03:17:12 +0000 (20:17 -0700)]
Fix typo in luma_mix shader.

10 years agoAdd a inverse flag to LumaMixEffect.
Steinar H. Gunderson [Thu, 27 Mar 2014 00:38:43 +0000 (01:38 +0100)]
Add a inverse flag to LumaMixEffect.

This is mainly a convenience so that you can change e.g. a left-to-right
wipe into a right-to-left wipe without having to add a separate inverting
effect to the luma. Suggested by Dan Dennedy.

10 years agoMake the ResourcePool hold FBOs as a per-context resource.
Steinar H. Gunderson [Wed, 26 Mar 2014 00:02:20 +0000 (01:02 +0100)]
Make the ResourcePool hold FBOs as a per-context resource.

This is an attempt to get out of the FBO sharability mess (unfortunately
we can't just stop having persistent FBOs, due to NVidia performance).
We now require the client to tell us whenever a context is going away,
and we try to be more careful about not deleting them in the wrong context.

Also, we assumed FBO names were globally unique, which isn't necessarily
true, so re-key them.

For good measure, we were deleting FBOs off the freelist from the front,
not the back as we should have -- fixed.

10 years agoHack around FBO/VAO sharability issues.
Steinar H. Gunderson [Tue, 25 Mar 2014 01:15:16 +0000 (02:15 +0100)]
Hack around FBO/VAO sharability issues.

We have a problem when trying to delete an EffectChain or ResourcePool;
we might have created FBOs or VAOs in the wrong context. Work around it
for now (unbreaking Kdenlive) by making VAOs non-persistent again,
and simply never deleting FBOs (leaking them).

A proper solution here will be hard, unfortunately, and will nede some thought.

10 years agoAdd proper formats for RGB without alpha.
Steinar H. Gunderson [Tue, 25 Mar 2014 00:21:26 +0000 (01:21 +0100)]
Add proper formats for RGB without alpha.

10 years agoAdd proper formats for sRGB without alpha. epoxy
Steinar H. Gunderson [Mon, 24 Mar 2014 23:45:08 +0000 (00:45 +0100)]
Add proper formats for sRGB without alpha.

10 years agoFix a typo in the make install target.
Steinar H. Gunderson [Mon, 24 Mar 2014 22:52:15 +0000 (23:52 +0100)]
Fix a typo in the make install target.

10 years agoMerge branch 'epoxy' of ssh://pannekake.samfundet.no/srv/git.sesse.net/www/movit...
Steinar H. Gunderson [Sun, 23 Mar 2014 11:41:46 +0000 (12:41 +0100)]
Merge branch 'epoxy' of ssh://pannekake.samfundet.no/srv/git.sesse.net/www/movit into epoxy

10 years agoWe switched to #version 300 es shaders for GLES a while back, so we now have round().
Steinar H. Gunderson [Sun, 23 Mar 2014 11:38:17 +0000 (12:38 +0100)]
We switched to #version 300 es shaders for GLES a while back, so we now have round().

10 years agoAdd some skeleton code for using GL_ARB_debug_output (disabled by default).
Steinar H. Gunderson [Sun, 23 Mar 2014 11:17:42 +0000 (12:17 +0100)]
Add some skeleton code for using GL_ARB_debug_output (disabled by default).

10 years agoMerge branch 'master'
Steinar H. Gunderson [Sun, 23 Mar 2014 01:35:22 +0000 (02:35 +0100)]
Merge branch 'master'

10 years agoImprove macro hygiene in .frag files slightly.
Steinar H. Gunderson [Sun, 23 Mar 2014 01:27:39 +0000 (02:27 +0100)]
Improve macro hygiene in .frag files slightly.

10 years agoFix a small overallocation.
Steinar H. Gunderson [Sat, 22 Mar 2014 22:25:14 +0000 (23:25 +0100)]
Fix a small overallocation.

10 years agoCache the FFT support texture.
Steinar H. Gunderson [Sat, 22 Mar 2014 16:18:12 +0000 (17:18 +0100)]
Cache the FFT support texture.

Regenerating it every time is a waste of CPU, and also of GL
state changes.

10 years agoUse a smaller support texture for the FFT.
Steinar H. Gunderson [Sat, 22 Mar 2014 16:09:36 +0000 (17:09 +0100)]
Use a smaller support texture for the FFT.

Many of the rows in the support texture are exactly the same,
so don't store the duplicates; gives a small performance boost.
In a sense, this is exactly the same property that GPUwave uses
with drawing multiple quads at the lower level.

10 years agoFix a tiny leak (that would cause an assertion failure on exit).
Steinar H. Gunderson [Sat, 22 Mar 2014 15:18:12 +0000 (16:18 +0100)]
Fix a tiny leak (that would cause an assertion failure on exit).

10 years agoStop the FFTPassEffect Repeat test after FFT size 128.
Steinar H. Gunderson [Sat, 22 Mar 2014 15:12:47 +0000 (16:12 +0100)]
Stop the FFTPassEffect Repeat test after FFT size 128.

The reason is that the 256 test uses texture sizes of 256*31=7936,
and above ~3900, some cards (at least both my Intel and NVidia card)
start having accuracy issues on some sizes. The test happens not to
die on this for semi-obscure reasons, but that's mostly by accident,
and in any case, requiring 8k textures for a unit test might be
a bit on the upper side.

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Sat, 22 Mar 2014 14:53:11 +0000 (15:53 +0100)]
Merge branch 'master' into epoxy

10 years agoFactor out the actual phase execution into a function.
Steinar H. Gunderson [Sat, 22 Mar 2014 14:49:09 +0000 (15:49 +0100)]
Factor out the actual phase execution into a function.

10 years agoFactor out RTT sampler setting in its own function.
Steinar H. Gunderson [Sat, 22 Mar 2014 14:34:07 +0000 (15:34 +0100)]
Factor out RTT sampler setting in its own function.

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Sat, 22 Mar 2014 13:57:53 +0000 (14:57 +0100)]
Merge branch 'master' into epoxy

Conflicts:
flat_input.cpp

10 years agoRedo FBO association yet again, this time per-texture.
Steinar H. Gunderson [Sat, 22 Mar 2014 13:54:43 +0000 (14:54 +0100)]
Redo FBO association yet again, this time per-texture.

According to http://adrienb.fr/blog/wp-content/uploads/2013/04/PortingSourceToLinux.pdf,
you want an FBO per-texture, not just format. And indeed, I can measure a very slight
performance improvement on both NVidia and ATI for this.

10 years agoHave separate FBOs per resolution and format.
Steinar H. Gunderson [Fri, 21 Mar 2014 23:29:21 +0000 (00:29 +0100)]
Have separate FBOs per resolution and format.

Seemingly this _also_ costs on NVidia; the demo app is down 0.9 ms/frame or so.
This rapidly started approaching complexity worthy of the ResourcePool,
so I moved the functionality in there even though it's not context-shareable.

10 years agoRemove obsolete comment.
Steinar H. Gunderson [Fri, 21 Mar 2014 22:42:08 +0000 (23:42 +0100)]
Remove obsolete comment.

10 years agoFix a buffer overflow in MixEffectTest.
Steinar H. Gunderson [Thu, 20 Mar 2014 22:48:46 +0000 (23:48 +0100)]
Fix a buffer overflow in MixEffectTest.

10 years agoConvert another glReadPixels() to RGBA.
Steinar H. Gunderson [Thu, 20 Mar 2014 22:15:23 +0000 (23:15 +0100)]
Convert another glReadPixels() to RGBA.

10 years agoProperly ignore the sign bit when comparing NaNs.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:59:59 +0000 (22:59 +0100)]
Properly ignore the sign bit when comparing NaNs.

Fixes fp16_test test failure on Clang.

10 years agoDitch BGRA use in OverlayEffectTest.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:48:32 +0000 (22:48 +0100)]
Ditch BGRA use in OverlayEffectTest.

10 years agoFix non-float framebuffers in EffectChainTester.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:46:32 +0000 (21:46 +0100)]
Fix non-float framebuffers in EffectChainTester.

Again, GLES fix.

10 years agoRemove unused private members from FFTConvolutionEffect.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:27:37 +0000 (21:27 +0100)]
Remove unused private members from FFTConvolutionEffect.

10 years agoUse the right internal format for FORMAT_R non-float textures.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:15:13 +0000 (21:15 +0100)]
Use the right internal format for FORMAT_R non-float textures.

10 years agoAdd a few check_error() calls.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:14:22 +0000 (21:14 +0100)]
Add a few check_error() calls.

10 years agoDon't use GL_RGBA32F/GL_RGBA16F with GL_UNSIGNED_BYTE.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:12:31 +0000 (21:12 +0100)]
Don't use GL_RGBA32F/GL_RGBA16F with GL_UNSIGNED_BYTE.

GLES doesn't like this, even with NULL data. Replace with GL_FLOAT.

10 years agoDocument that we can now run on core and ES contexts.
Steinar H. Gunderson [Fri, 21 Mar 2014 01:02:06 +0000 (02:02 +0100)]
Document that we can now run on core and ES contexts.

10 years agoAdd support for multiple shader models.
Steinar H. Gunderson [Fri, 21 Mar 2014 00:32:42 +0000 (01:32 +0100)]
Add support for multiple shader models.

We support 1.10 (for OpenGL 2.1 cards), 1.30 (for OpenGL 3.2 core contexts),
and 3.00 ES (for GLES3). There's some code duplication, but thankfully
not a whole lot.

With this, we compile in core contexts without any warning from ATI's driver,
and should also in theory be GLES3 compliant (tested on NVidia's desktop driver).

10 years agoCheck for GLES in init_movit().
Steinar H. Gunderson [Thu, 20 Mar 2014 23:01:48 +0000 (00:01 +0100)]
Check for GLES in init_movit().

This sort of worked by accident already, since 30 was interpreted
as desktop OpenGL 3.0, but this is more proper.

10 years agoFix a buffer overflow in MixEffectTest.
Steinar H. Gunderson [Thu, 20 Mar 2014 22:48:46 +0000 (23:48 +0100)]
Fix a buffer overflow in MixEffectTest.

10 years agoMake handling of non-RGBA sRGB textures more consistent.
Steinar H. Gunderson [Thu, 20 Mar 2014 22:35:59 +0000 (23:35 +0100)]
Make handling of non-RGBA sRGB textures more consistent.

Previously, we'd ask the driver to convert these to RGBA, which maybe
isn't ideal, and certainly doesn't work with GLES. Now we send in
the right format for RGB and RGBA, and refuse hardware conversions with
single-channel (which GLES doesn't accept). I don't think this is optimal,
but finding a use-case for sRGB single-channel is a bit tricky anyway,
and the fallback is fast, too.

10 years agoConvert another glReadPixels() to RGBA.
Steinar H. Gunderson [Thu, 20 Mar 2014 22:15:23 +0000 (23:15 +0100)]
Convert another glReadPixels() to RGBA.

10 years agoFix a few signed/unsigned warnings.
Steinar H. Gunderson [Thu, 20 Mar 2014 22:10:24 +0000 (23:10 +0100)]
Fix a few signed/unsigned warnings.

10 years agoProperly ignore the sign bit when comparing NaNs.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:59:59 +0000 (22:59 +0100)]
Properly ignore the sign bit when comparing NaNs.

Fixes fp16_test test failure on Clang.

10 years agoEmulate glReadPixels of GL_ALPHA.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:51:48 +0000 (22:51 +0100)]
Emulate glReadPixels of GL_ALPHA.

10 years agoDitch BGRA use in OverlayEffectTest.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:48:32 +0000 (22:48 +0100)]
Ditch BGRA use in OverlayEffectTest.

10 years agoEmulate glReadPixels of GL_BLUE.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:46:37 +0000 (22:46 +0100)]
Emulate glReadPixels of GL_BLUE.

10 years agoStop using BGR, BGRA and grayscale formats.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:42:53 +0000 (22:42 +0100)]
Stop using BGR, BGRA and grayscale formats.

Neither of these are properly supported by GLES3, so just give in
more standard, boring formats, and then do the swizzles in the shader.

10 years agoDo not store RGB textures with RGBA internal format.
Steinar H. Gunderson [Thu, 20 Mar 2014 21:05:33 +0000 (22:05 +0100)]
Do not store RGB textures with RGBA internal format.

Once again, GLES doesn't like this, even though the GPU probably does it
internally nevertheless.

10 years agoFix non-float framebuffers in EffectChainTester.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:46:32 +0000 (21:46 +0100)]
Fix non-float framebuffers in EffectChainTester.

Again, GLES fix.

10 years agoAdd some precision statements to make GLES slightly happier.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:45:57 +0000 (21:45 +0100)]
Add some precision statements to make GLES slightly happier.

10 years agoRemove unused private members from FFTConvolutionEffect.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:27:37 +0000 (21:27 +0100)]
Remove unused private members from FFTConvolutionEffect.

10 years agoSome GLES fixes in ResourcePool::create_2d_texture().
Steinar H. Gunderson [Thu, 20 Mar 2014 20:19:27 +0000 (21:19 +0100)]
Some GLES fixes in ResourcePool::create_2d_texture().

In particular, some of the type strictness needed to be fixed here to,
and there are some fixes for some of the more obscure formats.

10 years agoDo not glReadPixels() with type GL_RED.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:16:49 +0000 (21:16 +0100)]
Do not glReadPixels() with type GL_RED.

GLES can only read RGBA pixels. Downconvert ourselves when we need to.

10 years agoUse the right internal format for FORMAT_R non-float textures.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:15:13 +0000 (21:15 +0100)]
Use the right internal format for FORMAT_R non-float textures.

10 years agoAdd a few check_error() calls.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:14:22 +0000 (21:14 +0100)]
Add a few check_error() calls.

10 years agoDon't use GL_RGBA32F/GL_RGBA16F with GL_UNSIGNED_BYTE.
Steinar H. Gunderson [Thu, 20 Mar 2014 20:12:31 +0000 (21:12 +0100)]
Don't use GL_RGBA32F/GL_RGBA16F with GL_UNSIGNED_BYTE.

GLES doesn't like this, even with NULL data. Replace with GL_FLOAT.

10 years agoAdd a temporary variable to reduce the amount of tedious typing.
Steinar H. Gunderson [Wed, 19 Mar 2014 20:06:17 +0000 (21:06 +0100)]
Add a temporary variable to reduce the amount of tedious typing.

10 years agoFix a typo.
Steinar H. Gunderson [Wed, 19 Mar 2014 23:42:02 +0000 (00:42 +0100)]
Fix a typo.

10 years agoMerge branch 'epoxy' into epoxy
Steinar H. Gunderson [Tue, 18 Mar 2014 23:21:54 +0000 (00:21 +0100)]
Merge branch 'epoxy' into epoxy

Conflicts:
Makefile.in
movit.pc.in

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Tue, 18 Mar 2014 23:20:55 +0000 (00:20 +0100)]
Merge branch 'master' into epoxy

Conflicts:
Makefile.in
README
movit.pc.in

10 years agoReduce the amount of arithmetic in the BlurEffect shader a bit.
Steinar H. Gunderson [Tue, 18 Mar 2014 23:12:34 +0000 (00:12 +0100)]
Reduce the amount of arithmetic in the BlurEffect shader a bit.

We did additions and subtractions with zero, which is sort of a waste
on scalar architectures. Helps ever so slightly on the demo app on my NVidia
card (3–4%).

10 years agoMake VAOs persistent.
Steinar H. Gunderson [Tue, 18 Mar 2014 22:18:56 +0000 (23:18 +0100)]
Make VAOs persistent.

Seemingly helps ~0.5 ms/frame (which is quite significant for small
resolutions) on the demo applications on my NVidia card.

10 years agoKeep FBOs around in EffectChain again.
Steinar H. Gunderson [Tue, 18 Mar 2014 21:16:36 +0000 (22:16 +0100)]
Keep FBOs around in EffectChain again.

Seemingly creating and deleting them is crazy expensive on NVidia
(~3 ms for a create/delete pair), so 6dea8d2 caused a performance
regression at high frame rates. Now we instead keep one around per
context (they cannot be shared), which brings us basically back
to where we were performance-wise.

Reported by Christophe Thommeret.

10 years agoMake Phase take other Phases as inputs, not Nodes.
Steinar H. Gunderson [Mon, 17 Mar 2014 23:57:53 +0000 (00:57 +0100)]
Make Phase take other Phases as inputs, not Nodes.

This was a refactoring I wanted to do for a while, but actually finding
the right structure was a bit tricky. In the process, the entire phase
generation logic was rewritten, but the separation between compilation
and Phase construction is much cleaner now, and the logic in general
is easier to follow with more use of explicit recursion.

I'm still not 100% happy about what might be overuse of output_node;
we still need to link Phase and Node (the link just goes the other way
now), but I'm not sure we need to use it in all the cases we currently do.

10 years agoDocument the FFTW3 requirement.
Steinar H. Gunderson [Mon, 17 Mar 2014 00:47:30 +0000 (01:47 +0100)]
Document the FFTW3 requirement.

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Mon, 17 Mar 2014 00:46:29 +0000 (01:46 +0100)]
Merge branch 'master' into epoxy

Conflicts:
Makefile.in
movit.pc.in

10 years agoMovit can hardly be said to be in alpha stage anymore.
Steinar H. Gunderson [Mon, 17 Mar 2014 00:45:10 +0000 (01:45 +0100)]
Movit can hardly be said to be in alpha stage anymore.

10 years agoRemove obsolete file.
Steinar H. Gunderson [Mon, 17 Mar 2014 00:26:13 +0000 (01:26 +0100)]
Remove obsolete file.

This was part of my original scribblings, and is no longer needed.

10 years agoRelease Movit 1.0.3. 1.0.3
Steinar H. Gunderson [Sun, 16 Mar 2014 22:29:07 +0000 (23:29 +0100)]
Release Movit 1.0.3.

10 years agoMove private libs into Libs.private in the pkg-config file.
Steinar H. Gunderson [Sun, 16 Mar 2014 22:26:04 +0000 (23:26 +0100)]
Move private libs into Libs.private in the pkg-config file.

10 years agoAdd FFTW3 libs and flags to the pkg-config file.
Steinar H. Gunderson [Sun, 16 Mar 2014 22:22:43 +0000 (23:22 +0100)]
Add FFTW3 libs and flags to the pkg-config file.

10 years agoTake LDFLAGS properly from configure, and distinguish better between LDFLAGS and...
Steinar H. Gunderson [Sun, 16 Mar 2014 22:08:17 +0000 (23:08 +0100)]
Take LDFLAGS properly from configure, and distinguish better between LDFLAGS and LDLIBS.

10 years agoDo not link libmovit against SDL; only the unit tests need that.
Steinar H. Gunderson [Sun, 16 Mar 2014 22:01:29 +0000 (23:01 +0100)]
Do not link libmovit against SDL; only the unit tests need that.

10 years agoRelease Movit 1.0.2. 1.0.2
Steinar H. Gunderson [Sun, 16 Mar 2014 21:35:02 +0000 (22:35 +0100)]
Release Movit 1.0.2.

10 years agoMake $(libdir) on make install, in case it does not exist.
Steinar H. Gunderson [Sun, 16 Mar 2014 21:40:24 +0000 (22:40 +0100)]
Make $(libdir) on make install, in case it does not exist.

10 years agoMake make install honor DESTDIR.
Steinar H. Gunderson [Sun, 16 Mar 2014 21:33:53 +0000 (22:33 +0100)]
Make make install honor DESTDIR.

10 years agoRelease Movit 1.0.1. 1.0.1
Steinar H. Gunderson [Sun, 16 Mar 2014 21:19:24 +0000 (22:19 +0100)]
Release Movit 1.0.1.

10 years agoFix a C++11 incompatibility.
Steinar H. Gunderson [Sun, 16 Mar 2014 21:16:07 +0000 (22:16 +0100)]
Fix a C++11 incompatibility.

10 years agoRevert "Stop using -rpath when linking libmovit."
Steinar H. Gunderson [Sun, 16 Mar 2014 21:13:45 +0000 (22:13 +0100)]
Revert "Stop using -rpath when linking libmovit."

Actually, this is seemingly needed to build shared libraries at all. Doh.

This reverts commit 05466cbaae2befac3d3ab8bbba614bc08646d3f2.

10 years agoRelease Movit 1.0. 1.0
Steinar H. Gunderson [Sun, 16 Mar 2014 20:39:37 +0000 (21:39 +0100)]
Release Movit 1.0.

10 years agoMake a 'make dist' target.
Steinar H. Gunderson [Sun, 16 Mar 2014 20:08:28 +0000 (21:08 +0100)]
Make a 'make dist' target.

10 years agoAdd the two missing FFT shaders to MISSING_SHADERS.
Steinar H. Gunderson [Sun, 16 Mar 2014 19:19:36 +0000 (20:19 +0100)]
Add the two missing FFT shaders to MISSING_SHADERS.

10 years agoStop using -rpath when linking libmovit.
Steinar H. Gunderson [Sun, 16 Mar 2014 19:12:11 +0000 (20:12 +0100)]
Stop using -rpath when linking libmovit.

This was from pre-libtool days, and makes no sense now. Plus it seems to have
no actual effect.

10 years agoStart doing symbol versioning.
Steinar H. Gunderson [Sun, 16 Mar 2014 19:11:38 +0000 (20:11 +0100)]
Start doing symbol versioning.

As we prepare for 1.0, we want to make sure we have a proper soname.
See the comment for slightly more details.

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Sun, 16 Mar 2014 18:36:25 +0000 (19:36 +0100)]
Merge branch 'master' into epoxy

Conflicts:
Makefile.in
configure.ac

10 years agoAdd an FFT convolution effect.
Steinar H. Gunderson [Sun, 16 Mar 2014 18:25:53 +0000 (19:25 +0100)]
Add an FFT convolution effect.

A lot of the later commits have been leading up to this, and I finally
got to the point where all the unit tests check out, everything seems
to work (modulo maybe some overflow issues) and we have a model that
matches what people actually expects from convolutions.

Note that this adds a dependency on FFTW3; we could probably have added
our own routines for such small needs, but like with Eigen, calling out to a
library is fine as long as it's of good quality (which FFTW certainly is) and
is widely available.

10 years agoMake SliceEffect slice from the top, not the bottom.
Steinar H. Gunderson [Sat, 15 Mar 2014 20:53:10 +0000 (21:53 +0100)]
Make SliceEffect slice from the top, not the bottom.

This is more consistent with the rest of Movit, and makes the rest
of the FFT implementation easier.

10 years agoRevert "Support pad/crop from bottom, not just from the top."
Steinar H. Gunderson [Sat, 15 Mar 2014 20:51:32 +0000 (21:51 +0100)]
Revert "Support pad/crop from bottom, not just from the top."

This turned out not to be so useful after all, as we'd like a more
consistent top-left coordinate system, and changes to do that will
obsolete this patch.

This reverts commit e92a5ffa19eb67b4db5af1db8559630139073668.

10 years agoIn the README, document that we have luma mix.
Steinar H. Gunderson [Sat, 15 Mar 2014 19:46:07 +0000 (20:46 +0100)]
In the README, document that we have luma mix.

10 years agoSupport pad/crop from bottom, not just from the top.
Steinar H. Gunderson [Sat, 15 Mar 2014 18:13:38 +0000 (19:13 +0100)]
Support pad/crop from bottom, not just from the top.

This is convenient for the FFTs that are coming.

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Sat, 15 Mar 2014 02:12:53 +0000 (03:12 +0100)]
Merge branch 'master' into epoxy

10 years agoFix a bug where repeated vertical FFTs would reverse the output.
Steinar H. Gunderson [Sat, 15 Mar 2014 02:04:31 +0000 (03:04 +0100)]
Fix a bug where repeated vertical FFTs would reverse the output.

Unfortunately, the tests didn't catch this, as the Repeat test used
an even number of passes (being of size 64), which reversed things
back into place. It now tries a wider range of sizes to make sure
everything is okay.

10 years agoMerge branch 'master' into epoxy
Steinar H. Gunderson [Thu, 13 Mar 2014 20:44:24 +0000 (21:44 +0100)]
Merge branch 'master' into epoxy

10 years agoProperly install texture1d.frag, which is needed during init.
Steinar H. Gunderson [Thu, 13 Mar 2014 20:44:15 +0000 (21:44 +0100)]
Properly install texture1d.frag, which is needed during init.