Rabbit-R1/switch port/smali/smali_classes3/org/webrtc/VideoEncoder$BitrateAllocation.smali
2024-05-21 17:08:36 -04:00

77 lines
1.2 KiB
Smali

.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
.line 104
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 8
iget-object p0, p0, Lorg/webrtc/VideoEncoder$BitrateAllocation;->bitratesBbs:[[I
.line 113
array-length v0, p0
const/4 v1, 0x0
move v2, v1
move v3, v2
:goto_0
if-ge v2, v0, :cond_1
aget-object v4, p0, v2
.line 114
array-length v5, v4
move v6, v1
:goto_1
if-ge v6, v5, :cond_0
aget v7, v4, v6
add-int/2addr v3, v7
add-int/lit8 v6, v6, 0x1
goto :goto_1
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return v3
.end method