RollRecoveryEntry.smali
.class public Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;
.super Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/GroupEntry;
.source "SourceFile"
# static fields
.field public static final TYPE:Ljava/lang/String; = "roll"
# instance fields
.field private rollDistance:S
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/GroupEntry;-><init>()V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 6
const/4 v0, 0x1
if-ne p0, p1, :cond_4
return v0
:cond_4
const/4 v1, 0x0
if-eqz p1, :cond_1c
.line 1
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
if-eq v2, v3, :cond_12
goto :goto_1c
.line 2
:cond_12
check-cast p1, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;
.line 3
iget-short v2, p0, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
iget-short p1, p1, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
if-eq v2, p1, :cond_1b
return v1
:cond_1b
return v0
:cond_1c
:goto_1c
return v1
.end method
.method public get()Ljava/nio/ByteBuffer;
.registers 3
const/4 v0, 0x2
.line 1
invoke-static {v0}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;
move-result-object v0
.line 2
iget-short v1, p0, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->putShort(S)Ljava/nio/ByteBuffer;
.line 3
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
return-object v0
.end method
.method public getRollDistance()S
.registers 2
iget-short v0, p0, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
return v0
.end method
.method public hashCode()I
.registers 2
iget-short v0, p0, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
return v0
.end method
.method public parse(Ljava/nio/ByteBuffer;)V
.registers 2
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getShort()S
move-result p1
iput-short p1, p0, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
return-void
.end method
.method public setRollDistance(S)V
.registers 2
iput-short p1, p0, Lcom/googlecode/mp4parser/boxes/mp4/samplegrouping/RollRecoveryEntry;->rollDistance:S
return-void
.end method