VideoEncoderDef$EncoderComplexity.smali
.class public final enum Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "EncoderComplexity"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;",
">;"
}
.end annotation
# static fields
.field public static final enum a:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.field public static final enum b:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.field public static final enum c:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.field public static final enum d:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.field public static final enum e:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.field public static final enum f:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.field private static final synthetic g:[Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
# instance fields
.field final mValue:I
# direct methods
.method static constructor <clinit>()V
.registers 13
.line 172
new-instance v0, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const-string v1, "UNKNOWN"
const/4 v2, 0x0
const v3, 0xffff
invoke-direct {v0, v1, v2, v3}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->a:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.line 173
new-instance v1, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const-string v3, "HYPER_FAST"
const/4 v4, 0x1
invoke-direct {v1, v3, v4, v2}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;-><init>(Ljava/lang/String;II)V
sput-object v1, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->b:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.line 174
new-instance v3, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const-string v5, "ULTRA_FAST"
const/4 v6, 0x2
invoke-direct {v3, v5, v6, v4}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;-><init>(Ljava/lang/String;II)V
sput-object v3, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->c:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.line 175
new-instance v5, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const-string v7, "SUPER_FAST"
const/4 v8, 0x3
invoke-direct {v5, v7, v8, v6}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;-><init>(Ljava/lang/String;II)V
sput-object v5, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->d:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.line 176
new-instance v7, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const-string v9, "VERY_FAST"
const/4 v10, 0x4
invoke-direct {v7, v9, v10, v8}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;-><init>(Ljava/lang/String;II)V
sput-object v7, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->e:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.line 177
new-instance v9, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const-string v11, "FAST"
const/4 v12, 0x5
invoke-direct {v9, v11, v12, v10}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;-><init>(Ljava/lang/String;II)V
sput-object v9, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->f:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
const/4 v11, 0x6
new-array v11, v11, [Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
aput-object v0, v11, v2
aput-object v1, v11, v4
aput-object v3, v11, v6
aput-object v5, v11, v8
aput-object v7, v11, v10
aput-object v9, v11, v12
.line 171
sput-object v11, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->g:[Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
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 181
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 182
iput p3, p0, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->mValue:I
return-void
.end method
.method public static a(I)Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.registers 6
.line 190
invoke-static {}, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->values()[Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
:goto_6
if-ge v2, v1, :cond_12
aget-object v3, v0, v2
.line 191
iget v4, v3, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->mValue:I
if-ne v4, p0, :cond_f
return-object v3
:cond_f
add-int/lit8 v2, v2, 0x1
goto :goto_6
.line 195
:cond_12
sget-object p0, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->a:Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.registers 2
.line 171
const-class v0, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
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/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
return-object p0
.end method
.method public static values()[Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
.registers 1
.line 171
sget-object v0, Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->g:[Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
invoke-virtual {v0}, [Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/tencent/liteav/videoproducer/encoder/VideoEncoderDef$EncoderComplexity;
return-object v0
.end method