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

📄 table_rlehuff_mpeg4.h

📁 一个很好用的MPEG1/4的开源编码器
💻 H
📖 第 1 页 / 共 3 页
字号:
  { 0x12, 11}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_9[2*2+1] = {  { 0x11, 11}, /*  -2 */  { 0x21,  7}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x20,  7}, /*   1 */  { 0x10, 11}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_10[2*2+1] = {  { 0xab, 13}, /*  -2 */  { 0x2d,  8}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x2c,  8}, /*   1 */  { 0xaa, 13}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_11[2*1+1] = {  { 0x2b,  8}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x2a,  8}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_12[2*1+1] = {  { 0x29,  8}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x28,  8}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_13[2*1+1] = {  { 0x39,  9}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x38,  9}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_14[2*1+1] = {  { 0x37,  9}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x36,  9}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_15[2*1+1] = {  { 0x43, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x42, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_16[2*1+1] = {  { 0x41, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x40, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_17[2*1+1] = {  { 0x3f, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x3e, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_18[2*1+1] = {  { 0x3d, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x3c, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_19[2*1+1] = {  { 0x3b, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x3a, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_20[2*1+1] = {  { 0x39, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x38, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_21[2*1+1] = {  { 0x37, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x36, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_22[2*1+1] = {  { 0x35, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x34, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_23[2*1+1] = {  { 0x45, 12}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x44, 12}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_24[2*1+1] = {  { 0x47, 12}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x46, 12}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_25[2*1+1] = {  { 0xad, 13}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0xac, 13}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_notlast_run_26[2*1+1] = {  { 0xaf, 13}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0xae, 13}  /*   1 */};FAME_ALIGNED static fame_vlc_t *rlehuff_inter_notlast_vlc[27] = {  rlehuff_inter_notlast_run_0 + 12,  rlehuff_inter_notlast_run_1 + 6,  rlehuff_inter_notlast_run_2 + 4,  rlehuff_inter_notlast_run_3 + 3,  rlehuff_inter_notlast_run_4 + 3,  rlehuff_inter_notlast_run_5 + 3,  rlehuff_inter_notlast_run_6 + 3,  rlehuff_inter_notlast_run_7 + 2,  rlehuff_inter_notlast_run_8 + 2,  rlehuff_inter_notlast_run_9 + 2,  rlehuff_inter_notlast_run_10 + 2,  rlehuff_inter_notlast_run_11 + 1,  rlehuff_inter_notlast_run_12 + 1,  rlehuff_inter_notlast_run_13 + 1,  rlehuff_inter_notlast_run_14 + 1,  rlehuff_inter_notlast_run_15 + 1,  rlehuff_inter_notlast_run_16 + 1,  rlehuff_inter_notlast_run_17 + 1,  rlehuff_inter_notlast_run_18 + 1,  rlehuff_inter_notlast_run_19 + 1,  rlehuff_inter_notlast_run_20 + 1,  rlehuff_inter_notlast_run_21 + 1,  rlehuff_inter_notlast_run_22 + 1,  rlehuff_inter_notlast_run_23 + 1,  rlehuff_inter_notlast_run_24 + 1,  rlehuff_inter_notlast_run_25 + 1,  rlehuff_inter_notlast_run_26 + 1};/*****************************************************************************//* intra VLC table when last coefficient                                     *//*****************************************************************************/FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_0[2*8+1] = {  { 0xb3, 13}, /*  -8 */  { 0x09, 12}, /*  -7 */  { 0x0b, 12}, /*  -6 */  { 0x0d, 11}, /*  -5 */  { 0x2f, 10}, /*  -4 */  { 0x2d,  9}, /*  -3 */  { 0x19,  7}, /*  -2 */  { 0x0f,  5}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x0e,  5}, /*   1 */  { 0x18,  7}, /*   2 */  { 0x2c,  9}, /*   3 */  { 0x2e, 10}, /*   4 */  { 0x0c, 11}, /*   5 */  { 0x0a, 12}, /*   6 */  { 0x08, 12}, /*   7 */  { 0xb2, 13}  /*   8 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_1[2*3+1] = {  { 0x0b, 11}, /*  -3 */  { 0x2d, 10}, /*  -2 */  { 0x1f,  7}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x1e,  7}, /*   1 */  { 0x2c, 10}, /*   2 */  { 0x0a, 11}  /*   3 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_2[2*2+1] = {  { 0x09, 11}, /*  -2 */  { 0x1d,  7}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x1c,  7}, /*   1 */  { 0x08, 11}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_3[2*2+1] = {  { 0x49, 12}, /*  -2 */  { 0x23,  8}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x22,  8}, /*   1 */  { 0x48, 12}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_4[2*2+1] = {  { 0x4b, 12}, /*  -2 */  { 0x21,  8}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x20,  8}, /*   1 */  { 0x4a, 12}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_5[2*2+1] = {  { 0xb5, 13}, /*  -2 */  { 0x27,  8}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x26,  8}, /*   1 */  { 0xb4, 13}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_6[2*2+1] = {  { 0xb7, 13}, /*  -2 */  { 0x2b,  9}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x2a,  9}, /*   1 */  { 0xb6, 13}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_7[2*1+1] = {  { 0x29,  9}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x28,  9}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_8[2*1+1] = {  { 0x27,  9}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x26,  9}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_9[2*1+1] = {  { 0x35,  9}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x34,  9}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_10[2*1+1] = {  { 0x2b, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x2a, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_11[2*1+1] = {  { 0x29, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x28, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_12[2*1+1] = {  { 0x27, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x26, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_13[2*1+1] = {  { 0x25, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x24, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_14[2*1+1] = {  { 0x23, 10}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x22, 10}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_15[2*1+1] = {  { 0x4d, 12}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x4c, 12}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_16[2*1+1] = {  { 0x4f, 12}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x4e, 12}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_17[2*1+1] = {  { 0xb9, 13}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0xb8, 13}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_18[2*1+1] = {  { 0xbb, 13}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0xba, 13}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_19[2*1+1] = {  { 0xbd, 13}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0xbc, 13}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_intra_last_run_20[2*1+1] = {  { 0xbf, 13}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0xbe, 13}  /*   1 */};FAME_ALIGNED static fame_vlc_t *rlehuff_intra_last_vlc[21] = {  rlehuff_intra_last_run_0 + 8,  rlehuff_intra_last_run_1 + 3,  rlehuff_intra_last_run_2 + 2,  rlehuff_intra_last_run_3 + 2,  rlehuff_intra_last_run_4 + 2,  rlehuff_intra_last_run_5 + 2,  rlehuff_intra_last_run_6 + 2,  rlehuff_intra_last_run_7 + 1,  rlehuff_intra_last_run_8 + 1,  rlehuff_intra_last_run_9 + 1,  rlehuff_intra_last_run_10 + 1,  rlehuff_intra_last_run_11 + 1,  rlehuff_intra_last_run_12 + 1,  rlehuff_intra_last_run_13 + 1,  rlehuff_intra_last_run_14 + 1,  rlehuff_intra_last_run_15 + 1,  rlehuff_intra_last_run_16 + 1,  rlehuff_intra_last_run_17 + 1,  rlehuff_intra_last_run_18 + 1,  rlehuff_intra_last_run_19 + 1,  rlehuff_intra_last_run_20 + 1};/*****************************************************************************//* inter VLC table when last coefficient                                     *//*****************************************************************************/FAME_ALIGNED static fame_vlc_t rlehuff_inter_last_run_0[2*3+1] = {  { 0x0b, 12}, /*  -3 */  { 0x33, 10}, /*  -2 */  { 0x0f,  5}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x0e,  5}, /*   1 */  { 0x32, 10}, /*   2 */  { 0x0a, 12}  /*   3 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_last_run_1[2*2+1] = {  { 0x09, 12}, /*  -2 */  { 0x1f,  7}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x1e,  7}, /*   1 */  { 0x08, 12}  /*   2 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_last_run_2[2*1+1] = {  { 0x1d,  7}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x1c,  7}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_last_run_3[2*1+1] = {  { 0x1b,  7}, /*  -1 */  { 0x00,  0}, /*   0 */  { 0x1a,  7}  /*   1 */};FAME_ALIGNED static fame_vlc_t rlehuff_inter_last_run_4[2*1+1] = {  { 0x19,  7}, /*  -1 */  { 0x00,  0}, /*   0 */

⌨️ 快捷键说明

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