audio/video processing swap
[melted] / src / framework / mlt_types.h
index 36c83df..284c35b 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,7 +50,7 @@ typedef enum
 }
 mlt_whence;
 
-typedef int64_t mlt_position;
+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;