Camera Services: Difference between revisions

Steveice10 (talk | contribs)
m Minor cleanup.
Steveice10 (talk | contribs)
m Some types.
Line 996: Line 996:
| 0x1
| 0x1
| Output buffer's pixels are morton swizzled. Used when outputting to a GPU texture.
| Output buffer's pixels are morton swizzled. Used when outputting to a GPU texture.
|}
===CoefficientParams===
{| class="wikitable" border="1"
!  Type
!  Field
|-
| u16
| Y_A
|-
| u16
| R_V
|-
| u16
| G_V
|-
| u16
| G_U
|-
| u16
| B_U
|-
| u16
| R_Offset
|-
| u16
| G_Offset
|-
| u16
| B_Offset
|}
|}


Line 1,015: Line 1,045:
| COEFFICIENT_ITU_R_BT_709_SCALING
| COEFFICIENT_ITU_R_BT_709_SCALING
| 0x3
| 0x3
|}
===DitheringWeightParams===
{| class="wikitable" border="1"
!  Type
!  Field
|-
| u16
| w0_xEven_yEven
|-
| u16
| w0_xOdd_yEven
|-
| u16
| w0_xEven_yOdd
|-
| u16
| w0_xOdd_yOdd
|-
| u16
| w1_xEven_yEven
|-
| u16
| w1_xOdd_yEven
|-
| u16
| w1_xEven_yOdd
|-
| u16
| w1_xOdd_yOdd
|-
| u16
| w2_xEven_yEven
|-
| u16
| w2_xOdd_yEven
|-
| u16
| w2_xEven_yOdd
|-
| u16
| w2_xOdd_yOdd
|-
| u16
| w3_xEven_yEven
|-
| u16
| w3_xOdd_yEven
|-
| u16
| w3_xEven_yOdd
|-
| u16
| w3_xOdd_yOdd
|}
===PackageParameter===
{| class="wikitable" border="1"
!  Type
!  Field
|-
| u8
| [[Camera_Services#InputFormat|InputFormat]] inputFormat
|-
| u8
| [[Camera_Services#OutputFormat_2|OutputFormat]] outputFormat
|-
| u8
| [[Camera_Services#Rotation|Rotation]] rotation
|-
| u8
| [[Camera_Services#BlockAlignment|BlockAlignment]] blockAlignment
|-
| s16
| inputLineWidth
|-
| s16
| inputLines
|-
| u8
| [[Camera_Services#StandardCoefficient|StandardCoefficient]] standardCoefficient
|-
| u8
| padding
|-
|-
| COEFFICIENT_MAX
| s16
| 0x4
| alpha
|}
|}