Camera tracking integration
[blender.git] / source / blender / nodes / composite / node_composite_util.h
index 6da9b901e76201f84dca12ae5b5d445e9b53e2e7..9cac4c477eb49c7aebf244c401b20fde8de36b82 100644 (file)
@@ -44,6 +44,7 @@
 #include "DNA_ID.h"
 #include "DNA_image_types.h"
 #include "DNA_material_types.h"
 #include "DNA_ID.h"
 #include "DNA_image_types.h"
 #include "DNA_material_types.h"
+#include "DNA_movieclip_types.h"
 #include "DNA_node_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
 #include "DNA_node_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
 #include "BKE_image.h"
 #include "BKE_main.h"
 #include "BKE_material.h"
 #include "BKE_image.h"
 #include "BKE_main.h"
 #include "BKE_material.h"
+#include "BKE_movieclip.h"
 #include "BKE_node.h"
 #include "BKE_texture.h"
 #include "BKE_node.h"
 #include "BKE_texture.h"
+#include "BKE_tracking.h"
 
 #include "BKE_library.h"
 #include "BKE_object.h"
 
 #include "BKE_library.h"
 #include "BKE_object.h"
@@ -210,4 +213,11 @@ CompBuf* qd_downScaledCopy(CompBuf* src, int scale);
 void IIR_gauss(CompBuf* src, float sigma, int chan, int xy);
 /* end utility funcs */
 
 void IIR_gauss(CompBuf* src, float sigma, int chan, int xy);
 /* end utility funcs */
 
+/* transformations */
+
+#define CMP_SCALE_MAX  12000
+
+CompBuf* node_composit_transform(CompBuf *cbuf, float x, float y, float angle, float scale, int filter_type);
+float *node_composit_get_float_buffer(RenderData *rd, ImBuf *ibuf, int *alloc);
+
 #endif
 #endif