[FFmpeg-devel] [PATCH] avutil/crc: always use precalculated CRC tables for known polynomials

James Almer jamrial at gmail.com
Sun Oct 22 16:03:55 EEST 2017


This prevents data races in av_crc_get_table()

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavutil/Makefile     |    1 +
 libavutil/crc.c        |  295 +-------------
 libavutil/crc_tables.c | 1030 ++++++++++++++++++++++++++++++++++++++++++++++++
 libavutil/crc_tables.h |   33 ++
 4 files changed, 1066 insertions(+), 293 deletions(-)
 create mode 100644 libavutil/crc_tables.c
 create mode 100644 libavutil/crc_tables.h

diff --git a/libavutil/Makefile b/libavutil/Makefile
index 4fe81fdd07..88a5c725c1 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -102,6 +102,7 @@ OBJS = adler32.o                                                        \
        color_utils.o                                                    \
        cpu.o                                                            \
        crc.o                                                            \
+       crc_tables.o                                                     \
        des.o                                                            \
        dict.o                                                           \
        display.o                                                        \
diff --git a/libavutil/crc.c b/libavutil/crc.c
index 495732b163..ed94368f68 100644
--- a/libavutil/crc.c
+++ b/libavutil/crc.c
@@ -23,289 +23,7 @@
 #include "bswap.h"
 #include "common.h"
 #include "crc.h"
-
-#if CONFIG_HARDCODED_TABLES
-static const AVCRC av_crc_table[AV_CRC_MAX][257] = {
-    [AV_CRC_8_ATM] = {
-        0x00, 0x07, 0x0E, 0x09, 0x1C, 0x1B, 0x12, 0x15, 0x38, 0x3F, 0x36, 0x31,
-        0x24, 0x23, 0x2A, 0x2D, 0x70, 0x77, 0x7E, 0x79, 0x6C, 0x6B, 0x62, 0x65,
-        0x48, 0x4F, 0x46, 0x41, 0x54, 0x53, 0x5A, 0x5D, 0xE0, 0xE7, 0xEE, 0xE9,
-        0xFC, 0xFB, 0xF2, 0xF5, 0xD8, 0xDF, 0xD6, 0xD1, 0xC4, 0xC3, 0xCA, 0xCD,
-        0x90, 0x97, 0x9E, 0x99, 0x8C, 0x8B, 0x82, 0x85, 0xA8, 0xAF, 0xA6, 0xA1,
-        0xB4, 0xB3, 0xBA, 0xBD, 0xC7, 0xC0, 0xC9, 0xCE, 0xDB, 0xDC, 0xD5, 0xD2,
-        0xFF, 0xF8, 0xF1, 0xF6, 0xE3, 0xE4, 0xED, 0xEA, 0xB7, 0xB0, 0xB9, 0xBE,
-        0xAB, 0xAC, 0xA5, 0xA2, 0x8F, 0x88, 0x81, 0x86, 0x93, 0x94, 0x9D, 0x9A,
-        0x27, 0x20, 0x29, 0x2E, 0x3B, 0x3C, 0x35, 0x32, 0x1F, 0x18, 0x11, 0x16,
-        0x03, 0x04, 0x0D, 0x0A, 0x57, 0x50, 0x59, 0x5E, 0x4B, 0x4C, 0x45, 0x42,
-        0x6F, 0x68, 0x61, 0x66, 0x73, 0x74, 0x7D, 0x7A, 0x89, 0x8E, 0x87, 0x80,
-        0x95, 0x92, 0x9B, 0x9C, 0xB1, 0xB6, 0xBF, 0xB8, 0xAD, 0xAA, 0xA3, 0xA4,
-        0xF9, 0xFE, 0xF7, 0xF0, 0xE5, 0xE2, 0xEB, 0xEC, 0xC1, 0xC6, 0xCF, 0xC8,
-        0xDD, 0xDA, 0xD3, 0xD4, 0x69, 0x6E, 0x67, 0x60, 0x75, 0x72, 0x7B, 0x7C,
-        0x51, 0x56, 0x5F, 0x58, 0x4D, 0x4A, 0x43, 0x44, 0x19, 0x1E, 0x17, 0x10,
-        0x05, 0x02, 0x0B, 0x0C, 0x21, 0x26, 0x2F, 0x28, 0x3D, 0x3A, 0x33, 0x34,
-        0x4E, 0x49, 0x40, 0x47, 0x52, 0x55, 0x5C, 0x5B, 0x76, 0x71, 0x78, 0x7F,
-        0x6A, 0x6D, 0x64, 0x63, 0x3E, 0x39, 0x30, 0x37, 0x22, 0x25, 0x2C, 0x2B,
-        0x06, 0x01, 0x08, 0x0F, 0x1A, 0x1D, 0x14, 0x13, 0xAE, 0xA9, 0xA0, 0xA7,
-        0xB2, 0xB5, 0xBC, 0xBB, 0x96, 0x91, 0x98, 0x9F, 0x8A, 0x8D, 0x84, 0x83,
-        0xDE, 0xD9, 0xD0, 0xD7, 0xC2, 0xC5, 0xCC, 0xCB, 0xE6, 0xE1, 0xE8, 0xEF,
-        0xFA, 0xFD, 0xF4, 0xF3, 0x01
-    },
-    [AV_CRC_16_ANSI] = {
-        0x0000, 0x0580, 0x0F80, 0x0A00, 0x1B80, 0x1E00, 0x1400, 0x1180,
-        0x3380, 0x3600, 0x3C00, 0x3980, 0x2800, 0x2D80, 0x2780, 0x2200,
-        0x6380, 0x6600, 0x6C00, 0x6980, 0x7800, 0x7D80, 0x7780, 0x7200,
-        0x5000, 0x5580, 0x5F80, 0x5A00, 0x4B80, 0x4E00, 0x4400, 0x4180,
-        0xC380, 0xC600, 0xCC00, 0xC980, 0xD800, 0xDD80, 0xD780, 0xD200,
-        0xF000, 0xF580, 0xFF80, 0xFA00, 0xEB80, 0xEE00, 0xE400, 0xE180,
-        0xA000, 0xA580, 0xAF80, 0xAA00, 0xBB80, 0xBE00, 0xB400, 0xB180,
-        0x9380, 0x9600, 0x9C00, 0x9980, 0x8800, 0x8D80, 0x8780, 0x8200,
-        0x8381, 0x8601, 0x8C01, 0x8981, 0x9801, 0x9D81, 0x9781, 0x9201,
-        0xB001, 0xB581, 0xBF81, 0xBA01, 0xAB81, 0xAE01, 0xA401, 0xA181,
-        0xE001, 0xE581, 0xEF81, 0xEA01, 0xFB81, 0xFE01, 0xF401, 0xF181,
-        0xD381, 0xD601, 0xDC01, 0xD981, 0xC801, 0xCD81, 0xC781, 0xC201,
-        0x4001, 0x4581, 0x4F81, 0x4A01, 0x5B81, 0x5E01, 0x5401, 0x5181,
-        0x7381, 0x7601, 0x7C01, 0x7981, 0x6801, 0x6D81, 0x6781, 0x6201,
-        0x2381, 0x2601, 0x2C01, 0x2981, 0x3801, 0x3D81, 0x3781, 0x3201,
-        0x1001, 0x1581, 0x1F81, 0x1A01, 0x0B81, 0x0E01, 0x0401, 0x0181,
-        0x0383, 0x0603, 0x0C03, 0x0983, 0x1803, 0x1D83, 0x1783, 0x1203,
-        0x3003, 0x3583, 0x3F83, 0x3A03, 0x2B83, 0x2E03, 0x2403, 0x2183,
-        0x6003, 0x6583, 0x6F83, 0x6A03, 0x7B83, 0x7E03, 0x7403, 0x7183,
-        0x5383, 0x5603, 0x5C03, 0x5983, 0x4803, 0x4D83, 0x4783, 0x4203,
-        0xC003, 0xC583, 0xCF83, 0xCA03, 0xDB83, 0xDE03, 0xD403, 0xD183,
-        0xF383, 0xF603, 0xFC03, 0xF983, 0xE803, 0xED83, 0xE783, 0xE203,
-        0xA383, 0xA603, 0xAC03, 0xA983, 0xB803, 0xBD83, 0xB783, 0xB203,
-        0x9003, 0x9583, 0x9F83, 0x9A03, 0x8B83, 0x8E03, 0x8403, 0x8183,
-        0x8002, 0x8582, 0x8F82, 0x8A02, 0x9B82, 0x9E02, 0x9402, 0x9182,
-        0xB382, 0xB602, 0xBC02, 0xB982, 0xA802, 0xAD82, 0xA782, 0xA202,
-        0xE382, 0xE602, 0xEC02, 0xE982, 0xF802, 0xFD82, 0xF782, 0xF202,
-        0xD002, 0xD582, 0xDF82, 0xDA02, 0xCB82, 0xCE02, 0xC402, 0xC182,
-        0x4382, 0x4602, 0x4C02, 0x4982, 0x5802, 0x5D82, 0x5782, 0x5202,
-        0x7002, 0x7582, 0x7F82, 0x7A02, 0x6B82, 0x6E02, 0x6402, 0x6182,
-        0x2002, 0x2582, 0x2F82, 0x2A02, 0x3B82, 0x3E02, 0x3402, 0x3182,
-        0x1382, 0x1602, 0x1C02, 0x1982, 0x0802, 0x0D82, 0x0782, 0x0202,
-        0x0001
-    },
-    [AV_CRC_16_CCITT] = {
-        0x0000, 0x2110, 0x4220, 0x6330, 0x8440, 0xA550, 0xC660, 0xE770,
-        0x0881, 0x2991, 0x4AA1, 0x6BB1, 0x8CC1, 0xADD1, 0xCEE1, 0xEFF1,
-        0x3112, 0x1002, 0x7332, 0x5222, 0xB552, 0x9442, 0xF772, 0xD662,
-        0x3993, 0x1883, 0x7BB3, 0x5AA3, 0xBDD3, 0x9CC3, 0xFFF3, 0xDEE3,
-        0x6224, 0x4334, 0x2004, 0x0114, 0xE664, 0xC774, 0xA444, 0x8554,
-        0x6AA5, 0x4BB5, 0x2885, 0x0995, 0xEEE5, 0xCFF5, 0xACC5, 0x8DD5,
-        0x5336, 0x7226, 0x1116, 0x3006, 0xD776, 0xF666, 0x9556, 0xB446,
-        0x5BB7, 0x7AA7, 0x1997, 0x3887, 0xDFF7, 0xFEE7, 0x9DD7, 0xBCC7,
-        0xC448, 0xE558, 0x8668, 0xA778, 0x4008, 0x6118, 0x0228, 0x2338,
-        0xCCC9, 0xEDD9, 0x8EE9, 0xAFF9, 0x4889, 0x6999, 0x0AA9, 0x2BB9,
-        0xF55A, 0xD44A, 0xB77A, 0x966A, 0x711A, 0x500A, 0x333A, 0x122A,
-        0xFDDB, 0xDCCB, 0xBFFB, 0x9EEB, 0x799B, 0x588B, 0x3BBB, 0x1AAB,
-        0xA66C, 0x877C, 0xE44C, 0xC55C, 0x222C, 0x033C, 0x600C, 0x411C,
-        0xAEED, 0x8FFD, 0xECCD, 0xCDDD, 0x2AAD, 0x0BBD, 0x688D, 0x499D,
-        0x977E, 0xB66E, 0xD55E, 0xF44E, 0x133E, 0x322E, 0x511E, 0x700E,
-        0x9FFF, 0xBEEF, 0xDDDF, 0xFCCF, 0x1BBF, 0x3AAF, 0x599F, 0x788F,
-        0x8891, 0xA981, 0xCAB1, 0xEBA1, 0x0CD1, 0x2DC1, 0x4EF1, 0x6FE1,
-        0x8010, 0xA100, 0xC230, 0xE320, 0x0450, 0x2540, 0x4670, 0x6760,
-        0xB983, 0x9893, 0xFBA3, 0xDAB3, 0x3DC3, 0x1CD3, 0x7FE3, 0x5EF3,
-        0xB102, 0x9012, 0xF322, 0xD232, 0x3542, 0x1452, 0x7762, 0x5672,
-        0xEAB5, 0xCBA5, 0xA895, 0x8985, 0x6EF5, 0x4FE5, 0x2CD5, 0x0DC5,
-        0xE234, 0xC324, 0xA014, 0x8104, 0x6674, 0x4764, 0x2454, 0x0544,
-        0xDBA7, 0xFAB7, 0x9987, 0xB897, 0x5FE7, 0x7EF7, 0x1DC7, 0x3CD7,
-        0xD326, 0xF236, 0x9106, 0xB016, 0x5766, 0x7676, 0x1546, 0x3456,
-        0x4CD9, 0x6DC9, 0x0EF9, 0x2FE9, 0xC899, 0xE989, 0x8AB9, 0xABA9,
-        0x4458, 0x6548, 0x0678, 0x2768, 0xC018, 0xE108, 0x8238, 0xA328,
-        0x7DCB, 0x5CDB, 0x3FEB, 0x1EFB, 0xF98B, 0xD89B, 0xBBAB, 0x9ABB,
-        0x754A, 0x545A, 0x376A, 0x167A, 0xF10A, 0xD01A, 0xB32A, 0x923A,
-        0x2EFD, 0x0FED, 0x6CDD, 0x4DCD, 0xAABD, 0x8BAD, 0xE89D, 0xC98D,
-        0x267C, 0x076C, 0x645C, 0x454C, 0xA23C, 0x832C, 0xE01C, 0xC10C,
-        0x1FEF, 0x3EFF, 0x5DCF, 0x7CDF, 0x9BAF, 0xBABF, 0xD98F, 0xF89F,
-        0x176E, 0x367E, 0x554E, 0x745E, 0x932E, 0xB23E, 0xD10E, 0xF01E,
-        0x0001
-    },
-    [AV_CRC_24_IEEE] = {
-        0x000000, 0xFB4C86, 0x0DD58A, 0xF6990C, 0xE1E693, 0x1AAA15, 0xEC3319,
-        0x177F9F, 0x3981A1, 0xC2CD27, 0x34542B, 0xCF18AD, 0xD86732, 0x232BB4,
-        0xD5B2B8, 0x2EFE3E, 0x894EC5, 0x720243, 0x849B4F, 0x7FD7C9, 0x68A856,
-        0x93E4D0, 0x657DDC, 0x9E315A, 0xB0CF64, 0x4B83E2, 0xBD1AEE, 0x465668,
-        0x5129F7, 0xAA6571, 0x5CFC7D, 0xA7B0FB, 0xE9D10C, 0x129D8A, 0xE40486,
-        0x1F4800, 0x08379F, 0xF37B19, 0x05E215, 0xFEAE93, 0xD050AD, 0x2B1C2B,
-        0xDD8527, 0x26C9A1, 0x31B63E, 0xCAFAB8, 0x3C63B4, 0xC72F32, 0x609FC9,
-        0x9BD34F, 0x6D4A43, 0x9606C5, 0x81795A, 0x7A35DC, 0x8CACD0, 0x77E056,
-        0x591E68, 0xA252EE, 0x54CBE2, 0xAF8764, 0xB8F8FB, 0x43B47D, 0xB52D71,
-        0x4E61F7, 0xD2A319, 0x29EF9F, 0xDF7693, 0x243A15, 0x33458A, 0xC8090C,
-        0x3E9000, 0xC5DC86, 0xEB22B8, 0x106E3E, 0xE6F732, 0x1DBBB4, 0x0AC42B,
-        0xF188AD, 0x0711A1, 0xFC5D27, 0x5BEDDC, 0xA0A15A, 0x563856, 0xAD74D0,
-        0xBA0B4F, 0x4147C9, 0xB7DEC5, 0x4C9243, 0x626C7D, 0x9920FB, 0x6FB9F7,
-        0x94F571, 0x838AEE, 0x78C668, 0x8E5F64, 0x7513E2, 0x3B7215, 0xC03E93,
-        0x36A79F, 0xCDEB19, 0xDA9486, 0x21D800, 0xD7410C, 0x2C0D8A, 0x02F3B4,
-        0xF9BF32, 0x0F263E, 0xF46AB8, 0xE31527, 0x1859A1, 0xEEC0AD, 0x158C2B,
-        0xB23CD0, 0x497056, 0xBFE95A, 0x44A5DC, 0x53DA43, 0xA896C5, 0x5E0FC9,
-        0xA5434F, 0x8BBD71, 0x70F1F7, 0x8668FB, 0x7D247D, 0x6A5BE2, 0x911764,
-        0x678E68, 0x9CC2EE, 0xA44733, 0x5F0BB5, 0xA992B9, 0x52DE3F, 0x45A1A0,
-        0xBEED26, 0x48742A, 0xB338AC, 0x9DC692, 0x668A14, 0x901318, 0x6B5F9E,
-        0x7C2001, 0x876C87, 0x71F58B, 0x8AB90D, 0x2D09F6, 0xD64570, 0x20DC7C,
-        0xDB90FA, 0xCCEF65, 0x37A3E3, 0xC13AEF, 0x3A7669, 0x148857, 0xEFC4D1,
-        0x195DDD, 0xE2115B, 0xF56EC4, 0x0E2242, 0xF8BB4E, 0x03F7C8, 0x4D963F,
-        0xB6DAB9, 0x4043B5, 0xBB0F33, 0xAC70AC, 0x573C2A, 0xA1A526, 0x5AE9A0,
-        0x74179E, 0x8F5B18, 0x79C214, 0x828E92, 0x95F10D, 0x6EBD8B, 0x982487,
-        0x636801, 0xC4D8FA, 0x3F947C, 0xC90D70, 0x3241F6, 0x253E69, 0xDE72EF,
-        0x28EBE3, 0xD3A765, 0xFD595B, 0x0615DD, 0xF08CD1, 0x0BC057, 0x1CBFC8,
-        0xE7F34E, 0x116A42, 0xEA26C4, 0x76E42A, 0x8DA8AC, 0x7B31A0, 0x807D26,
-        0x9702B9, 0x6C4E3F, 0x9AD733, 0x619BB5, 0x4F658B, 0xB4290D, 0x42B001,
-        0xB9FC87, 0xAE8318, 0x55CF9E, 0xA35692, 0x581A14, 0xFFAAEF, 0x04E669,
-        0xF27F65, 0x0933E3, 0x1E4C7C, 0xE500FA, 0x1399F6, 0xE8D570, 0xC62B4E,
-        0x3D67C8, 0xCBFEC4, 0x30B242, 0x27CDDD, 0xDC815B, 0x2A1857, 0xD154D1,
-        0x9F3526, 0x6479A0, 0x92E0AC, 0x69AC2A, 0x7ED3B5, 0x859F33, 0x73063F,
-        0x884AB9, 0xA6B487, 0x5DF801, 0xAB610D, 0x502D8B, 0x475214, 0xBC1E92,
-        0x4A879E, 0xB1CB18, 0x167BE3, 0xED3765, 0x1BAE69, 0xE0E2EF, 0xF79D70,
-        0x0CD1F6, 0xFA48FA, 0x01047C, 0x2FFA42, 0xD4B6C4, 0x222FC8, 0xD9634E,
-        0xCE1CD1, 0x355057, 0xC3C95B, 0x3885DD, 0x000001,
-    },
-    [AV_CRC_32_IEEE] = {
-        0x00000000, 0xB71DC104, 0x6E3B8209, 0xD926430D, 0xDC760413, 0x6B6BC517,
-        0xB24D861A, 0x0550471E, 0xB8ED0826, 0x0FF0C922, 0xD6D68A2F, 0x61CB4B2B,
-        0x649B0C35, 0xD386CD31, 0x0AA08E3C, 0xBDBD4F38, 0x70DB114C, 0xC7C6D048,
-        0x1EE09345, 0xA9FD5241, 0xACAD155F, 0x1BB0D45B, 0xC2969756, 0x758B5652,
-        0xC836196A, 0x7F2BD86E, 0xA60D9B63, 0x11105A67, 0x14401D79, 0xA35DDC7D,
-        0x7A7B9F70, 0xCD665E74, 0xE0B62398, 0x57ABE29C, 0x8E8DA191, 0x39906095,
-        0x3CC0278B, 0x8BDDE68F, 0x52FBA582, 0xE5E66486, 0x585B2BBE, 0xEF46EABA,
-        0x3660A9B7, 0x817D68B3, 0x842D2FAD, 0x3330EEA9, 0xEA16ADA4, 0x5D0B6CA0,
-        0x906D32D4, 0x2770F3D0, 0xFE56B0DD, 0x494B71D9, 0x4C1B36C7, 0xFB06F7C3,
-        0x2220B4CE, 0x953D75CA, 0x28803AF2, 0x9F9DFBF6, 0x46BBB8FB, 0xF1A679FF,
-        0xF4F63EE1, 0x43EBFFE5, 0x9ACDBCE8, 0x2DD07DEC, 0x77708634, 0xC06D4730,
-        0x194B043D, 0xAE56C539, 0xAB068227, 0x1C1B4323, 0xC53D002E, 0x7220C12A,
-        0xCF9D8E12, 0x78804F16, 0xA1A60C1B, 0x16BBCD1F, 0x13EB8A01, 0xA4F64B05,
-        0x7DD00808, 0xCACDC90C, 0x07AB9778, 0xB0B6567C, 0x69901571, 0xDE8DD475,
-        0xDBDD936B, 0x6CC0526F, 0xB5E61162, 0x02FBD066, 0xBF469F5E, 0x085B5E5A,
-        0xD17D1D57, 0x6660DC53, 0x63309B4D, 0xD42D5A49, 0x0D0B1944, 0xBA16D840,
-        0x97C6A5AC, 0x20DB64A8, 0xF9FD27A5, 0x4EE0E6A1, 0x4BB0A1BF, 0xFCAD60BB,
-        0x258B23B6, 0x9296E2B2, 0x2F2BAD8A, 0x98366C8E, 0x41102F83, 0xF60DEE87,
-        0xF35DA999, 0x4440689D, 0x9D662B90, 0x2A7BEA94, 0xE71DB4E0, 0x500075E4,
-        0x892636E9, 0x3E3BF7ED, 0x3B6BB0F3, 0x8C7671F7, 0x555032FA, 0xE24DF3FE,
-        0x5FF0BCC6, 0xE8ED7DC2, 0x31CB3ECF, 0x86D6FFCB, 0x8386B8D5, 0x349B79D1,
-        0xEDBD3ADC, 0x5AA0FBD8, 0xEEE00C69, 0x59FDCD6D, 0x80DB8E60, 0x37C64F64,
-        0x3296087A, 0x858BC97E, 0x5CAD8A73, 0xEBB04B77, 0x560D044F, 0xE110C54B,
-        0x38368646, 0x8F2B4742, 0x8A7B005C, 0x3D66C158, 0xE4408255, 0x535D4351,
-        0x9E3B1D25, 0x2926DC21, 0xF0009F2C, 0x471D5E28, 0x424D1936, 0xF550D832,
-        0x2C769B3F, 0x9B6B5A3B, 0x26D61503, 0x91CBD407, 0x48ED970A, 0xFFF0560E,
-        0xFAA01110, 0x4DBDD014, 0x949B9319, 0x2386521D, 0x0E562FF1, 0xB94BEEF5,
-        0x606DADF8, 0xD7706CFC, 0xD2202BE2, 0x653DEAE6, 0xBC1BA9EB, 0x0B0668EF,
-        0xB6BB27D7, 0x01A6E6D3, 0xD880A5DE, 0x6F9D64DA, 0x6ACD23C4, 0xDDD0E2C0,
-        0x04F6A1CD, 0xB3EB60C9, 0x7E8D3EBD, 0xC990FFB9, 0x10B6BCB4, 0xA7AB7DB0,
-        0xA2FB3AAE, 0x15E6FBAA, 0xCCC0B8A7, 0x7BDD79A3, 0xC660369B, 0x717DF79F,
-        0xA85BB492, 0x1F467596, 0x1A163288, 0xAD0BF38C, 0x742DB081, 0xC3307185,
-        0x99908A5D, 0x2E8D4B59, 0xF7AB0854, 0x40B6C950, 0x45E68E4E, 0xF2FB4F4A,
-        0x2BDD0C47, 0x9CC0CD43, 0x217D827B, 0x9660437F, 0x4F460072, 0xF85BC176,
-        0xFD0B8668, 0x4A16476C, 0x93300461, 0x242DC565, 0xE94B9B11, 0x5E565A15,
-        0x87701918, 0x306DD81C, 0x353D9F02, 0x82205E06, 0x5B061D0B, 0xEC1BDC0F,
-        0x51A69337, 0xE6BB5233, 0x3F9D113E, 0x8880D03A, 0x8DD09724, 0x3ACD5620,
-        0xE3EB152D, 0x54F6D429, 0x7926A9C5, 0xCE3B68C1, 0x171D2BCC, 0xA000EAC8,
-        0xA550ADD6, 0x124D6CD2, 0xCB6B2FDF, 0x7C76EEDB, 0xC1CBA1E3, 0x76D660E7,
-        0xAFF023EA, 0x18EDE2EE, 0x1DBDA5F0, 0xAAA064F4, 0x738627F9, 0xC49BE6FD,
-        0x09FDB889, 0xBEE0798D, 0x67C63A80, 0xD0DBFB84, 0xD58BBC9A, 0x62967D9E,
-        0xBBB03E93, 0x0CADFF97, 0xB110B0AF, 0x060D71AB, 0xDF2B32A6, 0x6836F3A2,
-        0x6D66B4BC, 0xDA7B75B8, 0x035D36B5, 0xB440F7B1, 0x00000001
-    },
-    [AV_CRC_32_IEEE_LE] = {
-        0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F,
-        0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
-        0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, 0x1DB71064, 0x6AB020F2,
-        0xF3B97148, 0x84BE41DE, 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
-        0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9,
-        0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
-        0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, 0x35B5A8FA, 0x42B2986C,
-        0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
-        0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423,
-        0xCFBA9599, 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
-        0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, 0x01DB7106,
-        0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
-        0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D,
-        0x91646C97, 0xE6635C01, 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
-        0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950,
-        0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
-        0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, 0x4ADFA541, 0x3DD895D7,
-        0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
-        0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA,
-        0xBE0B1010, 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
-        0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, 0x2EB40D81,
-        0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
-        0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, 0xE3630B12, 0x94643B84,
-        0x0D6D6A3E, 0x7A6A5AA8, 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
-        0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB,
-        0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
-        0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, 0xD6D6A3E8, 0xA1D1937E,
-        0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
-        0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55,
-        0x316E8EEF, 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
-        0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, 0xB2BD0B28,
-        0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
-        0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, 0x9C0906A9, 0xEB0E363F,
-        0x72076785, 0x05005713, 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
-        0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242,
-        0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
-        0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, 0x8F659EFF, 0xF862AE69,
-        0x616BFFD3, 0x166CCF45, 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
-        0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC,
-        0x40DF0B66, 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
-        0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, 0xCDD70693,
-        0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
-        0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D, 0x00000001
-    },
-    [AV_CRC_16_ANSI_LE] = {
-        0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241,
-        0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440,
-        0xCC01, 0x0CC0, 0x0D80, 0xCD41, 0x0F00, 0xCFC1, 0xCE81, 0x0E40,
-        0x0A00, 0xCAC1, 0xCB81, 0x0B40, 0xC901, 0x09C0, 0x0880, 0xC841,
-        0xD801, 0x18C0, 0x1980, 0xD941, 0x1B00, 0xDBC1, 0xDA81, 0x1A40,
-        0x1E00, 0xDEC1, 0xDF81, 0x1F40, 0xDD01, 0x1DC0, 0x1C80, 0xDC41,
-        0x1400, 0xD4C1, 0xD581, 0x1540, 0xD701, 0x17C0, 0x1680, 0xD641,
-        0xD201, 0x12C0, 0x1380, 0xD341, 0x1100, 0xD1C1, 0xD081, 0x1040,
-        0xF001, 0x30C0, 0x3180, 0xF141, 0x3300, 0xF3C1, 0xF281, 0x3240,
-        0x3600, 0xF6C1, 0xF781, 0x3740, 0xF501, 0x35C0, 0x3480, 0xF441,
-        0x3C00, 0xFCC1, 0xFD81, 0x3D40, 0xFF01, 0x3FC0, 0x3E80, 0xFE41,
-        0xFA01, 0x3AC0, 0x3B80, 0xFB41, 0x3900, 0xF9C1, 0xF881, 0x3840,
-        0x2800, 0xE8C1, 0xE981, 0x2940, 0xEB01, 0x2BC0, 0x2A80, 0xEA41,
-        0xEE01, 0x2EC0, 0x2F80, 0xEF41, 0x2D00, 0xEDC1, 0xEC81, 0x2C40,
-        0xE401, 0x24C0, 0x2580, 0xE541, 0x2700, 0xE7C1, 0xE681, 0x2640,
-        0x2200, 0xE2C1, 0xE381, 0x2340, 0xE101, 0x21C0, 0x2080, 0xE041,
-        0xA001, 0x60C0, 0x6180, 0xA141, 0x6300, 0xA3C1, 0xA281, 0x6240,
-        0x6600, 0xA6C1, 0xA781, 0x6740, 0xA501, 0x65C0, 0x6480, 0xA441,
-        0x6C00, 0xACC1, 0xAD81, 0x6D40, 0xAF01, 0x6FC0, 0x6E80, 0xAE41,
-        0xAA01, 0x6AC0, 0x6B80, 0xAB41, 0x6900, 0xA9C1, 0xA881, 0x6840,
-        0x7800, 0xB8C1, 0xB981, 0x7940, 0xBB01, 0x7BC0, 0x7A80, 0xBA41,
-        0xBE01, 0x7EC0, 0x7F80, 0xBF41, 0x7D00, 0xBDC1, 0xBC81, 0x7C40,
-        0xB401, 0x74C0, 0x7580, 0xB541, 0x7700, 0xB7C1, 0xB681, 0x7640,
-        0x7200, 0xB2C1, 0xB381, 0x7340, 0xB101, 0x71C0, 0x7080, 0xB041,
-        0x5000, 0x90C1, 0x9181, 0x5140, 0x9301, 0x53C0, 0x5280, 0x9241,
-        0x9601, 0x56C0, 0x5780, 0x9741, 0x5500, 0x95C1, 0x9481, 0x5440,
-        0x9C01, 0x5CC0, 0x5D80, 0x9D41, 0x5F00, 0x9FC1, 0x9E81, 0x5E40,
-        0x5A00, 0x9AC1, 0x9B81, 0x5B40, 0x9901, 0x59C0, 0x5880, 0x9841,
-        0x8801, 0x48C0, 0x4980, 0x8941, 0x4B00, 0x8BC1, 0x8A81, 0x4A40,
-        0x4E00, 0x8EC1, 0x8F81, 0x4F40, 0x8D01, 0x4DC0, 0x4C80, 0x8C41,
-        0x4400, 0x84C1, 0x8581, 0x4540, 0x8701, 0x47C0, 0x4680, 0x8641,
-        0x8201, 0x42C0, 0x4380, 0x8341, 0x4100, 0x81C1, 0x8081, 0x4040,
-        0x0001
-    },
-};
-#else
-#if CONFIG_SMALL
-#define CRC_TABLE_SIZE 257
-#else
-#define CRC_TABLE_SIZE 1024
-#endif
-static struct {
-    uint8_t  le;
-    uint8_t  bits;
-    uint32_t poly;
-} av_crc_table_params[AV_CRC_MAX] = {
-    [AV_CRC_8_ATM]      = { 0,  8,       0x07 },
-    [AV_CRC_16_ANSI]    = { 0, 16,     0x8005 },
-    [AV_CRC_16_CCITT]   = { 0, 16,     0x1021 },
-    [AV_CRC_24_IEEE]    = { 0, 24,   0x864CFB },
-    [AV_CRC_32_IEEE]    = { 0, 32, 0x04C11DB7 },
-    [AV_CRC_32_IEEE_LE] = { 1, 32, 0xEDB88320 },
-    [AV_CRC_16_ANSI_LE] = { 1, 16,     0xA001 },
-};
-static AVCRC av_crc_table[AV_CRC_MAX][CRC_TABLE_SIZE];
-#endif
+#include "crc_tables.h"
 
 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size)
 {
@@ -342,16 +60,7 @@ int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size)
 
 const AVCRC *av_crc_get_table(AVCRCId crc_id)
 {
-#if !CONFIG_HARDCODED_TABLES
-    if (!av_crc_table[crc_id][FF_ARRAY_ELEMS(av_crc_table[crc_id]) - 1])
-        if (av_crc_init(av_crc_table[crc_id],
-                        av_crc_table_params[crc_id].le,
-                        av_crc_table_params[crc_id].bits,
-                        av_crc_table_params[crc_id].poly,
-                        sizeof(av_crc_table[crc_id])) < 0)
-            return NULL;
-#endif
-    return av_crc_table[crc_id];
+    return ff_crc_table[crc_id];
 }
 
 uint32_t av_crc(const AVCRC *ctx, uint32_t crc,
diff --git a/libavutil/crc_tables.c b/libavutil/crc_tables.c
new file mode 100644
index 0000000000..7190070d84
--- /dev/null
+++ b/libavutil/crc_tables.c
@@ -0,0 +1,1030 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "config.h"
+
+#include "crc.h"
+#include "crc_tables.h"
+
+const AVCRC ff_crc_table[AV_CRC_MAX][CRC_TABLE_SIZE] = {
+    [AV_CRC_8_ATM] = {
+        0x00, 0x07, 0x0E, 0x09, 0x1C, 0x1B, 0x12, 0x15, 0x38, 0x3F, 0x36, 0x31,
+        0x24, 0x23, 0x2A, 0x2D, 0x70, 0x77, 0x7E, 0x79, 0x6C, 0x6B, 0x62, 0x65,
+        0x48, 0x4F, 0x46, 0x41, 0x54, 0x53, 0x5A, 0x5D, 0xE0, 0xE7, 0xEE, 0xE9,
+        0xFC, 0xFB, 0xF2, 0xF5, 0xD8, 0xDF, 0xD6, 0xD1, 0xC4, 0xC3, 0xCA, 0xCD,
+        0x90, 0x97, 0x9E, 0x99, 0x8C, 0x8B, 0x82, 0x85, 0xA8, 0xAF, 0xA6, 0xA1,
+        0xB4, 0xB3, 0xBA, 0xBD, 0xC7, 0xC0, 0xC9, 0xCE, 0xDB, 0xDC, 0xD5, 0xD2,
+        0xFF, 0xF8, 0xF1, 0xF6, 0xE3, 0xE4, 0xED, 0xEA, 0xB7, 0xB0, 0xB9, 0xBE,
+        0xAB, 0xAC, 0xA5, 0xA2, 0x8F, 0x88, 0x81, 0x86, 0x93, 0x94, 0x9D, 0x9A,
+        0x27, 0x20, 0x29, 0x2E, 0x3B, 0x3C, 0x35, 0x32, 0x1F, 0x18, 0x11, 0x16,
+        0x03, 0x04, 0x0D, 0x0A, 0x57, 0x50, 0x59, 0x5E, 0x4B, 0x4C, 0x45, 0x42,
+        0x6F, 0x68, 0x61, 0x66, 0x73, 0x74, 0x7D, 0x7A, 0x89, 0x8E, 0x87, 0x80,
+        0x95, 0x92, 0x9B, 0x9C, 0xB1, 0xB6, 0xBF, 0xB8, 0xAD, 0xAA, 0xA3, 0xA4,
+        0xF9, 0xFE, 0xF7, 0xF0, 0xE5, 0xE2, 0xEB, 0xEC, 0xC1, 0xC6, 0xCF, 0xC8,
+        0xDD, 0xDA, 0xD3, 0xD4, 0x69, 0x6E, 0x67, 0x60, 0x75, 0x72, 0x7B, 0x7C,
+        0x51, 0x56, 0x5F, 0x58, 0x4D, 0x4A, 0x43, 0x44, 0x19, 0x1E, 0x17, 0x10,
+        0x05, 0x02, 0x0B, 0x0C, 0x21, 0x26, 0x2F, 0x28, 0x3D, 0x3A, 0x33, 0x34,
+        0x4E, 0x49, 0x40, 0x47, 0x52, 0x55, 0x5C, 0x5B, 0x76, 0x71, 0x78, 0x7F,
+        0x6A, 0x6D, 0x64, 0x63, 0x3E, 0x39, 0x30, 0x37, 0x22, 0x25, 0x2C, 0x2B,
+        0x06, 0x01, 0x08, 0x0F, 0x1A, 0x1D, 0x14, 0x13, 0xAE, 0xA9, 0xA0, 0xA7,
+        0xB2, 0xB5, 0xBC, 0xBB, 0x96, 0x91, 0x98, 0x9F, 0x8A, 0x8D, 0x84, 0x83,
+        0xDE, 0xD9, 0xD0, 0xD7, 0xC2, 0xC5, 0xCC, 0xCB, 0xE6, 0xE1, 0xE8, 0xEF,
+        0xFA, 0xFD, 0xF4, 0xF3,
+#if CONFIG_SMALL
+                                0x01
+#else
+                                0x00, 0x15, 0x2A, 0x3F, 0x54, 0x41, 0x7E, 0x6B,
+        0xA8, 0xBD, 0x82, 0x97, 0xFC, 0xE9, 0xD6, 0xC3, 0x57, 0x42, 0x7D, 0x68,
+        0x03, 0x16, 0x29, 0x3C, 0xFF, 0xEA, 0xD5, 0xC0, 0xAB, 0xBE, 0x81, 0x94,
+        0xAE, 0xBB, 0x84, 0x91, 0xFA, 0xEF, 0xD0, 0xC5, 0x06, 0x13, 0x2C, 0x39,
+        0x52, 0x47, 0x78, 0x6D, 0xF9, 0xEC, 0xD3, 0xC6, 0xAD, 0xB8, 0x87, 0x92,
+        0x51, 0x44, 0x7B, 0x6E, 0x05, 0x10, 0x2F, 0x3A, 0x5B, 0x4E, 0x71, 0x64,
+        0x0F, 0x1A, 0x25, 0x30, 0xF3, 0xE6, 0xD9, 0xCC, 0xA7, 0xB2, 0x8D, 0x98,
+        0x0C, 0x19, 0x26, 0x33, 0x58, 0x4D, 0x72, 0x67, 0xA4, 0xB1, 0x8E, 0x9B,
+        0xF0, 0xE5, 0xDA, 0xCF, 0xF5, 0xE0, 0xDF, 0xCA, 0xA1, 0xB4, 0x8B, 0x9E,
+        0x5D, 0x48, 0x77, 0x62, 0x09, 0x1C, 0x23, 0x36, 0xA2, 0xB7, 0x88, 0x9D,
+        0xF6, 0xE3, 0xDC, 0xC9, 0x0A, 0x1F, 0x20, 0x35, 0x5E, 0x4B, 0x74, 0x61,
+        0xB6, 0xA3, 0x9C, 0x89, 0xE2, 0xF7, 0xC8, 0xDD, 0x1E, 0x0B, 0x34, 0x21,
+        0x4A, 0x5F, 0x60, 0x75, 0xE1, 0xF4, 0xCB, 0xDE, 0xB5, 0xA0, 0x9F, 0x8A,
+        0x49, 0x5C, 0x63, 0x76, 0x1D, 0x08, 0x37, 0x22, 0x18, 0x0D, 0x32, 0x27,
+        0x4C, 0x59, 0x66, 0x73, 0xB0, 0xA5, 0x9A, 0x8F, 0xE4, 0xF1, 0xCE, 0xDB,
+        0x4F, 0x5A, 0x65, 0x70, 0x1B, 0x0E, 0x31, 0x24, 0xE7, 0xF2, 0xCD, 0xD8,
+        0xB3, 0xA6, 0x99, 0x8C, 0xED, 0xF8, 0xC7, 0xD2, 0xB9, 0xAC, 0x93, 0x86,
+        0x45, 0x50, 0x6F, 0x7A, 0x11, 0x04, 0x3B, 0x2E, 0xBA, 0xAF, 0x90, 0x85,
+        0xEE, 0xFB, 0xC4, 0xD1, 0x12, 0x07, 0x38, 0x2D, 0x46, 0x53, 0x6C, 0x79,
+        0x43, 0x56, 0x69, 0x7C, 0x17, 0x02, 0x3D, 0x28, 0xEB, 0xFE, 0xC1, 0xD4,
+        0xBF, 0xAA, 0x95, 0x80, 0x14, 0x01, 0x3E, 0x2B, 0x40, 0x55, 0x6A, 0x7F,
+        0xBC, 0xA9, 0x96, 0x83, 0xE8, 0xFD, 0xC2, 0xD7, 0x00, 0x6B, 0xD6, 0xBD,
+        0xAB, 0xC0, 0x7D, 0x16, 0x51, 0x3A, 0x87, 0xEC, 0xFA, 0x91, 0x2C, 0x47,
+        0xA2, 0xC9, 0x74, 0x1F, 0x09, 0x62, 0xDF, 0xB4, 0xF3, 0x98, 0x25, 0x4E,
+        0x58, 0x33, 0x8E, 0xE5, 0x43, 0x28, 0x95, 0xFE, 0xE8, 0x83, 0x3E, 0x55,
+        0x12, 0x79, 0xC4, 0xAF, 0xB9, 0xD2, 0x6F, 0x04, 0xE1, 0x8A, 0x37, 0x5C,
+        0x4A, 0x21, 0x9C, 0xF7, 0xB0, 0xDB, 0x66, 0x0D, 0x1B, 0x70, 0xCD, 0xA6,
+        0x86, 0xED, 0x50, 0x3B, 0x2D, 0x46, 0xFB, 0x90, 0xD7, 0xBC, 0x01, 0x6A,
+        0x7C, 0x17, 0xAA, 0xC1, 0x24, 0x4F, 0xF2, 0x99, 0x8F, 0xE4, 0x59, 0x32,
+        0x75, 0x1E, 0xA3, 0xC8, 0xDE, 0xB5, 0x08, 0x63, 0xC5, 0xAE, 0x13, 0x78,
+        0x6E, 0x05, 0xB8, 0xD3, 0x94, 0xFF, 0x42, 0x29, 0x3F, 0x54, 0xE9, 0x82,
+        0x67, 0x0C, 0xB1, 0xDA, 0xCC, 0xA7, 0x1A, 0x71, 0x36, 0x5D, 0xE0, 0x8B,
+        0x9D, 0xF6, 0x4B, 0x20, 0x0B, 0x60, 0xDD, 0xB6, 0xA0, 0xCB, 0x76, 0x1D,
+        0x5A, 0x31, 0x8C, 0xE7, 0xF1, 0x9A, 0x27, 0x4C, 0xA9, 0xC2, 0x7F, 0x14,
+        0x02, 0x69, 0xD4, 0xBF, 0xF8, 0x93, 0x2E, 0x45, 0x53, 0x38, 0x85, 0xEE,
+        0x48, 0x23, 0x9E, 0xF5, 0xE3, 0x88, 0x35, 0x5E, 0x19, 0x72, 0xCF, 0xA4,
+        0xB2, 0xD9, 0x64, 0x0F, 0xEA, 0x81, 0x3C, 0x57, 0x41, 0x2A, 0x97, 0xFC,
+        0xBB, 0xD0, 0x6D, 0x06, 0x10, 0x7B, 0xC6, 0xAD, 0x8D, 0xE6, 0x5B, 0x30,
+        0x26, 0x4D, 0xF0, 0x9B, 0xDC, 0xB7, 0x0A, 0x61, 0x77, 0x1C, 0xA1, 0xCA,
+        0x2F, 0x44, 0xF9, 0x92, 0x84, 0xEF, 0x52, 0x39, 0x7E, 0x15, 0xA8, 0xC3,
+        0xD5, 0xBE, 0x03, 0x68, 0xCE, 0xA5, 0x18, 0x73, 0x65, 0x0E, 0xB3, 0xD8,
+        0x9F, 0xF4, 0x49, 0x22, 0x34, 0x5F, 0xE2, 0x89, 0x6C, 0x07, 0xBA, 0xD1,
+        0xC7, 0xAC, 0x11, 0x7A, 0x3D, 0x56, 0xEB, 0x80, 0x96, 0xFD, 0x40, 0x2B,
+        0x00, 0x16, 0x2C, 0x3A, 0x58, 0x4E, 0x74, 0x62, 0xB0, 0xA6, 0x9C, 0x8A,
+        0xE8, 0xFE, 0xC4, 0xD2, 0x67, 0x71, 0x4B, 0x5D, 0x3F, 0x29, 0x13, 0x05,
+        0xD7, 0xC1, 0xFB, 0xED, 0x8F, 0x99, 0xA3, 0xB5, 0xCE, 0xD8, 0xE2, 0xF4,
+        0x96, 0x80, 0xBA, 0xAC, 0x7E, 0x68, 0x52, 0x44, 0x26, 0x30, 0x0A, 0x1C,
+        0xA9, 0xBF, 0x85, 0x93, 0xF1, 0xE7, 0xDD, 0xCB, 0x19, 0x0F, 0x35, 0x23,
+        0x41, 0x57, 0x6D, 0x7B, 0x9B, 0x8D, 0xB7, 0xA1, 0xC3, 0xD5, 0xEF, 0xF9,
+        0x2B, 0x3D, 0x07, 0x11, 0x73, 0x65, 0x5F, 0x49, 0xFC, 0xEA, 0xD0, 0xC6,
+        0xA4, 0xB2, 0x88, 0x9E, 0x4C, 0x5A, 0x60, 0x76, 0x14, 0x02, 0x38, 0x2E,
+        0x55, 0x43, 0x79, 0x6F, 0x0D, 0x1B, 0x21, 0x37, 0xE5, 0xF3, 0xC9, 0xDF,
+        0xBD, 0xAB, 0x91, 0x87, 0x32, 0x24, 0x1E, 0x08, 0x6A, 0x7C, 0x46, 0x50,
+        0x82, 0x94, 0xAE, 0xB8, 0xDA, 0xCC, 0xF6, 0xE0, 0x31, 0x27, 0x1D, 0x0B,
+        0x69, 0x7F, 0x45, 0x53, 0x81, 0x97, 0xAD, 0xBB, 0xD9, 0xCF, 0xF5, 0xE3,
+        0x56, 0x40, 0x7A, 0x6C, 0x0E, 0x18, 0x22, 0x34, 0xE6, 0xF0, 0xCA, 0xDC,
+        0xBE, 0xA8, 0x92, 0x84, 0xFF, 0xE9, 0xD3, 0xC5, 0xA7, 0xB1, 0x8B, 0x9D,
+        0x4F, 0x59, 0x63, 0x75, 0x17, 0x01, 0x3B, 0x2D, 0x98, 0x8E, 0xB4, 0xA2,
+        0xC0, 0xD6, 0xEC, 0xFA, 0x28, 0x3E, 0x04, 0x12, 0x70, 0x66, 0x5C, 0x4A,
+        0xAA, 0xBC, 0x86, 0x90, 0xF2, 0xE4, 0xDE, 0xC8, 0x1A, 0x0C, 0x36, 0x20,
+        0x42, 0x54, 0x6E, 0x78, 0xCD, 0xDB, 0xE1, 0xF7, 0x95, 0x83, 0xB9, 0xAF,
+        0x7D, 0x6B, 0x51, 0x47, 0x25, 0x33, 0x09, 0x1F, 0x64, 0x72, 0x48, 0x5E,
+        0x3C, 0x2A, 0x10, 0x06, 0xD4, 0xC2, 0xF8, 0xEE, 0x8C, 0x9A, 0xA0, 0xB6,
+        0x03, 0x15, 0x2F, 0x39, 0x5B, 0x4D, 0x77, 0x61, 0xB3, 0xA5, 0x9F, 0x89,
+        0xEB, 0xFD, 0xC7, 0xD1
+#endif
+    },
+    [AV_CRC_16_ANSI] = {
+        0x0000, 0x0580, 0x0F80, 0x0A00, 0x1B80, 0x1E00, 0x1400, 0x1180,
+        0x3380, 0x3600, 0x3C00, 0x3980, 0x2800, 0x2D80, 0x2780, 0x2200,
+        0x6380, 0x6600, 0x6C00, 0x6980, 0x7800, 0x7D80, 0x7780, 0x7200,
+        0x5000, 0x5580, 0x5F80, 0x5A00, 0x4B80, 0x4E00, 0x4400, 0x4180,
+        0xC380, 0xC600, 0xCC00, 0xC980, 0xD800, 0xDD80, 0xD780, 0xD200,
+        0xF000, 0xF580, 0xFF80, 0xFA00, 0xEB80, 0xEE00, 0xE400, 0xE180,
+        0xA000, 0xA580, 0xAF80, 0xAA00, 0xBB80, 0xBE00, 0xB400, 0xB180,
+        0x9380, 0x9600, 0x9C00, 0x9980, 0x8800, 0x8D80, 0x8780, 0x8200,
+        0x8381, 0x8601, 0x8C01, 0x8981, 0x9801, 0x9D81, 0x9781, 0x9201,
+        0xB001, 0xB581, 0xBF81, 0xBA01, 0xAB81, 0xAE01, 0xA401, 0xA181,
+        0xE001, 0xE581, 0xEF81, 0xEA01, 0xFB81, 0xFE01, 0xF401, 0xF181,
+        0xD381, 0xD601, 0xDC01, 0xD981, 0xC801, 0xCD81, 0xC781, 0xC201,
+        0x4001, 0x4581, 0x4F81, 0x4A01, 0x5B81, 0x5E01, 0x5401, 0x5181,
+        0x7381, 0x7601, 0x7C01, 0x7981, 0x6801, 0x6D81, 0x6781, 0x6201,
+        0x2381, 0x2601, 0x2C01, 0x2981, 0x3801, 0x3D81, 0x3781, 0x3201,
+        0x1001, 0x1581, 0x1F81, 0x1A01, 0x0B81, 0x0E01, 0x0401, 0x0181,
+        0x0383, 0x0603, 0x0C03, 0x0983, 0x1803, 0x1D83, 0x1783, 0x1203,
+        0x3003, 0x3583, 0x3F83, 0x3A03, 0x2B83, 0x2E03, 0x2403, 0x2183,
+        0x6003, 0x6583, 0x6F83, 0x6A03, 0x7B83, 0x7E03, 0x7403, 0x7183,
+        0x5383, 0x5603, 0x5C03, 0x5983, 0x4803, 0x4D83, 0x4783, 0x4203,
+        0xC003, 0xC583, 0xCF83, 0xCA03, 0xDB83, 0xDE03, 0xD403, 0xD183,
+        0xF383, 0xF603, 0xFC03, 0xF983, 0xE803, 0xED83, 0xE783, 0xE203,
+        0xA383, 0xA603, 0xAC03, 0xA983, 0xB803, 0xBD83, 0xB783, 0xB203,
+        0x9003, 0x9583, 0x9F83, 0x9A03, 0x8B83, 0x8E03, 0x8403, 0x8183,
+        0x8002, 0x8582, 0x8F82, 0x8A02, 0x9B82, 0x9E02, 0x9402, 0x9182,
+        0xB382, 0xB602, 0xBC02, 0xB982, 0xA802, 0xAD82, 0xA782, 0xA202,
+        0xE382, 0xE602, 0xEC02, 0xE982, 0xF802, 0xFD82, 0xF782, 0xF202,
+        0xD002, 0xD582, 0xDF82, 0xDA02, 0xCB82, 0xCE02, 0xC402, 0xC182,
+        0x4382, 0x4602, 0x4C02, 0x4982, 0x5802, 0x5D82, 0x5782, 0x5202,
+        0x7002, 0x7582, 0x7F82, 0x7A02, 0x6B82, 0x6E02, 0x6402, 0x6182,
+        0x2002, 0x2582, 0x2F82, 0x2A02, 0x3B82, 0x3E02, 0x3402, 0x3182,
+        0x1382, 0x1602, 0x1C02, 0x1982, 0x0802, 0x0D82, 0x0782, 0x0202,
+#if CONFIG_SMALL
+        0x0001
+#else
+        0x0000, 0x0386, 0x038C, 0x000A, 0x0398, 0x001E, 0x0014, 0x0392,
+        0x03B0, 0x0036, 0x003C, 0x03BA, 0x0028, 0x03AE, 0x03A4, 0x0022,
+        0x03E0, 0x0066, 0x006C, 0x03EA, 0x0078, 0x03FE, 0x03F4, 0x0072,
+        0x0050, 0x03D6, 0x03DC, 0x005A, 0x03C8, 0x004E, 0x0044, 0x03C2,
+        0x0340, 0x00C6, 0x00CC, 0x034A, 0x00D8, 0x035E, 0x0354, 0x00D2,
+        0x00F0, 0x0376, 0x037C, 0x00FA, 0x0368, 0x00EE, 0x00E4, 0x0362,
+        0x00A0, 0x0326, 0x032C, 0x00AA, 0x0338, 0x00BE, 0x00B4, 0x0332,
+        0x0310, 0x0096, 0x009C, 0x031A, 0x0088, 0x030E, 0x0304, 0x0082,
+        0x0680, 0x0506, 0x050C, 0x068A, 0x0518, 0x069E, 0x0694, 0x0512,
+        0x0530, 0x06B6, 0x06BC, 0x053A, 0x06A8, 0x052E, 0x0524, 0x06A2,
+        0x0560, 0x06E6, 0x06EC, 0x056A, 0x06F8, 0x057E, 0x0574, 0x06F2,
+        0x06D0, 0x0556, 0x055C, 0x06DA, 0x0548, 0x06CE, 0x06C4, 0x0542,
+        0x05C0, 0x0646, 0x064C, 0x05CA, 0x0658, 0x05DE, 0x05D4, 0x0652,
+        0x0670, 0x05F6, 0x05FC, 0x067A, 0x05E8, 0x066E, 0x0664, 0x05E2,
+        0x0620, 0x05A6, 0x05AC, 0x062A, 0x05B8, 0x063E, 0x0634, 0x05B2,
+        0x0590, 0x0616, 0x061C, 0x059A, 0x0608, 0x058E, 0x0584, 0x0602,
+        0x0980, 0x0A06, 0x0A0C, 0x098A, 0x0A18, 0x099E, 0x0994, 0x0A12,
+        0x0A30, 0x09B6, 0x09BC, 0x0A3A, 0x09A8, 0x0A2E, 0x0A24, 0x09A2,
+        0x0A60, 0x09E6, 0x09EC, 0x0A6A, 0x09F8, 0x0A7E, 0x0A74, 0x09F2,
+        0x09D0, 0x0A56, 0x0A5C, 0x09DA, 0x0A48, 0x09CE, 0x09C4, 0x0A42,
+        0x0AC0, 0x0946, 0x094C, 0x0ACA, 0x0958, 0x0ADE, 0x0AD4, 0x0952,
+        0x0970, 0x0AF6, 0x0AFC, 0x097A, 0x0AE8, 0x096E, 0x0964, 0x0AE2,
+        0x0920, 0x0AA6, 0x0AAC, 0x092A, 0x0AB8, 0x093E, 0x0934, 0x0AB2,
+        0x0A90, 0x0916, 0x091C, 0x0A9A, 0x0908, 0x0A8E, 0x0A84, 0x0902,
+        0x0F00, 0x0C86, 0x0C8C, 0x0F0A, 0x0C98, 0x0F1E, 0x0F14, 0x0C92,
+        0x0CB0, 0x0F36, 0x0F3C, 0x0CBA, 0x0F28, 0x0CAE, 0x0CA4, 0x0F22,
+        0x0CE0, 0x0F66, 0x0F6C, 0x0CEA, 0x0F78, 0x0CFE, 0x0CF4, 0x0F72,
+        0x0F50, 0x0CD6, 0x0CDC, 0x0F5A, 0x0CC8, 0x0F4E, 0x0F44, 0x0CC2,
+        0x0C40, 0x0FC6, 0x0FCC, 0x0C4A, 0x0FD8, 0x0C5E, 0x0C54, 0x0FD2,
+        0x0FF0, 0x0C76, 0x0C7C, 0x0FFA, 0x0C68, 0x0FEE, 0x0FE4, 0x0C62,
+        0x0FA0, 0x0C26, 0x0C2C, 0x0FAA, 0x0C38, 0x0FBE, 0x0FB4, 0x0C32,
+        0x0C10, 0x0F96, 0x0F9C, 0x0C1A, 0x0F88, 0x0C0E, 0x0C04, 0x0F82,
+        0x0000, 0x1780, 0x2B80, 0x3C00, 0x5380, 0x4400, 0x7800, 0x6F80,
+        0xA380, 0xB400, 0x8800, 0x9F80, 0xF000, 0xE780, 0xDB80, 0xCC00,
+        0x4381, 0x5401, 0x6801, 0x7F81, 0x1001, 0x0781, 0x3B81, 0x2C01,
+        0xE001, 0xF781, 0xCB81, 0xDC01, 0xB381, 0xA401, 0x9801, 0x8F81,
+        0x8382, 0x9402, 0xA802, 0xBF82, 0xD002, 0xC782, 0xFB82, 0xEC02,
+        0x2002, 0x3782, 0x0B82, 0x1C02, 0x7382, 0x6402, 0x5802, 0x4F82,
+        0xC003, 0xD783, 0xEB83, 0xFC03, 0x9383, 0x8403, 0xB803, 0xAF83,
+        0x6383, 0x7403, 0x4803, 0x5F83, 0x3003, 0x2783, 0x1B83, 0x0C03,
+        0x0385, 0x1405, 0x2805, 0x3F85, 0x5005, 0x4785, 0x7B85, 0x6C05,
+        0xA005, 0xB785, 0x8B85, 0x9C05, 0xF385, 0xE405, 0xD805, 0xCF85,
+        0x4004, 0x5784, 0x6B84, 0x7C04, 0x1384, 0x0404, 0x3804, 0x2F84,
+        0xE384, 0xF404, 0xC804, 0xDF84, 0xB004, 0xA784, 0x9B84, 0x8C04,
+        0x8007, 0x9787, 0xAB87, 0xBC07, 0xD387, 0xC407, 0xF807, 0xEF87,
+        0x2387, 0x3407, 0x0807, 0x1F87, 0x7007, 0x6787, 0x5B87, 0x4C07,
+        0xC386, 0xD406, 0xE806, 0xFF86, 0x9006, 0x8786, 0xBB86, 0xAC06,
+        0x6006, 0x7786, 0x4B86, 0x5C06, 0x3386, 0x2406, 0x1806, 0x0F86,
+        0x038A, 0x140A, 0x280A, 0x3F8A, 0x500A, 0x478A, 0x7B8A, 0x6C0A,
+        0xA00A, 0xB78A, 0x8B8A, 0x9C0A, 0xF38A, 0xE40A, 0xD80A, 0xCF8A,
+        0x400B, 0x578B, 0x6B8B, 0x7C0B, 0x138B, 0x040B, 0x380B, 0x2F8B,
+        0xE38B, 0xF40B, 0xC80B, 0xDF8B, 0xB00B, 0xA78B, 0x9B8B, 0x8C0B,
+        0x8008, 0x9788, 0xAB88, 0xBC08, 0xD388, 0xC408, 0xF808, 0xEF88,
+        0x2388, 0x3408, 0x0808, 0x1F88, 0x7008, 0x6788, 0x5B88, 0x4C08,
+        0xC389, 0xD409, 0xE809, 0xFF89, 0x9009, 0x8789, 0xBB89, 0xAC09,
+        0x6009, 0x7789, 0x4B89, 0x5C09, 0x3389, 0x2409, 0x1809, 0x0F89,
+        0x000F, 0x178F, 0x2B8F, 0x3C0F, 0x538F, 0x440F, 0x780F, 0x6F8F,
+        0xA38F, 0xB40F, 0x880F, 0x9F8F, 0xF00F, 0xE78F, 0xDB8F, 0xCC0F,
+        0x438E, 0x540E, 0x680E, 0x7F8E, 0x100E, 0x078E, 0x3B8E, 0x2C0E,
+        0xE00E, 0xF78E, 0xCB8E, 0xDC0E, 0xB38E, 0xA40E, 0x980E, 0x8F8E,
+        0x838D, 0x940D, 0xA80D, 0xBF8D, 0xD00D, 0xC78D, 0xFB8D, 0xEC0D,
+        0x200D, 0x378D, 0x0B8D, 0x1C0D, 0x738D, 0x640D, 0x580D, 0x4F8D,
+        0xC00C, 0xD78C, 0xEB8C, 0xFC0C, 0x938C, 0x840C, 0xB80C, 0xAF8C,
+        0x638C, 0x740C, 0x480C, 0x5F8C, 0x300C, 0x278C, 0x1B8C, 0x0C0C,
+        0x0000, 0x0394, 0x03A8, 0x003C, 0x03D0, 0x0044, 0x0078, 0x03EC,
+        0x0320, 0x00B4, 0x0088, 0x031C, 0x00F0, 0x0364, 0x0358, 0x00CC,
+        0x0640, 0x05D4, 0x05E8, 0x067C, 0x0590, 0x0604, 0x0638, 0x05AC,
+        0x0560, 0x06F4, 0x06C8, 0x055C, 0x06B0, 0x0524, 0x0518, 0x068C,
+        0x0C80, 0x0F14, 0x0F28, 0x0CBC, 0x0F50, 0x0CC4, 0x0CF8, 0x0F6C,
+        0x0FA0, 0x0C34, 0x0C08, 0x0F9C, 0x0C70, 0x0FE4, 0x0FD8, 0x0C4C,
+        0x0AC0, 0x0954, 0x0968, 0x0AFC, 0x0910, 0x0A84, 0x0AB8, 0x092C,
+        0x09E0, 0x0A74, 0x0A48, 0x09DC, 0x0A30, 0x09A4, 0x0998, 0x0A0C,
+        0x1D80, 0x1E14, 0x1E28, 0x1DBC, 0x1E50, 0x1DC4, 0x1DF8, 0x1E6C,
+        0x1EA0, 0x1D34, 0x1D08, 0x1E9C, 0x1D70, 0x1EE4, 0x1ED8, 0x1D4C,
+        0x1BC0, 0x1854, 0x1868, 0x1BFC, 0x1810, 0x1B84, 0x1BB8, 0x182C,
+        0x18E0, 0x1B74, 0x1B48, 0x18DC, 0x1B30, 0x18A4, 0x1898, 0x1B0C,
+        0x1100, 0x1294, 0x12A8, 0x113C, 0x12D0, 0x1144, 0x1178, 0x12EC,
+        0x1220, 0x11B4, 0x1188, 0x121C, 0x11F0, 0x1264, 0x1258, 0x11CC,
+        0x1740, 0x14D4, 0x14E8, 0x177C, 0x1490, 0x1704, 0x1738, 0x14AC,
+        0x1460, 0x17F4, 0x17C8, 0x145C, 0x17B0, 0x1424, 0x1418, 0x178C,
+        0x3F80, 0x3C14, 0x3C28, 0x3FBC, 0x3C50, 0x3FC4, 0x3FF8, 0x3C6C,
+        0x3CA0, 0x3F34, 0x3F08, 0x3C9C, 0x3F70, 0x3CE4, 0x3CD8, 0x3F4C,
+        0x39C0, 0x3A54, 0x3A68, 0x39FC, 0x3A10, 0x3984, 0x39B8, 0x3A2C,
+        0x3AE0, 0x3974, 0x3948, 0x3ADC, 0x3930, 0x3AA4, 0x3A98, 0x390C,
+        0x3300, 0x3094, 0x30A8, 0x333C, 0x30D0, 0x3344, 0x3378, 0x30EC,
+        0x3020, 0x33B4, 0x3388, 0x301C, 0x33F0, 0x3064, 0x3058, 0x33CC,
+        0x3540, 0x36D4, 0x36E8, 0x357C, 0x3690, 0x3504, 0x3538, 0x36AC,
+        0x3660, 0x35F4, 0x35C8, 0x365C, 0x35B0, 0x3624, 0x3618, 0x358C,
+        0x2200, 0x2194, 0x21A8, 0x223C, 0x21D0, 0x2244, 0x2278, 0x21EC,
+        0x2120, 0x22B4, 0x2288, 0x211C, 0x22F0, 0x2164, 0x2158, 0x22CC,
+        0x2440, 0x27D4, 0x27E8, 0x247C, 0x2790, 0x2404, 0x2438, 0x27AC,
+        0x2760, 0x24F4, 0x24C8, 0x275C, 0x24B0, 0x2724, 0x2718, 0x248C,
+        0x2E80, 0x2D14, 0x2D28, 0x2EBC, 0x2D50, 0x2EC4, 0x2EF8, 0x2D6C,
+        0x2DA0, 0x2E34, 0x2E08, 0x2D9C, 0x2E70, 0x2DE4, 0x2DD8, 0x2E4C,
+        0x28C0, 0x2B54, 0x2B68, 0x28FC, 0x2B10, 0x2884, 0x28B8, 0x2B2C,
+        0x2BE0, 0x2874, 0x2848, 0x2BDC, 0x2830, 0x2BA4, 0x2B98, 0x280C
+#endif
+    },
+    [AV_CRC_16_ANSI_LE] = {
+        0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241,
+        0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440,
+        0xCC01, 0x0CC0, 0x0D80, 0xCD41, 0x0F00, 0xCFC1, 0xCE81, 0x0E40,
+        0x0A00, 0xCAC1, 0xCB81, 0x0B40, 0xC901, 0x09C0, 0x0880, 0xC841,
+        0xD801, 0x18C0, 0x1980, 0xD941, 0x1B00, 0xDBC1, 0xDA81, 0x1A40,
+        0x1E00, 0xDEC1, 0xDF81, 0x1F40, 0xDD01, 0x1DC0, 0x1C80, 0xDC41,
+        0x1400, 0xD4C1, 0xD581, 0x1540, 0xD701, 0x17C0, 0x1680, 0xD641,
+        0xD201, 0x12C0, 0x1380, 0xD341, 0x1100, 0xD1C1, 0xD081, 0x1040,
+        0xF001, 0x30C0, 0x3180, 0xF141, 0x3300, 0xF3C1, 0xF281, 0x3240,
+        0x3600, 0xF6C1, 0xF781, 0x3740, 0xF501, 0x35C0, 0x3480, 0xF441,
+        0x3C00, 0xFCC1, 0xFD81, 0x3D40, 0xFF01, 0x3FC0, 0x3E80, 0xFE41,
+        0xFA01, 0x3AC0, 0x3B80, 0xFB41, 0x3900, 0xF9C1, 0xF881, 0x3840,
+        0x2800, 0xE8C1, 0xE981, 0x2940, 0xEB01, 0x2BC0, 0x2A80, 0xEA41,
+        0xEE01, 0x2EC0, 0x2F80, 0xEF41, 0x2D00, 0xEDC1, 0xEC81, 0x2C40,
+        0xE401, 0x24C0, 0x2580, 0xE541, 0x2700, 0xE7C1, 0xE681, 0x2640,
+        0x2200, 0xE2C1, 0xE381, 0x2340, 0xE101, 0x21C0, 0x2080, 0xE041,
+        0xA001, 0x60C0, 0x6180, 0xA141, 0x6300, 0xA3C1, 0xA281, 0x6240,
+        0x6600, 0xA6C1, 0xA781, 0x6740, 0xA501, 0x65C0, 0x6480, 0xA441,
+        0x6C00, 0xACC1, 0xAD81, 0x6D40, 0xAF01, 0x6FC0, 0x6E80, 0xAE41,
+        0xAA01, 0x6AC0, 0x6B80, 0xAB41, 0x6900, 0xA9C1, 0xA881, 0x6840,
+        0x7800, 0xB8C1, 0xB981, 0x7940, 0xBB01, 0x7BC0, 0x7A80, 0xBA41,
+        0xBE01, 0x7EC0, 0x7F80, 0xBF41, 0x7D00, 0xBDC1, 0xBC81, 0x7C40,
+        0xB401, 0x74C0, 0x7580, 0xB541, 0x7700, 0xB7C1, 0xB681, 0x7640,
+        0x7200, 0xB2C1, 0xB381, 0x7340, 0xB101, 0x71C0, 0x7080, 0xB041,
+        0x5000, 0x90C1, 0x9181, 0x5140, 0x9301, 0x53C0, 0x5280, 0x9241,
+        0x9601, 0x56C0, 0x5780, 0x9741, 0x5500, 0x95C1, 0x9481, 0x5440,
+        0x9C01, 0x5CC0, 0x5D80, 0x9D41, 0x5F00, 0x9FC1, 0x9E81, 0x5E40,
+        0x5A00, 0x9AC1, 0x9B81, 0x5B40, 0x9901, 0x59C0, 0x5880, 0x9841,
+        0x8801, 0x48C0, 0x4980, 0x8941, 0x4B00, 0x8BC1, 0x8A81, 0x4A40,
+        0x4E00, 0x8EC1, 0x8F81, 0x4F40, 0x8D01, 0x4DC0, 0x4C80, 0x8C41,
+        0x4400, 0x84C1, 0x8581, 0x4540, 0x8701, 0x47C0, 0x4680, 0x8641,
+        0x8201, 0x42C0, 0x4380, 0x8341, 0x4100, 0x81C1, 0x8081, 0x4040,
+#if CONFIG_SMALL
+        0x0001
+#else
+        0x0000, 0x9001, 0x6001, 0xF000, 0xC002, 0x5003, 0xA003, 0x3002,
+        0xC007, 0x5006, 0xA006, 0x3007, 0x0005, 0x9004, 0x6004, 0xF005,
+        0xC00D, 0x500C, 0xA00C, 0x300D, 0x000F, 0x900E, 0x600E, 0xF00F,
+        0x000A, 0x900B, 0x600B, 0xF00A, 0xC008, 0x5009, 0xA009, 0x3008,
+        0xC019, 0x5018, 0xA018, 0x3019, 0x001B, 0x901A, 0x601A, 0xF01B,
+        0x001E, 0x901F, 0x601F, 0xF01E, 0xC01C, 0x501D, 0xA01D, 0x301C,
+        0x0014, 0x9015, 0x6015, 0xF014, 0xC016, 0x5017, 0xA017, 0x3016,
+        0xC013, 0x5012, 0xA012, 0x3013, 0x0011, 0x9010, 0x6010, 0xF011,
+        0xC031, 0x5030, 0xA030, 0x3031, 0x0033, 0x9032, 0x6032, 0xF033,
+        0x0036, 0x9037, 0x6037, 0xF036, 0xC034, 0x5035, 0xA035, 0x3034,
+        0x003C, 0x903D, 0x603D, 0xF03C, 0xC03E, 0x503F, 0xA03F, 0x303E,
+        0xC03B, 0x503A, 0xA03A, 0x303B, 0x0039, 0x9038, 0x6038, 0xF039,
+        0x0028, 0x9029, 0x6029, 0xF028, 0xC02A, 0x502B, 0xA02B, 0x302A,
+        0xC02F, 0x502E, 0xA02E, 0x302F, 0x002D, 0x902C, 0x602C, 0xF02D,
+        0xC025, 0x5024, 0xA024, 0x3025, 0x0027, 0x9026, 0x6026, 0xF027,
+        0x0022, 0x9023, 0x6023, 0xF022, 0xC020, 0x5021, 0xA021, 0x3020,
+        0xC061, 0x5060, 0xA060, 0x3061, 0x0063, 0x9062, 0x6062, 0xF063,
+        0x0066, 0x9067, 0x6067, 0xF066, 0xC064, 0x5065, 0xA065, 0x3064,
+        0x006C, 0x906D, 0x606D, 0xF06C, 0xC06E, 0x506F, 0xA06F, 0x306E,
+        0xC06B, 0x506A, 0xA06A, 0x306B, 0x0069, 0x9068, 0x6068, 0xF069,
+        0x0078, 0x9079, 0x6079, 0xF078, 0xC07A, 0x507B, 0xA07B, 0x307A,
+        0xC07F, 0x507E, 0xA07E, 0x307F, 0x007D, 0x907C, 0x607C, 0xF07D,
+        0xC075, 0x5074, 0xA074, 0x3075, 0x0077, 0x9076, 0x6076, 0xF077,
+        0x0072, 0x9073, 0x6073, 0xF072, 0xC070, 0x5071, 0xA071, 0x3070,
+        0x0050, 0x9051, 0x6051, 0xF050, 0xC052, 0x5053, 0xA053, 0x3052,
+        0xC057, 0x5056, 0xA056, 0x3057, 0x0055, 0x9054, 0x6054, 0xF055,
+        0xC05D, 0x505C, 0xA05C, 0x305D, 0x005F, 0x905E, 0x605E, 0xF05F,
+        0x005A, 0x905B, 0x605B, 0xF05A, 0xC058, 0x5059, 0xA059, 0x3058,
+        0xC049, 0x5048, 0xA048, 0x3049, 0x004B, 0x904A, 0x604A, 0xF04B,
+        0x004E, 0x904F, 0x604F, 0xF04E, 0xC04C, 0x504D, 0xA04D, 0x304C,
+        0x0044, 0x9045, 0x6045, 0xF044, 0xC046, 0x5047, 0xA047, 0x3046,
+        0xC043, 0x5042, 0xA042, 0x3043, 0x0041, 0x9040, 0x6040, 0xF041,
+        0x0000, 0xC051, 0xC0A1, 0x00F0, 0xC141, 0x0110, 0x01E0, 0xC1B1,
+        0xC281, 0x02D0, 0x0220, 0xC271, 0x03C0, 0xC391, 0xC361, 0x0330,
+        0xC501, 0x0550, 0x05A0, 0xC5F1, 0x0440, 0xC411, 0xC4E1, 0x04B0,
+        0x0780, 0xC7D1, 0xC721, 0x0770, 0xC6C1, 0x0690, 0x0660, 0xC631,
+        0xCA01, 0x0A50, 0x0AA0, 0xCAF1, 0x0B40, 0xCB11, 0xCBE1, 0x0BB0,
+        0x0880, 0xC8D1, 0xC821, 0x0870, 0xC9C1, 0x0990, 0x0960, 0xC931,
+        0x0F00, 0xCF51, 0xCFA1, 0x0FF0, 0xCE41, 0x0E10, 0x0EE0, 0xCEB1,
+        0xCD81, 0x0DD0, 0x0D20, 0xCD71, 0x0CC0, 0xCC91, 0xCC61, 0x0C30,
+        0xD401, 0x1450, 0x14A0, 0xD4F1, 0x1540, 0xD511, 0xD5E1, 0x15B0,
+        0x1680, 0xD6D1, 0xD621, 0x1670, 0xD7C1, 0x1790, 0x1760, 0xD731,
+        0x1100, 0xD151, 0xD1A1, 0x11F0, 0xD041, 0x1010, 0x10E0, 0xD0B1,
+        0xD381, 0x13D0, 0x1320, 0xD371, 0x12C0, 0xD291, 0xD261, 0x1230,
+        0x1E00, 0xDE51, 0xDEA1, 0x1EF0, 0xDF41, 0x1F10, 0x1FE0, 0xDFB1,
+        0xDC81, 0x1CD0, 0x1C20, 0xDC71, 0x1DC0, 0xDD91, 0xDD61, 0x1D30,
+        0xDB01, 0x1B50, 0x1BA0, 0xDBF1, 0x1A40, 0xDA11, 0xDAE1, 0x1AB0,
+        0x1980, 0xD9D1, 0xD921, 0x1970, 0xD8C1, 0x1890, 0x1860, 0xD831,
+        0xE801, 0x2850, 0x28A0, 0xE8F1, 0x2940, 0xE911, 0xE9E1, 0x29B0,
+        0x2A80, 0xEAD1, 0xEA21, 0x2A70, 0xEBC1, 0x2B90, 0x2B60, 0xEB31,
+        0x2D00, 0xED51, 0xEDA1, 0x2DF0, 0xEC41, 0x2C10, 0x2CE0, 0xECB1,
+        0xEF81, 0x2FD0, 0x2F20, 0xEF71, 0x2EC0, 0xEE91, 0xEE61, 0x2E30,
+        0x2200, 0xE251, 0xE2A1, 0x22F0, 0xE341, 0x2310, 0x23E0, 0xE3B1,
+        0xE081, 0x20D0, 0x2020, 0xE071, 0x21C0, 0xE191, 0xE161, 0x2130,
+        0xE701, 0x2750, 0x27A0, 0xE7F1, 0x2640, 0xE611, 0xE6E1, 0x26B0,
+        0x2580, 0xE5D1, 0xE521, 0x2570, 0xE4C1, 0x2490, 0x2460, 0xE431,
+        0x3C00, 0xFC51, 0xFCA1, 0x3CF0, 0xFD41, 0x3D10, 0x3DE0, 0xFDB1,
+        0xFE81, 0x3ED0, 0x3E20, 0xFE71, 0x3FC0, 0xFF91, 0xFF61, 0x3F30,
+        0xF901, 0x3950, 0x39A0, 0xF9F1, 0x3840, 0xF811, 0xF8E1, 0x38B0,
+        0x3B80, 0xFBD1, 0xFB21, 0x3B70, 0xFAC1, 0x3A90, 0x3A60, 0xFA31,
+        0xF601, 0x3650, 0x36A0, 0xF6F1, 0x3740, 0xF711, 0xF7E1, 0x37B0,
+        0x3480, 0xF4D1, 0xF421, 0x3470, 0xF5C1, 0x3590, 0x3560, 0xF531,
+        0x3300, 0xF351, 0xF3A1, 0x33F0, 0xF241, 0x3210, 0x32E0, 0xF2B1,
+        0xF181, 0x31D0, 0x3120, 0xF171, 0x30C0, 0xF091, 0xF061, 0x3030,
+        0x0000, 0xFC01, 0xB801, 0x4400, 0x3001, 0xCC00, 0x8800, 0x7401,
+        0x6002, 0x9C03, 0xD803, 0x2402, 0x5003, 0xAC02, 0xE802, 0x1403,
+        0xC004, 0x3C05, 0x7805, 0x8404, 0xF005, 0x0C04, 0x4804, 0xB405,
+        0xA006, 0x5C07, 0x1807, 0xE406, 0x9007, 0x6C06, 0x2806, 0xD407,
+        0xC00B, 0x3C0A, 0x780A, 0x840B, 0xF00A, 0x0C0B, 0x480B, 0xB40A,
+        0xA009, 0x5C08, 0x1808, 0xE409, 0x9008, 0x6C09, 0x2809, 0xD408,
+        0x000F, 0xFC0E, 0xB80E, 0x440F, 0x300E, 0xCC0F, 0x880F, 0x740E,
+        0x600D, 0x9C0C, 0xD80C, 0x240D, 0x500C, 0xAC0D, 0xE80D, 0x140C,
+        0xC015, 0x3C14, 0x7814, 0x8415, 0xF014, 0x0C15, 0x4815, 0xB414,
+        0xA017, 0x5C16, 0x1816, 0xE417, 0x9016, 0x6C17, 0x2817, 0xD416,
+        0x0011, 0xFC10, 0xB810, 0x4411, 0x3010, 0xCC11, 0x8811, 0x7410,
+        0x6013, 0x9C12, 0xD812, 0x2413, 0x5012, 0xAC13, 0xE813, 0x1412,
+        0x001E, 0xFC1F, 0xB81F, 0x441E, 0x301F, 0xCC1E, 0x881E, 0x741F,
+        0x601C, 0x9C1D, 0xD81D, 0x241C, 0x501D, 0xAC1C, 0xE81C, 0x141D,
+        0xC01A, 0x3C1B, 0x781B, 0x841A, 0xF01B, 0x0C1A, 0x481A, 0xB41B,
+        0xA018, 0x5C19, 0x1819, 0xE418, 0x9019, 0x6C18, 0x2818, 0xD419,
+        0xC029, 0x3C28, 0x7828, 0x8429, 0xF028, 0x0C29, 0x4829, 0xB428,
+        0xA02B, 0x5C2A, 0x182A, 0xE42B, 0x902A, 0x6C2B, 0x282B, 0xD42A,
+        0x002D, 0xFC2C, 0xB82C, 0x442D, 0x302C, 0xCC2D, 0x882D, 0x742C,
+        0x602F, 0x9C2E, 0xD82E, 0x242F, 0x502E, 0xAC2F, 0xE82F, 0x142E,
+        0x0022, 0xFC23, 0xB823, 0x4422, 0x3023, 0xCC22, 0x8822, 0x7423,
+        0x6020, 0x9C21, 0xD821, 0x2420, 0x5021, 0xAC20, 0xE820, 0x1421,
+        0xC026, 0x3C27, 0x7827, 0x8426, 0xF027, 0x0C26, 0x4826, 0xB427,
+        0xA024, 0x5C25, 0x1825, 0xE424, 0x9025, 0x6C24, 0x2824, 0xD425,
+        0x003C, 0xFC3D, 0xB83D, 0x443C, 0x303D, 0xCC3C, 0x883C, 0x743D,
+        0x603E, 0x9C3F, 0xD83F, 0x243E, 0x503F, 0xAC3E, 0xE83E, 0x143F,
+        0xC038, 0x3C39, 0x7839, 0x8438, 0xF039, 0x0C38, 0x4838, 0xB439,
+        0xA03A, 0x5C3B, 0x183B, 0xE43A, 0x903B, 0x6C3A, 0x283A, 0xD43B,
+        0xC037, 0x3C36, 0x7836, 0x8437, 0xF036, 0x0C37, 0x4837, 0xB436,
+        0xA035, 0x5C34, 0x1834, 0xE435, 0x9034, 0x6C35, 0x2835, 0xD434,
+        0x0033, 0xFC32, 0xB832, 0x4433, 0x3032, 0xCC33, 0x8833, 0x7432,
+        0x6031, 0x9C30, 0xD830, 0x2431, 0x5030, 0xAC31, 0xE831, 0x1430
+#endif
+    },
+    [AV_CRC_16_CCITT] = {
+        0x0000, 0x2110, 0x4220, 0x6330, 0x8440, 0xA550, 0xC660, 0xE770,
+        0x0881, 0x2991, 0x4AA1, 0x6BB1, 0x8CC1, 0xADD1, 0xCEE1, 0xEFF1,
+        0x3112, 0x1002, 0x7332, 0x5222, 0xB552, 0x9442, 0xF772, 0xD662,
+        0x3993, 0x1883, 0x7BB3, 0x5AA3, 0xBDD3, 0x9CC3, 0xFFF3, 0xDEE3,
+        0x6224, 0x4334, 0x2004, 0x0114, 0xE664, 0xC774, 0xA444, 0x8554,
+        0x6AA5, 0x4BB5, 0x2885, 0x0995, 0xEEE5, 0xCFF5, 0xACC5, 0x8DD5,
+        0x5336, 0x7226, 0x1116, 0x3006, 0xD776, 0xF666, 0x9556, 0xB446,
+        0x5BB7, 0x7AA7, 0x1997, 0x3887, 0xDFF7, 0xFEE7, 0x9DD7, 0xBCC7,
+        0xC448, 0xE558, 0x8668, 0xA778, 0x4008, 0x6118, 0x0228, 0x2338,
+        0xCCC9, 0xEDD9, 0x8EE9, 0xAFF9, 0x4889, 0x6999, 0x0AA9, 0x2BB9,
+        0xF55A, 0xD44A, 0xB77A, 0x966A, 0x711A, 0x500A, 0x333A, 0x122A,
+        0xFDDB, 0xDCCB, 0xBFFB, 0x9EEB, 0x799B, 0x588B, 0x3BBB, 0x1AAB,
+        0xA66C, 0x877C, 0xE44C, 0xC55C, 0x222C, 0x033C, 0x600C, 0x411C,
+        0xAEED, 0x8FFD, 0xECCD, 0xCDDD, 0x2AAD, 0x0BBD, 0x688D, 0x499D,
+        0x977E, 0xB66E, 0xD55E, 0xF44E, 0x133E, 0x322E, 0x511E, 0x700E,
+        0x9FFF, 0xBEEF, 0xDDDF, 0xFCCF, 0x1BBF, 0x3AAF, 0x599F, 0x788F,
+        0x8891, 0xA981, 0xCAB1, 0xEBA1, 0x0CD1, 0x2DC1, 0x4EF1, 0x6FE1,
+        0x8010, 0xA100, 0xC230, 0xE320, 0x0450, 0x2540, 0x4670, 0x6760,
+        0xB983, 0x9893, 0xFBA3, 0xDAB3, 0x3DC3, 0x1CD3, 0x7FE3, 0x5EF3,
+        0xB102, 0x9012, 0xF322, 0xD232, 0x3542, 0x1452, 0x7762, 0x5672,
+        0xEAB5, 0xCBA5, 0xA895, 0x8985, 0x6EF5, 0x4FE5, 0x2CD5, 0x0DC5,
+        0xE234, 0xC324, 0xA014, 0x8104, 0x6674, 0x4764, 0x2454, 0x0544,
+        0xDBA7, 0xFAB7, 0x9987, 0xB897, 0x5FE7, 0x7EF7, 0x1DC7, 0x3CD7,
+        0xD326, 0xF236, 0x9106, 0xB016, 0x5766, 0x7676, 0x1546, 0x3456,
+        0x4CD9, 0x6DC9, 0x0EF9, 0x2FE9, 0xC899, 0xE989, 0x8AB9, 0xABA9,
+        0x4458, 0x6548, 0x0678, 0x2768, 0xC018, 0xE108, 0x8238, 0xA328,
+        0x7DCB, 0x5CDB, 0x3FEB, 0x1EFB, 0xF98B, 0xD89B, 0xBBAB, 0x9ABB,
+        0x754A, 0x545A, 0x376A, 0x167A, 0xF10A, 0xD01A, 0xB32A, 0x923A,
+        0x2EFD, 0x0FED, 0x6CDD, 0x4DCD, 0xAABD, 0x8BAD, 0xE89D, 0xC98D,
+        0x267C, 0x076C, 0x645C, 0x454C, 0xA23C, 0x832C, 0xE01C, 0xC10C,
+        0x1FEF, 0x3EFF, 0x5DCF, 0x7CDF, 0x9BAF, 0xBABF, 0xD98F, 0xF89F,
+        0x176E, 0x367E, 0x554E, 0x745E, 0x932E, 0xB23E, 0xD10E, 0xF01E,
+#if CONFIG_SMALL
+        0x0001
+#else
+        0x0000, 0x3133, 0x6266, 0x5355, 0xC4CC, 0xF5FF, 0xA6AA, 0x9799,
+        0xA989, 0x98BA, 0xCBEF, 0xFADC, 0x6D45, 0x5C76, 0x0F23, 0x3E10,
+        0x7303, 0x4230, 0x1165, 0x2056, 0xB7CF, 0x86FC, 0xD5A9, 0xE49A,
+        0xDA8A, 0xEBB9, 0xB8EC, 0x89DF, 0x1E46, 0x2F75, 0x7C20, 0x4D13,
+        0xE606, 0xD735, 0x8460, 0xB553, 0x22CA, 0x13F9, 0x40AC, 0x719F,
+        0x4F8F, 0x7EBC, 0x2DE9, 0x1CDA, 0x8B43, 0xBA70, 0xE925, 0xD816,
+        0x9505, 0xA436, 0xF763, 0xC650, 0x51C9, 0x60FA, 0x33AF, 0x029C,
+        0x3C8C, 0x0DBF, 0x5EEA, 0x6FD9, 0xF840, 0xC973, 0x9A26, 0xAB15,
+        0xCC0D, 0xFD3E, 0xAE6B, 0x9F58, 0x08C1, 0x39F2, 0x6AA7, 0x5B94,
+        0x6584, 0x54B7, 0x07E2, 0x36D1, 0xA148, 0x907B, 0xC32E, 0xF21D,
+        0xBF0E, 0x8E3D, 0xDD68, 0xEC5B, 0x7BC2, 0x4AF1, 0x19A4, 0x2897,
+        0x1687, 0x27B4, 0x74E1, 0x45D2, 0xD24B, 0xE378, 0xB02D, 0x811E,
+        0x2A0B, 0x1B38, 0x486D, 0x795E, 0xEEC7, 0xDFF4, 0x8CA1, 0xBD92,
+        0x8382, 0xB2B1, 0xE1E4, 0xD0D7, 0x474E, 0x767D, 0x2528, 0x141B,
+        0x5908, 0x683B, 0x3B6E, 0x0A5D, 0x9DC4, 0xACF7, 0xFFA2, 0xCE91,
+        0xF081, 0xC1B2, 0x92E7, 0xA3D4, 0x344D, 0x057E, 0x562B, 0x6718,
+        0x981B, 0xA928, 0xFA7D, 0xCB4E, 0x5CD7, 0x6DE4, 0x3EB1, 0x0F82,
+        0x3192, 0x00A1, 0x53F4, 0x62C7, 0xF55E, 0xC46D, 0x9738, 0xA60B,
+        0xEB18, 0xDA2B, 0x897E, 0xB84D, 0x2FD4, 0x1EE7, 0x4DB2, 0x7C81,
+        0x4291, 0x73A2, 0x20F7, 0x11C4, 0x865D, 0xB76E, 0xE43B, 0xD508,
+        0x7E1D, 0x4F2E, 0x1C7B, 0x2D48, 0xBAD1, 0x8BE2, 0xD8B7, 0xE984,
+        0xD794, 0xE6A7, 0xB5F2, 0x84C1, 0x1358, 0x226B, 0x713E, 0x400D,
+        0x0D1E, 0x3C2D, 0x6F78, 0x5E4B, 0xC9D2, 0xF8E1, 0xABB4, 0x9A87,
+        0xA497, 0x95A4, 0xC6F1, 0xF7C2, 0x605B, 0x5168, 0x023D, 0x330E,
+        0x5416, 0x6525, 0x3670, 0x0743, 0x90DA, 0xA1E9, 0xF2BC, 0xC38F,
+        0xFD9F, 0xCCAC, 0x9FF9, 0xAECA, 0x3953, 0x0860, 0x5B35, 0x6A06,
+        0x2715, 0x1626, 0x4573, 0x7440, 0xE3D9, 0xD2EA, 0x81BF, 0xB08C,
+        0x8E9C, 0xBFAF, 0xECFA, 0xDDC9, 0x4A50, 0x7B63, 0x2836, 0x1905,
+        0xB210, 0x8323, 0xD076, 0xE145, 0x76DC, 0x47EF, 0x14BA, 0x2589,
+        0x1B99, 0x2AAA, 0x79FF, 0x48CC, 0xDF55, 0xEE66, 0xBD33, 0x8C00,
+        0xC113, 0xF020, 0xA375, 0x9246, 0x05DF, 0x34EC, 0x67B9, 0x568A,
+        0x689A, 0x59A9, 0x0AFC, 0x3BCF, 0xAC56, 0x9D65, 0xCE30, 0xFF03,
+        0x0000, 0x3037, 0x606E, 0x5059, 0xC0DC, 0xF0EB, 0xA0B2, 0x9085,
+        0xA1A9, 0x919E, 0xC1C7, 0xF1F0, 0x6175, 0x5142, 0x011B, 0x312C,
+        0x6343, 0x5374, 0x032D, 0x331A, 0xA39F, 0x93A8, 0xC3F1, 0xF3C6,
+        0xC2EA, 0xF2DD, 0xA284, 0x92B3, 0x0236, 0x3201, 0x6258, 0x526F,
+        0xC686, 0xF6B1, 0xA6E8, 0x96DF, 0x065A, 0x366D, 0x6634, 0x5603,
+        0x672F, 0x5718, 0x0741, 0x3776, 0xA7F3, 0x97C4, 0xC79D, 0xF7AA,
+        0xA5C5, 0x95F2, 0xC5AB, 0xF59C, 0x6519, 0x552E, 0x0577, 0x3540,
+        0x046C, 0x345B, 0x6402, 0x5435, 0xC4B0, 0xF487, 0xA4DE, 0x94E9,
+        0xAD1D, 0x9D2A, 0xCD73, 0xFD44, 0x6DC1, 0x5DF6, 0x0DAF, 0x3D98,
+        0x0CB4, 0x3C83, 0x6CDA, 0x5CED, 0xCC68, 0xFC5F, 0xAC06, 0x9C31,
+        0xCE5E, 0xFE69, 0xAE30, 0x9E07, 0x0E82, 0x3EB5, 0x6EEC, 0x5EDB,
+        0x6FF7, 0x5FC0, 0x0F99, 0x3FAE, 0xAF2B, 0x9F1C, 0xCF45, 0xFF72,
+        0x6B9B, 0x5BAC, 0x0BF5, 0x3BC2, 0xAB47, 0x9B70, 0xCB29, 0xFB1E,
+        0xCA32, 0xFA05, 0xAA5C, 0x9A6B, 0x0AEE, 0x3AD9, 0x6A80, 0x5AB7,
+        0x08D8, 0x38EF, 0x68B6, 0x5881, 0xC804, 0xF833, 0xA86A, 0x985D,
+        0xA971, 0x9946, 0xC91F, 0xF928, 0x69AD, 0x599A, 0x09C3, 0x39F4,
+        0x5A3B, 0x6A0C, 0x3A55, 0x0A62, 0x9AE7, 0xAAD0, 0xFA89, 0xCABE,
+        0xFB92, 0xCBA5, 0x9BFC, 0xABCB, 0x3B4E, 0x0B79, 0x5B20, 0x6B17,
+        0x3978, 0x094F, 0x5916, 0x6921, 0xF9A4, 0xC993, 0x99CA, 0xA9FD,
+        0x98D1, 0xA8E6, 0xF8BF, 0xC888, 0x580D, 0x683A, 0x3863, 0x0854,
+        0x9CBD, 0xAC8A, 0xFCD3, 0xCCE4, 0x5C61, 0x6C56, 0x3C0F, 0x0C38,
+        0x3D14, 0x0D23, 0x5D7A, 0x6D4D, 0xFDC8, 0xCDFF, 0x9DA6, 0xAD91,
+        0xFFFE, 0xCFC9, 0x9F90, 0xAFA7, 0x3F22, 0x0F15, 0x5F4C, 0x6F7B,
+        0x5E57, 0x6E60, 0x3E39, 0x0E0E, 0x9E8B, 0xAEBC, 0xFEE5, 0xCED2,
+        0xF726, 0xC711, 0x9748, 0xA77F, 0x37FA, 0x07CD, 0x5794, 0x67A3,
+        0x568F, 0x66B8, 0x36E1, 0x06D6, 0x9653, 0xA664, 0xF63D, 0xC60A,
+        0x9465, 0xA452, 0xF40B, 0xC43C, 0x54B9, 0x648E, 0x34D7, 0x04E0,
+        0x35CC, 0x05FB, 0x55A2, 0x6595, 0xF510, 0xC527, 0x957E, 0xA549,
+        0x31A0, 0x0197, 0x51CE, 0x61F9, 0xF17C, 0xC14B, 0x9112, 0xA125,
+        0x9009, 0xA03E, 0xF067, 0xC050, 0x50D5, 0x60E2, 0x30BB, 0x008C,
+        0x52E3, 0x62D4, 0x328D, 0x02BA, 0x923F, 0xA208, 0xF251, 0xC266,
+        0xF34A, 0xC37D, 0x9324, 0xA313, 0x3396, 0x03A1, 0x53F8, 0x63CF,
+        0x0000, 0xB476, 0x68ED, 0xDC9B, 0xF1CA, 0x45BC, 0x9927, 0x2D51,
+        0xC385, 0x77F3, 0xAB68, 0x1F1E, 0x324F, 0x8639, 0x5AA2, 0xEED4,
+        0xA71B, 0x136D, 0xCFF6, 0x7B80, 0x56D1, 0xE2A7, 0x3E3C, 0x8A4A,
+        0x649E, 0xD0E8, 0x0C73, 0xB805, 0x9554, 0x2122, 0xFDB9, 0x49CF,
+        0x4E37, 0xFA41, 0x26DA, 0x92AC, 0xBFFD, 0x0B8B, 0xD710, 0x6366,
+        0x8DB2, 0x39C4, 0xE55F, 0x5129, 0x7C78, 0xC80E, 0x1495, 0xA0E3,
+        0xE92C, 0x5D5A, 0x81C1, 0x35B7, 0x18E6, 0xAC90, 0x700B, 0xC47D,
+        0x2AA9, 0x9EDF, 0x4244, 0xF632, 0xDB63, 0x6F15, 0xB38E, 0x07F8,
+        0x9C6E, 0x2818, 0xF483, 0x40F5, 0x6DA4, 0xD9D2, 0x0549, 0xB13F,
+        0x5FEB, 0xEB9D, 0x3706, 0x8370, 0xAE21, 0x1A57, 0xC6CC, 0x72BA,
+        0x3B75, 0x8F03, 0x5398, 0xE7EE, 0xCABF, 0x7EC9, 0xA252, 0x1624,
+        0xF8F0, 0x4C86, 0x901D, 0x246B, 0x093A, 0xBD4C, 0x61D7, 0xD5A1,
+        0xD259, 0x662F, 0xBAB4, 0x0EC2, 0x2393, 0x97E5, 0x4B7E, 0xFF08,
+        0x11DC, 0xA5AA, 0x7931, 0xCD47, 0xE016, 0x5460, 0x88FB, 0x3C8D,
+        0x7542, 0xC134, 0x1DAF, 0xA9D9, 0x8488, 0x30FE, 0xEC65, 0x5813,
+        0xB6C7, 0x02B1, 0xDE2A, 0x6A5C, 0x470D, 0xF37B, 0x2FE0, 0x9B96,
+        0x38DD, 0x8CAB, 0x5030, 0xE446, 0xC917, 0x7D61, 0xA1FA, 0x158C,
+        0xFB58, 0x4F2E, 0x93B5, 0x27C3, 0x0A92, 0xBEE4, 0x627F, 0xD609,
+        0x9FC6, 0x2BB0, 0xF72B, 0x435D, 0x6E0C, 0xDA7A, 0x06E1, 0xB297,
+        0x5C43, 0xE835, 0x34AE, 0x80D8, 0xAD89, 0x19FF, 0xC564, 0x7112,
+        0x76EA, 0xC29C, 0x1E07, 0xAA71, 0x8720, 0x3356, 0xEFCD, 0x5BBB,
+        0xB56F, 0x0119, 0xDD82, 0x69F4, 0x44A5, 0xF0D3, 0x2C48, 0x983E,
+        0xD1F1, 0x6587, 0xB91C, 0x0D6A, 0x203B, 0x944D, 0x48D6, 0xFCA0,
+        0x1274, 0xA602, 0x7A99, 0xCEEF, 0xE3BE, 0x57C8, 0x8B53, 0x3F25,
+        0xA4B3, 0x10C5, 0xCC5E, 0x7828, 0x5579, 0xE10F, 0x3D94, 0x89E2,
+        0x6736, 0xD340, 0x0FDB, 0xBBAD, 0x96FC, 0x228A, 0xFE11, 0x4A67,
+        0x03A8, 0xB7DE, 0x6B45, 0xDF33, 0xF262, 0x4614, 0x9A8F, 0x2EF9,
+        0xC02D, 0x745B, 0xA8C0, 0x1CB6, 0x31E7, 0x8591, 0x590A, 0xED7C,
+        0xEA84, 0x5EF2, 0x8269, 0x361F, 0x1B4E, 0xAF38, 0x73A3, 0xC7D5,
+        0x2901, 0x9D77, 0x41EC, 0xF59A, 0xD8CB, 0x6CBD, 0xB026, 0x0450,
+        0x4D9F, 0xF9E9, 0x2572, 0x9104, 0xBC55, 0x0823, 0xD4B8, 0x60CE,
+        0x8E1A, 0x3A6C, 0xE6F7, 0x5281, 0x7FD0, 0xCBA6, 0x173D, 0xA34B
+#endif
+    },
+    [AV_CRC_24_IEEE] = {
+        0x000000, 0xFB4C86, 0x0DD58A, 0xF6990C, 0xE1E693, 0x1AAA15, 0xEC3319,
+        0x177F9F, 0x3981A1, 0xC2CD27, 0x34542B, 0xCF18AD, 0xD86732, 0x232BB4,
+        0xD5B2B8, 0x2EFE3E, 0x894EC5, 0x720243, 0x849B4F, 0x7FD7C9, 0x68A856,
+        0x93E4D0, 0x657DDC, 0x9E315A, 0xB0CF64, 0x4B83E2, 0xBD1AEE, 0x465668,
+        0x5129F7, 0xAA6571, 0x5CFC7D, 0xA7B0FB, 0xE9D10C, 0x129D8A, 0xE40486,
+        0x1F4800, 0x08379F, 0xF37B19, 0x05E215, 0xFEAE93, 0xD050AD, 0x2B1C2B,
+        0xDD8527, 0x26C9A1, 0x31B63E, 0xCAFAB8, 0x3C63B4, 0xC72F32, 0x609FC9,
+        0x9BD34F, 0x6D4A43, 0x9606C5, 0x81795A, 0x7A35DC, 0x8CACD0, 0x77E056,
+        0x591E68, 0xA252EE, 0x54CBE2, 0xAF8764, 0xB8F8FB, 0x43B47D, 0xB52D71,
+        0x4E61F7, 0xD2A319, 0x29EF9F, 0xDF7693, 0x243A15, 0x33458A, 0xC8090C,
+        0x3E9000, 0xC5DC86, 0xEB22B8, 0x106E3E, 0xE6F732, 0x1DBBB4, 0x0AC42B,
+        0xF188AD, 0x0711A1, 0xFC5D27, 0x5BEDDC, 0xA0A15A, 0x563856, 0xAD74D0,
+        0xBA0B4F, 0x4147C9, 0xB7DEC5, 0x4C9243, 0x626C7D, 0x9920FB, 0x6FB9F7,
+        0x94F571, 0x838AEE, 0x78C668, 0x8E5F64, 0x7513E2, 0x3B7215, 0xC03E93,
+        0x36A79F, 0xCDEB19, 0xDA9486, 0x21D800, 0xD7410C, 0x2C0D8A, 0x02F3B4,
+        0xF9BF32, 0x0F263E, 0xF46AB8, 0xE31527, 0x1859A1, 0xEEC0AD, 0x158C2B,
+        0xB23CD0, 0x497056, 0xBFE95A, 0x44A5DC, 0x53DA43, 0xA896C5, 0x5E0FC9,
+        0xA5434F, 0x8BBD71, 0x70F1F7, 0x8668FB, 0x7D247D, 0x6A5BE2, 0x911764,
+        0x678E68, 0x9CC2EE, 0xA44733, 0x5F0BB5, 0xA992B9, 0x52DE3F, 0x45A1A0,
+        0xBEED26, 0x48742A, 0xB338AC, 0x9DC692, 0x668A14, 0x901318, 0x6B5F9E,
+        0x7C2001, 0x876C87, 0x71F58B, 0x8AB90D, 0x2D09F6, 0xD64570, 0x20DC7C,
+        0xDB90FA, 0xCCEF65, 0x37A3E3, 0xC13AEF, 0x3A7669, 0x148857, 0xEFC4D1,
+        0x195DDD, 0xE2115B, 0xF56EC4, 0x0E2242, 0xF8BB4E, 0x03F7C8, 0x4D963F,
+        0xB6DAB9, 0x4043B5, 0xBB0F33, 0xAC70AC, 0x573C2A, 0xA1A526, 0x5AE9A0,
+        0x74179E, 0x8F5B18, 0x79C214, 0x828E92, 0x95F10D, 0x6EBD8B, 0x982487,
+        0x636801, 0xC4D8FA, 0x3F947C, 0xC90D70, 0x3241F6, 0x253E69, 0xDE72EF,
+        0x28EBE3, 0xD3A765, 0xFD595B, 0x0615DD, 0xF08CD1, 0x0BC057, 0x1CBFC8,
+        0xE7F34E, 0x116A42, 0xEA26C4, 0x76E42A, 0x8DA8AC, 0x7B31A0, 0x807D26,
+        0x9702B9, 0x6C4E3F, 0x9AD733, 0x619BB5, 0x4F658B, 0xB4290D, 0x42B001,
+        0xB9FC87, 0xAE8318, 0x55CF9E, 0xA35692, 0x581A14, 0xFFAAEF, 0x04E669,
+        0xF27F65, 0x0933E3, 0x1E4C7C, 0xE500FA, 0x1399F6, 0xE8D570, 0xC62B4E,
+        0x3D67C8, 0xCBFEC4, 0x30B242, 0x27CDDD, 0xDC815B, 0x2A1857, 0xD154D1,
+        0x9F3526, 0x6479A0, 0x92E0AC, 0x69AC2A, 0x7ED3B5, 0x859F33, 0x73063F,
+        0x884AB9, 0xA6B487, 0x5DF801, 0xAB610D, 0x502D8B, 0x475214, 0xBC1E92,
+        0x4A879E, 0xB1CB18, 0x167BE3, 0xED3765, 0x1BAE69, 0xE0E2EF, 0xF79D70,
+        0x0CD1F6, 0xFA48FA, 0x01047C, 0x2FFA42, 0xD4B6C4, 0x222FC8, 0xD9634E,
+        0xCE1CD1, 0x355057, 0xC3C95B, 0x3885DD,
+#if CONFIG_SMALL
+                                                0x000001
+#else
+                                                0x000000, 0x488F66, 0x901ECD,
+        0xD891AB, 0xDB711C, 0x93FE7A, 0x4B6FD1, 0x03E0B7, 0xB6E338, 0xFE6C5E,
+        0x26FDF5, 0x6E7293, 0x6D9224, 0x251D42, 0xFD8CE9, 0xB5038F, 0x6CC771,
+        0x244817, 0xFCD9BC, 0xB456DA, 0xB7B66D, 0xFF390B, 0x27A8A0, 0x6F27C6,
+        0xDA2449, 0x92AB2F, 0x4A3A84, 0x02B5E2, 0x015555, 0x49DA33, 0x914B98,
+        0xD9C4FE, 0xD88EE3, 0x900185, 0x48902E, 0x001F48, 0x03FFFF, 0x4B7099,
+        0x93E132, 0xDB6E54, 0x6E6DDB, 0x26E2BD, 0xFE7316, 0xB6FC70, 0xB51CC7,
+        0xFD93A1, 0x25020A, 0x6D8D6C, 0xB44992, 0xFCC6F4, 0x24575F, 0x6CD839,
+        0x6F388E, 0x27B7E8, 0xFF2643, 0xB7A925, 0x02AAAA, 0x4A25CC, 0x92B467,
+        0xDA3B01, 0xD9DBB6, 0x9154D0, 0x49C57B, 0x014A1D, 0x4B5141, 0x03DE27,
+        0xDB4F8C, 0x93C0EA, 0x90205D, 0xD8AF3B, 0x003E90, 0x48B1F6, 0xFDB279,
+        0xB53D1F, 0x6DACB4, 0x2523D2, 0x26C365, 0x6E4C03, 0xB6DDA8, 0xFE52CE,
+        0x279630, 0x6F1956, 0xB788FD, 0xFF079B, 0xFCE72C, 0xB4684A, 0x6CF9E1,
+        0x247687, 0x917508, 0xD9FA6E, 0x016BC5, 0x49E4A3, 0x4A0414, 0x028B72,
+        0xDA1AD9, 0x9295BF, 0x93DFA2, 0xDB50C4, 0x03C16F, 0x4B4E09, 0x48AEBE,
+        0x0021D8, 0xD8B073, 0x903F15, 0x253C9A, 0x6DB3FC, 0xB52257, 0xFDAD31,
+        0xFE4D86, 0xB6C2E0, 0x6E534B, 0x26DC2D, 0xFF18D3, 0xB797B5, 0x6F061E,
+        0x278978, 0x2469CF, 0x6CE6A9, 0xB47702, 0xFCF864, 0x49FBEB, 0x01748D,
+        0xD9E526, 0x916A40, 0x928AF7, 0xDA0591, 0x02943A, 0x4A1B5C, 0x96A282,
+        0xDE2DE4, 0x06BC4F, 0x4E3329, 0x4DD39E, 0x055CF8, 0xDDCD53, 0x954235,
+        0x2041BA, 0x68CEDC, 0xB05F77, 0xF8D011, 0xFB30A6, 0xB3BFC0, 0x6B2E6B,
+        0x23A10D, 0xFA65F3, 0xB2EA95, 0x6A7B3E, 0x22F458, 0x2114EF, 0x699B89,
+        0xB10A22, 0xF98544, 0x4C86CB, 0x0409AD, 0xDC9806, 0x941760, 0x97F7D7,
+        0xDF78B1, 0x07E91A, 0x4F667C, 0x4E2C61, 0x06A307, 0xDE32AC, 0x96BDCA,
+        0x955D7D, 0xDDD21B, 0x0543B0, 0x4DCCD6, 0xF8CF59, 0xB0403F, 0x68D194,
+        0x205EF2, 0x23BE45, 0x6B3123, 0xB3A088, 0xFB2FEE, 0x22EB10, 0x6A6476,
+        0xB2F5DD, 0xFA7ABB, 0xF99A0C, 0xB1156A, 0x6984C1, 0x210BA7, 0x940828,
+        0xDC874E, 0x0416E5, 0x4C9983, 0x4F7934, 0x07F652, 0xDF67F9, 0x97E89F,
+        0xDDF3C3, 0x957CA5, 0x4DED0E, 0x056268, 0x0682DF, 0x4E0DB9, 0x969C12,
+        0xDE1374, 0x6B10FB, 0x239F9D, 0xFB0E36, 0xB38150, 0xB061E7, 0xF8EE81,
+        0x207F2A, 0x68F04C, 0xB134B2, 0xF9BBD4, 0x212A7F, 0x69A519, 0x6A45AE,
+        0x22CAC8, 0xFA5B63, 0xB2D405, 0x07D78A, 0x4F58EC, 0x97C947, 0xDF4621,
+        0xDCA696, 0x9429F0, 0x4CB85B, 0x04373D, 0x057D20, 0x4DF246, 0x9563ED,
+        0xDDEC8B, 0xDE0C3C, 0x96835A, 0x4E12F1, 0x069D97, 0xB39E18, 0xFB117E,
+        0x2380D5, 0x6B0FB3, 0x68EF04, 0x206062, 0xF8F1C9, 0xB07EAF, 0x69BA51,
+        0x213537, 0xF9A49C, 0xB12BFA, 0xB2CB4D, 0xFA442B, 0x22D580, 0x6A5AE6,
+        0xDF5969, 0x97D60F, 0x4F47A4, 0x07C8C2, 0x042875, 0x4CA713, 0x9436B8,
+        0xDCB9DE, 0x000000, 0xD70983, 0x555F80, 0x825603, 0x51F286, 0x86FB05,
+        0x04AD06, 0xD3A485, 0x59A88B, 0x8EA108, 0x0CF70B, 0xDBFE88, 0x085A0D,
+        0xDF538E, 0x5D058D, 0x8A0C0E, 0x491C91, 0x9E1512, 0x1C4311, 0xCB4A92,
+        0x18EE17, 0xCFE794, 0x4DB197, 0x9AB814, 0x10B41A, 0xC7BD99, 0x45EB9A,
+        0x92E219, 0x41469C, 0x964F1F, 0x14191C, 0xC3109F, 0x6974A4, 0xBE7D27,
+        0x3C2B24, 0xEB22A7, 0x388622, 0xEF8FA1, 0x6DD9A2, 0xBAD021, 0x30DC2F,
+        0xE7D5AC, 0x6583AF, 0xB28A2C, 0x612EA9, 0xB6272A, 0x347129, 0xE378AA,
+        0x206835, 0xF761B6, 0x7537B5, 0xA23E36, 0x719AB3, 0xA69330, 0x24C533,
+        0xF3CCB0, 0x79C0BE, 0xAEC93D, 0x2C9F3E, 0xFB96BD, 0x283238, 0xFF3BBB,
+        0x7D6DB8, 0xAA643B, 0x29A4CE, 0xFEAD4D, 0x7CFB4E, 0xABF2CD, 0x785648,
+        0xAF5FCB, 0x2D09C8, 0xFA004B, 0x700C45, 0xA705C6, 0x2553C5, 0xF25A46,
+        0x21FEC3, 0xF6F740, 0x74A143, 0xA3A8C0, 0x60B85F, 0xB7B1DC, 0x35E7DF,
+        0xE2EE5C, 0x314AD9, 0xE6435A, 0x641559, 0xB31CDA, 0x3910D4, 0xEE1957,
+        0x6C4F54, 0xBB46D7, 0x68E252, 0xBFEBD1, 0x3DBDD2, 0xEAB451, 0x40D06A,
+        0x97D9E9, 0x158FEA, 0xC28669, 0x1122EC, 0xC62B6F, 0x447D6C, 0x9374EF,
+        0x1978E1, 0xCE7162, 0x4C2761, 0x9B2EE2, 0x488A67, 0x9F83E4, 0x1DD5E7,
+        0xCADC64, 0x09CCFB, 0xDEC578, 0x5C937B, 0x8B9AF8, 0x583E7D, 0x8F37FE,
+        0x0D61FD, 0xDA687E, 0x506470, 0x876DF3, 0x053BF0, 0xD23273, 0x0196F6,
+        0xD69F75, 0x54C976, 0x83C0F5, 0xA9041B, 0x7E0D98, 0xFC5B9B, 0x2B5218,
+        0xF8F69D, 0x2FFF1E, 0xADA91D, 0x7AA09E, 0xF0AC90, 0x27A513, 0xA5F310,
+        0x72FA93, 0xA15E16, 0x765795, 0xF40196, 0x230815, 0xE0188A, 0x371109,
+        0xB5470A, 0x624E89, 0xB1EA0C, 0x66E38F, 0xE4B58C, 0x33BC0F, 0xB9B001,
+        0x6EB982, 0xECEF81, 0x3BE602, 0xE84287, 0x3F4B04, 0xBD1D07, 0x6A1484,
+        0xC070BF, 0x17793C, 0x952F3F, 0x4226BC, 0x918239, 0x468BBA, 0xC4DDB9,
+        0x13D43A, 0x99D834, 0x4ED1B7, 0xCC87B4, 0x1B8E37, 0xC82AB2, 0x1F2331,
+        0x9D7532, 0x4A7CB1, 0x896C2E, 0x5E65AD, 0xDC33AE, 0x0B3A2D, 0xD89EA8,
+        0x0F972B, 0x8DC128, 0x5AC8AB, 0xD0C4A5, 0x07CD26, 0x859B25, 0x5292A6,
+        0x813623, 0x563FA0, 0xD469A3, 0x036020, 0x80A0D5, 0x57A956, 0xD5FF55,
+        0x02F6D6, 0xD15253, 0x065BD0, 0x840DD3, 0x530450, 0xD9085E, 0x0E01DD,
+        0x8C57DE, 0x5B5E5D, 0x88FAD8, 0x5FF35B, 0xDDA558, 0x0AACDB, 0xC9BC44,
+        0x1EB5C7, 0x9CE3C4, 0x4BEA47, 0x984EC2, 0x4F4741, 0xCD1142, 0x1A18C1,
+        0x9014CF, 0x471D4C, 0xC54B4F, 0x1242CC, 0xC1E649, 0x16EFCA, 0x94B9C9,
+        0x43B04A, 0xE9D471, 0x3EDDF2, 0xBC8BF1, 0x6B8272, 0xB826F7, 0x6F2F74,
+        0xED7977, 0x3A70F4, 0xB07CFA, 0x677579, 0xE5237A, 0x322AF9, 0xE18E7C,
+        0x3687FF, 0xB4D1FC, 0x63D87F, 0xA0C8E0, 0x77C163, 0xF59760, 0x229EE3,
+        0xF13A66, 0x2633E5, 0xA465E6, 0x736C65, 0xF9606B, 0x2E69E8, 0xAC3FEB,
+        0x7B3668, 0xA892ED, 0x7F9B6E, 0xFDCD6D, 0x2AC4EE, 0x000000, 0x520936,
+        0xA4126C, 0xF61B5A, 0x4825D8, 0x1A2CEE, 0xEC37B4, 0xBE3E82, 0x6B0636,
+        0x390F00, 0xCF145A, 0x9D1D6C, 0x2323EE, 0x712AD8, 0x873182, 0xD538B4,
+        0xD60C6C, 0x84055A, 0x721E00, 0x201736, 0x9E29B4, 0xCC2082, 0x3A3BD8,
+        0x6832EE, 0xBD0A5A, 0xEF036C, 0x191836, 0x4B1100, 0xF52F82, 0xA726B4,
+        0x513DEE, 0x0334D8, 0xAC19D8, 0xFE10EE, 0x080BB4, 0x5A0282, 0xE43C00,
+        0xB63536, 0x402E6C, 0x12275A, 0xC71FEE, 0x9516D8, 0x630D82, 0x3104B4,
+        0x8F3A36, 0xDD3300, 0x2B285A, 0x79216C, 0x7A15B4, 0x281C82, 0xDE07D8,
+        0x8C0EEE, 0x32306C, 0x60395A, 0x962200, 0xC42B36, 0x111382, 0x431AB4,
+        0xB501EE, 0xE708D8, 0x59365A, 0x0B3F6C, 0xFD2436, 0xAF2D00, 0xA37F36,
+        0xF17600, 0x076D5A, 0x55646C, 0xEB5AEE, 0xB953D8, 0x4F4882, 0x1D41B4,
+        0xC87900, 0x9A7036, 0x6C6B6C, 0x3E625A, 0x805CD8, 0xD255EE, 0x244EB4,
+        0x764782, 0x75735A, 0x277A6C, 0xD16136, 0x836800, 0x3D5682, 0x6F5FB4,
+        0x9944EE, 0xCB4DD8, 0x1E756C, 0x4C7C5A, 0xBA6700, 0xE86E36, 0x5650B4,
+        0x045982, 0xF242D8, 0xA04BEE, 0x0F66EE, 0x5D6FD8, 0xAB7482, 0xF97DB4,
+        0x474336, 0x154A00, 0xE3515A, 0xB1586C, 0x6460D8, 0x3669EE, 0xC072B4,
+        0x927B82, 0x2C4500, 0x7E4C36, 0x88576C, 0xDA5E5A, 0xD96A82, 0x8B63B4,
+        0x7D78EE, 0x2F71D8, 0x914F5A, 0xC3466C, 0x355D36, 0x675400, 0xB26CB4,
+        0xE06582, 0x167ED8, 0x4477EE, 0xFA496C, 0xA8405A, 0x5E5B00, 0x0C5236,
+        0x46FF6C, 0x14F65A, 0xE2ED00, 0xB0E436, 0x0EDAB4, 0x5CD382, 0xAAC8D8,
+        0xF8C1EE, 0x2DF95A, 0x7FF06C, 0x89EB36, 0xDBE200, 0x65DC82, 0x37D5B4,
+        0xC1CEEE, 0x93C7D8, 0x90F300, 0xC2FA36, 0x34E16C, 0x66E85A, 0xD8D6D8,
+        0x8ADFEE, 0x7CC4B4, 0x2ECD82, 0xFBF536, 0xA9FC00, 0x5FE75A, 0x0DEE6C,
+        0xB3D0EE, 0xE1D9D8, 0x17C282, 0x45CBB4, 0xEAE6B4, 0xB8EF82, 0x4EF4D8,
+        0x1CFDEE, 0xA2C36C, 0xF0CA5A, 0x06D100, 0x54D836, 0x81E082, 0xD3E9B4,
+        0x25F2EE, 0x77FBD8, 0xC9C55A, 0x9BCC6C, 0x6DD736, 0x3FDE00, 0x3CEAD8,
+        0x6EE3EE, 0x98F8B4, 0xCAF182, 0x74CF00, 0x26C636, 0xD0DD6C, 0x82D45A,
+        0x57ECEE, 0x05E5D8, 0xF3FE82, 0xA1F7B4, 0x1FC936, 0x4DC000, 0xBBDB5A,
+        0xE9D26C, 0xE5805A, 0xB7896C, 0x419236, 0x139B00, 0xADA582, 0xFFACB4,
+        0x09B7EE, 0x5BBED8, 0x8E866C, 0xDC8F5A, 0x2A9400, 0x789D36, 0xC6A3B4,
+        0x94AA82, 0x62B1D8, 0x30B8EE, 0x338C36, 0x618500, 0x979E5A, 0xC5976C,
+        0x7BA9EE, 0x29A0D8, 0xDFBB82, 0x8DB2B4, 0x588A00, 0x0A8336, 0xFC986C,
+        0xAE915A, 0x10AFD8, 0x42A6EE, 0xB4BDB4, 0xE6B482, 0x499982, 0x1B90B4,
+        0xED8BEE, 0xBF82D8, 0x01BC5A, 0x53B56C, 0xA5AE36, 0xF7A700, 0x229FB4,
+        0x709682, 0x868DD8, 0xD484EE, 0x6ABA6C, 0x38B35A, 0xCEA800, 0x9CA136,
+        0x9F95EE, 0xCD9CD8, 0x3B8782, 0x698EB4, 0xD7B036, 0x85B900, 0x73A25A,
+        0x21AB6C, 0xF493D8, 0xA69AEE, 0x5081B4, 0x028882, 0xBCB600, 0xEEBF36,
+        0x18A46C, 0x4AAD5A
+#endif
+    },
+    [AV_CRC_32_IEEE] = {
+        0x00000000, 0xB71DC104, 0x6E3B8209, 0xD926430D, 0xDC760413, 0x6B6BC517,
+        0xB24D861A, 0x0550471E, 0xB8ED0826, 0x0FF0C922, 0xD6D68A2F, 0x61CB4B2B,
+        0x649B0C35, 0xD386CD31, 0x0AA08E3C, 0xBDBD4F38, 0x70DB114C, 0xC7C6D048,
+        0x1EE09345, 0xA9FD5241, 0xACAD155F, 0x1BB0D45B, 0xC2969756, 0x758B5652,
+        0xC836196A, 0x7F2BD86E, 0xA60D9B63, 0x11105A67, 0x14401D79, 0xA35DDC7D,
+        0x7A7B9F70, 0xCD665E74, 0xE0B62398, 0x57ABE29C, 0x8E8DA191, 0x39906095,
+        0x3CC0278B, 0x8BDDE68F, 0x52FBA582, 0xE5E66486, 0x585B2BBE, 0xEF46EABA,
+        0x3660A9B7, 0x817D68B3, 0x842D2FAD, 0x3330EEA9, 0xEA16ADA4, 0x5D0B6CA0,
+        0x906D32D4, 0x2770F3D0, 0xFE56B0DD, 0x494B71D9, 0x4C1B36C7, 0xFB06F7C3,
+        0x2220B4CE, 0x953D75CA, 0x28803AF2, 0x9F9DFBF6, 0x46BBB8FB, 0xF1A679FF,
+        0xF4F63EE1, 0x43EBFFE5, 0x9ACDBCE8, 0x2DD07DEC, 0x77708634, 0xC06D4730,
+        0x194B043D, 0xAE56C539, 0xAB068227, 0x1C1B4323, 0xC53D002E, 0x7220C12A,
+        0xCF9D8E12, 0x78804F16, 0xA1A60C1B, 0x16BBCD1F, 0x13EB8A01, 0xA4F64B05,
+        0x7DD00808, 0xCACDC90C, 0x07AB9778, 0xB0B6567C, 0x69901571, 0xDE8DD475,
+        0xDBDD936B, 0x6CC0526F, 0xB5E61162, 0x02FBD066, 0xBF469F5E, 0x085B5E5A,
+        0xD17D1D57, 0x6660DC53, 0x63309B4D, 0xD42D5A49, 0x0D0B1944, 0xBA16D840,
+        0x97C6A5AC, 0x20DB64A8, 0xF9FD27A5, 0x4EE0E6A1, 0x4BB0A1BF, 0xFCAD60BB,
+        0x258B23B6, 0x9296E2B2, 0x2F2BAD8A, 0x98366C8E, 0x41102F83, 0xF60DEE87,
+        0xF35DA999, 0x4440689D, 0x9D662B90, 0x2A7BEA94, 0xE71DB4E0, 0x500075E4,
+        0x892636E9, 0x3E3BF7ED, 0x3B6BB0F3, 0x8C7671F7, 0x555032FA, 0xE24DF3FE,
+        0x5FF0BCC6, 0xE8ED7DC2, 0x31CB3ECF, 0x86D6FFCB, 0x8386B8D5, 0x349B79D1,
+        0xEDBD3ADC, 0x5AA0FBD8, 0xEEE00C69, 0x59FDCD6D, 0x80DB8E60, 0x37C64F64,
+        0x3296087A, 0x858BC97E, 0x5CAD8A73, 0xEBB04B77, 0x560D044F, 0xE110C54B,
+        0x38368646, 0x8F2B4742, 0x8A7B005C, 0x3D66C158, 0xE4408255, 0x535D4351,
+        0x9E3B1D25, 0x2926DC21, 0xF0009F2C, 0x471D5E28, 0x424D1936, 0xF550D832,
+        0x2C769B3F, 0x9B6B5A3B, 0x26D61503, 0x91CBD407, 0x48ED970A, 0xFFF0560E,
+        0xFAA01110, 0x4DBDD014, 0x949B9319, 0x2386521D, 0x0E562FF1, 0xB94BEEF5,
+        0x606DADF8, 0xD7706CFC, 0xD2202BE2, 0x653DEAE6, 0xBC1BA9EB, 0x0B0668EF,
+        0xB6BB27D7, 0x01A6E6D3, 0xD880A5DE, 0x6F9D64DA, 0x6ACD23C4, 0xDDD0E2C0,
+        0x04F6A1CD, 0xB3EB60C9, 0x7E8D3EBD, 0xC990FFB9, 0x10B6BCB4, 0xA7AB7DB0,
+        0xA2FB3AAE, 0x15E6FBAA, 0xCCC0B8A7, 0x7BDD79A3, 0xC660369B, 0x717DF79F,
+        0xA85BB492, 0x1F467596, 0x1A163288, 0xAD0BF38C, 0x742DB081, 0xC3307185,
+        0x99908A5D, 0x2E8D4B59, 0xF7AB0854, 0x40B6C950, 0x45E68E4E, 0xF2FB4F4A,
+        0x2BDD0C47, 0x9CC0CD43, 0x217D827B, 0x9660437F, 0x4F460072, 0xF85BC176,
+        0xFD0B8668, 0x4A16476C, 0x93300461, 0x242DC565, 0xE94B9B11, 0x5E565A15,
+        0x87701918, 0x306DD81C, 0x353D9F02, 0x82205E06, 0x5B061D0B, 0xEC1BDC0F,
+        0x51A69337, 0xE6BB5233, 0x3F9D113E, 0x8880D03A, 0x8DD09724, 0x3ACD5620,
+        0xE3EB152D, 0x54F6D429, 0x7926A9C5, 0xCE3B68C1, 0x171D2BCC, 0xA000EAC8,
+        0xA550ADD6, 0x124D6CD2, 0xCB6B2FDF, 0x7C76EEDB, 0xC1CBA1E3, 0x76D660E7,
+        0xAFF023EA, 0x18EDE2EE, 0x1DBDA5F0, 0xAAA064F4, 0x738627F9, 0xC49BE6FD,
+        0x09FDB889, 0xBEE0798D, 0x67C63A80, 0xD0DBFB84, 0xD58BBC9A, 0x62967D9E,
+        0xBBB03E93, 0x0CADFF97, 0xB110B0AF, 0x060D71AB, 0xDF2B32A6, 0x6836F3A2,
+        0x6D66B4BC, 0xDA7B75B8, 0x035D36B5, 0xB440F7B1,
+#if CONFIG_SMALL
+                                                        0x00000001
+#else
+                                                        0x00000000, 0xDCC119D2,
+        0x0F9EF2A0, 0xD35FEB72, 0xA9212445, 0x75E03D97, 0xA6BFD6E5, 0x7A7ECF37,
+        0x5243488A, 0x8E825158, 0x5DDDBA2A, 0x811CA3F8, 0xFB626CCF, 0x27A3751D,
+        0xF4FC9E6F, 0x283D87BD, 0x139B5110, 0xCF5A48C2, 0x1C05A3B0, 0xC0C4BA62,
+        0xBABA7555, 0x667B6C87, 0xB52487F5, 0x69E59E27, 0x41D8199A, 0x9D190048,
+        0x4E46EB3A, 0x9287F2E8, 0xE8F93DDF, 0x3438240D, 0xE767CF7F, 0x3BA6D6AD,
+        0x2636A320, 0xFAF7BAF2, 0x29A85180, 0xF5694852, 0x8F178765, 0x53D69EB7,
+        0x808975C5, 0x5C486C17, 0x7475EBAA, 0xA8B4F278, 0x7BEB190A, 0xA72A00D8,
+        0xDD54CFEF, 0x0195D63D, 0xD2CA3D4F, 0x0E0B249D, 0x35ADF230, 0xE96CEBE2,
+        0x3A330090, 0xE6F21942, 0x9C8CD675, 0x404DCFA7, 0x931224D5, 0x4FD33D07,
+        0x67EEBABA, 0xBB2FA368, 0x6870481A, 0xB4B151C8, 0xCECF9EFF, 0x120E872D,
+        0xC1516C5F, 0x1D90758D, 0x4C6C4641, 0x90AD5F93, 0x43F2B4E1, 0x9F33AD33,
+        0xE54D6204, 0x398C7BD6, 0xEAD390A4, 0x36128976, 0x1E2F0ECB, 0xC2EE1719,
+        0x11B1FC6B, 0xCD70E5B9, 0xB70E2A8E, 0x6BCF335C, 0xB890D82E, 0x6451C1FC,
+        0x5FF71751, 0x83360E83, 0x5069E5F1, 0x8CA8FC23, 0xF6D63314, 0x2A172AC6,
+        0xF948C1B4, 0x2589D866, 0x0DB45FDB, 0xD1754609, 0x022AAD7B, 0xDEEBB4A9,
+        0xA4957B9E, 0x7854624C, 0xAB0B893E, 0x77CA90EC, 0x6A5AE561, 0xB69BFCB3,
+        0x65C417C1, 0xB9050E13, 0xC37BC124, 0x1FBAD8F6, 0xCCE53384, 0x10242A56,
+        0x3819ADEB, 0xE4D8B439, 0x37875F4B, 0xEB464699, 0x913889AE, 0x4DF9907C,
+        0x9EA67B0E, 0x426762DC, 0x79C1B471, 0xA500ADA3, 0x765F46D1, 0xAA9E5F03,
+        0xD0E09034, 0x0C2189E6, 0xDF7E6294, 0x03BF7B46, 0x2B82FCFB, 0xF743E529,
+        0x241C0E5B, 0xF8DD1789, 0x82A3D8BE, 0x5E62C16C, 0x8D3D2A1E, 0x51FC33CC,
+        0x98D88C82, 0x44199550, 0x97467E22, 0x4B8767F0, 0x31F9A8C7, 0xED38B115,
+        0x3E675A67, 0xE2A643B5, 0xCA9BC408, 0x165ADDDA, 0xC50536A8, 0x19C42F7A,
+        0x63BAE04D, 0xBF7BF99F, 0x6C2412ED, 0xB0E50B3F, 0x8B43DD92, 0x5782C440,
+        0x84DD2F32, 0x581C36E0, 0x2262F9D7, 0xFEA3E005, 0x2DFC0B77, 0xF13D12A5,
+        0xD9009518, 0x05C18CCA, 0xD69E67B8, 0x0A5F7E6A, 0x7021B15D, 0xACE0A88F,
+        0x7FBF43FD, 0xA37E5A2F, 0xBEEE2FA2, 0x622F3670, 0xB170DD02, 0x6DB1C4D0,
+        0x17CF0BE7, 0xCB0E1235, 0x1851F947, 0xC490E095, 0xECAD6728, 0x306C7EFA,
+        0xE3339588, 0x3FF28C5A, 0x458C436D, 0x994D5ABF, 0x4A12B1CD, 0x96D3A81F,
+        0xAD757EB2, 0x71B46760, 0xA2EB8C12, 0x7E2A95C0, 0x04545AF7, 0xD8954325,
+        0x0BCAA857, 0xD70BB185, 0xFF363638, 0x23F72FEA, 0xF0A8C498, 0x2C69DD4A,
+        0x5617127D, 0x8AD60BAF, 0x5989E0DD, 0x8548F90F, 0xD4B4CAC3, 0x0875D311,
+        0xDB2A3863, 0x07EB21B1, 0x7D95EE86, 0xA154F754, 0x720B1C26, 0xAECA05F4,
+        0x86F78249, 0x5A369B9B, 0x896970E9, 0x55A8693B, 0x2FD6A60C, 0xF317BFDE,
+        0x204854AC, 0xFC894D7E, 0xC72F9BD3, 0x1BEE8201, 0xC8B16973, 0x147070A1,
+        0x6E0EBF96, 0xB2CFA644, 0x61904D36, 0xBD5154E4, 0x956CD359, 0x49ADCA8B,
+        0x9AF221F9, 0x4633382B, 0x3C4DF71C, 0xE08CEECE, 0x33D305BC, 0xEF121C6E,
+        0xF28269E3, 0x2E437031, 0xFD1C9B43, 0x21DD8291, 0x5BA34DA6, 0x87625474,
+        0x543DBF06, 0x88FCA6D4, 0xA0C12169, 0x7C0038BB, 0xAF5FD3C9, 0x739ECA1B,
+        0x09E0052C, 0xD5211CFE, 0x067EF78C, 0xDABFEE5E, 0xE11938F3, 0x3DD82121,
+        0xEE87CA53, 0x3246D381, 0x48381CB6, 0x94F90564, 0x47A6EE16, 0x9B67F7C4,
+        0xB35A7079, 0x6F9B69AB, 0xBCC482D9, 0x60059B0B, 0x1A7B543C, 0xC6BA4DEE,
+        0x15E5A69C, 0xC924BF4E, 0x00000000, 0x87ACD801, 0x0E59B103, 0x89F56902,
+        0x1CB26207, 0x9B1EBA06, 0x12EBD304, 0x95470B05, 0x3864C50E, 0xBFC81D0F,
+        0x363D740D, 0xB191AC0C, 0x24D6A709, 0xA37A7F08, 0x2A8F160A, 0xAD23CE0B,
+        0x70C88A1D, 0xF764521C, 0x7E913B1E, 0xF93DE31F, 0x6C7AE81A, 0xEBD6301B,
+        0x62235919, 0xE58F8118, 0x48AC4F13, 0xCF009712, 0x46F5FE10, 0xC1592611,
+        0x541E2D14, 0xD3B2F515, 0x5A479C17, 0xDDEB4416, 0xE090153B, 0x673CCD3A,
+        0xEEC9A438, 0x69657C39, 0xFC22773C, 0x7B8EAF3D, 0xF27BC63F, 0x75D71E3E,
+        0xD8F4D035, 0x5F580834, 0xD6AD6136, 0x5101B937, 0xC446B232, 0x43EA6A33,
+        0xCA1F0331, 0x4DB3DB30, 0x90589F26, 0x17F44727, 0x9E012E25, 0x19ADF624,
+        0x8CEAFD21, 0x0B462520, 0x82B34C22, 0x051F9423, 0xA83C5A28, 0x2F908229,
+        0xA665EB2B, 0x21C9332A, 0xB48E382F, 0x3322E02E, 0xBAD7892C, 0x3D7B512D,
+        0xC0212B76, 0x478DF377, 0xCE789A75, 0x49D44274, 0xDC934971, 0x5B3F9170,
+        0xD2CAF872, 0x55662073, 0xF845EE78, 0x7FE93679, 0xF61C5F7B, 0x71B0877A,
+        0xE4F78C7F, 0x635B547E, 0xEAAE3D7C, 0x6D02E57D, 0xB0E9A16B, 0x3745796A,
+        0xBEB01068, 0x391CC869, 0xAC5BC36C, 0x2BF71B6D, 0xA202726F, 0x25AEAA6E,
+        0x888D6465, 0x0F21BC64, 0x86D4D566, 0x01780D67, 0x943F0662, 0x1393DE63,
+        0x9A66B761, 0x1DCA6F60, 0x20B13E4D, 0xA71DE64C, 0x2EE88F4E, 0xA944574F,
+        0x3C035C4A, 0xBBAF844B, 0x325AED49, 0xB5F63548, 0x18D5FB43, 0x9F792342,
+        0x168C4A40, 0x91209241, 0x04679944, 0x83CB4145, 0x0A3E2847, 0x8D92F046,
+        0x5079B450, 0xD7D56C51, 0x5E200553, 0xD98CDD52, 0x4CCBD657, 0xCB670E56,
+        0x42926754, 0xC53EBF55, 0x681D715E, 0xEFB1A95F, 0x6644C05D, 0xE1E8185C,
+        0x74AF1359, 0xF303CB58, 0x7AF6A25A, 0xFD5A7A5B, 0x804356EC, 0x07EF8EED,
+        0x8E1AE7EF, 0x09B63FEE, 0x9CF134EB, 0x1B5DECEA, 0x92A885E8, 0x15045DE9,
+        0xB82793E2, 0x3F8B4BE3, 0xB67E22E1, 0x31D2FAE0, 0xA495F1E5, 0x233929E4,
+        0xAACC40E6, 0x2D6098E7, 0xF08BDCF1, 0x772704F0, 0xFED26DF2, 0x797EB5F3,
+        0xEC39BEF6, 0x6B9566F7, 0xE2600FF5, 0x65CCD7F4, 0xC8EF19FF, 0x4F43C1FE,
+        0xC6B6A8FC, 0x411A70FD, 0xD45D7BF8, 0x53F1A3F9, 0xDA04CAFB, 0x5DA812FA,
+        0x60D343D7, 0xE77F9BD6, 0x6E8AF2D4, 0xE9262AD5, 0x7C6121D0, 0xFBCDF9D1,
+        0x723890D3, 0xF59448D2, 0x58B786D9, 0xDF1B5ED8, 0x56EE37DA, 0xD142EFDB,
+        0x4405E4DE, 0xC3A93CDF, 0x4A5C55DD, 0xCDF08DDC, 0x101BC9CA, 0x97B711CB,
+        0x1E4278C9, 0x99EEA0C8, 0x0CA9ABCD, 0x8B0573CC, 0x02F01ACE, 0x855CC2CF,
+        0x287F0CC4, 0xAFD3D4C5, 0x2626BDC7, 0xA18A65C6, 0x34CD6EC3, 0xB361B6C2,
+        0x3A94DFC0, 0xBD3807C1, 0x40627D9A, 0xC7CEA59B, 0x4E3BCC99, 0xC9971498,
+        0x5CD01F9D, 0xDB7CC79C, 0x5289AE9E, 0xD525769F, 0x7806B894, 0xFFAA6095,
+        0x765F0997, 0xF1F3D196, 0x64B4DA93, 0xE3180292, 0x6AED6B90, 0xED41B391,
+        0x30AAF787, 0xB7062F86, 0x3EF34684, 0xB95F9E85, 0x2C189580, 0xABB44D81,
+        0x22412483, 0xA5EDFC82, 0x08CE3289, 0x8F62EA88, 0x0697838A, 0x813B5B8B,
+        0x147C508E, 0x93D0888F, 0x1A25E18D, 0x9D89398C, 0xA0F268A1, 0x275EB0A0,
+        0xAEABD9A2, 0x290701A3, 0xBC400AA6, 0x3BECD2A7, 0xB219BBA5, 0x35B563A4,
+        0x9896ADAF, 0x1F3A75AE, 0x96CF1CAC, 0x1163C4AD, 0x8424CFA8, 0x038817A9,
+        0x8A7D7EAB, 0x0DD1A6AA, 0xD03AE2BC, 0x57963ABD, 0xDE6353BF, 0x59CF8BBE,
+        0xCC8880BB, 0x4B2458BA, 0xC2D131B8, 0x457DE9B9, 0xE85E27B2, 0x6FF2FFB3,
+        0xE60796B1, 0x61AB4EB0, 0xF4EC45B5, 0x73409DB4, 0xFAB5F4B6, 0x7D192CB7,
+        0x00000000, 0xB79A6DDC, 0xD9281ABC, 0x6EB27760, 0x054CF57C, 0xB2D698A0,
+        0xDC64EFC0, 0x6BFE821C, 0x0A98EAF9, 0xBD028725, 0xD3B0F045, 0x642A9D99,
+        0x0FD41F85, 0xB84E7259, 0xD6FC0539, 0x616668E5, 0xA32D14F7, 0x14B7792B,
+        0x7A050E4B, 0xCD9F6397, 0xA661E18B, 0x11FB8C57, 0x7F49FB37, 0xC8D396EB,
+        0xA9B5FE0E, 0x1E2F93D2, 0x709DE4B2, 0xC707896E, 0xACF90B72, 0x1B6366AE,
+        0x75D111CE, 0xC24B7C12, 0xF146E9EA, 0x46DC8436, 0x286EF356, 0x9FF49E8A,
+        0xF40A1C96, 0x4390714A, 0x2D22062A, 0x9AB86BF6, 0xFBDE0313, 0x4C446ECF,
+        0x22F619AF, 0x956C7473, 0xFE92F66F, 0x49089BB3, 0x27BAECD3, 0x9020810F,
+        0x526BFD1D, 0xE5F190C1, 0x8B43E7A1, 0x3CD98A7D, 0x57270861, 0xE0BD65BD,
+        0x8E0F12DD, 0x39957F01, 0x58F317E4, 0xEF697A38, 0x81DB0D58, 0x36416084,
+        0x5DBFE298, 0xEA258F44, 0x8497F824, 0x330D95F8, 0x559013D1, 0xE20A7E0D,
+        0x8CB8096D, 0x3B2264B1, 0x50DCE6AD, 0xE7468B71, 0x89F4FC11, 0x3E6E91CD,
+        0x5F08F928, 0xE89294F4, 0x8620E394, 0x31BA8E48, 0x5A440C54, 0xEDDE6188,
+        0x836C16E8, 0x34F67B34, 0xF6BD0726, 0x41276AFA, 0x2F951D9A, 0x980F7046,
+        0xF3F1F25A, 0x446B9F86, 0x2AD9E8E6, 0x9D43853A, 0xFC25EDDF, 0x4BBF8003,
+        0x250DF763, 0x92979ABF, 0xF96918A3, 0x4EF3757F, 0x2041021F, 0x97DB6FC3,
+        0xA4D6FA3B, 0x134C97E7, 0x7DFEE087, 0xCA648D5B, 0xA19A0F47, 0x1600629B,
+        0x78B215FB, 0xCF287827, 0xAE4E10C2, 0x19D47D1E, 0x77660A7E, 0xC0FC67A2,
+        0xAB02E5BE, 0x1C988862, 0x722AFF02, 0xC5B092DE, 0x07FBEECC, 0xB0618310,
+        0xDED3F470, 0x694999AC, 0x02B71BB0, 0xB52D766C, 0xDB9F010C, 0x6C056CD0,
+        0x0D630435, 0xBAF969E9, 0xD44B1E89, 0x63D17355, 0x082FF149, 0xBFB59C95,
+        0xD107EBF5, 0x669D8629, 0x1D3DE6A6, 0xAAA78B7A, 0xC415FC1A, 0x738F91C6,
+        0x187113DA, 0xAFEB7E06, 0xC1590966, 0x76C364BA, 0x17A50C5F, 0xA03F6183,
+        0xCE8D16E3, 0x79177B3F, 0x12E9F923, 0xA57394FF, 0xCBC1E39F, 0x7C5B8E43,
+        0xBE10F251, 0x098A9F8D, 0x6738E8ED, 0xD0A28531, 0xBB5C072D, 0x0CC66AF1,
+        0x62741D91, 0xD5EE704D, 0xB48818A8, 0x03127574, 0x6DA00214, 0xDA3A6FC8,
+        0xB1C4EDD4, 0x065E8008, 0x68ECF768, 0xDF769AB4, 0xEC7B0F4C, 0x5BE16290,
+        0x355315F0, 0x82C9782C, 0xE937FA30, 0x5EAD97EC, 0x301FE08C, 0x87858D50,
+        0xE6E3E5B5, 0x51798869, 0x3FCBFF09, 0x885192D5, 0xE3AF10C9, 0x54357D15,
+        0x3A870A75, 0x8D1D67A9, 0x4F561BBB, 0xF8CC7667, 0x967E0107, 0x21E46CDB,
+        0x4A1AEEC7, 0xFD80831B, 0x9332F47B, 0x24A899A7, 0x45CEF142, 0xF2549C9E,
+        0x9CE6EBFE, 0x2B7C8622, 0x4082043E, 0xF71869E2, 0x99AA1E82, 0x2E30735E,
+        0x48ADF577, 0xFF3798AB, 0x9185EFCB, 0x261F8217, 0x4DE1000B, 0xFA7B6DD7,
+        0x94C91AB7, 0x2353776B, 0x42351F8E, 0xF5AF7252, 0x9B1D0532, 0x2C8768EE,
+        0x4779EAF2, 0xF0E3872E, 0x9E51F04E, 0x29CB9D92, 0xEB80E180, 0x5C1A8C5C,
+        0x32A8FB3C, 0x853296E0, 0xEECC14FC, 0x59567920, 0x37E40E40, 0x807E639C,
+        0xE1180B79, 0x568266A5, 0x383011C5, 0x8FAA7C19, 0xE454FE05, 0x53CE93D9,
+        0x3D7CE4B9, 0x8AE68965, 0xB9EB1C9D, 0x0E717141, 0x60C30621, 0xD7596BFD,
+        0xBCA7E9E1, 0x0B3D843D, 0x658FF35D, 0xD2159E81, 0xB373F664, 0x04E99BB8,
+        0x6A5BECD8, 0xDDC18104, 0xB63F0318, 0x01A56EC4, 0x6F1719A4, 0xD88D7478,
+        0x1AC6086A, 0xAD5C65B6, 0xC3EE12D6, 0x74747F0A, 0x1F8AFD16, 0xA81090CA,
+        0xC6A2E7AA, 0x71388A76, 0x105EE293, 0xA7C48F4F, 0xC976F82F, 0x7EEC95F3,
+        0x151217EF, 0xA2887A33, 0xCC3A0D53, 0x7BA0608F
+#endif
+    },
+    [AV_CRC_32_IEEE_LE] = {
+        0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F,
+        0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
+        0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, 0x1DB71064, 0x6AB020F2,
+        0xF3B97148, 0x84BE41DE, 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
+        0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9,
+        0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
+        0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, 0x35B5A8FA, 0x42B2986C,
+        0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
+        0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423,
+        0xCFBA9599, 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
+        0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, 0x01DB7106,
+        0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
+        0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D,
+        0x91646C97, 0xE6635C01, 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
+        0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950,
+        0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
+        0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, 0x4ADFA541, 0x3DD895D7,
+        0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
+        0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA,
+        0xBE0B1010, 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
+        0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, 0x2EB40D81,
+        0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
+        0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, 0xE3630B12, 0x94643B84,
+        0x0D6D6A3E, 0x7A6A5AA8, 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
+        0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB,
+        0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
+        0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, 0xD6D6A3E8, 0xA1D1937E,
+        0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
+        0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55,
+        0x316E8EEF, 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
+        0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, 0xB2BD0B28,
+        0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
+        0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, 0x9C0906A9, 0xEB0E363F,
+        0x72076785, 0x05005713, 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
+        0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242,
+        0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
+        0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, 0x8F659EFF, 0xF862AE69,
+        0x616BFFD3, 0x166CCF45, 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
+        0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC,
+        0x40DF0B66, 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
+        0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, 0xCDD70693,
+        0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
+        0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,
+#if CONFIG_SMALL
+                                                        0x00000001
+#else
+                                                        0x00000000, 0x191B3141,
+        0x32366282, 0x2B2D53C3, 0x646CC504, 0x7D77F445, 0x565AA786, 0x4F4196C7,
+        0xC8D98A08, 0xD1C2BB49, 0xFAEFE88A, 0xE3F4D9CB, 0xACB54F0C, 0xB5AE7E4D,
+        0x9E832D8E, 0x87981CCF, 0x4AC21251, 0x53D92310, 0x78F470D3, 0x61EF4192,
+        0x2EAED755, 0x37B5E614, 0x1C98B5D7, 0x05838496, 0x821B9859, 0x9B00A918,
+        0xB02DFADB, 0xA936CB9A, 0xE6775D5D, 0xFF6C6C1C, 0xD4413FDF, 0xCD5A0E9E,
+        0x958424A2, 0x8C9F15E3, 0xA7B24620, 0xBEA97761, 0xF1E8E1A6, 0xE8F3D0E7,
+        0xC3DE8324, 0xDAC5B265, 0x5D5DAEAA, 0x44469FEB, 0x6F6BCC28, 0x7670FD69,
+        0x39316BAE, 0x202A5AEF, 0x0B07092C, 0x121C386D, 0xDF4636F3, 0xC65D07B2,
+        0xED705471, 0xF46B6530, 0xBB2AF3F7, 0xA231C2B6, 0x891C9175, 0x9007A034,
+        0x179FBCFB, 0x0E848DBA, 0x25A9DE79, 0x3CB2EF38, 0x73F379FF, 0x6AE848BE,
+        0x41C51B7D, 0x58DE2A3C, 0xF0794F05, 0xE9627E44, 0xC24F2D87, 0xDB541CC6,
+        0x94158A01, 0x8D0EBB40, 0xA623E883, 0xBF38D9C2, 0x38A0C50D, 0x21BBF44C,
+        0x0A96A78F, 0x138D96CE, 0x5CCC0009, 0x45D73148, 0x6EFA628B, 0x77E153CA,
+        0xBABB5D54, 0xA3A06C15, 0x888D3FD6, 0x91960E97, 0xDED79850, 0xC7CCA911,
+        0xECE1FAD2, 0xF5FACB93, 0x7262D75C, 0x6B79E61D, 0x4054B5DE, 0x594F849F,
+        0x160E1258, 0x0F152319, 0x243870DA, 0x3D23419B, 0x65FD6BA7, 0x7CE65AE6,
+        0x57CB0925, 0x4ED03864, 0x0191AEA3, 0x188A9FE2, 0x33A7CC21, 0x2ABCFD60,
+        0xAD24E1AF, 0xB43FD0EE, 0x9F12832D, 0x8609B26C, 0xC94824AB, 0xD05315EA,
+        0xFB7E4629, 0xE2657768, 0x2F3F79F6, 0x362448B7, 0x1D091B74, 0x04122A35,
+        0x4B53BCF2, 0x52488DB3, 0x7965DE70, 0x607EEF31, 0xE7E6F3FE, 0xFEFDC2BF,
+        0xD5D0917C, 0xCCCBA03D, 0x838A36FA, 0x9A9107BB, 0xB1BC5478, 0xA8A76539,
+        0x3B83984B, 0x2298A90A, 0x09B5FAC9, 0x10AECB88, 0x5FEF5D4F, 0x46F46C0E,
+        0x6DD93FCD, 0x74C20E8C, 0xF35A1243, 0xEA412302, 0xC16C70C1, 0xD8774180,
+        0x9736D747, 0x8E2DE606, 0xA500B5C5, 0xBC1B8484, 0x71418A1A, 0x685ABB5B,
+        0x4377E898, 0x5A6CD9D9, 0x152D4F1E, 0x0C367E5F, 0x271B2D9C, 0x3E001CDD,
+        0xB9980012, 0xA0833153, 0x8BAE6290, 0x92B553D1, 0xDDF4C516, 0xC4EFF457,
+        0xEFC2A794, 0xF6D996D5, 0xAE07BCE9, 0xB71C8DA8, 0x9C31DE6B, 0x852AEF2A,
+        0xCA6B79ED, 0xD37048AC, 0xF85D1B6F, 0xE1462A2E, 0x66DE36E1, 0x7FC507A0,
+        0x54E85463, 0x4DF36522, 0x02B2F3E5, 0x1BA9C2A4, 0x30849167, 0x299FA026,
+        0xE4C5AEB8, 0xFDDE9FF9, 0xD6F3CC3A, 0xCFE8FD7B, 0x80A96BBC, 0x99B25AFD,
+        0xB29F093E, 0xAB84387F, 0x2C1C24B0, 0x350715F1, 0x1E2A4632, 0x07317773,
+        0x4870E1B4, 0x516BD0F5, 0x7A468336, 0x635DB277, 0xCBFAD74E, 0xD2E1E60F,
+        0xF9CCB5CC, 0xE0D7848D, 0xAF96124A, 0xB68D230B, 0x9DA070C8, 0x84BB4189,
+        0x03235D46, 0x1A386C07, 0x31153FC4, 0x280E0E85, 0x674F9842, 0x7E54A903,
+        0x5579FAC0, 0x4C62CB81, 0x8138C51F, 0x9823F45E, 0xB30EA79D, 0xAA1596DC,
+        0xE554001B, 0xFC4F315A, 0xD7626299, 0xCE7953D8, 0x49E14F17, 0x50FA7E56,
+        0x7BD72D95, 0x62CC1CD4, 0x2D8D8A13, 0x3496BB52, 0x1FBBE891, 0x06A0D9D0,
+        0x5E7EF3EC, 0x4765C2AD, 0x6C48916E, 0x7553A02F, 0x3A1236E8, 0x230907A9,
+        0x0824546A, 0x113F652B, 0x96A779E4, 0x8FBC48A5, 0xA4911B66, 0xBD8A2A27,
+        0xF2CBBCE0, 0xEBD08DA1, 0xC0FDDE62, 0xD9E6EF23, 0x14BCE1BD, 0x0DA7D0FC,
+        0x268A833F, 0x3F91B27E, 0x70D024B9, 0x69CB15F8, 0x42E6463B, 0x5BFD777A,
+        0xDC656BB5, 0xC57E5AF4, 0xEE530937, 0xF7483876, 0xB809AEB1, 0xA1129FF0,
+        0x8A3FCC33, 0x9324FD72, 0x00000000, 0x01C26A37, 0x0384D46E, 0x0246BE59,
+        0x0709A8DC, 0x06CBC2EB, 0x048D7CB2, 0x054F1685, 0x0E1351B8, 0x0FD13B8F,
+        0x0D9785D6, 0x0C55EFE1, 0x091AF964, 0x08D89353, 0x0A9E2D0A, 0x0B5C473D,
+        0x1C26A370, 0x1DE4C947, 0x1FA2771E, 0x1E601D29, 0x1B2F0BAC, 0x1AED619B,
+        0x18ABDFC2, 0x1969B5F5, 0x1235F2C8, 0x13F798FF, 0x11B126A6, 0x10734C91,
+        0x153C5A14, 0x14FE3023, 0x16B88E7A, 0x177AE44D, 0x384D46E0, 0x398F2CD7,
+        0x3BC9928E, 0x3A0BF8B9, 0x3F44EE3C, 0x3E86840B, 0x3CC03A52, 0x3D025065,
+        0x365E1758, 0x379C7D6F, 0x35DAC336, 0x3418A901, 0x3157BF84, 0x3095D5B3,
+        0x32D36BEA, 0x331101DD, 0x246BE590, 0x25A98FA7, 0x27EF31FE, 0x262D5BC9,
+        0x23624D4C, 0x22A0277B, 0x20E69922, 0x2124F315, 0x2A78B428, 0x2BBADE1F,
+        0x29FC6046, 0x283E0A71, 0x2D711CF4, 0x2CB376C3, 0x2EF5C89A, 0x2F37A2AD,
+        0x709A8DC0, 0x7158E7F7, 0x731E59AE, 0x72DC3399, 0x7793251C, 0x76514F2B,
+        0x7417F172, 0x75D59B45, 0x7E89DC78, 0x7F4BB64F, 0x7D0D0816, 0x7CCF6221,
+        0x798074A4, 0x78421E93, 0x7A04A0CA, 0x7BC6CAFD, 0x6CBC2EB0, 0x6D7E4487,
+        0x6F38FADE, 0x6EFA90E9, 0x6BB5866C, 0x6A77EC5B, 0x68315202, 0x69F33835,
+        0x62AF7F08, 0x636D153F, 0x612BAB66, 0x60E9C151, 0x65A6D7D4, 0x6464BDE3,
+        0x662203BA, 0x67E0698D, 0x48D7CB20, 0x4915A117, 0x4B531F4E, 0x4A917579,
+        0x4FDE63FC, 0x4E1C09CB, 0x4C5AB792, 0x4D98DDA5, 0x46C49A98, 0x4706F0AF,
+        0x45404EF6, 0x448224C1, 0x41CD3244, 0x400F5873, 0x4249E62A, 0x438B8C1D,
+        0x54F16850, 0x55330267, 0x5775BC3E, 0x56B7D609, 0x53F8C08C, 0x523AAABB,
+        0x507C14E2, 0x51BE7ED5, 0x5AE239E8, 0x5B2053DF, 0x5966ED86, 0x58A487B1,
+        0x5DEB9134, 0x5C29FB03, 0x5E6F455A, 0x5FAD2F6D, 0xE1351B80, 0xE0F771B7,
+        0xE2B1CFEE, 0xE373A5D9, 0xE63CB35C, 0xE7FED96B, 0xE5B86732, 0xE47A0D05,
+        0xEF264A38, 0xEEE4200F, 0xECA29E56, 0xED60F461, 0xE82FE2E4, 0xE9ED88D3,
+        0xEBAB368A, 0xEA695CBD, 0xFD13B8F0, 0xFCD1D2C7, 0xFE976C9E, 0xFF5506A9,
+        0xFA1A102C, 0xFBD87A1B, 0xF99EC442, 0xF85CAE75, 0xF300E948, 0xF2C2837F,
+        0xF0843D26, 0xF1465711, 0xF4094194, 0xF5CB2BA3, 0xF78D95FA, 0xF64FFFCD,
+        0xD9785D60, 0xD8BA3757, 0xDAFC890E, 0xDB3EE339, 0xDE71F5BC, 0xDFB39F8B,
+        0xDDF521D2, 0xDC374BE5, 0xD76B0CD8, 0xD6A966EF, 0xD4EFD8B6, 0xD52DB281,
+        0xD062A404, 0xD1A0CE33, 0xD3E6706A, 0xD2241A5D, 0xC55EFE10, 0xC49C9427,
+        0xC6DA2A7E, 0xC7184049, 0xC25756CC, 0xC3953CFB, 0xC1D382A2, 0xC011E895,
+        0xCB4DAFA8, 0xCA8FC59F, 0xC8C97BC6, 0xC90B11F1, 0xCC440774, 0xCD866D43,
+        0xCFC0D31A, 0xCE02B92D, 0x91AF9640, 0x906DFC77, 0x922B422E, 0x93E92819,
+        0x96A63E9C, 0x976454AB, 0x9522EAF2, 0x94E080C5, 0x9FBCC7F8, 0x9E7EADCF,
+        0x9C381396, 0x9DFA79A1, 0x98B56F24, 0x99770513, 0x9B31BB4A, 0x9AF3D17D,
+        0x8D893530, 0x8C4B5F07, 0x8E0DE15E, 0x8FCF8B69, 0x8A809DEC, 0x8B42F7DB,
+        0x89044982, 0x88C623B5, 0x839A6488, 0x82580EBF, 0x801EB0E6, 0x81DCDAD1,
+        0x8493CC54, 0x8551A663, 0x8717183A, 0x86D5720D, 0xA9E2D0A0, 0xA820BA97,
+        0xAA6604CE, 0xABA46EF9, 0xAEEB787C, 0xAF29124B, 0xAD6FAC12, 0xACADC625,
+        0xA7F18118, 0xA633EB2F, 0xA4755576, 0xA5B73F41, 0xA0F829C4, 0xA13A43F3,
+        0xA37CFDAA, 0xA2BE979D, 0xB5C473D0, 0xB40619E7, 0xB640A7BE, 0xB782CD89,
+        0xB2CDDB0C, 0xB30FB13B, 0xB1490F62, 0xB08B6555, 0xBBD72268, 0xBA15485F,
+        0xB853F606, 0xB9919C31, 0xBCDE8AB4, 0xBD1CE083, 0xBF5A5EDA, 0xBE9834ED,
+        0x00000000, 0xB8BC6765, 0xAA09C88B, 0x12B5AFEE, 0x8F629757, 0x37DEF032,
+        0x256B5FDC, 0x9DD738B9, 0xC5B428EF, 0x7D084F8A, 0x6FBDE064, 0xD7018701,
+        0x4AD6BFB8, 0xF26AD8DD, 0xE0DF7733, 0x58631056, 0x5019579F, 0xE8A530FA,
+        0xFA109F14, 0x42ACF871, 0xDF7BC0C8, 0x67C7A7AD, 0x75720843, 0xCDCE6F26,
+        0x95AD7F70, 0x2D111815, 0x3FA4B7FB, 0x8718D09E, 0x1ACFE827, 0xA2738F42,
+        0xB0C620AC, 0x087A47C9, 0xA032AF3E, 0x188EC85B, 0x0A3B67B5, 0xB28700D0,
+        0x2F503869, 0x97EC5F0C, 0x8559F0E2, 0x3DE59787, 0x658687D1, 0xDD3AE0B4,
+        0xCF8F4F5A, 0x7733283F, 0xEAE41086, 0x525877E3, 0x40EDD80D, 0xF851BF68,
+        0xF02BF8A1, 0x48979FC4, 0x5A22302A, 0xE29E574F, 0x7F496FF6, 0xC7F50893,
+        0xD540A77D, 0x6DFCC018, 0x359FD04E, 0x8D23B72B, 0x9F9618C5, 0x272A7FA0,
+        0xBAFD4719, 0x0241207C, 0x10F48F92, 0xA848E8F7, 0x9B14583D, 0x23A83F58,
+        0x311D90B6, 0x89A1F7D3, 0x1476CF6A, 0xACCAA80F, 0xBE7F07E1, 0x06C36084,
+        0x5EA070D2, 0xE61C17B7, 0xF4A9B859, 0x4C15DF3C, 0xD1C2E785, 0x697E80E0,
+        0x7BCB2F0E, 0xC377486B, 0xCB0D0FA2, 0x73B168C7, 0x6104C729, 0xD9B8A04C,
+        0x446F98F5, 0xFCD3FF90, 0xEE66507E, 0x56DA371B, 0x0EB9274D, 0xB6054028,
+        0xA4B0EFC6, 0x1C0C88A3, 0x81DBB01A, 0x3967D77F, 0x2BD27891, 0x936E1FF4,
+        0x3B26F703, 0x839A9066, 0x912F3F88, 0x299358ED, 0xB4446054, 0x0CF80731,
+        0x1E4DA8DF, 0xA6F1CFBA, 0xFE92DFEC, 0x462EB889, 0x549B1767, 0xEC277002,
+        0x71F048BB, 0xC94C2FDE, 0xDBF98030, 0x6345E755, 0x6B3FA09C, 0xD383C7F9,
+        0xC1366817, 0x798A0F72, 0xE45D37CB, 0x5CE150AE, 0x4E54FF40, 0xF6E89825,
+        0xAE8B8873, 0x1637EF16, 0x048240F8, 0xBC3E279D, 0x21E91F24, 0x99557841,
+        0x8BE0D7AF, 0x335CB0CA, 0xED59B63B, 0x55E5D15E, 0x47507EB0, 0xFFEC19D5,
+        0x623B216C, 0xDA874609, 0xC832E9E7, 0x708E8E82, 0x28ED9ED4, 0x9051F9B1,
+        0x82E4565F, 0x3A58313A, 0xA78F0983, 0x1F336EE6, 0x0D86C108, 0xB53AA66D,
+        0xBD40E1A4, 0x05FC86C1, 0x1749292F, 0xAFF54E4A, 0x322276F3, 0x8A9E1196,
+        0x982BBE78, 0x2097D91D, 0x78F4C94B, 0xC048AE2E, 0xD2FD01C0, 0x6A4166A5,
+        0xF7965E1C, 0x4F2A3979, 0x5D9F9697, 0xE523F1F2, 0x4D6B1905, 0xF5D77E60,
+        0xE762D18E, 0x5FDEB6EB, 0xC2098E52, 0x7AB5E937, 0x680046D9, 0xD0BC21BC,
+        0x88DF31EA, 0x3063568F, 0x22D6F961, 0x9A6A9E04, 0x07BDA6BD, 0xBF01C1D8,
+        0xADB46E36, 0x15080953, 0x1D724E9A, 0xA5CE29FF, 0xB77B8611, 0x0FC7E174,
+        0x9210D9CD, 0x2AACBEA8, 0x38191146, 0x80A57623, 0xD8C66675, 0x607A0110,
+        0x72CFAEFE, 0xCA73C99B, 0x57A4F122, 0xEF189647, 0xFDAD39A9, 0x45115ECC,
+        0x764DEE06, 0xCEF18963, 0xDC44268D, 0x64F841E8, 0xF92F7951, 0x41931E34,
+        0x5326B1DA, 0xEB9AD6BF, 0xB3F9C6E9, 0x0B45A18C, 0x19F00E62, 0xA14C6907,
+        0x3C9B51BE, 0x842736DB, 0x96929935, 0x2E2EFE50, 0x2654B999, 0x9EE8DEFC,
+        0x8C5D7112, 0x34E11677, 0xA9362ECE, 0x118A49AB, 0x033FE645, 0xBB838120,
+        0xE3E09176, 0x5B5CF613, 0x49E959FD, 0xF1553E98, 0x6C820621, 0xD43E6144,
+        0xC68BCEAA, 0x7E37A9CF, 0xD67F4138, 0x6EC3265D, 0x7C7689B3, 0xC4CAEED6,
+        0x591DD66F, 0xE1A1B10A, 0xF3141EE4, 0x4BA87981, 0x13CB69D7, 0xAB770EB2,
+        0xB9C2A15C, 0x017EC639, 0x9CA9FE80, 0x241599E5, 0x36A0360B, 0x8E1C516E,
+        0x866616A7, 0x3EDA71C2, 0x2C6FDE2C, 0x94D3B949, 0x090481F0, 0xB1B8E695,
+        0xA30D497B, 0x1BB12E1E, 0x43D23E48, 0xFB6E592D, 0xE9DBF6C3, 0x516791A6,
+        0xCCB0A91F, 0x740CCE7A, 0x66B96194, 0xDE0506F1
+#endif
+    },
+};
diff --git a/libavutil/crc_tables.h b/libavutil/crc_tables.h
new file mode 100644
index 0000000000..e2cf6ea426
--- /dev/null
+++ b/libavutil/crc_tables.h
@@ -0,0 +1,33 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVUTIL_CRC_TABLES_H
+#define AVUTIL_CRC_TABLES_H
+
+#include "config.h"
+
+#include "crc.h"
+
+#if CONFIG_SMALL
+#define CRC_TABLE_SIZE 257
+#else
+#define CRC_TABLE_SIZE 1024
+#endif
+
+extern const AVCRC ff_crc_table[AV_CRC_MAX][CRC_TABLE_SIZE];
+#endif /* AVUTIL_CRC_TABLES_H */
-- 
2.13.0



More information about the ffmpeg-devel mailing list