]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp3data.h
Show profile in avcodec_string().
[ffmpeg] / libavcodec / vp3data.h
index d69ddfa281dd7b2440f69b1e0f46a3a7ade45cd1..904ec6abf58073e2c031bb67c09ab6f873cdab9d 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef VP3DATA_H
-#define VP3DATA_H
+#ifndef AVCODEC_VP3DATA_H
+#define AVCODEC_VP3DATA_H
+
+#include <stdint.h>
+#include <stdlib.h>
 
 /* these coefficients dequantize intraframe Y plane coefficients
  * (note: same as JPEG) */
@@ -81,7 +84,7 @@ static const uint32_t vp31_ac_scale_factor[64] =
    21,   19,   18,   17,   15,   13,  12,  10
 };
 
-static const uint32_t vp31_filter_limit_values[64] =
+static const uint8_t vp31_filter_limit_values[64] =
 {  30, 25, 20, 20, 15, 15, 14, 14,
    13, 13, 12, 12, 11, 11, 10, 10,
     9,  9,  8,  8,  7,  7,  7,  7,
@@ -402,7 +405,7 @@ static const int16_t coeff_table_token_22[1024] = {
     -573, -574, -575, -576, -577, -578, -579, -580
 };
 
-static const int16_t *coeff_tables[32] = {
+static const int16_t *const coeff_tables[32] = {
     NULL,
     NULL,
     NULL,
@@ -3175,4 +3178,4 @@ static const uint16_t ac_bias_3[16][32][2] = {
   }
 };
 
-#endif /* VP3DATA_H */
+#endif /* AVCODEC_VP3DATA_H */