doc:appunti:hardware:sjcam-8pro-ambarella-firmware-modding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:sjcam-8pro-ambarella-firmware-modding [2022/05/09 10:34] – [Gamma curves] niccolo | doc:appunti:hardware:sjcam-8pro-ambarella-firmware-modding [2022/06/15 16:47] (current) – [White balance presets] niccolo | ||
---|---|---|---|
Line 68: | Line 68: | ||
^ U | 0 ÷ 2048 | Multiplier for the **blue projection** (blue - luma). | ^ U | 0 ÷ 2048 | Multiplier for the **blue projection** (blue - luma). | ||
^ V | 0 ÷ 2048 | Multiplier for the **red projection** (red - luma). | ^ V | 0 ÷ 2048 | Multiplier for the **red projection** (red - luma). | ||
- | ^ Y-offset | + | ^ Y-offset |
- | ^ U-offset | + | ^ U-offset |
- | ^ V-offset | + | ^ V-offset |
+ | For the **multiplier**: | ||
+ | |||
+ | For the **offset shift**: a value of **-128** means **-50%** of the full range, a value of **+127** means **+50%** of the full range. | ||
Values for **Y**, **U** and **V** are unsigned integers in the range **0 ÷ 2048**, values for **Y-offset**, | Values for **Y**, **U** and **V** are unsigned integers in the range **0 ÷ 2048**, values for **Y-offset**, | ||
Line 193: | Line 196: | ||
^ Group ^ Contained in file ^ Used for video modes ^ | ^ Group ^ Contained in file ^ Used for video modes ^ | ||
- | | 4K30/ | + | | 4K30/ |
- | | 4K60/ | + | | 4K60/ |
- | | FHD60/ | + | | FHD60/ |
- | | FHD120/ | + | | FHD120/ |
- | | 720@240/ | + | | 720@240/ |
+ | | 4K30Gyro/ | ||
| ||| | | ||| | ||
^ Group ^ Contained in file ^ Used for photo mode/ | ^ Group ^ Contained in file ^ Used for photo mode/ | ||
Line 203: | Line 207: | ||
| Photo-Hi-ISO/ | | Photo-Hi-ISO/ | ||
- | I have not found any video mode which is affected by tables contained into the file **adj_video_default_05_Imx377**, may be it affects some of the **non active video modes**? | + | It seems rather crazy, but the tables contained into **adj_video_default_05_Imx377** |
==== How gamma curves are mixed together ==== | ==== How gamma curves are mixed together ==== | ||
Line 428: | Line 433: | ||
{{.: | {{.: | ||
+ | |||
+ | FIXME: It is not know how this table works. It seems that labels are wrong: **YA_min** and **YB_min** are repeated twice, may be they are **YA_max** and **YB_max**. | ||
+ | |||
+ | White balance is probably applied as a series of linear transformations to the **four raw values** captured by te **[[wp> | ||
+ | |||
+ | ^ Gr | Green on Red | | ||
+ | ^ Gb | Green on Blue | | ||
+ | ^ Ya | Y channel value of target image? | ||
+ | ^ Yb | Y channel value of reference image? | ||
===== 3D LUT tables ===== | ===== 3D LUT tables ===== | ||
Line 492: | Line 506: | ||
* **{{.: | * **{{.: | ||
* **[[https:// | * **[[https:// | ||
+ | * **[[https:// | ||
doc/appunti/hardware/sjcam-8pro-ambarella-firmware-modding.1652085268.txt.gz · Last modified: 2022/05/09 10:34 by niccolo