BinarySearchSeeker$TimestampSearchResult.smali
.class public final Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.super Ljava/lang/Object;
.source "BinarySearchSeeker.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "TimestampSearchResult"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult$Type;
}
.end annotation
# static fields
.field public static final NO_TIMESTAMP_IN_RANGE_RESULT:Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.field public static final TYPE_NO_TIMESTAMP:I = -0x3
.field public static final TYPE_POSITION_OVERESTIMATED:I = -0x1
.field public static final TYPE_POSITION_UNDERESTIMATED:I = -0x2
.field public static final TYPE_TARGET_TIMESTAMP_FOUND:I
# instance fields
.field private final bytePositionToUpdate:J
.field private final timestampToUpdate:J
.field private final type:I
# direct methods
.method static constructor <clinit>()V
.registers 7
.line 445
new-instance v6, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
const/4 v1, -0x3
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
const-wide/16 v4, -0x1
move-object v0, v6
invoke-direct/range {v0 .. v5}, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;-><init>(IJJ)V
sput-object v6, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->NO_TIMESTAMP_IN_RANGE_RESULT:Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
return-void
.end method
.method private constructor <init>(IJJ)V
.registers 6
.param p1, "type" # I
.param p2, "timestampToUpdate" # J
.param p4, "bytePositionToUpdate" # J
.line 467
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 468
iput p1, p0, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->type:I
.line 469
iput-wide p2, p0, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->timestampToUpdate:J
.line 470
iput-wide p4, p0, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->bytePositionToUpdate:J
.line 471
return-void
.end method
.method static synthetic access$500(Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;)I
.registers 2
.param p0, "x0" # Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.line 424
iget v0, p0, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->type:I
return v0
.end method
.method static synthetic access$600(Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;)J
.registers 3
.param p0, "x0" # Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.line 424
iget-wide v0, p0, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->timestampToUpdate:J
return-wide v0
.end method
.method static synthetic access$700(Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;)J
.registers 3
.param p0, "x0" # Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.line 424
iget-wide v0, p0, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;->bytePositionToUpdate:J
return-wide v0
.end method
.method public static overestimatedResult(JJ)Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.registers 11
.param p0, "newCeilingTimestamp" # J
.param p2, "newCeilingBytePosition" # J
.line 480
new-instance v6, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
const/4 v1, -0x1
move-object v0, v6
move-wide v2, p0
move-wide v4, p2
invoke-direct/range {v0 .. v5}, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;-><init>(IJJ)V
return-object v6
.end method
.method public static targetFoundResult(J)Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.registers 9
.param p0, "resultBytePosition" # J
.line 504
new-instance v6, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
const/4 v1, 0x0
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
move-object v0, v6
move-wide v4, p0
invoke-direct/range {v0 .. v5}, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;-><init>(IJJ)V
return-object v6
.end method
.method public static underestimatedResult(JJ)Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
.registers 11
.param p0, "newFloorTimestamp" # J
.param p2, "newCeilingBytePosition" # J
.line 491
new-instance v6, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;
const/4 v1, -0x2
move-object v0, v6
move-wide v2, p0
move-wide v4, p2
invoke-direct/range {v0 .. v5}, Lcom/google/android/exoplayer2/extractor/BinarySearchSeeker$TimestampSearchResult;-><init>(IJJ)V
return-object v6
.end method