Hello.
Flow Vector Output Data Packing Format
Horizontal flow vector (9bit signed integer, 4 bit fractional):
- [19:16] Fractional is 4 bits (support 1/16th pixel of precision)
- [28:20] Signed Integer is 9 bits (support up to +255 to -255 pixel Horizontal flow vectors)
- [31:29] Copies of signed bit from integer
In the above picture and explanation, the horizontal flow vector's integer is 9 bits, and unlike the vertical flow vector's sign bits, it is 3 bits not 1 bit. I would like to know exactly how to calculate this part.
The parameter description of tivxDmpacDofNode() says that 31:29 bits of flow_vector_out are copied from the integer, but I don't know how to calculate when signed bits are 3 bits.
And in the above explanation, the horizontal flow vector's integer range is -255 to +255, but according to TRM, it is -191 to +191.
Please explain this part as well.