e$c.smali
.class final Lcom/tencent/liteav/beauty/b/e$c;
.super Lcom/tencent/liteav/videobase/b/d;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tencent/liteav/beauty/b/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "c"
.end annotation
# instance fields
.field private a:I
.field private b:I
# direct methods
.method public constructor <init>()V
.registers 2
const/4 v0, 0x0
.line 210
invoke-direct {p0, v0, v0}, Lcom/tencent/liteav/videobase/b/d;-><init>(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public final buildProgram()I
.registers 2
const/4 v0, 0x2
.line 215
invoke-static {v0}, Lcom/tencent/liteav/beauty/NativeLoad;->nativeLoadGLProgram(I)I
move-result v0
return v0
.end method
.method public final onInit(Lcom/tencent/liteav/videobase/frame/e;)V
.registers 3
.line 220
invoke-super {p0, p1}, Lcom/tencent/liteav/videobase/b/d;->onInit(Lcom/tencent/liteav/videobase/frame/e;)V
.line 221
invoke-virtual {p0}, Lcom/tencent/liteav/beauty/b/e$c;->getProgramId()I
move-result p1
const-string v0, "texelWidthOffset"
invoke-static {p1, v0}, Landroid/opengl/GLES20;->glGetUniformLocation(ILjava/lang/String;)I
move-result p1
iput p1, p0, Lcom/tencent/liteav/beauty/b/e$c;->a:I
.line 223
invoke-virtual {p0}, Lcom/tencent/liteav/beauty/b/e$c;->getProgramId()I
move-result p1
const-string v0, "texelHeightOffset"
invoke-static {p1, v0}, Landroid/opengl/GLES20;->glGetUniformLocation(ILjava/lang/String;)I
move-result p1
iput p1, p0, Lcom/tencent/liteav/beauty/b/e$c;->b:I
return-void
.end method
.method public final onOutputSizeChanged(II)V
.registers 4
.line 228
invoke-super {p0, p1, p2}, Lcom/tencent/liteav/videobase/b/d;->onOutputSizeChanged(II)V
.line 229
iget p1, p0, Lcom/tencent/liteav/beauty/b/e$c;->a:I
iget-object p2, p0, Lcom/tencent/liteav/beauty/b/e$c;->mOutputSize:Lcom/tencent/liteav/base/util/Size;
iget p2, p2, Lcom/tencent/liteav/base/util/Size;->width:I
int-to-float p2, p2
const/high16 v0, 0x3fc00000 # 1.5f
div-float p2, v0, p2
invoke-virtual {p0, p1, p2}, Lcom/tencent/liteav/beauty/b/e$c;->setFloatOnDraw(IF)V
.line 230
iget p1, p0, Lcom/tencent/liteav/beauty/b/e$c;->b:I
iget-object p2, p0, Lcom/tencent/liteav/beauty/b/e$c;->mOutputSize:Lcom/tencent/liteav/base/util/Size;
iget p2, p2, Lcom/tencent/liteav/base/util/Size;->height:I
int-to-float p2, p2
div-float/2addr v0, p2
invoke-virtual {p0, p1, v0}, Lcom/tencent/liteav/beauty/b/e$c;->setFloatOnDraw(IF)V
return-void
.end method