1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
<!---======================= begin_copyright_notice ============================
Copyright (C) 2020-2022 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ==========================-->
## Opcode
VME_FBR = 0x56
## Format
| | | | | | | |
| --- | --- | --- | --- | --- | --- | --- |
| 0x56(VME_FBR) | UNIInput | FBRInput | Surface | FBRMbMode | FBRSubMbShape | FBRSubPredMode |
| | Output | | | | | |
## Semantics
```
Video Motion Estimation - fractional and bidirectional refinement
```
## Description
Performs Video Motion Estimation with fractional and bidirectional refinement (FBR). See [4] for more detailed information on the VME functionality. This instruction may not appear inside a SIMD control flow block.
- **UNIInput(raw_operand):** The raw operand of a general variable that stores the universal VME payload data. Must have type UB. Must have 128 elements
- **FBRInput(raw_operand):** The raw operand of a general variable that stores the FBR specific payload data. Must have type UB. Must have 128 elements
- **Surface(ub):** The index of the surface variable
- **FBRMbMode(scalar):** The inter macro-block type. Must have type UD. Valid values are:
- 0: 16x16
- 1: 16x8
- 2: 8x16
- 3: 8x8
- **FBRSubMbShape(scalar):** The sub-shape per block for fractional and bidirectional refinement. Must have type UD
- Bit[1..0]: SubMbShape[0]
- 0b00: 8x8
- 0b01: 8x4
- 0b10: 4x8
- 0b11: 4x4
- Bit[3..2]: SubMbShape[1]
- 0b00: 8x8
- 0b01: 8x4
- 0b10: 4x8
- 0b11: 4x4
- Bit[5..4]: SubMbShape[2]
- 0b00: 8x8
- 0b01: 8x4
- 0b10: 4x8
- 0b11: 4x4
- Bit[7..6]: SubMbShape[3]
- 0b00: 8x8
- 0b01: 8x4
- 0b10: 4x8
- 0b11: 4x4
- **FBRSubPredMode(scalar):** The selection of shapes from the input message for performing VME. Must have type UD
- Bit[1..0]: SubMbPredMode[0]
- 0b00: Forward
- 0b01: Backward
- 0b10: Bidirectional
- 0b11: Illegal
- Bit[3..2]: SubMbPredMode[1]
- 0b00: Forward
- 0b01: Backward
- 0b10: Bidirectional
- 0b11: Illegal
- Bit[5..4]: SubMbPredMode[2]
- 0b00: Forward
- 0b01: Backward
- 0b10: Bidirectional
- 0b11: Illegal
- Bit[7..6]: SubMbPredMode[3]
- 0b00: Forward
- 0b01: Backward
- 0b10: Bidirectional
- 0b11: Illegal
- **Output(raw_operand):** The raw operand of a general variable used to store the VME output data. Must have type UB. Must have 224 elements
#### Properties
## Text
```
VME_FBR (<FBRMbMode>, <FBRSubMbShape>, <FBRSubPredMode>) <surface> <UNIInput> <FBRInput> <output>
```
## Notes
|