Originally committed as revision 16407 to svn://svn.ffmpeg.org/ffmpeg/trunktags/v0.5
| @@ -37,7 +37,7 @@ | |||||
| #include "svq1_vlc.h" | #include "svq1_vlc.h" | ||||
| /* standard video sizes */ | /* standard video sizes */ | ||||
| const svq1_frame_size_t ff_svq1_frame_size_table[8] = { | |||||
| const struct svq1_frame_size ff_svq1_frame_size_table[8] = { | |||||
| { 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 }, | { 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 }, | ||||
| { 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 } | { 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 } | ||||
| }; | }; | ||||
| @@ -42,10 +42,10 @@ | |||||
| #define SVQ1_BLOCK_INTER_4V 2 | #define SVQ1_BLOCK_INTER_4V 2 | ||||
| #define SVQ1_BLOCK_INTRA 3 | #define SVQ1_BLOCK_INTRA 3 | ||||
| typedef struct { | |||||
| struct svq1_frame_size { | |||||
| int width; | int width; | ||||
| int height; | int height; | ||||
| } svq1_frame_size_t; | |||||
| }; | |||||
| uint16_t ff_svq1_packet_checksum (const uint8_t *data, const int length, | uint16_t ff_svq1_packet_checksum (const uint8_t *data, const int length, | ||||
| int value); | int value); | ||||
| @@ -59,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_intra_mean_vlc[256][2]; | ||||
| extern const uint16_t ff_svq1_inter_mean_vlc[512][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 */ | #endif /* AVCODEC_SVQ1_H */ | ||||