]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/svq1.h
ARM: add helper macro for declaring constant data
[ffmpeg] / libavcodec / svq1.h
index e0930bf9a81a4bc9a9072e59c6b33f32d1d6dea9..3ade05d84884957598b38e54528c547b7fe19313 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 /**
- * @file svq1.h
+ * @file
  * Sorenson Vector Quantizer #1 (SVQ1) video codec.
  * For more information of the SVQ1 algorithm, visit:
  *   http://www.pcisys.net/~melanson/codecs/
 #define SVQ1_BLOCK_INTER_4V     2
 #define SVQ1_BLOCK_INTRA        3
 
-typedef struct {
-    int width;
-    int height;
-} svq1_frame_size_t;
+struct svq1_frame_size {
+    uint16_t width;
+    uint16_t height;
+};
+
+uint16_t ff_svq1_packet_checksum (const uint8_t *data, const int length,
+                                  int value);
 
 extern const int8_t* const ff_svq1_inter_codebooks[6];
 extern const int8_t* const ff_svq1_intra_codebooks[6];
@@ -56,6 +59,6 @@ extern const uint8_t ff_svq1_inter_multistage_vlc[6][8][2];
 extern const uint16_t ff_svq1_intra_mean_vlc[256][2];
 extern const uint16_t ff_svq1_inter_mean_vlc[512][2];
 
-extern svq1_frame_size_t ff_svq1_frame_size_table[8];
+extern const struct svq1_frame_size ff_svq1_frame_size_table[7];
 
 #endif /* AVCODEC_SVQ1_H */