Commit Graph

11 Commits

Author SHA1 Message Date
Campbell Barton
52296b941e code cleanup: remove duplicate assignments 2013-10-14 07:15:59 +00:00
Campbell Barton
c6b3e0f8e4 style cleanup 2013-02-14 23:49:30 +00:00
Campbell Barton
f70d2c65d8 rename api functions...
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23 13:28:22 +00:00
Campbell Barton
45a0287f45 change I made gave a little nicer bleeding direction for inpaint but introduced dithering artifact. 2012-08-23 06:27:12 +00:00
Campbell Barton
3bc16fd60d compositor: replace C++ new/delete with guardedalloc. 2012-08-16 12:32:48 +00:00
Campbell Barton
883e9df1cc fix for bug reading past the buffer bounds for the inpaint node. 2012-08-16 12:13:01 +00:00
Campbell Barton
61eacb534e inpaint node now blend inpaint pixels with existing alpha, this makes soft alpha blends inpaint look nicer.
also dont assign 1.0 alpha for parts of the image not inpaint'ed, this way you can maintain some alpha in the image.
2012-08-12 17:31:42 +00:00
Campbell Barton
b2fdb3f50e avoid divide by zero for the inpaint node. 2012-08-12 17:10:56 +00:00
Campbell Barton
94a3945cf9 code cleanup: compositor - define size for executePixel function output float array 2012-08-10 14:07:24 +00:00
Campbell Barton
8ae89f4942 speedup to inpaint node in my tests was about ~30% for an optimized build.
also replace MIN/MAX2 with inline functions in transform.
2012-08-07 09:20:30 +00:00
Campbell Barton
2b8ac9bc61 inpaint node from tomato branch by Peter Schlaile
http://en.wikipedia.org/wiki/Inpainting
2012-08-06 13:45:11 +00:00