return transform_FromBasicOps(angle, hflip);
}
-void video_format_TransformTo( video_format_t *fmt, video_orientation_t dst_orientation )
-{
- video_transform_t transform = video_format_GetTransform(fmt->orientation, dst_orientation);
-
- video_format_TransformBy(fmt, transform);
-}
-
void video_format_TransformBy( video_format_t *fmt, video_transform_t transform )
{
/* Get destination orientation */
fmt->orientation = dst_orient;
}
+void video_format_TransformTo( video_format_t *restrict fmt,
+ video_orientation_t dst_orientation )
+{
+ video_transform_t transform = video_format_GetTransform(fmt->orientation,
+ dst_orientation);
+ video_format_TransformBy(fmt, transform);
+}
+
void video_format_ApplyRotation( video_format_t *restrict out,
const video_format_t *restrict in )
{