458 lines
8.6 KiB
Smali
458 lines
8.6 KiB
Smali
|
.class public final Lf/k/a/b/d1/e0/b;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Ac3Reader.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lf/k/a/b/d1/e0/j;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final a:Lf/k/a/b/l1/t;
|
||
|
|
||
|
.field public final b:Lf/k/a/b/l1/u;
|
||
|
|
||
|
.field public final c:Ljava/lang/String;
|
||
|
|
||
|
.field public d:Ljava/lang/String;
|
||
|
|
||
|
.field public e:Lf/k/a/b/d1/s;
|
||
|
|
||
|
.field public f:I
|
||
|
|
||
|
.field public g:I
|
||
|
|
||
|
.field public h:Z
|
||
|
|
||
|
.field public i:J
|
||
|
|
||
|
.field public j:Lcom/google/android/exoplayer2/Format;
|
||
|
|
||
|
.field public k:I
|
||
|
|
||
|
.field public l:J
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/lang/String;)V
|
||
|
.locals 3
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
new-instance v0, Lf/k/a/b/l1/t;
|
||
|
|
||
|
const/16 v1, 0x80
|
||
|
|
||
|
new-array v1, v1, [B
|
||
|
|
||
|
array-length v2, v1
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lf/k/a/b/l1/t;-><init>([BI)V
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/d1/e0/b;->a:Lf/k/a/b/l1/t;
|
||
|
|
||
|
new-instance v0, Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v1, p0, Lf/k/a/b/d1/e0/b;->a:Lf/k/a/b/l1/t;
|
||
|
|
||
|
iget-object v1, v1, Lf/k/a/b/l1/t;->a:[B
|
||
|
|
||
|
invoke-direct {v0, v1}, Lf/k/a/b/l1/u;-><init>([B)V
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/d1/e0/b;->b:Lf/k/a/b/l1/u;
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput v0, p0, Lf/k/a/b/d1/e0/b;->f:I
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/d1/e0/b;->c:Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public a()V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput v0, p0, Lf/k/a/b/d1/e0/b;->f:I
|
||
|
|
||
|
iput v0, p0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
iput-boolean v0, p0, Lf/k/a/b/d1/e0/b;->h:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public a(JI)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-wide p1, p0, Lf/k/a/b/d1/e0/b;->l:J
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public a(Lf/k/a/b/d1/i;Lf/k/a/b/d1/e0/c0$d;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-virtual {p2}, Lf/k/a/b/d1/e0/c0$d;->a()V
|
||
|
|
||
|
invoke-virtual {p2}, Lf/k/a/b/d1/e0/c0$d;->b()V
|
||
|
|
||
|
iget-object v0, p2, Lf/k/a/b/d1/e0/c0$d;->e:Ljava/lang/String;
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/d1/e0/b;->d:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p2}, Lf/k/a/b/d1/e0/c0$d;->b()V
|
||
|
|
||
|
iget p2, p2, Lf/k/a/b/d1/e0/c0$d;->d:I
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
check-cast p1, Lf/k/a/b/g1/s;
|
||
|
|
||
|
invoke-virtual {p1, p2, v0}, Lf/k/a/b/g1/s;->a(II)Lf/k/a/b/d1/s;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/d1/e0/b;->e:Lf/k/a/b/d1/s;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public a(Lf/k/a/b/l1/u;)V
|
||
|
.locals 20
|
||
|
|
||
|
move-object/from16 v0, p0
|
||
|
|
||
|
move-object/from16 v1, p1
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->a()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-lez v2, :cond_c
|
||
|
|
||
|
iget v2, v0, Lf/k/a/b/d1/e0/b;->f:I
|
||
|
|
||
|
const/4 v3, 0x2
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
if-eqz v2, :cond_6
|
||
|
|
||
|
if-eq v2, v5, :cond_2
|
||
|
|
||
|
if-eq v2, v3, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->a()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
iget v3, v0, Lf/k/a/b/d1/e0/b;->k:I
|
||
|
|
||
|
iget v5, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
sub-int/2addr v3, v5
|
||
|
|
||
|
invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
iget-object v3, v0, Lf/k/a/b/d1/e0/b;->e:Lf/k/a/b/d1/s;
|
||
|
|
||
|
invoke-interface {v3, v1, v2}, Lf/k/a/b/d1/s;->a(Lf/k/a/b/l1/u;I)V
|
||
|
|
||
|
iget v3, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
add-int/2addr v3, v2
|
||
|
|
||
|
iput v3, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
iget v2, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
iget v9, v0, Lf/k/a/b/d1/e0/b;->k:I
|
||
|
|
||
|
if-ne v2, v9, :cond_0
|
||
|
|
||
|
iget-object v5, v0, Lf/k/a/b/d1/e0/b;->e:Lf/k/a/b/d1/s;
|
||
|
|
||
|
iget-wide v6, v0, Lf/k/a/b/d1/e0/b;->l:J
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
const/4 v10, 0x0
|
||
|
|
||
|
const/4 v11, 0x0
|
||
|
|
||
|
invoke-interface/range {v5 .. v11}, Lf/k/a/b/d1/s;->a(JIIILf/k/a/b/d1/s$a;)V
|
||
|
|
||
|
iget-wide v2, v0, Lf/k/a/b/d1/e0/b;->l:J
|
||
|
|
||
|
iget-wide v5, v0, Lf/k/a/b/d1/e0/b;->i:J
|
||
|
|
||
|
add-long/2addr v2, v5
|
||
|
|
||
|
iput-wide v2, v0, Lf/k/a/b/d1/e0/b;->l:J
|
||
|
|
||
|
iput v4, v0, Lf/k/a/b/d1/e0/b;->f:I
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->b:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->a()I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
iget v7, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
const/16 v8, 0x80
|
||
|
|
||
|
rsub-int v7, v7, 0x80
|
||
|
|
||
|
invoke-static {v6, v7}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
iget v7, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
iget-object v9, v1, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
iget v10, v1, Lf/k/a/b/l1/u;->b:I
|
||
|
|
||
|
invoke-static {v9, v10, v2, v7, v6}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||
|
|
||
|
iget v2, v1, Lf/k/a/b/l1/u;->b:I
|
||
|
|
||
|
add-int/2addr v2, v6
|
||
|
|
||
|
iput v2, v1, Lf/k/a/b/l1/u;->b:I
|
||
|
|
||
|
iget v2, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
add-int/2addr v2, v6
|
||
|
|
||
|
iput v2, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
iget v2, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
if-ne v2, v8, :cond_3
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_3
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
if-eqz v5, :cond_0
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->a:Lf/k/a/b/l1/t;
|
||
|
|
||
|
invoke-virtual {v2, v4}, Lf/k/a/b/l1/t;->b(I)V
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->a:Lf/k/a/b/l1/t;
|
||
|
|
||
|
invoke-static {v2}, Lf/k/a/b/z0/g;->a(Lf/k/a/b/l1/t;)Lf/k/a/b/z0/g$b;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iget-object v5, v0, Lf/k/a/b/d1/e0/b;->j:Lcom/google/android/exoplayer2/Format;
|
||
|
|
||
|
if-eqz v5, :cond_4
|
||
|
|
||
|
iget v6, v2, Lf/k/a/b/z0/g$b;->c:I
|
||
|
|
||
|
iget v7, v5, Lcom/google/android/exoplayer2/Format;->y:I
|
||
|
|
||
|
if-ne v6, v7, :cond_4
|
||
|
|
||
|
iget v6, v2, Lf/k/a/b/z0/g$b;->b:I
|
||
|
|
||
|
iget v7, v5, Lcom/google/android/exoplayer2/Format;->z:I
|
||
|
|
||
|
if-ne v6, v7, :cond_4
|
||
|
|
||
|
iget-object v6, v2, Lf/k/a/b/z0/g$b;->a:Ljava/lang/String;
|
||
|
|
||
|
iget-object v5, v5, Lcom/google/android/exoplayer2/Format;->l:Ljava/lang/String;
|
||
|
|
||
|
if-eq v6, v5, :cond_5
|
||
|
|
||
|
:cond_4
|
||
|
iget-object v9, v0, Lf/k/a/b/d1/e0/b;->d:Ljava/lang/String;
|
||
|
|
||
|
iget-object v10, v2, Lf/k/a/b/z0/g$b;->a:Ljava/lang/String;
|
||
|
|
||
|
const/4 v11, 0x0
|
||
|
|
||
|
const/4 v12, -0x1
|
||
|
|
||
|
const/4 v13, -0x1
|
||
|
|
||
|
iget v14, v2, Lf/k/a/b/z0/g$b;->c:I
|
||
|
|
||
|
iget v15, v2, Lf/k/a/b/z0/g$b;->b:I
|
||
|
|
||
|
const/16 v16, 0x0
|
||
|
|
||
|
const/16 v17, 0x0
|
||
|
|
||
|
const/16 v18, 0x0
|
||
|
|
||
|
iget-object v5, v0, Lf/k/a/b/d1/e0/b;->c:Ljava/lang/String;
|
||
|
|
||
|
move-object/from16 v19, v5
|
||
|
|
||
|
invoke-static/range {v9 .. v19}, Lcom/google/android/exoplayer2/Format;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIILjava/util/List;Lcom/google/android/exoplayer2/drm/DrmInitData;ILjava/lang/String;)Lcom/google/android/exoplayer2/Format;
|
||
|
|
||
|
move-result-object v5
|
||
|
|
||
|
iput-object v5, v0, Lf/k/a/b/d1/e0/b;->j:Lcom/google/android/exoplayer2/Format;
|
||
|
|
||
|
iget-object v5, v0, Lf/k/a/b/d1/e0/b;->e:Lf/k/a/b/d1/s;
|
||
|
|
||
|
iget-object v6, v0, Lf/k/a/b/d1/e0/b;->j:Lcom/google/android/exoplayer2/Format;
|
||
|
|
||
|
invoke-interface {v5, v6}, Lf/k/a/b/d1/s;->a(Lcom/google/android/exoplayer2/Format;)V
|
||
|
|
||
|
:cond_5
|
||
|
iget v5, v2, Lf/k/a/b/z0/g$b;->d:I
|
||
|
|
||
|
iput v5, v0, Lf/k/a/b/d1/e0/b;->k:I
|
||
|
|
||
|
const-wide/32 v5, 0xf4240
|
||
|
|
||
|
iget v2, v2, Lf/k/a/b/z0/g$b;->e:I
|
||
|
|
||
|
int-to-long v9, v2
|
||
|
|
||
|
mul-long v9, v9, v5
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->j:Lcom/google/android/exoplayer2/Format;
|
||
|
|
||
|
iget v2, v2, Lcom/google/android/exoplayer2/Format;->z:I
|
||
|
|
||
|
int-to-long v5, v2
|
||
|
|
||
|
div-long/2addr v9, v5
|
||
|
|
||
|
iput-wide v9, v0, Lf/k/a/b/d1/e0/b;->i:J
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->b:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v2, v4}, Lf/k/a/b/l1/u;->e(I)V
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->e:Lf/k/a/b/d1/s;
|
||
|
|
||
|
iget-object v4, v0, Lf/k/a/b/d1/e0/b;->b:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-interface {v2, v4, v8}, Lf/k/a/b/d1/s;->a(Lf/k/a/b/l1/u;I)V
|
||
|
|
||
|
iput v3, v0, Lf/k/a/b/d1/e0/b;->f:I
|
||
|
|
||
|
goto/16 :goto_0
|
||
|
|
||
|
:cond_6
|
||
|
:goto_2
|
||
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->a()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/16 v6, 0x77
|
||
|
|
||
|
const/16 v7, 0xb
|
||
|
|
||
|
if-lez v2, :cond_b
|
||
|
|
||
|
iget-boolean v2, v0, Lf/k/a/b/d1/e0/b;->h:Z
|
||
|
|
||
|
if-nez v2, :cond_8
|
||
|
|
||
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-ne v2, v7, :cond_7
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_7
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_3
|
||
|
iput-boolean v2, v0, Lf/k/a/b/d1/e0/b;->h:Z
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_8
|
||
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-ne v2, v6, :cond_9
|
||
|
|
||
|
iput-boolean v4, v0, Lf/k/a/b/d1/e0/b;->h:Z
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_9
|
||
|
if-ne v2, v7, :cond_a
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_a
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_4
|
||
|
iput-boolean v2, v0, Lf/k/a/b/d1/e0/b;->h:Z
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_b
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_5
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
iput v5, v0, Lf/k/a/b/d1/e0/b;->f:I
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/d1/e0/b;->b:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
aput-byte v7, v2, v4
|
||
|
|
||
|
aput-byte v6, v2, v5
|
||
|
|
||
|
iput v3, v0, Lf/k/a/b/d1/e0/b;->g:I
|
||
|
|
||
|
goto/16 :goto_0
|
||
|
|
||
|
:cond_c
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public b()V
|
||
|
.locals 0
|
||
|
|
||
|
return-void
|
||
|
.end method
|