⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmdlmbs2_coeff.c

📁 PNX1500上做视频缩放MBS的源代码
💻 C
📖 第 1 页 / 共 5 页
字号:
0x2d8ff94,  0x2d8ff94,  0x2e91f8b,  0x2e91f8b,0x3093f81,  0x3093f81,  0x3195f78,  0x3195f78,0x329836e,  0x329836e,  0x339a764,  0x339a764,0x339d359,  0x339d359,  0x349f74f,  0x349f74f,0x35a1f44,  0x35a1f44,  0x35a4b39,  0x35a4b39,0x36a732e,  0x36a732e,  0x36aa322,  0x36aa322,0x37acb17,  0x37acb17,  0x37afb0b,  0x37afb0b,0x37b2aff,  0x37b2aff,  0x37b5af3,  0x37b5af3};static UInt32 hcG3t_4Coeff [128] ={0x2f5ba422, 0x2f5ba422, 0x2fab9022, 0x2fab9022,0x300b7822, 0x300b7822, 0x305b6821, 0x305b6821,0x30ab5820, 0x30ab5820, 0x310b441f, 0x310b441f,0x315b341e, 0x315b341e, 0x31bb201d, 0x31bb201d,0x321b101b, 0x321b101b, 0x327b0019, 0x327b0019,0x32daf017, 0x32daf017, 0x334adc15, 0x334adc15,0x33aad012, 0x33aad012, 0x340ac010, 0x340ac010,0x347ab00d, 0x347ab00d, 0x34daa40a, 0x34daa40a,0x354a9806, 0x354a9806, 0x35aa9002, 0x35aa9002,0x360a87ff, 0x360a87ff, 0x367a7ffa, 0x367a7ffa,0x36da77f6, 0x36da77f6, 0x373a6ff2, 0x373a6ff2,0x37aa67ed, 0x37aa67ed, 0x380a63e8, 0x380a63e8,0x387a5be3, 0x387a5be3, 0x38da53df, 0x38da53df,0x394a4bda, 0x394a4bda, 0x39aa47d5, 0x39aa47d5,0x3a1a43cf, 0x3a1a43cf, 0x3a7a3fca, 0x3a7a3fca,0x3aea37c5, 0x3aea37c5, 0x3b4a37bf, 0x3b4a37bf,0x3baa33ba, 0x3baa33ba, 0x3bfa37b4, 0x3bfa37b4,0x3c5a37ae, 0x3c5a37ae, 0x3caa3fa7, 0x3caa3fa7,0x3cfa43a1, 0x3cfa43a1, 0x3d5a479a, 0x3d5a479a,0x3daa4b94, 0x3daa4b94, 0x3dfa538d, 0x3dfa538d,0x3e3a5b87, 0x3e3a5b87, 0x3e8a6380, 0x3e8a6380,0x3eda677a, 0x3eda677a, 0x3f2a6f73, 0x3f2a6f73,0x3f6a776d, 0x3f6a776d, 0x3faa7f67, 0x3faa7f67,0x3ffa8760, 0x3ffa8760, 0x2a935a,   0x2a935a,0x6a9b54,   0x6a9b54,   0xaaa74d,   0xaaa74d,0xdab347,   0xdab347,   0x10ac340,  0x10ac340,0x12ad33a,  0x12ad33a,  0x15adf34,  0x15adf34,0x17af32d,  0x17af32d,  0x19b0327,  0x19b0327,0x1bb1321,  0x1bb1321,  0x1db231b,  0x1db231b,0x1eb3715,  0x1eb3715,  0x1fb4710,  0x1fb4710,0x20b5b0a,  0x20b5b0a,  0x21b6b05,  0x21b6b05,0x22b7b00,  0x22b7b00,  0x22b92fa,  0x22b92fa};static UInt32 gC3t_1Coeff [128] ={0x32bc7bb7, 0x32bc7bb7, 0x32ec6fb7, 0x32ec6fb7,0x331c63b7, 0x331c63b7, 0x334c57b7, 0x334c57b7,0x337c4fb6, 0x337c4fb6, 0x33ac43b6, 0x33ac43b6,0x33cc3fb5, 0x33cc3fb5, 0x340c2fb5, 0x340c2fb5,0x343c27b4, 0x343c27b4, 0x346c1bb4, 0x346c1bb4,0x349c13b3, 0x349c13b3, 0x34dc07b2, 0x34dc07b2,0x350bffb1, 0x350bffb1, 0x353bf7b0, 0x353bf7b0,0x357bebaf, 0x357bebaf, 0x35abe3ae, 0x35abe3ae,0x35ebd7ad, 0x35ebd7ad, 0x361bcfac, 0x361bcfac,0x364bcbaa, 0x364bcbaa, 0x367bc3a9, 0x367bc3a9,0x36abbfa7, 0x36abbfa7, 0x36dbbba5, 0x36dbbba5,0x370bb7a3, 0x370bb7a3, 0x373bafa2, 0x373bafa2,0x377ba7a0, 0x377ba7a0, 0x37aba39e, 0x37aba39e,0x37db9f9c, 0x37db9f9c, 0x380b9b9a, 0x380b9b9a,0x383b9b97, 0x383b9b97, 0x386b9795, 0x386b9795,0x388b9793, 0x388b9793, 0x38bb9790, 0x38bb9790,0x38eb938e, 0x38eb938e, 0x390b978b, 0x390b978b,0x393b9788, 0x393b9788, 0x395b9786, 0x395b9786,0x397b9b83, 0x397b9b83, 0x39ab9b80, 0x39ab9b80,0x39cb9f7d, 0x39cb9f7d, 0x39eba37a, 0x39eba37a,0x3a0ba777, 0x3a0ba777, 0x3a2baf73, 0x3a2baf73,0x3a3bb770, 0x3a3bb770, 0x3a5bbb6d, 0x3a5bbb6d,0x3a7bbf6a, 0x3a7bbf6a, 0x3a9bc367, 0x3a9bc367,0x3aabcb64, 0x3aabcb64, 0x3acbcf61, 0x3acbcf61,0x3adbd75e, 0x3adbd75e, 0x3aebe35a, 0x3aebe35a,0x3afbeb57, 0x3afbeb57, 0x3b0bf753, 0x3b0bf753,0x3b1bff50, 0x3b1bff50, 0x3b2c074d, 0x3b2c074d,0x3b3c1349, 0x3b3c1349, 0x3b4c1b46, 0x3b4c1b46,0x3b4c2743, 0x3b4c2743, 0x3b5c2f40, 0x3b5c2f40,0x3b5c3f3c, 0x3b5c3f3c, 0x3b6c433a, 0x3b6c433a,0x3b6c4f37, 0x3b6c4f37, 0x3b7c5734, 0x3b7c5734,0x3b7c6331, 0x3b7c6331, 0x3b7c6f2e, 0x3b7c6f2e};static UInt32 gAf3t_4Coeff [128] ={0x30fc2be7, 0x30fc2be7, 0x313c1be7, 0x313c1be7,0x317c0be7, 0x317c0be7, 0x31bbfbe7, 0x31bbfbe7,0x31fbefe6, 0x31fbefe6, 0x324bdfe5, 0x324bdfe5,0x328bd3e4, 0x328bd3e4, 0x32cbc7e3, 0x32cbc7e3,0x331bb7e2, 0x331bb7e2, 0x335babe1, 0x335babe1,0x33ab9fdf, 0x33ab9fdf, 0x33eb97dd, 0x33eb97dd,0x343b87dc, 0x343b87dc, 0x347b7fda, 0x347b7fda,0x34cb77d7, 0x34cb77d7, 0x350b6fd5, 0x350b6fd5,0x355b63d3, 0x355b63d3, 0x35ab5bd0, 0x35ab5bd0,0x35eb53ce, 0x35eb53ce, 0x363b4bcb, 0x363b4bcb,0x368b43c8, 0x368b43c8, 0x36cb3fc5, 0x36cb3fc5,0x371b37c2, 0x371b37c2, 0x375b37be, 0x375b37be,0x37ab2fbb, 0x37ab2fbb, 0x37eb2bb8, 0x37eb2bb8,0x383b27b4, 0x383b27b4, 0x387b27b0, 0x387b27b0,0x38cb1fad, 0x38cb1fad, 0x390b1fa9, 0x390b1fa9,0x394b1fa5, 0x394b1fa5, 0x399b1ba1, 0x399b1ba1,0x39db1b9d, 0x39db1b9d, 0x3a1b1b99, 0x3a1b1b99,0x3a5b1f94, 0x3a5b1f94, 0x3a9b1f90, 0x3a9b1f90,0x3adb1f8c, 0x3adb1f8c, 0x3b0b2787, 0x3b0b2787,0x3b4b2783, 0x3b4b2783, 0x3b8b2b7e, 0x3b8b2b7e,0x3bbb2f7a, 0x3bbb2f7a, 0x3beb3775, 0x3beb3775,0x3c2b3771, 0x3c2b3771, 0x3c5b3f6c, 0x3c5b3f6c,0x3c8b4368, 0x3c8b4368, 0x3cbb4b63, 0x3cbb4b63,0x3ceb535e, 0x3ceb535e, 0x3d0b5b5a, 0x3d0b5b5a,0x3d3b6355, 0x3d3b6355, 0x3d5b6f50, 0x3d5b6f50,0x3d7b774c, 0x3d7b774c, 0x3dab7f47, 0x3dab7f47,0x3dcb8743, 0x3dcb8743, 0x3ddb973e, 0x3ddb973e,0x3dfb9f3a, 0x3dfb9f3a, 0x3e1bab35, 0x3e1bab35,0x3e2bb731, 0x3e2bb731, 0x3e3bc72c, 0x3e3bc72c,0x3e4bd328, 0x3e4bd328, 0x3e5bdf24, 0x3e5bdf24,0x3e6bef1f, 0x3e6bef1f, 0x3e7bfb1b, 0x3e7bfb1b,0x3e7c0b17, 0x3e7c0b17, 0x3e7c1b13, 0x3e7c1b13};static UInt32 hG5Coeff [128] ={0x3c303c00, 0xff0e5c,   0x3be04000, 0xff225b,0x3b804400, 0xef365c,   0x3b204400, 0xef4a5d,0x3ac04800, 0xdf5e5e,   0x3a604c00, 0xcf6e60,0x3a004c00, 0xcf8261,   0x39a05000, 0xbf9263,0x39405400, 0xbfa264,   0x38d05400, 0xafb268,0x38605800, 0xafc26a,   0x37f05c00, 0x9fce6e,0x37905c00, 0x9fde70,   0x37206000, 0x8fea74,0x36a06000, 0x8ff679,   0x36306400, 0x70027d,0x35c06400, 0x700a82,   0x35506800, 0x601686,0x34d06800, 0x601e8c,   0x34606c01, 0x602a8e,0x33e06c01, 0x503295,   0x33706c01, 0x503a9a,0x32f07001, 0x503ea0,   0x32707001, 0x4046a7,0x32007001, 0x404eac,   0x31807001, 0x4052b3,0x31007001, 0x3056bb,   0x30907001, 0x305ac1,0x30107001, 0x305ec8,   0x2fa07002, 0x3062cd,0x2f206c02, 0x2066d6,   0x2eb06c02, 0x206adc,0x2e406802, 0x206ae4,   0x2dc06802, 0x206eeb,0x2d606402, 0x206ef2,   0x2cd06003, 0x2072fa,0x2c805c03, 0x107301,   0x2c105803, 0x107309,0x2bb05403, 0x107310,   0x2b305004, 0x107318,0x2ac04c04, 0x107320,   0x2a704404, 0x107327,0x2a003c05, 0x10732f,   0x29a03805, 0x106f37,0x29503005, 0x106f3e,   0x28e02806, 0x106f46,0x28c01c06, 0x6b4d,     0x28601406, 0x6b55,0x28200807, 0x675c,     0x27d00007, 0x6763,0x279ff408, 0x636a,     0x274fe808, 0x6372,0x270fdc09, 0x5f79,     0x26efcc09, 0x5f7f,0x26afc00a, 0x5b86,     0x268fb00a, 0x578d,0x264fa00b, 0x5794,     0x263f900b, 0x539a,0x261f800c, 0x4fa0,     0x260f6c0c, 0x4fa6,0x25ef5c0d, 0x4bac,     0x25df480e, 0x47b2,0x25cf340e, 0x47b8,     0x25bf200f, 0x43be};static UInt32 hG1Coeff [128] ={    0x3ae09c00, 0x27eba56, 0x3a80a000, 0x26ed256,0x3a20a400, 0x25ee657,  0x39c0a400, 0x24efe58,0x3950a800, 0x23f125a,  0x38f0ac00, 0x22f2a5a,0x3880b000, 0x21f3e5c,  0x3820b000, 0x20f525e,0x37b0b401, 0x1ff665f,  0x3750b801, 0x1ef7a60,0x36e0b801, 0x1df8e63,  0x3670bc01, 0x1cf9e66,0x3600bc01, 0x1bfb269,  0x3590c001, 0x1afc26c,0x3530c002, 0x19fd26e,  0x34c0c002, 0x18fe272,0x3450c002, 0x17ff276,  0x33e0c003, 0x1600279,0x3370c003, 0x1500e7e,  0x3300c003, 0x1401e82,0x3290c004, 0x1302a86,  0x3220c004, 0x120368b,0x31b0c004, 0x1104290,  0x3140bc05, 0x1004e95,0x30d0bc05, 0x1005a99,  0x3060b806, 0xf0629f,0x3000b406, 0xe06ea4,   0x2f90b007, 0xd076aa,0x2f20ac07, 0xc07eb1,   0x2ec0a808, 0xc086b5,0x2e50a408, 0xb08ebc,   0x2df0a009, 0xa096c1,0x2d90980a, 0xa09ac7,   0x2c10940a, 0x90a2df,0x2bc08c0b, 0x80a6e5,   0x2b50840c, 0x80aaec,0x2b107c0c, 0x70aef2,   0x2aa0740d, 0x70b2f9,0x2a406c0e, 0x60b700,   0x29f0600f, 0x60bb06,0x29905810, 0x50bf0d,   0x29504c10, 0x50bf14,0x29004011, 0x40c31b,   0x28b03412, 0x40c322,0x28602813, 0x40c329,   0x28201c14, 0x30c330,0x27e00c15, 0x30c337,   0x27900016, 0x30c33e,0x276ff017, 0x20c345,   0x272fe018, 0x20c34c,0x26efd019, 0x20c353,   0x26cfc01a, 0x10c359,0x269fb01b, 0x10bf60,   0x266f9c1c, 0x10bf67,0x263f8c1d, 0x10bb6e,   0x260f781e, 0x10bb75,0x25ff641f, 0x10b77b,   0x25ef5020, 0xb382,0x25cf3c21, 0xb388,     0x25af2822, 0xaf8f,0x25af1023, 0xab95,     0x258efc24, 0xa79c,0x257ee425, 0xa7a2,     0x256ed026, 0xa3a8};static UInt32 hP4Coeff [128] ={0x3ed03fff, 0xffb609,   0x3e6047ff, 0xefce09,0x3df04bff, 0xdfe60a,   0x3d8053ff, 0xbffe0b,0x3d1057ff, 0xa0120d,   0x3c905fff, 0x902a0e,0x3c1067fe, 0x803e11,   0x3b906bfe, 0x705214,0x3b1073fe, 0x606217,   0x3a907bfe, 0x50721a,0x3a007ffe, 0x40821f,   0x397087fe, 0x309223,0x38e08ffe, 0x20a227,   0x385097fe, 0x10ae2c,0x37b09bfd, 0xba34,     0x3720a3fd, 0xc638,0x3680abfd, 0x3ff0ce3f, 0x35f0b3fd, 0x3ff0d644,0x3550b7fd, 0x3fe0e24b, 0x34b0bffd, 0x3fe0e652,0x3410c7fc, 0x3fd0ee5a, 0x3360cbfc, 0x3fd0f263,0x32c0d3fc, 0x3fc0f66b, 0x3220d7fc, 0x3fc0fa73,0x3180dffc, 0x3fc0fe7a, 0x30d0e3fc, 0x3fc10283,0x3030e7fc, 0x3fc1028c, 0x2f90effb, 0x3fb10296,0x2ee0f3fb, 0x3fb102a0, 0x2e40f7fb, 0x3fb102a9,0x2da0fbfb, 0x3fb102b2, 0x2d00fbfb, 0x3fb102bc,0x2c60fffb, 0x3fb0fec6, 0x2bc103fb, 0x3fb0fad0,0x2b2103fb, 0x3fb0fada, 0x2a9103fb, 0x3fb0f6e4,0x2a0103fb, 0x3fb0f2ee, 0x296103fb, 0x3fb0eef9,0x28c103fc, 0x3fc0e703, 0x283103fc, 0x3fc0e30d,0x27a0fffc, 0x3fc0df18, 0x2730fbfc, 0x3fc0d722,0x26b0f7fc, 0x3fc0d32c, 0x2630f3fd, 0x3fc0cb36,0x25a0effd, 0x3fc0c741, 0x2520e7fe, 0x3fd0bf4b,0x24b0e3fe, 0x3fd0b755, 0x2440d7ff, 0x3fd0b35f,0x23f0cfff, 0x3fd0ab68, 0x2380c400, 0x3fd0a372,0x2340b800, 0x3fd09b7b, 0x22c0ac01, 0x3fe09785,0x2270a002, 0x3fe08f8e, 0x22309003, 0x3fe08797,0x21f08004, 0x3fe07fa0, 0x21a07005, 0x3fe07ba9,0x21706006, 0x3fe073b1, 0x21405007, 0x3fe06bb9,0x21103c08, 0x3fe067c1, 0x20e02809, 0x3ff05fc9,0x20d0100a, 0x3ff057d1, 0x20bffc0b, 0x3ff053d8,0x20afe40d, 0x3ff04bdf, 0x209fcc0e, 0x3ff047e6};// Transposed mode filter for horizontal compression Low//hor1astatic UInt32 gHorCompDefCoeffLow [128] ={0x38706404, 0x19e1ebc,  0x38206404, 0x19e2ebd,0x37e06404, 0x19e3ebd,  0x37a06404, 0x19e52bc,0x37506004, 0x19e62be,  0x37106005, 0x19e72bd,0x36c06005, 0x19e82be,  0x36805c05, 0x19e92bf,0x36305c05, 0x19ea2c0,  0x35f05805, 0x19eb2c1,0x35a05405, 0x18ec2c4,  0x35605406, 0x18ed2c3,0x35105006, 0x18ee2c5,  0x34d04c06, 0x18ef2c6,0x34804806, 0x17efeca,  0x34304407, 0x17f0ecb,0x33f04007, 0x16f1ecd,  0x33b03c07, 0x16f2acf,0x33603808, 0x16f3ad0,  0x33203408, 0x15f46d3,0x32d02c09, 0x15f52d6,  0x32902809, 0x14f5ed9,0x32502409, 0x14f6eda,  0x32001c0a, 0x13f7ade,0x31c0140a, 0x13f86e1,  0x3180100b, 0x12f8ee4,0x3140080b, 0x12f9ae7,  0x3100000c, 0x11fa6ea,0x30cff80c, 0x11fb2ed,  0x308ff00d, 0x10fbaf1,0x304fe80d, 0xffc6f5,   0x300fe00e, 0xffcef8,0x2fcfd80e, 0xefdafc,   0x2f8fcc0f, 0xefe300,0x2f5fc40f, 0xdfeb04,   0x2f1fb810, 0xdff308,0x2edfb011, 0xcffb0c,   0x2eafa411, 0xc00310,0x2e7f9812, 0xb00b14,   0x2e4f8c12, 0xb01318,0x2e1f8413, 0xa0171c,   0x2def7813, 0xa01f20,0x2daf6c14, 0x902725,   0x2d9f5c14, 0x902b29,0x2d6f5015, 0x902f2d,   0x2d3f4415, 0x803732,0x2d0f3816, 0x803b36,   0x2cff2816, 0x703f3b,0x2cdf1c16, 0x70433f,   0x2cbf0c17, 0x704743,0x2caefc17, 0x604b48,   0x2c6ef018, 0x604f4d,0x2c5ee018, 0x605351,   0x2c3ed018, 0x605756,0x2c4ec018, 0x50575a,   0x2c1eb019, 0x505b5f,0x2c0ea019, 0x505f63,   0x2bfe9019, 0x505f68,0x2bee8019, 0x50636c,   0x2bde7019, 0x506371,0x2bee6019, 0x406375,   0x2bce5019, 0x40677a,0x2bde3c19, 0x40677e,   0x2bde2c19, 0x406782};// Transposed mode filter for horizontal compression Medium//hor1fstatic UInt32 gHorCompDefCoeffMedium [128] ={0x3b109c00, 0x27ec650,  0x3ab0a000, 0x26ee24f,0x3a50a400, 0x25efa4f,  0x39e0a800, 0x24f0e51,0x3980ac00, 0x22f2652,  0x3910b000, 0x21f3e53,0x38a0b400, 0x20f5255,  0x3830b800, 0x1ff6a56,0x37c0b800, 0x1ef7e59,  0x3750bc00, 0x1df925b,0x36e0c000, 0x1cfa65d,  0x3660c401, 0x1bfb660,0x35f0c401, 0x1afca63,  0x3580c801, 0x19fda66,0x3500c801, 0x18fee6a,  0x3490cc01, 0x17ffe6d,0x3410cc02, 0x1600e71,  0x33a0cc02, 0x1501a76,0x3320d002, 0x1402a7a,  0x32b0d003, 0x130367e,0x3230d003, 0x1204683,  0x31c0d003, 0x1105288,0x3140d004, 0x1005e8d,  0x30d0cc04, 0xf06a93,0x3050cc04, 0xe0729a,   0x2fe0cc05, 0xd07e9e,0x2f60c805, 0xd086a5,   0x2ef0c406, 0xc08eab,0x2e80c006, 0xb096b2,   0x2e10c007, 0xa09eb7,0x2d90b807, 0xa0a6bf,   0x2d20b408, 0x90aec5,0x2cc0b008, 0x80b2cc,   0x2c50ac09, 0x80b6d2,0x2bf0a40a, 0x70bad9,   0x2b709c0a, 0x70c2e1,0x2b20940b, 0x60c2e8,   0x2ab08c0c, 0x60c6ef,0x2a50840d, 0x50caf6,   0x29e07c0d, 0x50cefe,0x29a0700e, 0x40cf05,   0x2930680f, 0x40cf0d,0x28d05c10, 0x40d314,   0x28805011, 0x30d31c,0x28304412, 0x30d323,   0x27e03413, 0x30d32b,0x27a02814, 0x20d332,   0x27601815, 0x20cf3a,0x27100c16, 0x20cf41,   0x26dffc17, 0x10cf49,0x26afec18, 0x10cb50,   0x266fd819, 0x10cb58,0x263fc81a, 0x10c75f,   0x260fb41b, 0x10c766,0x25dfa41c, 0x00c36e,   0x25bf901d, 0x00bf75,0x259f7c1e, 0x00bb7c,   0x256f681f, 0x00bb83,0x255f5020, 0x00b78a,   0x253f3c21, 0x00b391,0x252f2422, 0x00af98,   0x251f0c24, 0x00ab9e,0x24fef825, 0x00a7a5,   0x24fee026, 0x00a3ab};// Transposed mode filter for horizontal compression Medium High//hP6static UInt32 gHorCompDefCoeffMediumHigh [128] ={0x3d8043fe, 0x10f6232,  0x3d2047fe, 0xff7a32,0x3cb04ffe, 0xef9232,   0x3c5053fe, 0xdfa633,0x3be057fe, 0xbfbe35,   0x3b705ffe, 0xafd236,0x3b0063fe, 0x9fe638,   0x3a806bfe, 0x8ffa3a,0x3a106ffe, 0x700a3d,   0x399073fe, 0x601a41,0x39107bfe, 0x502e43,   0x38907ffd, 0x403a49,0x381087fd, 0x404a4b,   0x37908bfd, 0x305a4f,0x37108ffd, 0x206654,   0x368097fd, 0x107259,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -