Given an encoded pixel coordinate and an encoded pixel shift, decode the values and add the shift to the coordinate to compute an index. Using the index lookup a key and rank value pair from the input tables.
- Template Parameters
-
| XBits | Precision along the X axis used for encoding. |
| YBits | Precision along the Y axis used for encoding. |
| ZBits | Precision along the Z axis used for encoding. |
- Parameters
-
| [in] | pixel | Encoded pixel coordinate for lookup. |
| [in] | shift | Encoded pixel shift for lookup. |
| [in] | keyTable | Table of key values. |
| [in] | rankTable | Table of rank values. |
- Returns
- Key and rank pair from lookup.