apkfuckery/com.discord/smali_classes2/org/webrtc/VideoEncoder$BitrateAllocat...

78 lines
1.3 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lorg/webrtc/VideoEncoder$BitrateAllocation;
.super Ljava/lang/Object;
.source "VideoEncoder.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/webrtc/VideoEncoder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "BitrateAllocation"
.end annotation
# instance fields
.field public final bitratesBbs:[[I
# direct methods
.method public constructor <init>([[I)V
.locals 0
.annotation build Lorg/webrtc/CalledByNative;
value = "BitrateAllocation"
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lorg/webrtc/VideoEncoder$BitrateAllocation;->bitratesBbs:[[I
return-void
.end method
# virtual methods
.method public getSum()I
.locals 9
iget-object v0, p0, Lorg/webrtc/VideoEncoder$BitrateAllocation;->bitratesBbs:[[I
array-length v1, v0
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
if-ge v3, v1, :cond_1
aget-object v5, v0, v3
array-length v6, v5
2020-07-08 16:44:49 +00:00
const/4 v7, 0x0
2020-05-17 12:40:10 +00:00
:goto_1
2020-07-08 16:44:49 +00:00
if-ge v7, v6, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aget v8, v5, v7
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
add-int/2addr v4, v8
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
add-int/lit8 v7, v7, 0x1
2020-05-17 12:40:10 +00:00
goto :goto_1
:cond_0
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
return v4
.end method