GLConstants$PixelBufferType.smali 
.class public final enum Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/tencent/liteav/videobase/base/GLConstants;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4019
    name = "PixelBufferType"
.end annotation
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;",
        ">;"
    }
.end annotation
# static fields
.field public static final enum a:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
.field public static final enum b:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
.field public static final enum c:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
.field public static final enum d:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
.field private static final e:[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
.field private static final synthetic f:[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
# instance fields
.field public mValue:I
# direct methods
.method static constructor <clinit>()V
    .registers 9
    .line 190
    new-instance v0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    const-string v1, "BYTE_BUFFER"
    const/4 v2, 0x0
    invoke-direct {v0, v1, v2, v2}, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;-><init>(Ljava/lang/String;II)V
    sput-object v0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->a:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .line 191
    new-instance v1, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    const-string v3, "TEXTURE_2D"
    const/4 v4, 0x1
    invoke-direct {v1, v3, v4, v4}, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;-><init>(Ljava/lang/String;II)V
    sput-object v1, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->b:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .line 192
    new-instance v3, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    const-string v5, "TEXTURE_OES"
    const/4 v6, 0x2
    invoke-direct {v3, v5, v6, v6}, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;-><init>(Ljava/lang/String;II)V
    sput-object v3, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->c:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .line 193
    new-instance v5, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    const-string v7, "BYTE_ARRAY"
    const/4 v8, 0x3
    invoke-direct {v5, v7, v8, v8}, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;-><init>(Ljava/lang/String;II)V
    sput-object v5, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->d:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    const/4 v7, 0x4
    new-array v7, v7, [Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    aput-object v0, v7, v2
    aput-object v1, v7, v4
    aput-object v3, v7, v6
    aput-object v5, v7, v8
    .line 189
    sput-object v7, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->f:[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .line 197
    invoke-static {}, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->values()[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    move-result-object v0
    sput-object v0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->e:[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    return-void
.end method
.method private constructor <init>(Ljava/lang/String;II)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)V"
        }
    .end annotation
    .line 203
    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
    .line 204
    iput p3, p0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->mValue:I
    return-void
.end method
.method public static a(I)Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .registers 6
    .line 208
    sget-object v0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->e:[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    array-length v1, v0
    const/4 v2, 0x0
    :goto_4
    if-ge v2, v1, :cond_10
    aget-object v3, v0, v2
    .line 209
    iget v4, v3, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->mValue:I
    if-ne v4, p0, :cond_d
    return-object v3
    :cond_d
    add-int/lit8 v2, v2, 0x1
    goto :goto_4
    .line 213
    :cond_10
    sget-object p0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->b:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .registers 2
    .line 189
    const-class v0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
    move-result-object p0
    check-cast p0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    return-object p0
.end method
.method public static values()[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    .registers 1
    .line 189
    sget-object v0, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->f:[Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    invoke-virtual {v0}, [Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->clone()Ljava/lang/Object;
    move-result-object v0
    check-cast v0, [Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;
    return-object v0
.end method