SsManifest.smali
.class public Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;
.super Ljava/lang/Object;
.source "SsManifest.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$StreamElement;,
Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$ProtectionElement;
}
.end annotation
# static fields
.field public static final UNSET_LOOKAHEAD:I = -0x1
# instance fields
.field public final durationUs:J
.field public final dvrWindowLengthUs:J
.field public final isLive:Z
.field public final lookAheadCount:I
.field public final majorVersion:I
.field public final minorVersion:I
.field public final protectionElement:Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$ProtectionElement;
.field public final streamElements:[Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$StreamElement;
# direct methods
.method public constructor <init>(IIJJJIZLcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$ProtectionElement;[Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$StreamElement;)V
.registers 20
move-object v0, p0
.line 98
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
move v1, p1
.line 99
iput v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->majorVersion:I
move v1, p2
.line 100
iput v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->minorVersion:I
move/from16 v1, p9
.line 101
iput v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->lookAheadCount:I
move/from16 v1, p10
.line 102
iput-boolean v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->isLive:Z
move-object/from16 v1, p11
.line 103
iput-object v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->protectionElement:Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$ProtectionElement;
move-object/from16 v1, p12
.line 104
iput-object v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->streamElements:[Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest$StreamElement;
const-wide v1, -0x7fffffffffffffffL # -4.9E-324
const-wide/16 v3, 0x0
cmp-long v5, p7, v3
if-nez v5, :cond_27
move-wide v5, v1
goto :goto_32
:cond_27
const-wide/32 v5, 0xf4240
move-wide/from16 p9, v5
move-wide/from16 p11, p3
.line 106
invoke-static/range {p7 .. p12}, Lcom/google/android/exoplayer2/util/Util;->scaleLargeTimestamp(JJJ)J
move-result-wide v5
:goto_32
iput-wide v5, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->dvrWindowLengthUs:J
cmp-long v5, p5, v3
if-nez v5, :cond_39
goto :goto_43
:cond_39
const-wide/32 v1, 0xf4240
move-wide p7, v1
move-wide/from16 p9, p3
.line 108
invoke-static/range {p5 .. p10}, Lcom/google/android/exoplayer2/util/Util;->scaleLargeTimestamp(JJJ)J
move-result-wide v1
:goto_43
iput-wide v1, v0, Lcom/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest;->durationUs:J
return-void
.end method