MPO: Difference between revisions
Added information on Nintendo's MakerNote (please help) |
→Nintendo's EXIF MakerNote Tag: Corrections for the Nintendo's MakerNote (progress :-) ) |
||
Line 138: | Line 138: | ||
==== Nintendo's EXIF MakerNote Tag ==== | ==== Nintendo's EXIF MakerNote Tag ==== | ||
'''This still need to be figured out:''' | '''This still need to be figured out:''' | ||
The MakerNote is made with Tiff Exif information (Big Endian) | |||
After the | |||
first 2 bytes are the IFD Count (IFD is a 12 byte tag), Regulary there are 2 IFDs. | |||
'''IFD structure''' | |||
{| class="wikitable" border="1" | |||
|- | |||
! Tag | |||
! Type | |||
! Count/Value | |||
! Value/Offset | |||
|- | |||
|2 bytes | |||
|2 bytes | |||
|4 bytes | |||
|4 bytes | |||
|} | |||
Nintendo's IFDs | |||
{| class="wikitable" border="1" | |||
|- | |||
! Tag | |||
! Desc | |||
! Type | |||
! Count/Value | |||
! Value/Offset | |||
|- | |||
|0x1100 | |||
|Unknown | |||
|7-Undefined | |||
|Count | |||
|Count=1 ? Value : Offset | |||
|- | |||
|0x1101 | |||
|Nintendo 64byte Note | |||
|7-Undefined | |||
|Count | |||
|Offset | |||
|} | |||
After the IFDs comes a 4 byte Zero ( {0,0,0,0} ). | |||
And then the Data the IFDs point at (if at all) | |||
Nintendo's 64Byte Note | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset | ! Offset | ||
! Description | ! Description | ||
! Type | ! Type | ||
Line 151: | Line 194: | ||
|- | |- | ||
|0 | |0 | ||
|Magic | |Magic | ||
|Byte[4] | |Byte[4] | ||
|{'3','D','S','1'} | |{'3','D','S','1'} | ||
|- | |- | ||
| | |38 | ||
|Unknown | |Unknown | ||
|Unknown | |Unknown | ||
|Unknown | |||
|- | |||
|40 | |||
|3D Parallax* | |||
|NegInt? | |||
|? | |||
|} | |} | ||
*The 3D Parallax value is the distance that the right image needed to move in order to get focus. | |||
The | |||
My formula to get that value isn't so good but here it is: | My formula to get that value isn't so good but here it is: | ||
x = ( | x = (lsb - 0xC0) << 8 + msb; | ||
Parallax = - round( 2 ^ (x/128 + 2) ) | Parallax = - round( 2 ^ (x/128 + 2) ) | ||
If someone makes sense of this, please explain or maybe correct.. | If someone makes sense of this, please explain or maybe correct.. |