Use own version of ff_update_cur_dts for FFmpeg >= 0.11, seems
linking against function which isn't public in API gives error
when met some circumstances.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48251 954f8c5b-7b00-dc11-b283-0030488c597c
utility mesh function to return UV islands


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48252 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48253 954f8c5b-7b00-dc11-b283-0030488c597c
error in last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48254 954f8c5b-7b00-dc11-b283-0030488c597c
Optimization of Keying Blur operation

Separate X and Y passes of blurring like it's done for flat
gaussian blur. This reduces computing difficulty from size^2
to 2*size without any visual changes in matte.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48256 954f8c5b-7b00-dc11-b283-0030488c597c
comment for TODO - rgb_to_bw / rgb_to_grayscale usage.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48259 954f8c5b-7b00-dc11-b283-0030488c597c
optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48260 954f8c5b-7b00-dc11-b283-0030488c597c
add in C++ alloc replacements for array allocations & fix unterminated ifdef in last commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48261 954f8c5b-7b00-dc11-b283-0030488c597c
more guardedalloc use in C++, also make compositorMutex a static var, was allocated and never freed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48262 954f8c5b-7b00-dc11-b283-0030488c597c
Added feather control to keying node

Behaves in the same way as feather dilate/erode node, applies
after dilate/erode in node.

Also use distance dilate/erode instead of size.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48263 954f8c5b-7b00-dc11-b283-0030488c597c
Fix compile after 48262 ( braces)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48265 954f8c5b-7b00-dc11-b283-0030488c597c
the mutex struct seems to be different across systems, use memset rather then an initializer value.
also quiet warning in cycles.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48266 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for cycles building with assertions on scons/windows.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48267 954f8c5b-7b00-dc11-b283-0030488c597c
Guardedalloc/C++: delete is valid on a NULL pointer, add a check so MEM_freeN
doesn't print warning messages.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48268 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles not working in 3d local view, and missing update when toggling hiding
in the outliner.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48269 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31920: switching from cycles to blender internal with 3d view in rendered
draw mode did not draw the 3d view properly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48270 954f8c5b-7b00-dc11-b283-0030488c597c
fix for #31914


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48271 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#31900] Loop Selection on wireframe selects vertex behind.

Revert part of r48105 (calling mouse_mesh() in mouse_mesh_loop() is not a good idea, as it might select another element ouside the selected loop, and is anyway overkill!), added lighter code that simply checks for the nearest vertex/face of current edge.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48272 954f8c5b-7b00-dc11-b283-0030488c597c
Camera solver: take track offset into account

This helps in cases when it's needed to track a feature which
goes out of screen for a while to prevent jump of camera.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48275 954f8c5b-7b00-dc11-b283-0030488c597c
Ignore disabled markers when building keying screen.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48276 954f8c5b-7b00-dc11-b283-0030488c597c