| 1 |
/* |
| 2 |
* Copyright © <2010>, Intel Corporation. |
| 3 |
* |
| 4 |
* Permission is hereby granted, free of charge, to any person obtaining a |
| 5 |
* copy of this software and associated documentation files (the |
| 6 |
* "Software"), to deal in the Software without restriction, including |
| 7 |
* without limitation the rights to use, copy, modify, merge, publish, |
| 8 |
* distribute, sub license, and/or sell copies of the Software, and to |
| 9 |
* permit persons to whom the Software is furnished to do so, subject to |
| 10 |
* the following conditions: |
| 11 |
* |
| 12 |
* The above copyright notice and this permission notice (including the |
| 13 |
* next paragraph) shall be included in all copies or substantial portions |
| 14 |
* of the Software. |
| 15 |
* |
| 16 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 17 |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 18 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
| 19 |
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR |
| 20 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 21 |
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 22 |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 23 |
* |
| 24 |
* This file was originally licensed under the following license |
| 25 |
* |
| 26 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 27 |
* you may not use this file except in compliance with the License. |
| 28 |
* You may obtain a copy of the License at |
| 29 |
* |
| 30 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 31 |
* |
| 32 |
* Unless required by applicable law or agreed to in writing, software |
| 33 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 34 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 35 |
* See the License for the specific language governing permissions and |
| 36 |
* limitations under the License. |
| 37 |
* |
| 38 |
*/ |
| 39 |
$table { |
| 40 |
AllAVC_END_IP/INSTFACTOR // Total instruction count |
| 41 |
#if (defined(SW_SCOREBOARD) || defined(HW_SCOREBOARD)) && defined(ENABLE_ILDB) |
| 42 |
// 23 // Total kernel count |
| 43 |
#elif defined(SW_SCOREBOARD) || defined(HW_SCOREBOARD) |
| 44 |
// 11 // Total kernel count |
| 45 |
#elif defined(ENABLE_ILDB) |
| 46 |
// 21 // Total kernel count |
| 47 |
#else |
| 48 |
// 11 // Total kernel count |
| 49 |
#endif |
| 50 |
INTRA_16x16_ENTRY/INSTFACTOR // Instruction offset to 'Intra_16x16' |
| 51 |
INTRA_8x8_ENTRY/INSTFACTOR // Instruction offset to 'Intra_8x8' |
| 52 |
INTRA_4x4_ENTRY/INSTFACTOR // Instruction offset to 'Intra_4x4' |
| 53 |
INTRA_PCM_ENTRY/INSTFACTOR // Instruction offset to 'Intra_PCM' |
| 54 |
FRAME_MB_ENTRY/INSTFACTOR // Instruction offset to 'FrameMB_Motion' |
| 55 |
FIELD_MB_ENTRY/INSTFACTOR // Instruction offset to 'FieldMB_Motion' |
| 56 |
MBAFF_MB_ENTRY/INSTFACTOR // Instruction offset to 'MBAff_Motion' |
| 57 |
#ifdef SW_SCOREBOARD |
| 58 |
SCOREBOARD_ENTRY/INSTFACTOR // Instruction offset to 'scoreboard' |
| 59 |
SCOREBOARD_MBAFF_ENTRY/INSTFACTOR // Instruction offset to 'scoreboard_MBAFF' |
| 60 |
#elif defined(HW_SCOREBOARD) |
| 61 |
SETHWSCOREBOARD_ENTRY/INSTFACTOR // Instruction offset to 'AVC_SetIntraDepend' |
| 62 |
SETHWSCOREBOARD_MBAFF_ENTRY/INSTFACTOR // Instruction offset to 'AVC_SetIntraDependMBAFF' |
| 63 |
#endif // SW_SCOREBOARD |
| 64 |
#ifdef ENABLE_ILDB |
| 65 |
AVC_ILDB_ROOT_Y_ILDB_FRAME_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Root_Y' |
| 66 |
AVC_ILDB_CHILD_Y_ILDB_FRAME_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Child_Y' |
| 67 |
AVC_ILDB_ROOT_UV_ILDB_FRAME_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Root_UV' |
| 68 |
AVC_ILDB_CHILD_UV_ILDB_FRAME_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Child_UV' |
| 69 |
AVC_ILDB_ROOT_Y_ILDB_FIELD_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Root_Field_Y' |
| 70 |
AVC_ILDB_CHILD_Y_ILDB_FIELD_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Child_Field_Y' |
| 71 |
AVC_ILDB_ROOT_UV_ILDB_FIELD_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Root_Field_UV' |
| 72 |
AVC_ILDB_CHILD_UV_ILDB_FIELD_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Child_Field_UV' |
| 73 |
AVC_ILDB_ROOT_Y_ILDB_MBAFF_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Root_Mbaff_Y' |
| 74 |
AVC_ILDB_CHILD_Y_ILDB_MBAFF_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Child_Mbaff_Y' |
| 75 |
AVC_ILDB_ROOT_UV_ILDB_MBAFF_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Root_Mbaff_UV' |
| 76 |
AVC_ILDB_CHILD_UV_ILDB_MBAFF_ENTRY/INSTFACTOR // Instruction offset to 'AVC_ILDB_Child_Mbaff_UV' |
| 77 |
#endif // ENABLE_ILDB |
| 78 |
BSDRESET_ENTRY/INSTFACTOR // Instruction offset to 'BSDReset' |
| 79 |
DCRESETDUMMY_ENTRY/INSTFACTOR // Instruction offset to 'DCResetDummy' |
| 80 |
|
| 81 |
// 0 // Instruction offset to Intra_4x4_luma_prediction_mode_0 |
| 82 |
INTRA_4X4_HORIZONTAL_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_1 |
| 83 |
INTRA_4X4_DC_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_2 |
| 84 |
INTRA_4X4_DIAG_DOWN_LEFT_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_3 |
| 85 |
INTRA_4X4_DIAG_DOWN_RIGHT_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_4 |
| 86 |
INTRA_4X4_VERT_RIGHT_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_5 |
| 87 |
INTRA_4X4_HOR_DOWN_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_6 |
| 88 |
INTRA_4X4_VERT_LEFT_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_7 |
| 89 |
INTRA_4X4_HOR_UP_IP-INTRA_4X4_VERTICAL_IP // Instruction offset to Intra_4x4_luma_prediction_mode_8 |
| 90 |
|
| 91 |
// 0 // Instruction offset to Intra_8x8_luma_prediction_mode_0 |
| 92 |
INTRA_8X8_HORIZONTAL_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_1 |
| 93 |
INTRA_8X8_DC_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_2 |
| 94 |
INTRA_8X8_DIAG_DOWN_LEFT_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_3 |
| 95 |
INTRA_8X8_DIAG_DOWN_RIGHT_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_4 |
| 96 |
INTRA_8X8_VERT_RIGHT_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_5 |
| 97 |
INTRA_8X8_HOR_DOWN_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_6 |
| 98 |
INTRA_8X8_VERT_LEFT_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_7 |
| 99 |
INTRA_8X8_HOR_UP_IP-INTRA_8X8_VERTICAL_IP // Instruction offset to Intra_8x8_luma_prediction_mode_8 |
| 100 |
|
| 101 |
// 0 // Instruction offset to Intra_16x16_luma_prediction_mode_0 |
| 102 |
INTRA_16x16_HORIZONTAL_IP-INTRA_16x16_VERTICAL_IP // Instruction offset to Intra_16x16_luma_prediction_mode_1 |
| 103 |
INTRA_16x16_DC_IP-INTRA_16x16_VERTICAL_IP // Instruction offset to Intra_16x16_luma_prediction_mode_2 |
| 104 |
INTRA_16x16_PLANE_IP-INTRA_16x16_VERTICAL_IP // Instruction offset to Intra_16x16_luma_prediction_mode_3 |
| 105 |
|
| 106 |
// 0 // Instruction offset to intra_chroma_prediction_mode_0 |
| 107 |
INTRA_CHROMA_HORIZONTAL_IP-INTRA_CHROMA_DC_IP // Instruction offset to intra_chroma_prediction_mode_1 |
| 108 |
INTRA_CHROMA_VERTICAL_IP-INTRA_CHROMA_DC_IP // Instruction offset to intra_chroma_prediction_mode_2 |
| 109 |
INTRA_Chroma_PLANE_IP-INTRA_CHROMA_DC_IP // Instruction offset to intra_chroma_prediction_mode_3 |
| 110 |
|
| 111 |
intra_Pred_4x4_Y_IP-ADD_ERROR_SB3_IP*0x100+intra_Pred_4x4_Y_IP-ADD_ERROR_SB2_IP*0x100+intra_Pred_4x4_Y_IP-ADD_ERROR_SB1_IP*0x100+intra_Pred_4x4_Y_IP-ADD_ERROR_SB0_IP // Instruction offset to intra_4x4_pred_module |
| 112 |
} |