语言

HardwareBuffer.Rg1212 字段

定义

注意

This constant will be removed in the future version. Use Android.Hardware.HardwareBufferFormat enum directly instead of this field.

具有 12 位 R 和 G 组件的 32 位格式,顺序从最低内存地址到最高内存地址。

[Android.Runtime.Register("RG_1212", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.HardwareBufferFormat enum directly instead of this field.", true)]
public const Android.Hardware.HardwareBufferFormat Rg1212 = 63;
[<Android.Runtime.Register("RG_1212", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.HardwareBufferFormat enum directly instead of this field.", true)>]
val mutable Rg1212 : Android.Hardware.HardwareBufferFormat

字段值

Value = 63

实现

特性

注解

具有 12 位 R 和 G 组件的 32 位格式,顺序从最低内存地址到最高内存地址。 格式为 32 位无符号整数,在单词的前 12 位(以字节 0.1 为单位)中具有 12 位 R 分量,在单词的前 12 位(以字节 2..3 为单位)的 12 位 G 组件,其中每个单词的底部 4 位未使用。

Android 参考。android.hardware.HardwareBuffer.RG_1212

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于