Udostępnij za pośrednictwem


BlackLevelPattern.GetOffsetForIndex(Int32, Int32) Method

Definition

Return the color channel offset for a given index into the array of raw pixel values.

[Android.Runtime.Register("getOffsetForIndex", "(II)I", "")]
public int GetOffsetForIndex (int column, int row);
[<Android.Runtime.Register("getOffsetForIndex", "(II)I", "")>]
member this.GetOffsetForIndex : int * int -> int

Parameters

column
Int32

the column index in the the raw pixel array.

row
Int32

the row index in the raw pixel array.

Returns

a color channel offset.

Attributes

Exceptions

if a column or row given is negative.

Remarks

Return the color channel offset for a given index into the array of raw pixel values.

Java documentation for android.hardware.camera2.params.BlackLevelPattern.getOffsetForIndex(int, 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.

Applies to