]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_types.h
transition region
[mlt] / src / framework / mlt_types.h
index aa9746321028214243158565270ffa256d794a85..5e061bbfdc234510945d26e6919d4a6da1775031 100644 (file)
 
 #include <stdint.h>
 
-typedef double mlt_timecode;
+#include "mlt_pool.h"
+
+typedef enum
+{
+       mlt_image_none = 0,
+       mlt_image_rgb24,
+       mlt_image_rgb24a,
+       mlt_image_yuv422,
+       mlt_image_yuv420p
+}
+mlt_image_format;
+
+typedef enum
+{
+       mlt_whence_relative_start,
+       mlt_whence_relative_current,
+       mlt_whence_relative_end
+}
+mlt_whence;
+
+typedef int32_t mlt_position;
 typedef struct mlt_frame_s *mlt_frame, **mlt_frame_ptr;
 typedef struct mlt_properties_s *mlt_properties;
 typedef struct mlt_service_s *mlt_service;
@@ -33,11 +53,20 @@ typedef struct mlt_playlist_s *mlt_playlist;
 typedef struct mlt_multitrack_s *mlt_multitrack;
 typedef struct mlt_filter_s *mlt_filter;
 typedef struct mlt_transition_s *mlt_transition;
-typedef struct mlt_consumer_s *mlt_consumer;
 typedef struct mlt_tractor_s *mlt_tractor;
+typedef struct mlt_field_s *mlt_field;
+typedef struct mlt_consumer_s *mlt_consumer;
+typedef struct mlt_deque_s *mlt_deque;
 
 typedef void ( *mlt_destructor )( void * );
 typedef char *( *mlt_serialiser )( void *, int length );
 
+#define MLT_SERVICE(x) ( ( mlt_service )( x ) )
+#define MLT_PRODUCER(x) ( ( mlt_producer )( x ) )
+#define MLT_MULTITRACK(x) ( ( mlt_multitrack )( x ) )
+#define MLT_PLAYLIST(x) ( ( mlt_playlist )( x ) )
+#define MLT_TRACTOR(x) ( ( mlt_tractor )( x ) )
+#define MLT_FILTER(x) ( ( mlt_filter )( x ) )
+#define MLT_TRANSITION(x) ( ( mlt_transition )( x ) )
 
 #endif