| 1 | /* |
| 2 | * Copyright (c) 2017, 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 "Software"), |
| 6 | * to deal in the Software without restriction, including without limitation |
| 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 | * and/or sell copies of the Software, and to permit persons to whom the |
| 9 | * Software is furnished to do so, subject to the following conditions: |
| 10 | * |
| 11 | * The above copyright notice and this permission notice shall be included |
| 12 | * in all copies or substantial portions of the Software. |
| 13 | * |
| 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 18 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 20 | * OTHER DEALINGS IN THE SOFTWARE. |
| 21 | */ |
| 22 | //! |
| 23 | //! \file mhw_vdbox_vdenc_hwcmd_g11_X.cpp |
| 24 | //! \brief Auto-generated definitions for MHW commands and states. |
| 25 | //! |
| 26 | |
| 27 | #include "mhw_vdbox_vdenc_hwcmd_g11_X.h" |
| 28 | #include "mos_utilities.h" |
| 29 | |
| 30 | mhw_vdbox_vdenc_g11_X::VDENC_64B_Aligned_Lower_Address_CMD::VDENC_64B_Aligned_Lower_Address_CMD() |
| 31 | { |
| 32 | DW0.Value = 0; |
| 33 | |
| 34 | } |
| 35 | |
| 36 | mhw_vdbox_vdenc_g11_X::VDENC_64B_Aligned_Upper_Address_CMD::VDENC_64B_Aligned_Upper_Address_CMD() |
| 37 | { |
| 38 | DW0.Value = 0; |
| 39 | |
| 40 | } |
| 41 | |
| 42 | mhw_vdbox_vdenc_g11_X::VDENC_Surface_Control_Bits_CMD::VDENC_Surface_Control_Bits_CMD() |
| 43 | { |
| 44 | DW0.Value = 0; |
| 45 | DW0.ArbitrationPriorityControl = ARBITRATION_PRIORITY_CONTROL_HIGHESTPRIORITY; |
| 46 | DW0.MemoryCompressionEnable = MEMORY_COMPRESSION_ENABLE_DISABLE; |
| 47 | DW0.MemoryCompressionMode = MEMORY_COMPRESSION_MODE_HORIZONTALCOMPRESSIONMODE; |
| 48 | DW0.CacheSelect = CACHE_SELECT_UNNAMED0; |
| 49 | DW0.TiledResourceMode = TILED_RESOURCE_MODE_TRMODENONE; |
| 50 | |
| 51 | } |
| 52 | |
| 53 | mhw_vdbox_vdenc_g11_X::VDENC_Sub_Mb_Pred_Mode_CMD::VDENC_Sub_Mb_Pred_Mode_CMD() |
| 54 | { |
| 55 | DW0.Value = 0; |
| 56 | |
| 57 | } |
| 58 | |
| 59 | mhw_vdbox_vdenc_g11_X::VDENC_Block_8x8_4_CMD::VDENC_Block_8x8_4_CMD() |
| 60 | { |
| 61 | DW0.Value = 0; |
| 62 | |
| 63 | } |
| 64 | |
| 65 | mhw_vdbox_vdenc_g11_X::VDENC_Delta_MV_XY_CMD::VDENC_Delta_MV_XY_CMD() |
| 66 | { |
| 67 | DW0.Value = 0; |
| 68 | DW0.X0 = X0_UNNAMED0; |
| 69 | DW0.Y0 = Y0_UNNAMED0; |
| 70 | |
| 71 | DW1.Value = 0; |
| 72 | DW1.X1 = X1_UNNAMED0; |
| 73 | DW1.Y1 = Y1_UNNAMED0; |
| 74 | |
| 75 | DW2.Value = 0; |
| 76 | DW2.X2 = X2_UNNAMED0; |
| 77 | DW2.Y2 = Y2_UNNAMED0; |
| 78 | |
| 79 | DW3.Value = 0; |
| 80 | DW3.X3 = X3_UNNAMED0; |
| 81 | DW3.Y3 = Y3_UNNAMED0; |
| 82 | |
| 83 | } |
| 84 | |
| 85 | mhw_vdbox_vdenc_g11_X::VDENC_Colocated_MV_Picture_CMD::VDENC_Colocated_MV_Picture_CMD() |
| 86 | { |
| 87 | } |
| 88 | |
| 89 | mhw_vdbox_vdenc_g11_X::VDENC_Down_Scaled_Reference_Picture_CMD::VDENC_Down_Scaled_Reference_Picture_CMD() |
| 90 | { |
| 91 | } |
| 92 | |
| 93 | mhw_vdbox_vdenc_g11_X::VDENC_FRAME_BASED_STATISTICS_STREAMOUT_CMD::VDENC_FRAME_BASED_STATISTICS_STREAMOUT_CMD() |
| 94 | { |
| 95 | DW0.Value = 0; |
| 96 | |
| 97 | DW1.Value = 0; |
| 98 | |
| 99 | DW2.Value = 0; |
| 100 | |
| 101 | DW3.Value = 0; |
| 102 | |
| 103 | DW4.Value = 0; |
| 104 | |
| 105 | MOS_ZeroMemory(&Reserved160, sizeof(Reserved160)); |
| 106 | DW17.Value = 0; |
| 107 | |
| 108 | DW18.Value = 0; |
| 109 | |
| 110 | DW19.Value = 0; |
| 111 | |
| 112 | } |
| 113 | |
| 114 | mhw_vdbox_vdenc_g11_X::VDENC_Mode_StreamOut_Data_CMD::VDENC_Mode_StreamOut_Data_CMD() |
| 115 | { |
| 116 | DW0.Value = 0; |
| 117 | |
| 118 | DW1.Value = 0; |
| 119 | |
| 120 | DW2.Value = 0; |
| 121 | DW2.IntermbmodeChromaPredictionMode = INTERMBMODECHROMA_PREDICTION_MODE_UNNAMED0; |
| 122 | DW2.Intrambmode = INTRAMBMODE_UNNAMED0; |
| 123 | DW2.Intrambflag = INTRAMBFLAG_INTER; |
| 124 | DW2.Lastmbflag = LASTMBFLAG_NOTLAST; |
| 125 | |
| 126 | DW3.Value = 0; |
| 127 | |
| 128 | DW4.Value = 0; |
| 129 | |
| 130 | DW13.Value = 0; |
| 131 | |
| 132 | DW14.Value = 0; |
| 133 | |
| 134 | DW15.Value = 0; |
| 135 | |
| 136 | } |
| 137 | |
| 138 | mhw_vdbox_vdenc_g11_X::VDENC_Original_Uncompressed_Picture_CMD::VDENC_Original_Uncompressed_Picture_CMD() |
| 139 | { |
| 140 | } |
| 141 | |
| 142 | mhw_vdbox_vdenc_g11_X::VDENC_Reference_Picture_CMD::VDENC_Reference_Picture_CMD() |
| 143 | { |
| 144 | } |
| 145 | |
| 146 | mhw_vdbox_vdenc_g11_X::VDENC_Row_Store_Scratch_Buffer_Picture_CMD::VDENC_Row_Store_Scratch_Buffer_Picture_CMD() |
| 147 | { |
| 148 | } |
| 149 | |
| 150 | mhw_vdbox_vdenc_g11_X::VDENC_Statistics_Streamout_CMD::VDENC_Statistics_Streamout_CMD() |
| 151 | { |
| 152 | } |
| 153 | |
| 154 | mhw_vdbox_vdenc_g11_X::VDENC_Streamin_Data_Picture_CMD::VDENC_Streamin_Data_Picture_CMD() |
| 155 | { |
| 156 | } |
| 157 | |
| 158 | mhw_vdbox_vdenc_g11_X::VDENC_STREAMIN_STATE_CMD::VDENC_STREAMIN_STATE_CMD() |
| 159 | { |
| 160 | DW0.Value = 0; |
| 161 | DW0.Forceintra = FORCEINTRA_DISABLE; |
| 162 | DW0.Forceskip = FORCESKIP_DISABLE; |
| 163 | |
| 164 | DW1.Value = 0; |
| 165 | DW1.Qpprimey = QPPRIMEY_UNNAMED0; |
| 166 | |
| 167 | DW2.Value = 0; |
| 168 | |
| 169 | DW3.Value = 0; |
| 170 | |
| 171 | DW4.Value = 0; |
| 172 | |
| 173 | MOS_ZeroMemory(&Reserved160, sizeof(Reserved160)); |
| 174 | } |
| 175 | |
| 176 | mhw_vdbox_vdenc_g11_X::VDENC_HEVC_VP9_FRAME_BASED_STATISTICS_STREAMOUT_CMD::VDENC_HEVC_VP9_FRAME_BASED_STATISTICS_STREAMOUT_CMD() |
| 177 | { |
| 178 | DW0.Value = 0; |
| 179 | |
| 180 | DW1.Value = 0; |
| 181 | |
| 182 | DW2.Value = 0; |
| 183 | |
| 184 | DW3.Value = 0; |
| 185 | |
| 186 | DW4.Value = 0; |
| 187 | |
| 188 | DW5.Value = 0; |
| 189 | |
| 190 | DW6.Value = 0; |
| 191 | |
| 192 | DW7.Value = 0; |
| 193 | |
| 194 | DW8.Value = 0; |
| 195 | |
| 196 | DW9.Value = 0; |
| 197 | |
| 198 | DW10.Value = 0; |
| 199 | |
| 200 | DW11.Value = 0; |
| 201 | |
| 202 | DW12.Value = 0; |
| 203 | |
| 204 | DW13.Value = 0; |
| 205 | |
| 206 | DW14.Value = 0; |
| 207 | |
| 208 | DW15.Value = 0; |
| 209 | |
| 210 | DW16.Value = 0; |
| 211 | |
| 212 | DW17.Value = 0; |
| 213 | |
| 214 | DW18.Value = 0; |
| 215 | |
| 216 | DW19.Value = 0; |
| 217 | |
| 218 | DW20.Value = 0; |
| 219 | |
| 220 | DW21.Value = 0; |
| 221 | |
| 222 | DW22.Value = 0; |
| 223 | |
| 224 | DW23.Value = 0; |
| 225 | |
| 226 | MOS_ZeroMemory(&Reserved768, sizeof(Reserved768)); |
| 227 | DW29.Value = 0; |
| 228 | |
| 229 | DW30.Value = 0; |
| 230 | |
| 231 | DW31.Value = 0; |
| 232 | |
| 233 | } |
| 234 | |
| 235 | mhw_vdbox_vdenc_g11_X::VDENC_HEVC_VP9_STREAMIN_STATE_CMD::VDENC_HEVC_VP9_STREAMIN_STATE_CMD() |
| 236 | { |
| 237 | DW0.Value = 0; |
| 238 | DW0.Numimepredictors = NUMIMEPREDICTORS_UNNAMED0; |
| 239 | |
| 240 | DW1.Value = 0; |
| 241 | |
| 242 | DW2.Value = 0; |
| 243 | |
| 244 | DW3.Value = 0; |
| 245 | |
| 246 | DW4.Value = 0; |
| 247 | |
| 248 | DW5.Value = 0; |
| 249 | |
| 250 | DW6.Value = 0; |
| 251 | |
| 252 | DW7.Value = 0; |
| 253 | |
| 254 | DW8.Value = 0; |
| 255 | |
| 256 | DW9.Value = 0; |
| 257 | |
| 258 | DW10.Value = 0; |
| 259 | |
| 260 | DW11.Value = 0; |
| 261 | |
| 262 | DW12.Value = 0; |
| 263 | |
| 264 | DW13.Value = 0; |
| 265 | |
| 266 | DW14.Value = 0; |
| 267 | |
| 268 | DW15.Value = 0; |
| 269 | |
| 270 | } |
| 271 | |
| 272 | mhw_vdbox_vdenc_g11_X::VDENC_Surface_State_Fields_CMD::VDENC_Surface_State_Fields_CMD() |
| 273 | { |
| 274 | DW0.Value = 0; |
| 275 | |
| 276 | DW1.Value = 0; |
| 277 | DW1.TileWalk = TILE_WALK_YMAJOR; |
| 278 | DW1.TiledSurface = TILED_SURFACE_TRUE; |
| 279 | DW1.HalfPitchForChroma = HALF_PITCH_FOR_CHROMA_DISABLE; |
| 280 | |
| 281 | DW2.Value = 0; |
| 282 | |
| 283 | DW3.Value = 0; |
| 284 | |
| 285 | } |
| 286 | |
| 287 | mhw_vdbox_vdenc_g11_X::VD_PIPELINE_FLUSH_CMD::VD_PIPELINE_FLUSH_CMD() |
| 288 | { |
| 289 | DW0.Value = 0; |
| 290 | DW0.DwordCountN = GetOpLength(dwSize); |
| 291 | DW0.Subopcodeb = SUBOPCODEB_UNNAMED0; |
| 292 | DW0.Subopcodea = SUBOPCODEA_UNNAMED0; |
| 293 | DW0.MediaCommandOpcode = MEDIA_COMMAND_OPCODE_EXTENDEDCOMMAND; |
| 294 | DW0.Pipeline = PIPELINE_MEDIA; |
| 295 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 296 | |
| 297 | DW1.Value = 0; |
| 298 | |
| 299 | } |
| 300 | |
| 301 | mhw_vdbox_vdenc_g11_X::VDENC_WEIGHTSOFFSETS_STATE_CMD::VDENC_WEIGHTSOFFSETS_STATE_CMD() |
| 302 | { |
| 303 | DW0.Value = 0; |
| 304 | DW0.DwLength = GetOpLength(dwSize); |
| 305 | DW0.Subopb = SUBOPB_VDENCAVCWEIGHTSOFFSETSTATE; |
| 306 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 307 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 308 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 309 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 310 | |
| 311 | DW1.Value = 0; |
| 312 | |
| 313 | DW2.Value = 0; |
| 314 | |
| 315 | DW3.Value = 0; |
| 316 | |
| 317 | DW4.Value = 0; |
| 318 | |
| 319 | } |
| 320 | |
| 321 | mhw_vdbox_vdenc_g11_X::VDENC_CONST_QPT_STATE_CMD::VDENC_CONST_QPT_STATE_CMD() |
| 322 | { |
| 323 | DW0.Value = 0; |
| 324 | DW0.DwordLength = GetOpLength(dwSize); |
| 325 | DW0.Subopb = SUBOPB_VDENCCONSTQPTSTATE; |
| 326 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 327 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 328 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 329 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 330 | |
| 331 | MOS_ZeroMemory(DW1_10.Value, sizeof(DW1_10.Value)); |
| 332 | DW11.Value = 0; |
| 333 | MOS_ZeroMemory(DW12_24.Value, sizeof(DW12_24.Value)); |
| 334 | DW25.Value = 0; |
| 335 | MOS_ZeroMemory(DW26_38.Value, sizeof(DW26_38.Value)); |
| 336 | DW39.Value = 0; |
| 337 | MOS_ZeroMemory(DW40_45.Value, sizeof(DW40_45.Value)); |
| 338 | DW46.Value = 0; |
| 339 | MOS_ZeroMemory(DW47_52.Value, sizeof(DW47_52.Value)); |
| 340 | DW53.Value = 0; |
| 341 | MOS_ZeroMemory(DW54_59.Value, sizeof(DW54_59.Value)); |
| 342 | DW60.Value = 0; |
| 343 | } |
| 344 | |
| 345 | mhw_vdbox_vdenc_g11_X::VDENC_DS_REF_SURFACE_STATE_CMD::VDENC_DS_REF_SURFACE_STATE_CMD() |
| 346 | { |
| 347 | DW0.Value = 0; |
| 348 | DW0.DwordLength = GetOpLength(dwSize); |
| 349 | DW0.Subopb = SUBOPB_VDENCDSREFSURFACESTATE; |
| 350 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 351 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 352 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 353 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 354 | |
| 355 | DW1.Value = 0; |
| 356 | |
| 357 | } |
| 358 | |
| 359 | mhw_vdbox_vdenc_g11_X::VDENC_IMG_STATE_CMD::VDENC_IMG_STATE_CMD() |
| 360 | { |
| 361 | DW0.Value = 0; |
| 362 | DW0.DwordLength = GetOpLength(dwSize); |
| 363 | DW0.Subopb = SUBOPB_VDENCIMGSTATE; |
| 364 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 365 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 366 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 367 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 368 | |
| 369 | DW1.Value = 0; |
| 370 | DW1.BidirectionalMixDisable = BIDIRECTIONAL_MIX_DISABLE_SUBBLOCKENABLED; |
| 371 | DW1.VdencPerfmode = VDENC_PERFMODE_NORMAL; |
| 372 | DW1.TimeBudgetOverflowCheck = TIME_BUDGET_OVERFLOW_CHECK_DISABLED; |
| 373 | DW1.VdencExtendedPakObjCmdEnable = VDENC_EXTENDED_PAK_OBJ_CMD_ENABLE_DISABLE; |
| 374 | DW1.Transform8X8Flag = TRANSFORM_8X8_FLAG_DISABLED; |
| 375 | DW1.VdencL1CachePriority = VDENC_L1_CACHE_PRIORITY_UNNAMED0; |
| 376 | |
| 377 | DW2.Value = 0; |
| 378 | DW2.BidirectionalWeight = 0; |
| 379 | |
| 380 | DW3.Value = 0; |
| 381 | |
| 382 | DW4.Value = 0; |
| 383 | DW4.SubPelMode = SUB_PEL_MODE_UNNAMED0; |
| 384 | DW4.ForwardTransformSkipCheckEnable = FORWARD_TRANSFORM_SKIP_CHECK_ENABLE_FTDISABLED; |
| 385 | DW4.BmeDisableForFbrMessage = BME_DISABLE_FOR_FBR_MESSAGE_BMEENABLED; |
| 386 | DW4.BlockBasedSkipEnabled = BLOCK_BASED_SKIP_ENABLED_UNNAMED0; |
| 387 | DW4.InterSadMeasureAdjustment = INTER_SAD_MEASURE_ADJUSTMENT_NONE; |
| 388 | DW4.IntraSadMeasureAdjustment = INTRA_SAD_MEASURE_ADJUSTMENT_NONE; |
| 389 | DW4.SubMacroblockSubPartitionMask = 0; |
| 390 | DW4.BlockBasedSkipType = BLOCK_BASED_SKIP_TYPE_UNNAMED0; |
| 391 | |
| 392 | DW5.Value = 0; |
| 393 | DW5.CrePrefetchEnable = CRE_PREFETCH_ENABLE_UNNAMED0; |
| 394 | DW5.HmeRef1Disable = HME_REF1_DISABLE_UNNAMED0; |
| 395 | DW5.ConstrainedIntraPredictionFlag = CONSTRAINED_INTRA_PREDICTION_FLAG_UNNAMED0; |
| 396 | DW5.PictureType = PICTURE_TYPE_I; |
| 397 | |
| 398 | DW6.Value = 0; |
| 399 | |
| 400 | DW7.Value = 0; |
| 401 | |
| 402 | DW8.Value = 0; |
| 403 | DW8.LumaIntraPartitionMask = 0; |
| 404 | DW8.MvCostScalingFactor = MV_COST_SCALING_FACTOR_QPEL; |
| 405 | DW8.RefidCostModeSelect = REFID_COST_MODE_SELECT_MODE0; |
| 406 | |
| 407 | DW9.Value = 0; |
| 408 | |
| 409 | DW10.Value = 0; |
| 410 | |
| 411 | DW11.Value = 0; |
| 412 | |
| 413 | DW12.Value = 0; |
| 414 | |
| 415 | DW13.Value = 0; |
| 416 | |
| 417 | DW14.Value = 0; |
| 418 | |
| 419 | DW15.Value = 0; |
| 420 | |
| 421 | DW16.Value = 0; |
| 422 | |
| 423 | DW17.Value = 0; |
| 424 | |
| 425 | DW18.Value = 0; |
| 426 | DW18.AvcIntra16X16ModeMask = 0; |
| 427 | DW18.AvcIntraChromaModeMask = 0; |
| 428 | DW18.IntraComputeTypeIntracomputetype = INTRA_COMPUTE_TYPE_INTRACOMPUTETYPE_UNNAMED0; |
| 429 | |
| 430 | DW19.Value = 0; |
| 431 | |
| 432 | DW20.Value = 0; |
| 433 | |
| 434 | DW21.Value = 0; |
| 435 | DW21.IntraRefreshEnableRollingIEnable = INTRAREFRESHENABLE_ROLLING_I_ENABLE_DISABLE; |
| 436 | DW21.IntraRefreshMode = INTRAREFRESHMODE_ROWBASED; |
| 437 | |
| 438 | DW22.Value = 0; |
| 439 | |
| 440 | DW23.Value = 0; |
| 441 | |
| 442 | DW24.Value = 0; |
| 443 | |
| 444 | DW25.Value = 0; |
| 445 | |
| 446 | DW26.Value = 0; |
| 447 | DW26.HmeRefWindowsCombiningThreshold = HME_REF_WINDOWS_COMBINING_THRESHOLD_UNNAMED0; |
| 448 | |
| 449 | DW27.Value = 0; |
| 450 | |
| 451 | DW28.Value = 0; |
| 452 | |
| 453 | DW29.Value = 0; |
| 454 | |
| 455 | DW30.Value = 0; |
| 456 | |
| 457 | DW31.Value = 0; |
| 458 | |
| 459 | DW32.Value = 0; |
| 460 | |
| 461 | DW33.Value = 0; |
| 462 | |
| 463 | DW34.Value = 0; |
| 464 | DW34.PpmvDisable = PPMV_DISABLE_UNNAMED0; |
| 465 | DW34.LongtermReferenceFrameBwdRef0Indicator = LONGTERM_REFERENCE_FRAME_BWD_REF0_INDICATOR_SHORT_TERMREFERENCE; |
| 466 | DW34.LongtermReferenceFrameFwdRef2Indicator = LONGTERM_REFERENCE_FRAME_FWD_REF2_INDICATOR_SHORT_TERMREFERENCE; |
| 467 | DW34.LongtermReferenceFrameFwdRef1Indicator = LONGTERM_REFERENCE_FRAME_FWD_REF1_INDICATOR_SHORT_TERMREFERENCE; |
| 468 | DW34.LongtermReferenceFrameFwdRef0Indicator = LONGTERM_REFERENCE_FRAME_FWD_REF0_INDICATOR_SHORT_TERMREFERENCE; |
| 469 | |
| 470 | } |
| 471 | |
| 472 | mhw_vdbox_vdenc_g11_X::VDENC_PIPE_BUF_ADDR_STATE_CMD::VDENC_PIPE_BUF_ADDR_STATE_CMD() |
| 473 | { |
| 474 | DW0.Value = 0; |
| 475 | DW0.DwordLength = GetOpLength(dwSize); |
| 476 | DW0.Subopb = SUBOPB_VDENCPIPEBUFADDRSTATE; |
| 477 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 478 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 479 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 480 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 481 | DW61.Value = 0; |
| 482 | |
| 483 | } |
| 484 | |
| 485 | mhw_vdbox_vdenc_g11_X::VDENC_PIPE_MODE_SELECT_CMD::VDENC_PIPE_MODE_SELECT_CMD() |
| 486 | { |
| 487 | DW0.Value = 0; |
| 488 | DW0.DwordLength = GetOpLength(dwSize); |
| 489 | DW0.Subopb = SUBOPB_VDENCPIPEMODESELECT; |
| 490 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 491 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 492 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 493 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 494 | |
| 495 | DW1.Value = 0; |
| 496 | DW1.StandardSelect = 0; |
| 497 | DW1.FrameStatisticsStreamOutEnable = FRAME_STATISTICS_STREAM_OUT_ENABLE_DISABLE; |
| 498 | DW1.TlbPrefetchEnable = TLB_PREFETCH_ENABLE_ENABLE; |
| 499 | DW1.PakThresholdCheckEnable = PAK_THRESHOLD_CHECK_ENABLE_DISABLESTATICSLICEMODE; |
| 500 | DW1.VdencStreamInEnable = VDENC_STREAM_IN_ENABLE_DISABLE; |
| 501 | DW1.BitDepth = BIT_DEPTH_8BIT; |
| 502 | DW1.PakChromaSubSamplingType = 0; |
| 503 | |
| 504 | } |
| 505 | |
| 506 | mhw_vdbox_vdenc_g11_X::VDENC_REF_SURFACE_STATE_CMD::VDENC_REF_SURFACE_STATE_CMD() |
| 507 | { |
| 508 | DW0.Value = 0; |
| 509 | DW0.DwordLength = GetOpLength(dwSize); |
| 510 | DW0.Subopb = SUBOPB_VDENCREFSURFACESTATE; |
| 511 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 512 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 513 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 514 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 515 | |
| 516 | DW1.Value = 0; |
| 517 | |
| 518 | } |
| 519 | |
| 520 | mhw_vdbox_vdenc_g11_X::VDENC_SRC_SURFACE_STATE_CMD::VDENC_SRC_SURFACE_STATE_CMD() |
| 521 | { |
| 522 | DW0.Value = 0; |
| 523 | DW0.DwordLength = GetOpLength(dwSize); |
| 524 | DW0.Subopb = SUBOPB_VDENCSRCSURFACESTATE; |
| 525 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 526 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 527 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 528 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 529 | |
| 530 | DW1.Value = 0; |
| 531 | |
| 532 | } |
| 533 | |
| 534 | mhw_vdbox_vdenc_g11_X::VDENC_WALKER_STATE_CMD::VDENC_WALKER_STATE_CMD() |
| 535 | { |
| 536 | DW0.Value = 0; |
| 537 | DW0.DwordLength = GetOpLength(dwSize); |
| 538 | DW0.Subopb = SUBOPB_VDENCWALKERSTATE; |
| 539 | DW0.Subopa = SUBOPA_UNNAMED0; |
| 540 | DW0.Opcode = OPCODE_VDENCPIPE; |
| 541 | DW0.Pipeline = PIPELINE_MFXCOMMON; |
| 542 | DW0.CommandType = COMMAND_TYPE_PARALLELVIDEOPIPE; |
| 543 | |
| 544 | DW1.Value = 0; |
| 545 | |
| 546 | DW2.Value = 0; |
| 547 | |
| 548 | DW3.Value = 0; |
| 549 | |
| 550 | DW4.Value = 0; |
| 551 | |
| 552 | DW5.Value = 0; |
| 553 | |
| 554 | DW6.Value = 0; |
| 555 | |
| 556 | DW7.Value = 0; |
| 557 | |
| 558 | DW8.Value = 0; |
| 559 | |
| 560 | DW9.Value = 0; |
| 561 | |
| 562 | } |
| 563 |