📄 umc_h264_dec_total_zero.h
字号:
/*//// INTEL CORPORATION PROPRIETARY INFORMATION// This software is supplied under the terms of a license agreement or// nondisclosure agreement with Intel Corporation and may not be copied// or disclosed except in accordance with the terms of that agreement.// Copyright (c) 2003-2005 Intel Corporation. All Rights Reserved.////*/#ifndef __UMC_H264_DEC_TOTAL_ZEROS_H__#define __UMC_H264_DEC_TOTAL_ZEROS_H__namespace UMC{//#if !defined (ARM) && !defined (_ARM_)//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 1/*0 12 0101 0114 00103 00116 0001 05 0001 18 0000 107 0000 1110 0000 0109 0000 01112 0000 001011 0000 001115 0000 0000 114 0000 0001 013 0000 0001 1*/Ipp32s total_zeros_map_1[] ={9, /* max bits */2, /* total subtables */5,4,/* subtable sizes */1, /* 1-bit codes */0x0001, 0,0, /* 2-bit codes */2, /* 3-bit codes */0x0002, 2, 0x0003, 1,2, /* 4-bit codes */0x0002, 4, 0x0003, 3,2, /* 5-bit codes */0x0002, 6, 0x0003, 5,2, /* 6-bit codes */0x0002, 8, 0x0003, 7,2, /* 7-bit codes */0x0002, 10, 0x0003, 9,2, /* 8-bit codes */0x0002, 12, 0x0003, 11,3, /* 9-bit codes */0x0001, 15, 0x0002, 14, 0x0003, 13,-1};//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 2/*4 0113 1002 1011 1100 1118 00107 00116 01005 010110 0001 09 0001 114 0000 0013 0000 0112 0000 1011 0000 11*/Ipp32s total_zeros_map_2[] ={6, /* max bits */2, /* total subtables */3,3,/* subtable sizes */0, /* 1-bit codes */0, /* 2-bit codes */5, /* 3-bit codes */0x0003, 4, 0x0004, 3, 0x0005, 2, 0x0006, 1,0x0007, 0,4, /* 4-bit codes */0x0002, 8, 0x0003, 7, 0x0004, 6, 0x0005, 5,2, /* 5-bit codes */0x0002, 10, 0x0003, 9,4, /* 6-bit codes */0x0000, 14, 0x0001, 13, 0x0002, 12, 0x0003, 11,-1};//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 3/*7 0116 1003 1012 1101 1118 00105 00114 01000 010112 0000 110 0001 09 0001 113 0000 0011 0000 01*/Ipp32s total_zeros_map_3[] ={6, /* max bits */2, /* total subtables */3,3,/* subtable sizes */0, /* 1-bit codes */0, /* 2-bit codes */5, /* 3-bit codes */0x0003, 7, 0x0004, 6, 0x0005, 3, 0x0006, 2,0x0007, 1,4, /* 4-bit codes */0x0002, 8, 0x0003, 5, 0x0004, 4, 0x0005, 0,3, /* 5-bit codes */0x0001, 12, 0x0002, 10, 0x0003, 9,2, /* 6-bit codes */0x0000, 13, 0x0001, 11,-1};//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 4/*8 0116 1005 1014 1101 1119 00107 00113 01002 010112 0000 011 0000 110 0001 00 0001 1*/Ipp32s total_zeros_map_4[] ={5, /* max bits */2, /* total subtables */2,3,/* subtable sizes */0, /* 1-bit codes */0, /* 2-bit codes */5, /* 3-bit codes */0x0003, 8, 0x0004, 6, 0x0005, 5, 0x0006, 4,0x0007, 1,4, /* 4-bit codes */0x0002, 9, 0x0003, 7, 0x0004, 3, 0x0005, 2,4, /* 5-bit codes */0x0000, 12, 0x0001, 11, 0x0002, 10, 0x0003, 0,-1};//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 5/*7 0116 1005 1014 1103 11110 00018 00102 00111 01000 010111 0000 09 0000 1*/Ipp32s total_zeros_map_5[] ={5, /* max bits */2, /* total subtables */2,3,/* subtable sizes */0, /* 1-bit codes */0, /* 2-bit codes */5, /* 3-bit codes */0x0003, 7, 0x0004, 6, 0x0005, 5, 0x0006, 4,0x0007, 3,5, /* 4-bit codes */0x0001, 10, 0x0002, 8, 0x0003, 2, 0x0004, 1,0x0005, 0,2, /* 5-bit codes */0x0000, 11, 0x0001, 9,-1};//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 6/*9 0017 0106 0115 1004 1013 1102 1118 00011 0000 110 0000 000 0000 01*/Ipp32s total_zeros_map_6[] ={6, /* max bits */2, /* total subtables */3,3,/* subtable sizes */0, /* 1-bit codes */0, /* 2-bit codes */7, /* 3-bit codes */0x0001, 9, 0x0002, 7, 0x0003, 6, 0x0004, 5,0x0005, 4, 0x0006, 3, 0x0007, 2,1, /* 4-bit codes */0x0001, 8,1, /* 5-bit codes */0x0001, 1,2, /* 6-bit codes */0x0000, 10, 0x0001, 0,-1};//Table 9 7 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 7/*5 118 0016 0104 0113 1002 1017 00011 0000 19 0000 000 0000 01*/Ipp32s total_zeros_map_7[] ={6, /* max bits */2, /* total subtables */3,3,/* subtable sizes */0, /* 1-bit codes */1, /* 2-bit codes */0x0003, 5,5, /* 3-bit codes */0x0001, 8, 0x0002, 6, 0x0003, 4, 0x0004, 3,0x0005, 2,1, /* 4-bit codes */0x0001, 7,1, /* 5-bit codes */0x0001, 1,2, /* 6-bit codes */0x0000, 9, 0x0001, 0,-1};//Table 9-8 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 8/*5 104 117 0016 0103 0111 00012 0000 18 0000 000 0000 01*/Ipp32s total_zeros_map_8[] ={6, /* max bits */2, /* total subtables */3,3,/* subtable sizes */0, /* 1-bit codes */2, /* 2-bit codes */0x0002, 5,0x0003, 4,3, /* 3-bit codes */0x0001, 7, 0x0002, 6, 0x0003, 3,1, /* 4-bit codes */0x0001, 1,1, /* 5-bit codes */0x0001, 2,2, /* 6-bit codes */0x0000, 8, 0x0001, 0,-1};//Table 9-8 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 9/*6 014 103 115 0012 00017 0000 11 0000 000 0000 01*/Ipp32s total_zeros_map_9[] ={6, /* max bits */2, /* total subtables */3,3,/* subtable sizes */0, /* 1-bit codes */3, /* 2-bit codes */0x0001, 6, 0x0002, 4, 0x0003, 3,1, /* 3-bit codes */0x0001, 5,1, /* 4-bit codes */0x0001, 2,1, /* 5-bit codes */0x0001, 7,2, /* 6-bit codes */0x0000, 1, 0x0001, 0,-1};//Table 9-8 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 10/*5 014 103 112 0016 00011 0000 00 0000 1*/Ipp32s total_zeros_map_10[] ={5, /* max bits */2, /* total subtables */2,3,/* subtable sizes */0, /* 1-bit codes */3, /* 2-bit codes */0x0001, 5, 0x0002, 4, 0x0003, 3,1, /* 3-bit codes */0x0001, 2,1, /* 4-bit codes */0x0001, 6,2, /* 5-bit codes */0x0000, 1, 0x0001, 0,-1};//Table 9-8 - total_zeros tables for 4x4 blocks with//TotalCoeff( coeff_token ) == 11/*4 12 0013 010
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -