TextureBuffer.smali
.class public Lio/agora/base/TextureBuffer;
.super Ljava/lang/Object;
.source "TextureBuffer.java"
# interfaces
.implements Lio/agora/base/VideoFrame$TextureBuffer;
.implements Lio/agora/base/internal/video/IHandlerReplaceable;
# static fields
.field private static final TAG:Ljava/lang/String; = "TextureBuffer"
# instance fields
.field private final eglContext:Lio/agora/base/internal/video/EglBase$Context;
.field private final height:I
.field private final id:I
.field private final refCountDelegate:Lio/agora/base/internal/RefCountDelegate;
.field private sequence:I
.field private final toI420Handler:Landroid/os/Handler;
.field private final transformMatrix:Landroid/graphics/Matrix;
.field private final type:Lio/agora/base/VideoFrame$TextureBuffer$Type;
.field private final width:I
.field private final yuvConverter:Lio/agora/base/internal/video/YuvConverter;
# direct methods
.method public constructor <init>(Landroid/opengl/EGLContext;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;)V
.registers 21
.line 87
invoke-static {p1}, Lio/agora/base/internal/video/EglBaseFactory;->createEgl14Context(Landroid/opengl/EGLContext;)Lio/agora/base/internal/video/EglBase$Context;
move-result-object v1
const/4 v10, -0x1
move-object v0, p0
move v2, p2
move v3, p3
move-object v4, p4
move/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move-object/from16 v8, p8
move-object/from16 v9, p9
invoke-direct/range {v0 .. v10}, Lio/agora/base/TextureBuffer;-><init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;I)V
return-void
.end method
.method public constructor <init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;)V
.registers 21
const/4 v10, -0x1
move-object v0, p0
move-object v1, p1
move v2, p2
move v3, p3
move-object v4, p4
move/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move-object/from16 v8, p8
move-object/from16 v9, p9
.line 94
invoke-direct/range {v0 .. v10}, Lio/agora/base/TextureBuffer;-><init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;I)V
return-void
.end method
.method public constructor <init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;I)V
.registers 12
.line 117
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
.line 41
iput v0, p0, Lio/agora/base/TextureBuffer;->sequence:I
.line 118
iput-object p1, p0, Lio/agora/base/TextureBuffer;->eglContext:Lio/agora/base/internal/video/EglBase$Context;
.line 119
iput p2, p0, Lio/agora/base/TextureBuffer;->width:I
.line 120
iput p3, p0, Lio/agora/base/TextureBuffer;->height:I
.line 121
iput-object p4, p0, Lio/agora/base/TextureBuffer;->type:Lio/agora/base/VideoFrame$TextureBuffer$Type;
.line 122
iput p5, p0, Lio/agora/base/TextureBuffer;->id:I
.line 123
iput-object p6, p0, Lio/agora/base/TextureBuffer;->transformMatrix:Landroid/graphics/Matrix;
.line 124
iput-object p7, p0, Lio/agora/base/TextureBuffer;->toI420Handler:Landroid/os/Handler;
.line 125
iput-object p8, p0, Lio/agora/base/TextureBuffer;->yuvConverter:Lio/agora/base/internal/video/YuvConverter;
.line 126
new-instance p1, Lio/agora/base/internal/RefCountDelegate;
invoke-direct {p1, p9}, Lio/agora/base/internal/RefCountDelegate;-><init>(Ljava/lang/Runnable;)V
iput-object p1, p0, Lio/agora/base/TextureBuffer;->refCountDelegate:Lio/agora/base/internal/RefCountDelegate;
.line 127
iput p10, p0, Lio/agora/base/TextureBuffer;->sequence:I
return-void
.end method
.method public constructor <init>(Ljavax/microedition/khronos/egl/EGLContext;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;)V
.registers 21
.line 63
invoke-static {p1}, Lio/agora/base/internal/video/EglBaseFactory;->createEgl10Context(Ljavax/microedition/khronos/egl/EGLContext;)Lio/agora/base/internal/video/EglBase$Context;
move-result-object v1
const/4 v10, -0x1
move-object v0, p0
move v2, p2
move v3, p3
move-object v4, p4
move/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move-object/from16 v8, p8
move-object/from16 v9, p9
invoke-direct/range {v0 .. v10}, Lio/agora/base/TextureBuffer;-><init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;I)V
return-void
.end method
.method static synthetic access$000(Lio/agora/base/TextureBuffer;)Lio/agora/base/internal/video/YuvConverter;
.registers 1
.line 30
iget-object p0, p0, Lio/agora/base/TextureBuffer;->yuvConverter:Lio/agora/base/internal/video/YuvConverter;
return-object p0
.end method
# virtual methods
.method public applyNewI420Handler(Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;)Lio/agora/base/VideoFrame$Buffer;
.registers 14
.line 206
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->retain()V
.line 207
new-instance v10, Lio/agora/base/TextureBuffer;
iget-object v1, p0, Lio/agora/base/TextureBuffer;->eglContext:Lio/agora/base/internal/video/EglBase$Context;
iget v2, p0, Lio/agora/base/TextureBuffer;->width:I
iget v3, p0, Lio/agora/base/TextureBuffer;->height:I
iget-object v4, p0, Lio/agora/base/TextureBuffer;->type:Lio/agora/base/VideoFrame$TextureBuffer$Type;
iget v5, p0, Lio/agora/base/TextureBuffer;->id:I
iget-object v6, p0, Lio/agora/base/TextureBuffer;->transformMatrix:Landroid/graphics/Matrix;
new-instance v9, Lio/agora/base/TextureBuffer$1;
invoke-direct {v9, p0}, Lio/agora/base/TextureBuffer$1;-><init>(Lio/agora/base/TextureBuffer;)V
move-object v0, v10
move-object v7, p1
move-object v8, p2
invoke-direct/range {v0 .. v9}, Lio/agora/base/TextureBuffer;-><init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;)V
return-object v10
.end method
.method public applyTransformMatrix(Landroid/graphics/Matrix;II)Lio/agora/base/TextureBuffer;
.registers 14
.line 329
new-instance v6, Landroid/graphics/Matrix;
iget-object v0, p0, Lio/agora/base/TextureBuffer;->transformMatrix:Landroid/graphics/Matrix;
invoke-direct {v6, v0}, Landroid/graphics/Matrix;-><init>(Landroid/graphics/Matrix;)V
.line 330
invoke-virtual {v6, p1}, Landroid/graphics/Matrix;->preConcat(Landroid/graphics/Matrix;)Z
.line 331
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->retain()V
.line 332
new-instance p1, Lio/agora/base/TextureBuffer;
iget-object v1, p0, Lio/agora/base/TextureBuffer;->eglContext:Lio/agora/base/internal/video/EglBase$Context;
iget-object v4, p0, Lio/agora/base/TextureBuffer;->type:Lio/agora/base/VideoFrame$TextureBuffer$Type;
iget v5, p0, Lio/agora/base/TextureBuffer;->id:I
iget-object v7, p0, Lio/agora/base/TextureBuffer;->toI420Handler:Landroid/os/Handler;
iget-object v8, p0, Lio/agora/base/TextureBuffer;->yuvConverter:Lio/agora/base/internal/video/YuvConverter;
new-instance v9, Lio/agora/base/TextureBuffer$3;
invoke-direct {v9, p0}, Lio/agora/base/TextureBuffer$3;-><init>(Lio/agora/base/TextureBuffer;)V
move-object v0, p1
move v2, p2
move v3, p3
invoke-direct/range {v0 .. v9}, Lio/agora/base/TextureBuffer;-><init>(Lio/agora/base/internal/video/EglBase$Context;IILio/agora/base/VideoFrame$TextureBuffer$Type;ILandroid/graphics/Matrix;Landroid/os/Handler;Lio/agora/base/internal/video/YuvConverter;Ljava/lang/Runnable;)V
iget p2, p0, Lio/agora/base/TextureBuffer;->sequence:I
.line 340
invoke-virtual {p1, p2}, Lio/agora/base/TextureBuffer;->withSequence(I)Lio/agora/base/TextureBuffer;
move-result-object p1
return-object p1
.end method
.method public cropAndScale(IIIIII)Lio/agora/base/VideoFrame$Buffer;
.registers 10
.line 250
new-instance v0, Landroid/graphics/Matrix;
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
.line 253
iget v1, p0, Lio/agora/base/TextureBuffer;->height:I
add-int/2addr p2, p4
sub-int p2, v1, p2
int-to-float p1, p1
.line 254
iget v2, p0, Lio/agora/base/TextureBuffer;->width:I
int-to-float v2, v2
div-float/2addr p1, v2
int-to-float p2, p2
int-to-float v1, v1
div-float/2addr p2, v1
invoke-virtual {v0, p1, p2}, Landroid/graphics/Matrix;->preTranslate(FF)Z
int-to-float p1, p3
.line 255
iget p2, p0, Lio/agora/base/TextureBuffer;->width:I
int-to-float p2, p2
div-float/2addr p1, p2
int-to-float p2, p4
iget p3, p0, Lio/agora/base/TextureBuffer;->height:I
int-to-float p3, p3
div-float/2addr p2, p3
invoke-virtual {v0, p1, p2}, Landroid/graphics/Matrix;->preScale(FF)Z
.line 257
invoke-virtual {p0, v0, p5, p6}, Lio/agora/base/TextureBuffer;->applyTransformMatrix(Landroid/graphics/Matrix;II)Lio/agora/base/TextureBuffer;
move-result-object p1
return-object p1
.end method
.method public getEglBaseContext()Lio/agora/base/internal/video/EglBase$Context;
.registers 2
.line 153
iget-object v0, p0, Lio/agora/base/TextureBuffer;->eglContext:Lio/agora/base/internal/video/EglBase$Context;
return-object v0
.end method
.method public getEglContextType()I
.registers 2
.line 163
iget-object v0, p0, Lio/agora/base/TextureBuffer;->eglContext:Lio/agora/base/internal/video/EglBase$Context;
invoke-static {v0}, Lio/agora/base/internal/video/EglBaseFactory;->isEglBase14(Lio/agora/base/internal/video/EglBase$Context;)Z
move-result v0
if-eqz v0, :cond_f
sget-object v0, Lio/agora/base/VideoFrame$TextureBuffer$ContextType;->EGL_CONTEXT_14:Lio/agora/base/VideoFrame$TextureBuffer$ContextType;
invoke-virtual {v0}, Lio/agora/base/VideoFrame$TextureBuffer$ContextType;->ordinal()I
move-result v0
goto :goto_15
.line 164
:cond_f
sget-object v0, Lio/agora/base/VideoFrame$TextureBuffer$ContextType;->EGL_CONTEXT_10:Lio/agora/base/VideoFrame$TextureBuffer$ContextType;
invoke-virtual {v0}, Lio/agora/base/VideoFrame$TextureBuffer$ContextType;->ordinal()I
move-result v0
:goto_15
return v0
.end method
.method public getHeight()I
.registers 2
.line 184
iget v0, p0, Lio/agora/base/TextureBuffer;->height:I
return v0
.end method
.method public getNativeEglContext()J
.registers 3
.line 158
iget-object v0, p0, Lio/agora/base/TextureBuffer;->eglContext:Lio/agora/base/internal/video/EglBase$Context;
invoke-interface {v0}, Lio/agora/base/internal/video/EglBase$Context;->getNativeEglContext()J
move-result-wide v0
return-wide v0
.end method
.method public getSequence()I
.registers 2
.line 174
iget v0, p0, Lio/agora/base/TextureBuffer;->sequence:I
return v0
.end method
.method public getTextureId()I
.registers 2
.line 142
iget v0, p0, Lio/agora/base/TextureBuffer;->id:I
return v0
.end method
.method public getToI420Handler()Landroid/os/Handler;
.registers 2
.line 196
iget-object v0, p0, Lio/agora/base/TextureBuffer;->toI420Handler:Landroid/os/Handler;
return-object v0
.end method
.method public getTransformMatrix()Landroid/graphics/Matrix;
.registers 2
.line 147
iget-object v0, p0, Lio/agora/base/TextureBuffer;->transformMatrix:Landroid/graphics/Matrix;
return-object v0
.end method
.method public getTransformMatrixArray()[F
.registers 2
.line 169
iget-object v0, p0, Lio/agora/base/TextureBuffer;->transformMatrix:Landroid/graphics/Matrix;
invoke-static {v0}, Lio/agora/base/internal/video/RendererCommon;->convertMatrixFromAndroidGraphicsMatrix(Landroid/graphics/Matrix;)[F
move-result-object v0
return-object v0
.end method
.method public getType()Lio/agora/base/VideoFrame$TextureBuffer$Type;
.registers 2
.line 137
iget-object v0, p0, Lio/agora/base/TextureBuffer;->type:Lio/agora/base/VideoFrame$TextureBuffer$Type;
return-object v0
.end method
.method public getWidth()I
.registers 2
.line 179
iget v0, p0, Lio/agora/base/TextureBuffer;->width:I
return v0
.end method
.method public getYuvConverter()Lio/agora/base/internal/video/YuvConverter;
.registers 2
.line 190
iget-object v0, p0, Lio/agora/base/TextureBuffer;->yuvConverter:Lio/agora/base/internal/video/YuvConverter;
return-object v0
.end method
.method public mirror(I)Lio/agora/base/VideoFrame$Buffer;
.registers 6
.line 262
new-instance v0, Landroid/graphics/Matrix;
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
const/high16 v1, 0x3f000000 # 0.5f
.line 264
invoke-virtual {v0, v1, v1}, Landroid/graphics/Matrix;->preTranslate(FF)Z
const/high16 v1, -0x40800000 # -1.0f
const/high16 v2, 0x3f800000 # 1.0f
const/16 v3, 0x5a
if-eq p1, v3, :cond_1b
const/16 v3, 0x10e
if-ne p1, v3, :cond_17
goto :goto_1b
.line 268
:cond_17
invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->preScale(FF)Z
goto :goto_1e
.line 266
:cond_1b
:goto_1b
invoke-virtual {v0, v2, v1}, Landroid/graphics/Matrix;->preScale(FF)Z
:goto_1e
const/high16 p1, -0x41000000 # -0.5f
.line 270
invoke-virtual {v0, p1, p1}, Landroid/graphics/Matrix;->preTranslate(FF)Z
.line 271
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->getWidth()I
move-result p1
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->getHeight()I
move-result v1
invoke-virtual {p0, v0, p1, v1}, Lio/agora/base/TextureBuffer;->applyTransformMatrix(Landroid/graphics/Matrix;II)Lio/agora/base/TextureBuffer;
move-result-object p1
return-object p1
.end method
.method public release()V
.registers 2
.line 244
iget-object v0, p0, Lio/agora/base/TextureBuffer;->refCountDelegate:Lio/agora/base/internal/RefCountDelegate;
invoke-virtual {v0}, Lio/agora/base/internal/RefCountDelegate;->release()V
return-void
.end method
.method public retain()V
.registers 2
.line 239
iget-object v0, p0, Lio/agora/base/TextureBuffer;->refCountDelegate:Lio/agora/base/internal/RefCountDelegate;
invoke-virtual {v0}, Lio/agora/base/internal/RefCountDelegate;->retain()V
return-void
.end method
.method public rotate(I)Lio/agora/base/VideoFrame$Buffer;
.registers 6
.line 276
new-instance v0, Landroid/graphics/Matrix;
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
const/16 v1, 0x10e
const/16 v2, 0x5a
if-eq p1, v2, :cond_13
if-ne p1, v1, :cond_e
goto :goto_13
.line 277
:cond_e
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->getWidth()I
move-result v3
goto :goto_17
:cond_13
:goto_13
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->getHeight()I
move-result v3
:goto_17
if-eq p1, v2, :cond_21
if-ne p1, v1, :cond_1c
goto :goto_21
.line 278
:cond_1c
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->getHeight()I
move-result v1
goto :goto_25
:cond_21
:goto_21
invoke-virtual {p0}, Lio/agora/base/TextureBuffer;->getWidth()I
move-result v1
:goto_25
const/high16 v2, 0x3f000000 # 0.5f
.line 279
invoke-virtual {v0, v2, v2}, Landroid/graphics/Matrix;->preTranslate(FF)Z
int-to-float p1, p1
.line 280
invoke-virtual {v0, p1}, Landroid/graphics/Matrix;->preRotate(F)Z
const/high16 p1, -0x41000000 # -0.5f
.line 281
invoke-virtual {v0, p1, p1}, Landroid/graphics/Matrix;->preTranslate(FF)Z
.line 282
invoke-virtual {p0, v0, v3, v1}, Lio/agora/base/TextureBuffer;->applyTransformMatrix(Landroid/graphics/Matrix;II)Lio/agora/base/TextureBuffer;
move-result-object p1
return-object p1
.end method
.method public toI420()Lio/agora/base/VideoFrame$I420Buffer;
.registers 6
.line 218
iget-object v0, p0, Lio/agora/base/TextureBuffer;->toI420Handler:Landroid/os/Handler;
if-eqz v0, :cond_36
iget-object v1, p0, Lio/agora/base/TextureBuffer;->yuvConverter:Lio/agora/base/internal/video/YuvConverter;
if-eqz v1, :cond_36
const/4 v1, 0x1
new-array v1, v1, [Lio/agora/base/VideoFrame$I420Buffer;
const/4 v2, 0x0
const/4 v3, 0x0
aput-object v3, v1, v2
.line 223
:try_start_f
new-instance v4, Lio/agora/base/TextureBuffer$2;
invoke-direct {v4, p0, v1}, Lio/agora/base/TextureBuffer$2;-><init>(Lio/agora/base/TextureBuffer;[Lio/agora/base/VideoFrame$I420Buffer;)V
invoke-static {v0, v4}, Lio/agora/base/internal/ThreadUtils;->invokeAtFrontUninterruptibly(Landroid/os/Handler;Ljava/lang/Runnable;)V
:try_end_17
.catch Ljava/lang/Exception; {:try_start_f .. :try_end_17} :catch_1a
.line 234
aget-object v0, v1, v2
return-object v0
:catch_1a
move-exception v0
.line 230
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "toI420 failure:"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "TextureBuffer"
invoke-static {v1, v0}, Lio/agora/base/internal/Logging;->e(Ljava/lang/String;Ljava/lang/String;)V
return-object v3
.line 219
:cond_36
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "toI420Handler or yuvConverter is null"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public transform(IIIIIII)Lio/agora/base/VideoFrame$Buffer;
.registers 12
.line 289
new-instance v0, Landroid/graphics/Matrix;
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
.line 292
iget v1, p0, Lio/agora/base/TextureBuffer;->height:I
add-int/2addr p2, p4
sub-int p2, v1, p2
int-to-float p1, p1
.line 293
iget v2, p0, Lio/agora/base/TextureBuffer;->width:I
int-to-float v2, v2
div-float/2addr p1, v2
int-to-float p2, p2
int-to-float v1, v1
div-float/2addr p2, v1
invoke-virtual {v0, p1, p2}, Landroid/graphics/Matrix;->preTranslate(FF)Z
int-to-float p1, p3
.line 294
iget p2, p0, Lio/agora/base/TextureBuffer;->width:I
int-to-float p2, p2
div-float/2addr p1, p2
int-to-float p2, p4
iget p3, p0, Lio/agora/base/TextureBuffer;->height:I
int-to-float p3, p3
div-float/2addr p2, p3
invoke-virtual {v0, p1, p2}, Landroid/graphics/Matrix;->preScale(FF)Z
if-lez p5, :cond_2d
if-lez p6, :cond_2d
if-nez p7, :cond_2d
.line 297
invoke-virtual {p0, v0, p5, p6}, Lio/agora/base/TextureBuffer;->applyTransformMatrix(Landroid/graphics/Matrix;II)Lio/agora/base/TextureBuffer;
move-result-object p1
return-object p1
:cond_2d
const/high16 p1, 0x3f000000 # 0.5f
.line 300
invoke-virtual {v0, p1, p1}, Landroid/graphics/Matrix;->preTranslate(FF)Z
const/high16 p1, 0x3f800000 # 1.0f
const/high16 p2, -0x40800000 # -1.0f
if-gez p5, :cond_3c
.line 302
invoke-virtual {v0, p2, p1}, Landroid/graphics/Matrix;->preScale(FF)Z
neg-int p5, p5
:cond_3c
if-gez p6, :cond_42
.line 306
invoke-virtual {v0, p1, p2}, Landroid/graphics/Matrix;->preScale(FF)Z
neg-int p6, p6
:cond_42
const/16 p1, 0x5a
if-eq p7, p1, :cond_4a
const/16 p1, 0x10e
if-ne p7, p1, :cond_4d
:cond_4a
move v3, p6
move p6, p5
move p5, v3
:cond_4d
if-eqz p7, :cond_53
int-to-float p1, p7
.line 317
invoke-virtual {v0, p1}, Landroid/graphics/Matrix;->preRotate(F)Z
:cond_53
const/high16 p1, -0x41000000 # -0.5f
.line 319
invoke-virtual {v0, p1, p1}, Landroid/graphics/Matrix;->preTranslate(FF)Z
.line 320
invoke-virtual {p0, v0, p5, p6}, Lio/agora/base/TextureBuffer;->applyTransformMatrix(Landroid/graphics/Matrix;II)Lio/agora/base/TextureBuffer;
move-result-object p1
return-object p1
.end method
.method public withSequence(I)Lio/agora/base/TextureBuffer;
.registers 2
.line 131
iput p1, p0, Lio/agora/base/TextureBuffer;->sequence:I
return-object p0
.end method