今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
2.9 KiB

.class public Lcom/via/gpuimage/GPUImageTexture;
.super Lcom/via/gpuimage/GPUTexture;
.source "GPUImageTexture.java"
# instance fields
.field protected TEXTURE:[F
# direct methods
.method public constructor <init>()V
.locals 3
.prologue
const/4 v2, 0x0
.line 20
invoke-direct {p0}, Lcom/via/gpuimage/GPUTexture;-><init>()V
.line 13
const/16 v0, 0x8
new-array v0, v0, [F
fill-array-data v0, :array_0
iput-object v0, p0, Lcom/via/gpuimage/GPUImageTexture;->TEXTURE:[F
.line 21
sget-object v0, Lcom/via/gpuimage/GPUImageTexture;->CUBE:[F
array-length v0, v0
mul-int/lit8 v0, v0, 0x4
invoke-static {v0}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object v0
.line 22
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object v0
.line 23
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->asFloatBuffer()Ljava/nio/FloatBuffer;
move-result-object v0
iput-object v0, p0, Lcom/via/gpuimage/GPUImageTexture;->mGLCubeBuffer:Ljava/nio/FloatBuffer;
.line 24
iget-object v0, p0, Lcom/via/gpuimage/GPUImageTexture;->mGLCubeBuffer:Ljava/nio/FloatBuffer;
sget-object v1, Lcom/via/gpuimage/GPUImageTexture;->CUBE:[F
invoke-virtual {v0, v1}, Ljava/nio/FloatBuffer;->put([F)Ljava/nio/FloatBuffer;
move-result-object v0
invoke-virtual {v0, v2}, Ljava/nio/FloatBuffer;->position(I)Ljava/nio/Buffer;
.line 26
iget-object v0, p0, Lcom/via/gpuimage/GPUImageTexture;->TEXTURE:[F
array-length v0, v0
mul-int/lit8 v0, v0, 0x4
invoke-static {v0}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object v0
.line 27
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object v0
.line 28
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->asFloatBuffer()Ljava/nio/FloatBuffer;
move-result-object v0
iput-object v0, p0, Lcom/via/gpuimage/GPUImageTexture;->mGLTextureBuffer:Ljava/nio/FloatBuffer;
.line 29
iget-object v0, p0, Lcom/via/gpuimage/GPUImageTexture;->mGLTextureBuffer:Ljava/nio/FloatBuffer;
iget-object v1, p0, Lcom/via/gpuimage/GPUImageTexture;->TEXTURE:[F
invoke-virtual {v0, v1}, Ljava/nio/FloatBuffer;->put([F)Ljava/nio/FloatBuffer;
move-result-object v0
invoke-virtual {v0, v2}, Ljava/nio/FloatBuffer;->position(I)Ljava/nio/Buffer;
.line 30
return-void
.line 13
:array_0
.array-data 4
0x0
0x0
0x3f800000 # 1.0f
0x0
0x0
0x3f800000 # 1.0f
0x3f800000 # 1.0f
0x3f800000 # 1.0f
.end array-data
.end method