771 lines
15 KiB
Smali
771 lines
15 KiB
Smali
|
.class public Lf/k/a/b/g1/u;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "SampleDataQueue.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lf/k/a/b/g1/u$a;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final a:Lf/k/a/b/k1/d;
|
||
|
|
||
|
.field public final b:I
|
||
|
|
||
|
.field public final c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
.field public d:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
.field public e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
.field public f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
.field public g:J
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lf/k/a/b/k1/d;)V
|
||
|
.locals 3
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/g1/u;->a:Lf/k/a/b/k1/d;
|
||
|
|
||
|
check-cast p1, Lf/k/a/b/k1/o;
|
||
|
|
||
|
iget p1, p1, Lf/k/a/b/k1/o;->b:I
|
||
|
|
||
|
iput p1, p0, Lf/k/a/b/g1/u;->b:I
|
||
|
|
||
|
new-instance p1, Lf/k/a/b/l1/u;
|
||
|
|
||
|
const/16 v0, 0x20
|
||
|
|
||
|
invoke-direct {p1, v0}, Lf/k/a/b/l1/u;-><init>(I)V
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
new-instance p1, Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
const-wide/16 v0, 0x0
|
||
|
|
||
|
iget v2, p0, Lf/k/a/b/g1/u;->b:I
|
||
|
|
||
|
invoke-direct {p1, v0, v1, v2}, Lf/k/a/b/g1/u$a;-><init>(JI)V
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/g1/u;->d:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-object p1, p0, Lf/k/a/b/g1/u;->d:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final a(I)V
|
||
|
.locals 5
|
||
|
|
||
|
iget-wide v0, p0, Lf/k/a/b/g1/u;->g:J
|
||
|
|
||
|
int-to-long v2, p1
|
||
|
|
||
|
add-long/2addr v0, v2
|
||
|
|
||
|
iput-wide v0, p0, Lf/k/a/b/g1/u;->g:J
|
||
|
|
||
|
iget-wide v0, p0, Lf/k/a/b/g1/u;->g:J
|
||
|
|
||
|
iget-object p1, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v2, p1, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
cmp-long v4, v0, v2
|
||
|
|
||
|
if-nez v4, :cond_0
|
||
|
|
||
|
iget-object p1, p1, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object p1, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public a(J)V
|
||
|
.locals 4
|
||
|
|
||
|
const-wide/16 v0, -0x1
|
||
|
|
||
|
cmp-long v2, p1, v0
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->d:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v1, v0, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
cmp-long v3, p1, v1
|
||
|
|
||
|
if-ltz v3, :cond_1
|
||
|
|
||
|
iget-object v1, p0, Lf/k/a/b/g1/u;->a:Lf/k/a/b/k1/d;
|
||
|
|
||
|
iget-object v0, v0, Lf/k/a/b/g1/u$a;->d:Lf/k/a/b/k1/c;
|
||
|
|
||
|
check-cast v1, Lf/k/a/b/k1/o;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Lf/k/a/b/k1/o;->a(Lf/k/a/b/k1/c;)V
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->d:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
iput-object v1, v0, Lf/k/a/b/g1/u$a;->d:Lf/k/a/b/k1/c;
|
||
|
|
||
|
iget-object v2, v0, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object v1, v0, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object v2, p0, Lf/k/a/b/g1/u;->d:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
iget-object p1, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide p1, p1, Lf/k/a/b/g1/u$a;->a:J
|
||
|
|
||
|
iget-wide v1, v0, Lf/k/a/b/g1/u$a;->a:J
|
||
|
|
||
|
cmp-long v3, p1, v1
|
||
|
|
||
|
if-gez v3, :cond_2
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
:cond_2
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final a(JLjava/nio/ByteBuffer;I)V
|
||
|
.locals 4
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v1, v0, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
cmp-long v3, p1, v1
|
||
|
|
||
|
if-ltz v3, :cond_0
|
||
|
|
||
|
iget-object v0, v0, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_1
|
||
|
if-lez p4, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v0, v0, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
sub-long/2addr v0, p1
|
||
|
|
||
|
long-to-int v1, v0
|
||
|
|
||
|
invoke-static {p4, v1}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-object v2, v1, Lf/k/a/b/g1/u$a;->d:Lf/k/a/b/k1/c;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/k1/c;->a:[B
|
||
|
|
||
|
invoke-virtual {v1, p1, p2}, Lf/k/a/b/g1/u$a;->a(J)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p3, v2, v1, v0}, Ljava/nio/ByteBuffer;->put([BII)Ljava/nio/ByteBuffer;
|
||
|
|
||
|
sub-int/2addr p4, v0
|
||
|
|
||
|
int-to-long v0, v0
|
||
|
|
||
|
add-long/2addr p1, v0
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v1, v0, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
cmp-long v3, p1, v1
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
iget-object v0, v0, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final a(J[BI)V
|
||
|
.locals 5
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v1, v0, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
cmp-long v3, p1, v1
|
||
|
|
||
|
if-ltz v3, :cond_0
|
||
|
|
||
|
iget-object v0, v0, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object v0, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
move-wide v0, p1
|
||
|
|
||
|
move p1, p4
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
if-lez p1, :cond_2
|
||
|
|
||
|
iget-object p2, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v2, p2, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
sub-long/2addr v2, v0
|
||
|
|
||
|
long-to-int p2, v2
|
||
|
|
||
|
invoke-static {p1, p2}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-object v3, v2, Lf/k/a/b/g1/u$a;->d:Lf/k/a/b/k1/c;
|
||
|
|
||
|
iget-object v3, v3, Lf/k/a/b/k1/c;->a:[B
|
||
|
|
||
|
invoke-virtual {v2, v0, v1}, Lf/k/a/b/g1/u$a;->a(J)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
sub-int v4, p4, p1
|
||
|
|
||
|
invoke-static {v3, v2, p3, v4, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||
|
|
||
|
sub-int/2addr p1, p2
|
||
|
|
||
|
int-to-long v2, p2
|
||
|
|
||
|
add-long/2addr v0, v2
|
||
|
|
||
|
iget-object p2, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v2, p2, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
cmp-long v4, v0, v2
|
||
|
|
||
|
if-nez v4, :cond_1
|
||
|
|
||
|
iget-object p2, p2, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iput-object p2, p0, Lf/k/a/b/g1/u;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public a(Lf/k/a/b/b1/e;Lf/k/a/b/g1/v$a;)V
|
||
|
.locals 12
|
||
|
|
||
|
const/high16 v0, 0x40000000 # 2.0f
|
||
|
|
||
|
invoke-virtual {p1, v0}, Lf/k/a/b/b1/a;->getFlag(I)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_a
|
||
|
|
||
|
iget-wide v0, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
invoke-virtual {v2, v3}, Lf/k/a/b/l1/u;->c(I)V
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2, v3}, Lf/k/a/b/g1/u;->a(J[BI)V
|
||
|
|
||
|
const-wide/16 v4, 0x1
|
||
|
|
||
|
add-long/2addr v0, v4
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
aget-byte v2, v2, v4
|
||
|
|
||
|
and-int/lit16 v5, v2, 0x80
|
||
|
|
||
|
if-eqz v5, :cond_0
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
and-int/lit8 v2, v2, 0x7f
|
||
|
|
||
|
iget-object v6, p1, Lf/k/a/b/b1/e;->d:Lf/k/a/b/b1/b;
|
||
|
|
||
|
iget-object v7, v6, Lf/k/a/b/b1/b;->a:[B
|
||
|
|
||
|
if-nez v7, :cond_1
|
||
|
|
||
|
const/16 v7, 0x10
|
||
|
|
||
|
new-array v7, v7, [B
|
||
|
|
||
|
iput-object v7, v6, Lf/k/a/b/b1/b;->a:[B
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
invoke-static {v7, v4}, Ljava/util/Arrays;->fill([BB)V
|
||
|
|
||
|
:goto_1
|
||
|
iget-object v7, v6, Lf/k/a/b/b1/b;->a:[B
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v7, v2}, Lf/k/a/b/g1/u;->a(J[BI)V
|
||
|
|
||
|
int-to-long v7, v2
|
||
|
|
||
|
add-long/2addr v0, v7
|
||
|
|
||
|
if-eqz v5, :cond_2
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
const/4 v3, 0x2
|
||
|
|
||
|
invoke-virtual {v2, v3}, Lf/k/a/b/l1/u;->c(I)V
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v2, v3}, Lf/k/a/b/g1/u;->a(J[BI)V
|
||
|
|
||
|
const-wide/16 v2, 0x2
|
||
|
|
||
|
add-long/2addr v0, v2
|
||
|
|
||
|
iget-object v2, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v2}, Lf/k/a/b/l1/u;->q()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
:cond_2
|
||
|
iget-object v2, v6, Lf/k/a/b/b1/b;->b:[I
|
||
|
|
||
|
if-eqz v2, :cond_3
|
||
|
|
||
|
array-length v7, v2
|
||
|
|
||
|
if-ge v7, v3, :cond_4
|
||
|
|
||
|
:cond_3
|
||
|
new-array v2, v3, [I
|
||
|
|
||
|
:cond_4
|
||
|
iget-object v7, v6, Lf/k/a/b/b1/b;->c:[I
|
||
|
|
||
|
if-eqz v7, :cond_5
|
||
|
|
||
|
array-length v8, v7
|
||
|
|
||
|
if-ge v8, v3, :cond_6
|
||
|
|
||
|
:cond_5
|
||
|
new-array v7, v3, [I
|
||
|
|
||
|
:cond_6
|
||
|
if-eqz v5, :cond_7
|
||
|
|
||
|
mul-int/lit8 v5, v3, 0x6
|
||
|
|
||
|
iget-object v8, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v8, v5}, Lf/k/a/b/l1/u;->c(I)V
|
||
|
|
||
|
iget-object v8, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v8, v8, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, v8, v5}, Lf/k/a/b/g1/u;->a(J[BI)V
|
||
|
|
||
|
int-to-long v8, v5
|
||
|
|
||
|
add-long/2addr v0, v8
|
||
|
|
||
|
iget-object v5, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v5, v4}, Lf/k/a/b/l1/u;->e(I)V
|
||
|
|
||
|
:goto_2
|
||
|
if-ge v4, v3, :cond_8
|
||
|
|
||
|
iget-object v5, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v5}, Lf/k/a/b/l1/u;->q()I
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
aput v5, v2, v4
|
||
|
|
||
|
iget-object v5, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v5}, Lf/k/a/b/l1/u;->o()I
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
aput v5, v7, v4
|
||
|
|
||
|
add-int/lit8 v4, v4, 0x1
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_7
|
||
|
aput v4, v2, v4
|
||
|
|
||
|
iget v5, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
iget-wide v8, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
sub-long v8, v0, v8
|
||
|
|
||
|
long-to-int v9, v8
|
||
|
|
||
|
sub-int/2addr v5, v9
|
||
|
|
||
|
aput v5, v7, v4
|
||
|
|
||
|
:cond_8
|
||
|
iget-object v4, p2, Lf/k/a/b/g1/v$a;->c:Lf/k/a/b/d1/s$a;
|
||
|
|
||
|
iget-object v5, v4, Lf/k/a/b/d1/s$a;->b:[B
|
||
|
|
||
|
iget-object v8, v6, Lf/k/a/b/b1/b;->a:[B
|
||
|
|
||
|
iget v9, v4, Lf/k/a/b/d1/s$a;->a:I
|
||
|
|
||
|
iget v10, v4, Lf/k/a/b/d1/s$a;->c:I
|
||
|
|
||
|
iget v4, v4, Lf/k/a/b/d1/s$a;->d:I
|
||
|
|
||
|
iput-object v2, v6, Lf/k/a/b/b1/b;->b:[I
|
||
|
|
||
|
iput-object v7, v6, Lf/k/a/b/b1/b;->c:[I
|
||
|
|
||
|
iput-object v8, v6, Lf/k/a/b/b1/b;->a:[B
|
||
|
|
||
|
iget-object v11, v6, Lf/k/a/b/b1/b;->d:Landroid/media/MediaCodec$CryptoInfo;
|
||
|
|
||
|
iput v3, v11, Landroid/media/MediaCodec$CryptoInfo;->numSubSamples:I
|
||
|
|
||
|
iput-object v2, v11, Landroid/media/MediaCodec$CryptoInfo;->numBytesOfClearData:[I
|
||
|
|
||
|
iput-object v7, v11, Landroid/media/MediaCodec$CryptoInfo;->numBytesOfEncryptedData:[I
|
||
|
|
||
|
iput-object v5, v11, Landroid/media/MediaCodec$CryptoInfo;->key:[B
|
||
|
|
||
|
iput-object v8, v11, Landroid/media/MediaCodec$CryptoInfo;->iv:[B
|
||
|
|
||
|
iput v9, v11, Landroid/media/MediaCodec$CryptoInfo;->mode:I
|
||
|
|
||
|
sget v2, Lf/k/a/b/l1/f0;->a:I
|
||
|
|
||
|
const/16 v3, 0x18
|
||
|
|
||
|
if-lt v2, v3, :cond_9
|
||
|
|
||
|
iget-object v2, v6, Lf/k/a/b/b1/b;->e:Lf/k/a/b/b1/b$b;
|
||
|
|
||
|
iget-object v3, v2, Lf/k/a/b/b1/b$b;->b:Landroid/media/MediaCodec$CryptoInfo$Pattern;
|
||
|
|
||
|
invoke-virtual {v3, v10, v4}, Landroid/media/MediaCodec$CryptoInfo$Pattern;->set(II)V
|
||
|
|
||
|
iget-object v3, v2, Lf/k/a/b/b1/b$b;->a:Landroid/media/MediaCodec$CryptoInfo;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/b1/b$b;->b:Landroid/media/MediaCodec$CryptoInfo$Pattern;
|
||
|
|
||
|
invoke-virtual {v3, v2}, Landroid/media/MediaCodec$CryptoInfo;->setPattern(Landroid/media/MediaCodec$CryptoInfo$Pattern;)V
|
||
|
|
||
|
:cond_9
|
||
|
iget-wide v2, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
sub-long/2addr v0, v2
|
||
|
|
||
|
long-to-int v1, v0
|
||
|
|
||
|
int-to-long v4, v1
|
||
|
|
||
|
add-long/2addr v2, v4
|
||
|
|
||
|
iput-wide v2, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget v0, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
iput v0, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
:cond_a
|
||
|
invoke-virtual {p1}, Lf/k/a/b/b1/a;->hasSupplementalData()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_d
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
const/4 v1, 0x4
|
||
|
|
||
|
invoke-virtual {v0, v1}, Lf/k/a/b/l1/u;->c(I)V
|
||
|
|
||
|
iget-wide v2, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
iget-object v0, v0, Lf/k/a/b/l1/u;->a:[B
|
||
|
|
||
|
invoke-virtual {p0, v2, v3, v0, v1}, Lf/k/a/b/g1/u;->a(J[BI)V
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->c:Lf/k/a/b/l1/u;
|
||
|
|
||
|
invoke-virtual {v0}, Lf/k/a/b/l1/u;->o()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-wide v2, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
const-wide/16 v4, 0x4
|
||
|
|
||
|
add-long/2addr v2, v4
|
||
|
|
||
|
iput-wide v2, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget v2, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
sub-int/2addr v2, v1
|
||
|
|
||
|
iput v2, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
invoke-virtual {p1, v0}, Lf/k/a/b/b1/e;->c(I)V
|
||
|
|
||
|
iget-wide v1, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget-object v3, p1, Lf/k/a/b/b1/e;->e:Ljava/nio/ByteBuffer;
|
||
|
|
||
|
invoke-virtual {p0, v1, v2, v3, v0}, Lf/k/a/b/g1/u;->a(JLjava/nio/ByteBuffer;I)V
|
||
|
|
||
|
iget-wide v1, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
int-to-long v3, v0
|
||
|
|
||
|
add-long/2addr v1, v3
|
||
|
|
||
|
iput-wide v1, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget v1, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
sub-int/2addr v1, v0
|
||
|
|
||
|
iput v1, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
iget v0, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
iget-object v1, p1, Lf/k/a/b/b1/e;->g:Ljava/nio/ByteBuffer;
|
||
|
|
||
|
if-eqz v1, :cond_c
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/nio/ByteBuffer;->capacity()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-ge v1, v0, :cond_b
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_b
|
||
|
iget-object v0, p1, Lf/k/a/b/b1/e;->g:Ljava/nio/ByteBuffer;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_c
|
||
|
:goto_3
|
||
|
invoke-static {v0}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p1, Lf/k/a/b/b1/e;->g:Ljava/nio/ByteBuffer;
|
||
|
|
||
|
:goto_4
|
||
|
iget-wide v0, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget-object p1, p1, Lf/k/a/b/b1/e;->g:Ljava/nio/ByteBuffer;
|
||
|
|
||
|
iget p2, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, p1, p2}, Lf/k/a/b/g1/u;->a(JLjava/nio/ByteBuffer;I)V
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_d
|
||
|
iget v0, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
invoke-virtual {p1, v0}, Lf/k/a/b/b1/e;->c(I)V
|
||
|
|
||
|
iget-wide v0, p2, Lf/k/a/b/g1/v$a;->b:J
|
||
|
|
||
|
iget-object p1, p1, Lf/k/a/b/b1/e;->e:Ljava/nio/ByteBuffer;
|
||
|
|
||
|
iget p2, p2, Lf/k/a/b/g1/v$a;->a:I
|
||
|
|
||
|
invoke-virtual {p0, v0, v1, p1, p2}, Lf/k/a/b/g1/u;->a(JLjava/nio/ByteBuffer;I)V
|
||
|
|
||
|
:goto_5
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public a(Lf/k/a/b/l1/u;I)V
|
||
|
.locals 5
|
||
|
|
||
|
:goto_0
|
||
|
if-lez p2, :cond_0
|
||
|
|
||
|
invoke-virtual {p0, p2}, Lf/k/a/b/g1/u;->b(I)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
iget-object v1, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-object v2, v1, Lf/k/a/b/g1/u$a;->d:Lf/k/a/b/k1/c;
|
||
|
|
||
|
iget-object v2, v2, Lf/k/a/b/k1/c;->a:[B
|
||
|
|
||
|
iget-wide v3, p0, Lf/k/a/b/g1/u;->g:J
|
||
|
|
||
|
invoke-virtual {v1, v3, v4}, Lf/k/a/b/g1/u$a;->a(J)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p1, v2, v1, v0}, Lf/k/a/b/l1/u;->a([BII)V
|
||
|
|
||
|
sub-int/2addr p2, v0
|
||
|
|
||
|
invoke-virtual {p0, v0}, Lf/k/a/b/g1/u;->a(I)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final b(I)I
|
||
|
.locals 6
|
||
|
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-boolean v1, v0, Lf/k/a/b/g1/u$a;->c:Z
|
||
|
|
||
|
if-nez v1, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Lf/k/a/b/g1/u;->a:Lf/k/a/b/k1/d;
|
||
|
|
||
|
check-cast v1, Lf/k/a/b/k1/o;
|
||
|
|
||
|
invoke-virtual {v1}, Lf/k/a/b/k1/o;->a()Lf/k/a/b/k1/c;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
new-instance v2, Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-object v3, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v3, v3, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
iget v5, p0, Lf/k/a/b/g1/u;->b:I
|
||
|
|
||
|
invoke-direct {v2, v3, v4, v5}, Lf/k/a/b/g1/u$a;-><init>(JI)V
|
||
|
|
||
|
iput-object v1, v0, Lf/k/a/b/g1/u$a;->d:Lf/k/a/b/k1/c;
|
||
|
|
||
|
iput-object v2, v0, Lf/k/a/b/g1/u$a;->e:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
iput-boolean v1, v0, Lf/k/a/b/g1/u$a;->c:Z
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lf/k/a/b/g1/u;->f:Lf/k/a/b/g1/u$a;
|
||
|
|
||
|
iget-wide v0, v0, Lf/k/a/b/g1/u$a;->b:J
|
||
|
|
||
|
iget-wide v2, p0, Lf/k/a/b/g1/u;->g:J
|
||
|
|
||
|
sub-long/2addr v0, v2
|
||
|
|
||
|
long-to-int v1, v0
|
||
|
|
||
|
invoke-static {p1, v1}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
.end method
|