1 /* 2 * Copyright (c) 2011 Intel Corporation. All Rights Reserved. 3 * Copyright (c) Imagination Technologies Limited, UK 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the 7 * "Software"), to deal in the Software without restriction, including 8 * without limitation the rights to use, copy, modify, merge, publish, 9 * distribute, sub license, and/or sell copies of the Software, and to 10 * permit persons to whom the Software is furnished to do so, subject to 11 * the following conditions: 12 * 13 * The above copyright notice and this permission notice (including the 14 * next paragraph) shall be included in all copies or substantial portions 15 * of the Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 20 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 * 25 * Authors: 26 * Waldo Bastian <waldo.bastian@intel.com> 27 * 28 */ 29 30 31 /* format is: inital_opcode, initial_width, address */ 32 /* for each table in gui16vc1VlcTableData[] */ 33 34 35 36 #include <img_types.h> 37 38 IMG_UINT16 gaui16vc1VlcIndexData[83][3] = { 39 {0, 3, 0}, /* vc1DEC_Code_3x2_2x3_tiles.out */ 40 {0, 2, 91}, /* vc1DEC_FourMV_Pattern_0.out */ 41 {0, 3, 110}, /* vc1DEC_FourMV_Pattern_1.out */ 42 {0, 3, 130}, /* vc1DEC_FourMV_Pattern_2.out */ 43 {0, 3, 148}, /* vc1DEC_FourMV_Pattern_3.out */ 44 {0, 3, 168}, /* vc1DEC_High_Mot_Chroma_DC_Diff_VLC.out */ 45 {0, 4, 245}, /* vc1DEC_High_Mot_Inter_VLC.out */ 46 {0, 4, 742}, /* vc1DEC_High_Mot_Intra_VLC.out */ 47 {0, 3, 1010}, /* vc1DEC_High_Mot_Luminance_DC_Diff_VLC.out */ 48 {0, 4, 1121}, /* vc1DEC_High_Rate_Inter_VLC.out */ 49 {0, 4, 1367}, /* vc1DEC_High_Rate_Intra_VLC.out */ 50 {0, 4, 1837}, /* vc1DEC_High_Rate_SUBBLKPAT.out */ 51 {0, 1, 1871}, /* vc1DEC_High_Rate_TTBLK.out */ 52 {0, 2, 1879}, /* vc1DEC_High_Rate_TTMB.out */ 53 {0, 3, 1901}, /* vc1DEC_I_Picture_CBPCY_VLC.out */ 54 {0, 1, 1994}, /* vc1DEC_Interlace_2_MVP_Pattern_0.out */ 55 {2, 1, 1998}, /* vc1DEC_Interlace_2_MVP_Pattern_1.out */ 56 {2, 1, 2001}, /* vc1DEC_Interlace_2_MVP_Pattern_2.out */ 57 {2, 1, 2006}, /* vc1DEC_Interlace_2_MVP_Pattern_3.out */ 58 {0, 4, 2011}, /* vc1DEC_Interlace_4MV_MB_0.out */ 59 {0, 4, 2054}, /* vc1DEC_Interlace_4MV_MB_1.out */ 60 {0, 4, 2091}, /* vc1DEC_Interlace_4MV_MB_2.out */ 61 {0, 4, 2126}, /* vc1DEC_Interlace_4MV_MB_3.out */ 62 {0, 1, 2169}, /* vc1DEC_Interlace_Non_4MV_MB_0.out */ 63 {0, 2, 2180}, /* vc1DEC_Interlace_Non_4MV_MB_1.out */ 64 {0, 1, 2193}, /* vc1DEC_Interlace_Non_4MV_MB_2.out */ 65 {2, 1, 2204}, /* vc1DEC_Interlace_Non_4MV_MB_3.out */ 66 {0, 2, 2215}, /* vc1DEC_Interlaced_CBPCY_0.out */ 67 {0, 4, 2281}, /* vc1DEC_Interlaced_CBPCY_1.out */ 68 {0, 4, 2360}, /* vc1DEC_Interlaced_CBPCY_2.out */ 69 {0, 4, 2441}, /* vc1DEC_Interlaced_CBPCY_3.out */ 70 {0, 4, 2511}, /* vc1DEC_Interlaced_CBPCY_4.out */ 71 {0, 4, 2588}, /* vc1DEC_Interlaced_CBPCY_5.out */ 72 {0, 4, 2656}, /* vc1DEC_Interlaced_CBPCY_6.out */ 73 {0, 4, 2734}, /* vc1DEC_Interlaced_CBPCY_7.out */ 74 {0, 4, 2813}, /* vc1DEC_Low_Mot_Chroma_DC_Diff_VLC.out */ 75 {0, 4, 2905}, /* vc1DEC_Low_Mot_Inter_VLC.out */ 76 {0, 4, 3335}, /* vc1DEC_Low_Mot_Intra_VLC.out */ 77 {2, 5, 3655}, /* vc1DEC_Low_Mot_Luminance_DC_Diff_VLC.out */ 78 {0, 3, 3735}, /* vc1DEC_Low_Rate_SUBBLKPAT.out */ 79 {0, 1, 3757}, /* vc1DEC_Low_Rate_TTBLK.out */ 80 {0, 2, 3764}, /* vc1DEC_Low_Rate_TTMB.out */ 81 {0, 3, 3784}, /* vc1DEC_Medium_Rate_SUBBLKPAT.out */ 82 {0, 2, 3806}, /* vc1DEC_Medium_Rate_TTBLK.out */ 83 {0, 3, 3814}, /* vc1DEC_Medium_Rate_TTMB.out */ 84 {0, 4, 3838}, /* vc1DEC_Mid_Rate_Inter_VLC.out */ 85 {0, 4, 3989}, /* vc1DEC_Mid_Rate_Intra_VLC.out */ 86 {0, 4, 4146}, /* vc1DEC_Mixed_MV_MB_0.out */ 87 {0, 4, 4180}, /* vc1DEC_Mixed_MV_MB_1.out */ 88 {0, 4, 4212}, /* vc1DEC_Mixed_MV_MB_2.out */ 89 {0, 4, 4246}, /* vc1DEC_Mixed_MV_MB_3.out */ 90 {0, 4, 4280}, /* vc1DEC_Mixed_MV_MB_4.out */ 91 {0, 4, 4314}, /* vc1DEC_Mixed_MV_MB_5.out */ 92 {0, 4, 4348}, /* vc1DEC_Mixed_MV_MB_6.out */ 93 {0, 4, 4380}, /* vc1DEC_Mixed_MV_MB_7.out */ 94 {0, 4, 4414}, /* vc1DEC_Mot_Vector_Diff_VLC_0.out */ 95 {0, 4, 4503}, /* vc1DEC_Mot_Vector_Diff_VLC_1.out */ 96 {0, 4, 4588}, /* vc1DEC_Mot_Vector_Diff_VLC_2.out */ 97 {0, 4, 4640}, /* vc1DEC_Mot_Vector_Diff_VLC_3.out */ 98 {0, 4, 4736}, /* vc1DEC_One_Field_Ref_Ilace_MV_0.out */ 99 {0, 4, 4834}, /* vc1DEC_One_Field_Ref_Ilace_MV_1.out */ 100 {0, 4, 4932}, /* vc1DEC_One_Field_Ref_Ilace_MV_2.out */ 101 {0, 4, 5033}, /* vc1DEC_One_Field_Ref_Ilace_MV_3.out */ 102 {2, 4, 5128}, /* vc1DEC_One_MV_MB_0.out */ 103 {2, 4, 5134}, /* vc1DEC_One_MV_MB_1.out */ 104 {0, 4, 5140}, /* vc1DEC_One_MV_MB_2.out */ 105 {0, 4, 5172}, /* vc1DEC_One_MV_MB_3.out */ 106 {0, 3, 5204}, /* vc1DEC_One_MV_MB_4.out */ 107 {0, 3, 5220}, /* vc1DEC_One_MV_MB_5.out */ 108 {2, 4, 5236}, /* vc1DEC_One_MV_MB_6.out */ 109 {0, 4, 5242}, /* vc1DEC_One_MV_MB_7.out */ 110 {0, 4, 5274}, /* vc1DEC_P_Picture_CBPCY_VLC_0.out */ 111 {0, 4, 5369}, /* vc1DEC_P_Picture_CBPCY_VLC_1.out */ 112 {0, 4, 5457}, /* vc1DEC_P_Picture_CBPCY_VLC_2.out */ 113 {0, 3, 5547}, /* vc1DEC_P_Picture_CBPCY_VLC_3.out */ 114 {0, 4, 5627}, /* vc1DEC_Two_Field_Ref_Ilace_MV_0.out */ 115 {0, 4, 5803}, /* vc1DEC_Two_Field_Ref_Ilace_MV_1.out */ 116 {0, 4, 5983}, /* vc1DEC_Two_Field_Ref_Ilace_MV_2.out */ 117 {0, 4, 6156}, /* vc1DEC_Two_Field_Ref_Ilace_MV_3.out */ 118 {0, 4, 6339}, /* vc1DEC_Two_Field_Ref_Ilace_MV_4.out */ 119 {0, 4, 6518}, /* vc1DEC_Two_Field_Ref_Ilace_MV_5.out */ 120 {0, 3, 6696}, /* vc1DEC_Two_Field_Ref_Ilace_MV_6.out */ 121 {0, 4, 6869}, /* vc1DEC_Two_Field_Ref_Ilace_MV_7.out */ 122 }; 123 124 125 const IMG_UINT8 gui8vc1VlcIndexSize = 83; 126 127 /* EOF */ 128