Commit Graph

35 Commits

Author SHA1 Message Date
Niels Martin Hansen b33e9c9bff Made alpha in pixel_value_map actually work.
Forgot to register ctx.get_source, done now.

Originally committed to SVN as r1801.
2008-01-21 00:07:58 +00:00
Niels Martin Hansen 23dc318406 Allow modifying alpha when mapping pixel values on ARGB32 surfaces.
Originally committed to SVN as r1799.
2008-01-20 23:42:54 +00:00
Niels Martin Hansen 753452b53f Correct the example for path.map_coords
Originally committed to SVN as r1780.
2008-01-19 16:48:24 +00:00
Niels Martin Hansen a24a1c8e4e Fix to "mirror" edge condition class
Originally committed to SVN as r1657.
2007-12-29 22:28:41 +00:00
Niels Martin Hansen 1cf34a15e7 Fix bug in 'ifgtz' and 'ifeqz' functions in RPN expression engine: they didn't check for the correct number of parameters, and caused a nasty crash as a result, if the number passed was wrong.
Originally committed to SVN as r1653.
2007-11-14 20:44:47 +00:00
Niels Martin Hansen e9c894a2e0 Publish effect script for AS-Fansubs Prism Ark OP kara as sample, not as well commented as the Gundam 00 OP 1 one.
Originally committed to SVN as r1651.
2007-11-06 20:54:59 +00:00
Niels Martin Hansen a00b809a98 Publishing ClaveMen Gundam 00 OP 1 kara effect as sample script.
Originally committed to SVN as r1650.
2007-11-06 20:39:32 +00:00
Niels Martin Hansen b77918f832 Sample script showing using OverLua for simple spatial filtering.
Originally committed to SVN as r1601.
2007-10-13 02:14:56 +00:00
Niels Martin Hansen a228af752a Some non-tested non-complete and probably non-useful (yet) code to handle SSA-lineage files.
Originally committed to SVN as r1546.
2007-08-29 22:29:46 +00:00
Niels Martin Hansen 25842be356 Another, much more complex and interesting, sample.
Originally committed to SVN as r1545.
2007-08-29 22:28:20 +00:00
Niels Martin Hansen 7fa5318620 More interesting effect for demonstration purposes.
Originally committed to SVN as r1532.
2007-08-23 23:10:15 +00:00
Niels Martin Hansen 8fa7e1103e Get rid of a few implicit-type-conversion warnings.
Originally committed to SVN as r1524.
2007-08-20 18:11:39 +00:00
Niels Martin Hansen 1ffa8c5a3a Add raster.pixel_coord_map function.
Originally committed to SVN as r1512.
2007-08-18 14:18:13 +00:00
Niels Martin Hansen 17fbbaa583 Made bilinear interpolation function work, and edge conditions into structs with static functions rather than plain functions (in order to make bilinear interpolation work.)
Originally committed to SVN as r1511.
2007-08-18 13:42:37 +00:00
Niels Martin Hansen a460743682 Implement raster.pixel_value_map function using expression evaluator. Seems to work correct.
Originally committed to SVN as r1507.
2007-08-17 23:56:20 +00:00
Niels Martin Hansen 3b5e953c70 Expression evaluator implemented and compiles... probably doesn't work
Originally committed to SVN as r1506.
2007-08-17 23:26:36 +00:00
Niels Martin Hansen 39dab0d324 Draft for expression evaluator machine specification, and a minor update to the readme.
Originally committed to SVN as r1504.
2007-08-17 16:24:12 +00:00
Niels Martin Hansen 6bb162523b Oops, forgot a comma and broke the build.
Originally committed to SVN as r1498.
2007-08-16 19:25:17 +00:00
Niels Martin Hansen 3b75d9e7af Added list of enum->string mappings
Originally committed to SVN as r1497.
2007-08-16 18:13:07 +00:00
Niels Martin Hansen 0d4b0e5419 Another small sample, showing how to achieve some basic effects.
Originally committed to SVN as r1496.
2007-08-16 17:44:26 +00:00
Niels Martin Hansen 4ddc7d5820 I can has radial blur! *wheeee*
Originally committed to SVN as r1490.
2007-08-15 01:08:31 +00:00
Niels Martin Hansen e99d9800c0 Add directional blur
Originally committed to SVN as r1489.
2007-08-15 00:20:11 +00:00
Niels Martin Hansen d130169ed2 Rename video_frame.h to image.h, various cleanup, and add functions to handle edge conditions.
Originally committed to SVN as r1487.
2007-08-14 01:08:00 +00:00
Niels Martin Hansen 6b72db3b80 Everything seems to work again now
Originally committed to SVN as r1486.
2007-08-14 00:45:09 +00:00
Niels Martin Hansen 2699972427 Reworking of video frame interface, into more general RGB(A) image interface
Originally committed to SVN as r1485.
2007-08-14 00:20:59 +00:00
Niels Martin Hansen 43149f9276 So apparently it's called "c"airo and not "C"airo...
Originally committed to SVN as r1484.
2007-08-13 19:06:07 +00:00
Niels Martin Hansen 17f235515e Add raster.separable_filter function.
Originally committed to SVN as r1483.
2007-08-13 14:56:02 +00:00
Niels Martin Hansen dad6f7755b Better parameter checking for frame.overlay_cairo_surface and adding a more useful sample script.
Originally committed to SVN as r1482.
2007-08-13 02:01:54 +00:00
Niels Martin Hansen 7e8fcbdc8f Some cleanup in rasterops code and added colour inversion function.
Fixed ugly bugs in Cairo surface composition onto video frame.

Originally committed to SVN as r1481.
2007-08-13 01:06:27 +00:00
Niels Martin Hansen c68a782820 Fix really stupid parameter-related bug in box blur, and update documentation.
Originally committed to SVN as r1480.
2007-08-12 23:21:45 +00:00
Niels Martin Hansen c55dea23aa Replace the few fixed width box blurs with a single variable width one.
Originally committed to SVN as r1479.
2007-08-12 23:19:43 +00:00
Niels Martin Hansen da8c8abc7d General cleaning up.
Make LuaCairoMatrix be non-broken (hopefully - neither tested that it was in fact broken nor that new code unbreaks it :D!)
Work on LuaCairoPath to make it script-buildable, and implement map and fold methods.

Originally committed to SVN as r1478.
2007-08-12 23:14:45 +00:00
Niels Martin Hansen 06452148d2 Added VFR support. (Untested, as usual.)
Originally committed to SVN as r1477.
2007-08-11 22:06:01 +00:00
Niels Martin Hansen 0a584a7cd4 Support a free-form string argument passed from Avisynth to the Lua script.
Originally committed to SVN as r1476.
2007-08-11 20:40:37 +00:00
Niels Martin Hansen 0211960d8e Another project for the Aegisub repository...
Originally committed to SVN as r1475.
2007-08-11 19:59:48 +00:00