2020-07-22 00:04:40 +00:00
|
|
|
.class public final Lf/i/a/b/j1/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AvcConfig.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final a:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"[B>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final b:I
|
|
|
|
|
|
|
|
.field public final c:I
|
|
|
|
|
|
|
|
.field public final d:I
|
|
|
|
|
|
|
|
.field public final e:F
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/util/List;IIIF)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"[B>;IIIF)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput-object p1, p0, Lf/i/a/b/j1/h;->a:Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput p2, p0, Lf/i/a/b/j1/h;->b:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput p3, p0, Lf/i/a/b/j1/h;->c:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput p4, p0, Lf/i/a/b/j1/h;->d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput p5, p0, Lf/i/a/b/j1/h;->e:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
.method public static a(Lf/i/a/b/i1/t;)[B
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 6
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p0}, Lf/i/a/b/i1/t;->v()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget v1, p0, Lf/i/a/b/i1/t;->b:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p0, v0}, Lf/i/a/b/i1/t;->D(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget-object p0, p0, Lf/i/a/b/i1/t;->a:[B
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
sget-object v2, Lf/i/a/b/i1/h;->a:[B
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
array-length v3, v2
|
|
|
|
|
|
|
|
add-int/2addr v3, v0
|
|
|
|
|
|
|
|
new-array v3, v3, [B
|
|
|
|
|
|
|
|
array-length v4, v2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
invoke-static {v2, v5, v3, v5, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
sget-object v2, Lf/i/a/b/i1/h;->a:[B
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
array-length v2, v2
|
|
|
|
|
|
|
|
invoke-static {p0, v1, v3, v2, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
|
|
|
|
return-object v3
|
|
|
|
.end method
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
.method public static b(Lf/i/a/b/i1/t;)Lf/i/a/b/j1/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 8
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
2020-07-08 16:44:49 +00:00
|
|
|
Lcom/google/android/exoplayer2/ParserException;
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x4
|
|
|
|
|
|
|
|
:try_start_0
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p0, v0}, Lf/i/a/b/i1/t;->D(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p0}, Lf/i/a/b/i1/t;->q()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
|
|
|
and-int/2addr v0, v1
|
|
|
|
|
|
|
|
add-int/lit8 v4, v0, 0x1
|
|
|
|
|
|
|
|
if-eq v4, v1, :cond_3
|
|
|
|
|
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p0}, Lf/i/a/b/i1/t;->q()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
and-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v0, :cond_0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Lf/i/a/b/j1/h;->a(Lf/i/a/b/i1/t;)[B
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p0}, Lf/i/a/b/i1/t;->q()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v5, v2, :cond_1
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Lf/i/a/b/j1/h;->a(Lf/i/a/b/i1/t;)[B
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v3, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 p0, -0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-lez v0, :cond_2
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
check-cast p0, [B
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, [B
|
|
|
|
|
|
|
|
array-length p0, p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v0, v4, p0}, Lf/i/a/b/i1/r;->f([BII)Lf/i/a/b/i1/r$b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget v0, p0, Lf/i/a/b/i1/r$b;->e:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget v1, p0, Lf/i/a/b/i1/r$b;->f:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget p0, p0, Lf/i/a/b/i1/r$b;->g:F
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move v7, p0
|
|
|
|
|
|
|
|
move v5, v0
|
|
|
|
|
|
|
|
move v6, v1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
2020-07-08 16:44:49 +00:00
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const/4 v5, -0x1
|
|
|
|
|
|
|
|
const/4 v6, -0x1
|
|
|
|
|
|
|
|
const/high16 v7, 0x3f800000 # 1.0f
|
|
|
|
|
|
|
|
:goto_2
|
2020-07-22 00:04:40 +00:00
|
|
|
new-instance p0, Lf/i/a/b/j1/h;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-direct/range {v2 .. v7}, Lf/i/a/b/j1/h;-><init>(Ljava/util/List;IIIF)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v0, Lcom/google/android/exoplayer2/ParserException;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string v1, "Error parsing AVC config"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, p0}, Lcom/google/android/exoplayer2/ParserException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|