MediaCodecVideoEncoder$VideoCodecType.smali
.class public final enum Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
.super Ljava/lang/Enum;
.source "MediaCodecVideoEncoder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/webrtc/ali/MediaCodecVideoEncoder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "VideoCodecType"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
.field public static final enum VIDEO_CODEC_H264:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
.field public static final enum VIDEO_CODEC_VP8:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
.field public static final enum VIDEO_CODEC_VP9:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
# direct methods
.method static constructor <clinit>()V
.registers 6
.line 45
new-instance v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
const/4 v1, 0x0
const-string v2, "VIDEO_CODEC_VP8"
invoke-direct {v0, v2, v1}, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->VIDEO_CODEC_VP8:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
new-instance v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
const/4 v2, 0x1
const-string v3, "VIDEO_CODEC_VP9"
invoke-direct {v0, v3, v2}, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->VIDEO_CODEC_VP9:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
new-instance v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
const/4 v3, 0x2
const-string v4, "VIDEO_CODEC_H264"
invoke-direct {v0, v4, v3}, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->VIDEO_CODEC_H264:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
const/4 v4, 0x3
new-array v4, v4, [Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
sget-object v5, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->VIDEO_CODEC_VP8:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
aput-object v5, v4, v1
sget-object v1, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->VIDEO_CODEC_VP9:Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
aput-object v1, v4, v2
aput-object v0, v4, v3
sput-object v4, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->$VALUES:[Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 45
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
.registers 2
.param p0, "name" # Ljava/lang/String;
.line 45
const-class v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object v0
check-cast v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
return-object v0
.end method
.method public static values()[Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
.registers 1
.line 45
sget-object v0, Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->$VALUES:[Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
invoke-virtual {v0}, [Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lorg/webrtc/ali/MediaCodecVideoEncoder$VideoCodecType;
return-object v0
.end method