The specifications for mp4 files outlines its contained matrix. For which, it describes:

The matrix provides a transformation matrix for the video: (u,v,w) are restricted here to (0,0,1) with types (uint32_t, uint32_t, uint32_t), with hex values : (0,0,0x40000000). u, v and w, are stored as 2.30 fixed-point values.

Putting all context aside, can someone please explain to me how 0x40000000 is equal to 1 as a 2.30 fixed-point value in an unsigned Int(32) variable?

I'm getting 2, not 1. FYI, I'm new to these things.

  • Can you show your process for getting 2? – Ry- Jun 7 at 10:16
  • Sure, I used a converter to convert 0x40000000 in to binary => 1000000000000000000000000000000. Left me with 10 to the left of the decimal, which I calculated as 2 – John Paoletto Jun 7 at 10:20
  • 1
    Did you check how long that value was? – Ry- Jun 7 at 10:20
  • Yup, sorry posted before I finished writing, just edited it – John Paoletto Jun 7 at 10:21
  • I don’t think your edit answers that :P – Ry- Jun 7 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.