YuvImage コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| 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
パラメーター
- transfer
- JniHandleOwnership
JniHandleOwnership処理方法を示すjavaReference
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
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 の場合、メソッドはパディングを想定せず、書式と幅自体によって行バイトを派生させます。
- 属性
例外
形式がサポートされていない場合。width または height <= 0。または yuv が null です。
注釈
YuvImage を構築します。 既定の ColorSpaceとして SRGB を使用します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
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
ColorSpaceで定義されている YUV イメージの色空間。
パラメーターが null の場合、SRGB が既定値として設定されます。
- 属性
注釈
YuvImage を構築します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。