YuvImage コンストラクター

定義

オーバーロード

YuvImage(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

YuvImage(Byte[], ImageFormatType, Int32, Int32, Int32[])

YuvImage を構築します。

YuvImage(Byte[], ImageFormatType, Int32, Int32, Int32[], ColorSpace)

YuvImage を構築します。

YuvImage(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected YuvImage (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.YuvImage : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.YuvImage

パラメーター

javaReference
IntPtr

nativeint

IntPtrJava ネイティブ インターフェイス (JNI) オブジェクト参照を含む 。

transfer
JniHandleOwnership

処理方法を示す 。JniHandleOwnershipjavaReference

注釈

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

YuvImage(Byte[], ImageFormatType, Int32, Int32, Int32[])

YuvImage を構築します。

[Android.Runtime.Register(".ctor", "([BIII[I)V", "")]
public YuvImage (byte[]? yuv, Android.Graphics.ImageFormatType format, int width, int height, int[]? strides);
[<Android.Runtime.Register(".ctor", "([BIII[I)V", "")>]
new Android.Graphics.YuvImage : byte[] * Android.Graphics.ImageFormatType * int * int * int[] -> Android.Graphics.YuvImage

パラメーター

yuv
Byte[]

YUV データ。 複数のイメージ プレーンの場合、すべてのプレーンを 1 バイト配列に連結する必要があります。

format
ImageFormatType

ImageFormat定義されている YUV データ形式。

width
Int32

YuvImage の幅。

height
Int32

YuvImage の高さ。

strides
Int32[]

(省略可能)各イメージ プレーンの行バイト数。 yuv にパディングが含まれている場合は、各イメージのストライドを指定する必要があります。 strides が null の場合、メソッドはパディングを想定せず、書式と幅自体によって行バイトを派生させます。

属性

例外

format がサポートされていない場合は 。width または height <= 0、または yuv が null です。

注釈

YuvImage を構築します。 の SRGB を既定として使用します ColorSpace

android.graphics.YuvImage.YuvImage(byte[], int, int, int, int[])Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

YuvImage(Byte[], ImageFormatType, Int32, Int32, Int32[], ColorSpace)

YuvImage を構築します。

[Android.Runtime.Register(".ctor", "([BIII[ILandroid/graphics/ColorSpace;)V", "", ApiSince=34)]
public YuvImage (byte[] yuv, Android.Graphics.ImageFormatType format, int width, int height, int[]? strides, Android.Graphics.ColorSpace colorSpace);
[<Android.Runtime.Register(".ctor", "([BIII[ILandroid/graphics/ColorSpace;)V", "", ApiSince=34)>]
new Android.Graphics.YuvImage : byte[] * Android.Graphics.ImageFormatType * int * int * int[] * Android.Graphics.ColorSpace -> Android.Graphics.YuvImage

パラメーター

yuv
Byte[]

YUV データ。 複数のイメージ プレーンの場合、すべてのプレーンを 1 バイト配列に連結する必要があります。

format
ImageFormatType

ImageFormat定義されている YUV データ形式。

width
Int32

YuvImage の幅。

height
Int32

YuvImage の高さ。

strides
Int32[]

(省略可能)各イメージ プレーンの行バイト数。 yuv にパディングが含まれている場合は、各イメージのストライドを指定する必要があります。 strides が null の場合、メソッドはパディングを想定せず、書式と幅自体によって行バイトを派生させます。

colorSpace
ColorSpace

で定義されている YUV イメージの ColorSpace色空間。 パラメーターが null の場合、SRGB は既定値として設定されます。

属性

注釈

YuvImage を構築します。

android.graphics.YuvImage.YuvImage(byte[], int, int, int, int[], android.graphics.ColorSpace)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象