LensShadingMap.CopyGainFactors(Single[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copy all gain factors in row-major order from this lens shading map into the destination.
[Android.Runtime.Register("copyGainFactors", "([FI)V", "")]
public void CopyGainFactors (float[]? destination, int offset);
[<Android.Runtime.Register("copyGainFactors", "([FI)V", "")>]
member this.CopyGainFactors : single[] * int -> unit
Parameters
- destination
- Single[]
an array big enough to hold at least RggbChannelVector#COUNT
elements after the offset
- offset
- Int32
a non-negative offset into the array
- Attributes
Exceptions
If destination
was null
If offset was negative
If there's not enough room to write the elements at the specified destination and offset.
Remarks
Copy all gain factors in row-major order from this lens shading map into the destination.
Each gain factor will be >= #MINIMUM_GAIN_FACTOR
.
Java documentation for android.hardware.camera2.params.LensShadingMap.copyGainFactors(float[], int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.