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

📄 hufftab.h

📁 一个两碟控制的VCD的代码,两碟之间的转动及连续播放,已大量生产的CODE.
💻 H
字号:
/* SCCSID @(#)hufftab.h	1.3 2/9/98 *//****************************************************************************** High level Huffman tables.******************************************************************************/#ifdef MPEG1#ifdef SVCDlong huffman_high_table_MPEG1[] = {/*this table is for B-frame (Alternate DC)*/#elselong huffman_high_table[] = {   /* this table is for B-frame (Alternate DC) */#endif/*@0 */ 0x4f000, /*  // jnu all the time *//*@1 */ 0x0f869, /*  // MBA *//*@2 */ 0x46003, /*  // jnu if PSC (all zero) else @3 *//*@3 */ 0x77001, /*  // @1 if (esc or stuff) else pc+1 *//*@4 */ 0x0fbd1, /*  // take MTYPE I=3bd P=3c2 B=3d1 *//*@5 */ 0x0440b, /*  // take quant *//*@6 */ 0x7000d, /*  // @d if intra else next *//*@7 */ 0x035f0, /*  // take motion x forward, OR 5_f_00e for field motion *//*@8 */ 0x035f1, /*  // take motion y forward *//*@9 */ 0x025f2, /*  // take motion x backward *//*@a */ 0x025f3, /*  // take motion y backward *//*@b */ 0x01e38, /*  // take cbp *//*@c */ 0x61001, /*  // pc+1 if inter with CBP else @1 *//*@d */ 0x200ba, /*  // take DCY *//*@e */ 0x3d0eb, /*  // take AC *//*@f */ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@10*/ 0x200ba, /*  // take DCY *//*@11*/ 0x3c0eb, /*  // take AC *//*@12*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@13*/ 0x200ba, /*  // take DCY *//*@14*/ 0x3b0eb, /*  // take AC *//*@15*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@16*/ 0x200ba, /*  // take DCY *//*@17*/ 0x3a0eb, /*  // take AC *//*@18*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@19*/ 0x200d2, /*  // take DCUV *//*@1a*/ 0x390eb, /*  // take AC *//*@1b*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@1c*/ 0x200d2, /*  // take DCUV *//*@1d*/ 0x380eb, /*  // take AC *//*@1e*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@1f*/ 0x5f001, /*  // go back to MBA @1 *//*@20*/ 0x0f40b, /*  // 5 bits QUANT *//*@21*/ 0x0f85e, /*  // 1 bit for PEI and spare discard *//*@22*/ 0x70021, /*  // @21 if PEI=1 else pc+1 *//*@23*/ 0x5f001, /*  // go back to MBA @1 *//*@24*/ 0x2f402, /*  // searching for next_start_code; goto pc+2 *//*@25*/ 0x0f416, /*  // searching for start_code after MBA *//*@26*/ 0x1f408, /*  // take slice code and jnu *//*@27*/ 0x0f417, /*  // searching for start_code after MBA *//*@28*/ 0x1f408, /*  // take slice code and jnu *//*@29*/ 0x0f418, /*  // searching for start_code after MBA *//*@2a*/ 0x1f408, /*  // take slice code and jnu *//*@2b*/ 0x0f419, /*  // searching for start_code after MBA *//*@2c*/ 0x1f408, /*  // take slice code and jnu *//*@2d*/ 0x0f41a, /*  // searching for start_code after MBA *//*@2e*/ 0x1f408, /*  // take slice code and jnu *//*@2f*/ 0x0f41b, /*  // searching for start_code after MBA *//*@30*/ 0x1f408, /*  // take slice code and jnu *//*@31*/ 0x0f41c, /*  // searching for start_code after MBA *//*@32*/ 0x1f408, /*  // take slice code and jnu *//*@33*/ 0x0f41d, /*  // searching for start_code after MBA *//*@34*/ 0x1f408, /*  // take slice code and jnu */};#ifdef SVCDlong huffman_high_table_MPEG2[] = {     /* this table is for B-frame *//*@0 */ 0x4f000, /*  // jnu all the time *//*@1 */ 0x0f869, /*  // MBA *//*@2 */ 0x46003, /*  // jnu if PSC (all zero) else @3 *//*@3 */ 0x77001, /*  // @1 if (esc or stuff) else pc+1 */ /*@4 */ 0x0fbd1, /*  // take MTYPE I=3bd P=3c2 B=3d1 *//*@5 */ 0x05fe8, /*  // take frame_MV=3e8 motion type, field=3ef *//*@6 */ 0x067b9, /*  // decode_dct_type , field = 5f007 i.e. goto @7 *//*@7 */ 0x0440b, /*  // take quant */ /*@8 */ 0x70033, /*  // @33 if intra else next *//*@9 */ 0x5f00e, /*  // jmp to @e */ /*@a */ 0x4f000, /*  // jnu all the time, it is nop actually *//*@b */ 0x2f402, /*  // searching for next_start_code; goto pc+2 *//*@c */ 0x0f416, /*  // searching for start_code after MBA *//*@d */ 0x1f408, /*  // take slice code and jnu */ /*@e */ 0x63019, /*  // do forward motion else @19 | 0_3_5f0 take motion x forw*/ /*@f */ 0x0c7b9, /*  // take field select          | 0_3_5f1 take motion y forw*//*@10*/ 0x3b5f0, /*  // take motion x forward      | 0_2_5f2 take motion x back*//*@11*/ 0x087b6, /*  // take DMV                   | 0_2_5f3 take motion y back*//*@12*/ 0x3b5f1, /*  // take motion y forward      | 5_f_024 go to CBP @ 24 *//*@13*/ 0x087b6, /*  // take DMV */ /*@14*/ 0x0a7b9, /*  // take field select *//*@15*/ 0x395f0, /*  // take motion x forward *//*@16*/ 0x087b6, /*  // take DMV *//*@17*/ 0x395f1, /*  // take motion y forward *//*@18*/ 0x087b6, /*  // take DMV */ /*@19*/ 0x62024, /*  // do backward motion else @24 */ /*@1a*/ 0x0c7b9, /*  // take field select *//*@1b*/ 0x3b5f2, /*  // take motion x backward *//*@1c*/ 0x087b6, /*  // take DMV *//*@1d*/ 0x3b5f3, /*  // take motion y backward *//*@1e*/ 0x087b6, /*  // take DMV */ /*@1f*/ 0x0a7b9, /*  // take field select *//*@20*/ 0x395f2, /*  // take motion x backward *//*@21*/ 0x087b6, /*  // take DMV *//*@22*/ 0x395f3, /*  // take motion y backward *//*@23*/ 0x087b6, /*  // take DMV */ /*@24*/ 0x01e38, /*  // take cbp *//*@25*/ 0x61001, /*  // pc+1 if inter with CBP else @1 *//*@26*/ 0x3d0eb, /*  // take AC *//*@27*/ 0x8f0ea, /*  // take ACLOOP *//*@28*/ 0x3c0eb, /*  // take AC *//*@29*/ 0x8f0ea, /*  // take ACLOOP *//*@2a*/ 0x3b0eb, /*  // take AC *//*@2b*/ 0x8f0ea, /*  // take ACLOOP *//*@2c*/ 0x3a0eb, /*  // take AC *//*@2d*/ 0x8f0ea, /*  // take ACLOOP *//*@2e*/ 0x390eb, /*  // take AC *//*@2f*/ 0x8f0ea, /*  // take ACLOOP *//*@30*/ 0x380eb, /*  // take AC *//*@31*/ 0x8f0ea, /*  // take ACLOOP *//*@32*/ 0x5f001, /*  // go back to MBA @1 */ /*@33*/ 0x000ba, /*  // take DCY *//*@34*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@35*/ 0x000ba, /*  // take DCY *//*@36*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@37*/ 0x000ba, /*  // take DCY *//*@38*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@39*/ 0x000ba, /*  // take DCY *//*@3a*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@3b*/ 0x000d2, /*  // take DCUV *//*@3c*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@3d*/ 0x000d2, /*  // take DCUV *//*@3e*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@3f*/ 0x5f001, /*  // go back to MBA @1 */};#endif #else /* MPEG1 */long huffman_high_table[] = {	/* this table is for B-frame *//*@0 */ 0x4f000, /*  // jnu all the time *//*@1 */ 0x0f869, /*  // MBA *//*@2 */ 0x46003, /*  // jnu if PSC (all zero) else @3 *//*@3 */ 0x77001, /*  // @1 if (esc or stuff) else pc+1 *//*@4 */ 0x0fbd1, /*  // take MTYPE I=3bd P=3c2 B=3d1 *//*@5 */ 0x05fe8, /*  // take frame_MV=3e8 motion type, field=3ef *//*@6 */ 0x067b9, /*  // decode_dct_type *//*@7 */ 0x0440b, /*  // take quant *//*@8 */ 0x70033, /*  // @33 if intra else next *//*@9 */ 0x035f0, /*  // take motion x forward, OR 5_f_00e for field motion *//*@a */ 0x035f1, /*  // take motion y forward *//*@b */ 0x025f2, /*  // take motion x backward *//*@c */ 0x025f3, /*  // take motion y backward *//*@d */ 0x5f024, /*  // go to CBP @24 *//*@e */ 0x63019, /*  // do forward motion else @19 *//*@f */ 0x0c7b9, /*  // take field select *//*@10*/ 0x3b5f0, /*  // take motion x forward *//*@11*/ 0x087b6, /*  // take DMV *//*@12*/ 0x3b5f1, /*  // take motion y forward *//*@13*/ 0x087b6, /*  // take DMV *//*@14*/ 0x0a7b9, /*  // take field select *//*@15*/ 0x395f0, /*  // take motion x forward *//*@16*/ 0x087b6, /*  // take DMV *//*@17*/ 0x395f1, /*  // take motion y forward *//*@18*/ 0x087b6, /*  // take DMV *//*@19*/ 0x62024, /*  // do backward motion else @24 *//*@1a*/ 0x0c7b9, /*  // take field select *//*@1b*/ 0x3b5f2, /*  // take motion x backward *//*@1c*/ 0x087b6, /*  // take DMV *//*@1d*/ 0x3b5f3, /*  // take motion y backward *//*@1e*/ 0x087b6, /*  // take DMV *//*@1f*/ 0x0a7b9, /*  // take field select *//*@20*/ 0x395f2, /*  // take motion x backward *//*@21*/ 0x087b6, /*  // take DMV *//*@22*/ 0x395f3, /*  // take motion y backward *//*@23*/ 0x087b6, /*  // take DMV *//*@24*/ 0x01e38, /*  // take cbp *//*@25*/ 0x61001, /*  // pc+1 if inter with CBP else @1 *//*@26*/ 0x3d0eb, /*  // take AC *//*@27*/ 0x8f0ea, /*  // take ACLOOP *//*@28*/ 0x3c0eb, /*  // take AC *//*@29*/ 0x8f0ea, /*  // take ACLOOP *//*@2a*/ 0x3b0eb, /*  // take AC *//*@2b*/ 0x8f0ea, /*  // take ACLOOP *//*@2c*/ 0x3a0eb, /*  // take AC *//*@2d*/ 0x8f0ea, /*  // take ACLOOP *//*@2e*/ 0x390eb, /*  // take AC *//*@2f*/ 0x8f0ea, /*  // take ACLOOP *//*@30*/ 0x380eb, /*  // take AC *//*@31*/ 0x8f0ea, /*  // take ACLOOP *//*@32*/ 0x5f001, /*  // go back to MBA @1 *//*@33*/ 0x000ba, /*  // take DCY *//*@34*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@35*/ 0x000ba, /*  // take DCY *//*@36*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@37*/ 0x000ba, /*  // take DCY *//*@38*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@39*/ 0x000ba, /*  // take DCY *//*@3a*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@3b*/ 0x000d2, /*  // take DCUV *//*@3c*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@3d*/ 0x000d2, /*  // take DCUV *//*@3e*/ 0x8f0ea, /*  // take ACLOOP either 0xea or 0x2b7 *//*@3f*/ 0x5f001, /*  // go back to MBA @1 */};#endif /* MPEG1 */

⌨️ 快捷键说明

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