Cloning optimisations and introduction of the service parser
[melted] / src / framework / mlt_types.h
index 36c83df..7d23359 100644 (file)
 
 #include <stdint.h>
 
+#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_audio_none = 0,
+       mlt_audio_pcm
+}
+mlt_audio_format;
+
 typedef enum
 {
        mlt_whence_relative_start,
@@ -31,9 +50,25 @@ typedef enum
 }
 mlt_whence;
 
-typedef int64_t mlt_position;
+typedef enum 
+{
+       invalid_type,
+       unknown_type,
+       producer_type,
+       playlist_type,
+       tractor_type,
+       multitrack_type,
+       filter_type,
+       transition_type,
+       consumer_type,
+       field_type
+}
+mlt_service_type;
+
+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_event_struct *mlt_event;
 typedef struct mlt_service_s *mlt_service;
 typedef struct mlt_producer_s *mlt_producer;
 typedef struct mlt_manager_s *mlt_manager;
@@ -44,6 +79,7 @@ typedef struct mlt_transition_s *mlt_transition;
 typedef struct mlt_tractor_s *mlt_tractor;
 typedef struct mlt_field_s *mlt_field;
 typedef struct mlt_consumer_s *mlt_consumer;
+typedef struct mlt_parser_s *mlt_parser;
 typedef struct mlt_deque_s *mlt_deque;
 
 typedef void ( *mlt_destructor )( void * );