Sprache

MediaCodecInfo.CodecCapabilities.COLORFormatYUVP010 Feld

Definition

Achtung

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

P010 ist ein Semiplanarformat von 10 Bit pro Komponente 4:2:0 YCbCr.

[Android.Runtime.Register("COLOR_FormatYUVP010", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecCapabilities enum directly instead of this field.", true)]
public const Android.Media.MediaCodecCapabilities COLORFormatYUVP010 = 54;
[<Android.Runtime.Register("COLOR_FormatYUVP010", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecCapabilities enum directly instead of this field.", true)>]
val mutable COLORFormatYUVP010 : Android.Media.MediaCodecCapabilities

Feldwert

Value = 54
Attribute

Hinweise

P010 ist ein Semiplanarformat von 10 Bit pro Komponente 4:2:0 YCbCr.

In diesem Format werden 24 zugewiesene Bits pro Pixel mit 15 Bit Daten pro Pixel verwendet. Chromaebenen werden horizontal und vertikal um 2 unterstempelt. Jede Chroma- und Luma-Komponente verfügt über 16 zugeteilte Bits in der Kleinen-End-Konfiguration mit 10 MSB tatsächlicher Daten.

byte                   byte
<--------- i --------> | <------ i + 1 ------>
            +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
            |     UNUSED      |      Y/Cb/Cr                |
            +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
             0               5 6   7 0                    7
            bit

Verwenden Sie dieses Format mit Image. Dieses Format entspricht android.graphics.ImageFormat#YCBCR_P010.

Java Dokumentation für android.media.MediaCodecInfo.CodecCapabilities.COLOR_FormatYUVP010.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: