Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/tracking_stabilize.c
| Show First 20 Lines • Show All 1,366 Lines • ▼ Show 20 Lines | ImBuf *BKE_tracking_stabilize_frame( | ||||
| MovieTracking *tracking = &clip->tracking; | MovieTracking *tracking = &clip->tracking; | ||||
| MovieTrackingStabilization *stab = &tracking->stabilization; | MovieTrackingStabilization *stab = &tracking->stabilization; | ||||
| ImBuf *tmpibuf; | ImBuf *tmpibuf; | ||||
| int width = ibuf->x, height = ibuf->y; | int width = ibuf->x, height = ibuf->y; | ||||
| float pixel_aspect = tracking->camera.pixel_aspect; | float pixel_aspect = tracking->camera.pixel_aspect; | ||||
| float mat[4][4]; | float mat[4][4]; | ||||
| int filter = tracking->stabilization.filter; | int filter = tracking->stabilization.filter; | ||||
| interpolation_func interpolation = NULL; | interpolation_func interpolation = NULL; | ||||
| int ibuf_flags; | eImBufFlags ibuf_flags; | ||||
| if (translation) { | if (translation) { | ||||
| copy_v2_v2(tloc, translation); | copy_v2_v2(tloc, translation); | ||||
| } | } | ||||
| if (scale) { | if (scale) { | ||||
| tscale = *scale; | tscale = *scale; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines | |||||