mediacontrol:
[vlc.git] / src / control / mediacontrol_internal.h
index 08b7591..6161077 100644 (file)
@@ -39,15 +39,27 @@ struct mediacontrol_Instance {
 };
 
 vlc_int64_t mediacontrol_unit_convert( input_thread_t *p_input,
-                                       mediacontrol_PositionKey from,
-                                       mediacontrol_PositionKey to,
-                                       vlc_int64_t value );
+                       mediacontrol_PositionKey from,
+                       mediacontrol_PositionKey to,
+                       vlc_int64_t value );
 vlc_int64_t mediacontrol_position2microsecond(
     input_thread_t *p_input,
     const mediacontrol_Position *pos );
 
-#define RAISE( c, m )  exception->code = c; \
-                       exception->message = strdup(m);
+/**
+ * Allocate a RGBPicture structure.
+ * \param datasize: the size of the data
+ */
+mediacontrol_RGBPicture *private_mediacontrol_RGBPicture__alloc( int datasize );
+
+mediacontrol_RGBPicture *private_mediacontrol_createRGBPicture( int, int, long, vlc_int64_t l_date,
+                                  char *, int);
+
+mediacontrol_PlaylistSeq *private_mediacontrol_PlaylistSeq__alloc( int size );
+
+
+#define RAISE( c, m )  if( exception ) { exception->code = c;  \
+                                         exception->message = strdup(m); }
 
 #define RAISE_NULL( c, m ) { RAISE( c, m ); return NULL; }
 #define RAISE_VOID( c, m ) { RAISE( c, m ); return; }