]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_types.h
Fix movit.convert.fence frame property when using tractor.
[mlt] / src / framework / mlt_types.h
index b25b2b96e43122d40a45d7723d75ff8501d27df5..9a359c045a44a7a20856c9e3b70e2f4b680b3667 100644 (file)
@@ -112,7 +112,6 @@ typedef enum
 mlt_service_type;
 
 /* I don't want to break anyone's applications without warning. -Zach */
-#undef DOUBLE_MLT_POSITION
 #ifdef DOUBLE_MLT_POSITION
 #define MLT_POSITION_FMT "%f"
 #define MLT_POSITION_MOD(A, B) (A - B * ((int)(A / B)))
@@ -123,6 +122,8 @@ typedef double mlt_position;
 typedef int32_t mlt_position;
 #endif
 
+/** A rectangle type with coordinates, size, and opacity */
+
 typedef struct {
        double x; /**< X coordinate */
        double y; /**< Y coordinate */
@@ -132,11 +133,13 @@ typedef struct {
 }
 mlt_rect;
 
+/** A tuple of color components */
+
 typedef struct {
-       uint8_t r;
-       uint8_t g;
-       uint8_t b;
-       uint8_t a;
+       uint8_t r; /**< red */
+       uint8_t g; /**< green */
+       uint8_t b; /**< blue */
+       uint8_t a; /**< alpha */
 }
 mlt_color;