diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_tracking.h')
-rw-r--r-- | source/blender/blenkernel/BKE_tracking.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_tracking.h b/source/blender/blenkernel/BKE_tracking.h index 3f6d32e2f70..89f30ce8ef8 100644 --- a/source/blender/blenkernel/BKE_tracking.h +++ b/source/blender/blenkernel/BKE_tracking.h @@ -7,6 +7,8 @@ * \ingroup bke */ +#include "BLI_sys_types.h" + #ifdef __cplusplus extern "C" { #endif @@ -560,6 +562,11 @@ struct ImBuf *BKE_tracking_get_search_imbuf(struct ImBuf *ibuf, bool anchored, bool disable_channels); +/* Create a new image buffer which consists of pixels which the plane marker "sees". + * The function will choose best image resolution based on the plane marker size. */ +struct ImBuf *BKE_tracking_get_plane_imbuf(const struct ImBuf *frame_ibuf, + const struct MovieTrackingPlaneMarker *plane_marker); + /** * Zap channels from the imbuf that are disabled by the user. this can lead to * better tracks sometimes. however, instead of simply zeroing the channels |