ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VLIB / UVLC / uvlc.h
diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VLIB/UVLC/uvlc.h b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VLIB/UVLC/uvlc.h
new file mode 100644 (file)
index 0000000..64cc310
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef _UVLC_H_
+#define _UVLC_H_
+
+#include <VP_Os/vp_os_types.h>
+#include <VLIB/video_controller.h>
+
+// not_last > 0 if this is not the last coefficient
+// If last == 0, a special sequence is emitted
+void     uvlc_encode( video_stream_t* const stream, int32_t level, int32_t run, int32_t not_last );
+C_RESULT uvlc_decode( video_stream_t* const stream, int32_t* run, int32_t* level, int32_t* last);
+
+#endif // _UVLC_H_