]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/svq1.h
Add channel layout support to the AC-3 encoder.
[ffmpeg] / libavcodec / svq1.h
index bf2ee79432e43cbed5df7a7e889f30aee092086e..bcae245e6ebd90cac729a309115b38eff1d3a4ac 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 /**
- * @file svq1.h
+ * @file libavcodec/svq1.h
  * 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 {
+struct svq1_frame_size {
     int width;
     int height;
-} svq1_frame_size_t;
+};
+
+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 const svq1_frame_size_t ff_svq1_frame_size_table[8];
+extern const struct svq1_frame_size ff_svq1_frame_size_table[8];
 
 #endif /* AVCODEC_SVQ1_H */