707 lines
11 KiB
Smali
707 lines
11 KiB
Smali
.class public Lf/g/j/b/b;
|
|
.super Ljava/lang/Object;
|
|
.source "EmptyJpegGenerator.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final b:[B
|
|
|
|
.field public static final c:[B
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lf/g/d/g/g;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const/16 v0, 0x4c
|
|
|
|
new-array v0, v0, [B
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Lf/g/j/b/b;->b:[B
|
|
|
|
const/16 v0, 0x1cf
|
|
|
|
new-array v0, v0, [B
|
|
|
|
fill-array-data v0, :array_1
|
|
|
|
sput-object v0, Lf/g/j/b/b;->c:[B
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:array_0
|
|
.array-data 1
|
|
-0x1t
|
|
-0x28t
|
|
-0x1t
|
|
-0x25t
|
|
0x0t
|
|
0x43t
|
|
0x0t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
-0x1t
|
|
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|
|
-0x3bt
|
|
-0x3at
|
|
-0x39t
|
|
-0x38t
|
|
-0x37t
|
|
-0x36t
|
|
-0x2et
|
|
-0x2dt
|
|
-0x2ct
|
|
-0x2bt
|
|
-0x2at
|
|
-0x29t
|
|
-0x28t
|
|
-0x27t
|
|
-0x26t
|
|
-0x1et
|
|
-0x1dt
|
|
-0x1ct
|
|
-0x1bt
|
|
-0x1at
|
|
-0x19t
|
|
-0x18t
|
|
-0x17t
|
|
-0x16t
|
|
-0xet
|
|
-0xdt
|
|
-0xct
|
|
-0xbt
|
|
-0xat
|
|
-0x9t
|
|
-0x8t
|
|
-0x7t
|
|
-0x6t
|
|
-0x1t
|
|
-0x26t
|
|
0x0t
|
|
0xct
|
|
0x3t
|
|
0x1t
|
|
0x0t
|
|
0x2t
|
|
0x11t
|
|
0x3t
|
|
0x11t
|
|
0x0t
|
|
0x3ft
|
|
0x0t
|
|
-0x72t
|
|
-0x76t
|
|
0x28t
|
|
-0x60t
|
|
0xft
|
|
-0x1t
|
|
-0x27t
|
|
.end array-data
|
|
.end method
|
|
|
|
.method public constructor <init>(Lf/g/d/g/g;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lf/g/j/b/b;->a:Lf/g/d/g/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(SS)Lcom/facebook/common/references/CloseableReference;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(SS)",
|
|
"Lcom/facebook/common/references/CloseableReference<",
|
|
"Lcom/facebook/common/memory/PooledByteBuffer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lf/g/j/b/b;->a:Lf/g/d/g/g;
|
|
|
|
sget-object v2, Lf/g/j/b/b;->b:[B
|
|
|
|
array-length v2, v2
|
|
|
|
sget-object v3, Lf/g/j/b/b;->c:[B
|
|
|
|
array-length v3, v3
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
add-int/lit8 v2, v2, 0x4
|
|
|
|
invoke-interface {v1, v2}, Lf/g/d/g/g;->e(I)Lf/g/d/g/i;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lf/g/j/b/b;->b:[B
|
|
|
|
invoke-virtual {v0, v1}, Ljava/io/OutputStream;->write([B)V
|
|
|
|
shr-int/lit8 v1, p2, 0x8
|
|
|
|
int-to-byte v1, v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/io/OutputStream;->write(I)V
|
|
|
|
and-int/lit16 p2, p2, 0xff
|
|
|
|
int-to-byte p2, p2
|
|
|
|
invoke-virtual {v0, p2}, Ljava/io/OutputStream;->write(I)V
|
|
|
|
shr-int/lit8 p2, p1, 0x8
|
|
|
|
int-to-byte p2, p2
|
|
|
|
invoke-virtual {v0, p2}, Ljava/io/OutputStream;->write(I)V
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
int-to-byte p1, p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write(I)V
|
|
|
|
sget-object p1, Lf/g/j/b/b;->c:[B
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write([B)V
|
|
|
|
move-object p1, v0
|
|
|
|
check-cast p1, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;
|
|
|
|
invoke-virtual {p1}, Lcom/facebook/imagepipeline/memory/MemoryPooledByteBufferOutputStream;->b()Lf/g/j/m/t;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->q(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-virtual {v0}, Lf/g/d/g/i;->close()V
|
|
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
:try_start_1
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lf/g/d/g/i;->close()V
|
|
|
|
:cond_0
|
|
throw p1
|
|
.end method
|