l$a.smali

.class final Lcom/tencent/liteav/videobase/frame/l$a;
.super Lcom/tencent/liteav/videobase/frame/PixelFrame;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/tencent/liteav/videobase/frame/l;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "a"
.end annotation


# static fields
.field private static final b:Lcom/tencent/liteav/videobase/frame/g;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/tencent/liteav/videobase/frame/g<",
            "Lcom/tencent/liteav/videobase/frame/l$a;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private final a:Lcom/tencent/liteav/videobase/frame/l$b;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 123
    invoke-static {}, Lcom/tencent/liteav/videobase/frame/m;->a()Lcom/tencent/liteav/videobase/frame/g;

    move-result-object v0

    sput-object v0, Lcom/tencent/liteav/videobase/frame/l$a;->b:Lcom/tencent/liteav/videobase/frame/g;

    return-void
.end method

.method private constructor <init>(Lcom/tencent/liteav/videobase/frame/l$b;Ljava/lang/Object;)V
    .registers 4

    .line 126
    sget-object v0, Lcom/tencent/liteav/videobase/frame/l$a;->b:Lcom/tencent/liteav/videobase/frame/g;

    invoke-direct {p0, v0}, Lcom/tencent/liteav/videobase/frame/PixelFrame;-><init>(Lcom/tencent/liteav/videobase/frame/g;)V

    .line 127
    invoke-virtual {p1}, Lcom/tencent/liteav/videobase/frame/l$b;->retain()I

    .line 1056
    iget v0, p1, Lcom/tencent/liteav/videobase/frame/l$b;->c:I

    .line 128
    iput v0, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mWidth:I

    .line 1061
    iget v0, p1, Lcom/tencent/liteav/videobase/frame/l$b;->d:I

    .line 129
    iput v0, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mHeight:I

    .line 130
    iput-object p1, p0, Lcom/tencent/liteav/videobase/frame/l$a;->a:Lcom/tencent/liteav/videobase/frame/l$b;

    .line 2051
    iget v0, p1, Lcom/tencent/liteav/videobase/frame/l$b;->a:I

    .line 131
    iput v0, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mTextureId:I

    .line 132
    iput-object p2, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mGLContext:Ljava/lang/Object;

    .line 3113
    iget p2, p1, Lcom/tencent/liteav/videobase/frame/l$b;->b:I

    const/16 v0, 0xde1

    if-ne p2, v0, :cond_23

    .line 134
    sget-object p1, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->b:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;

    iput-object p1, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mPixelBufferType:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;

    goto :goto_2e

    .line 4113
    :cond_23
    iget p1, p1, Lcom/tencent/liteav/videobase/frame/l$b;->b:I

    const p2, 0x8d65

    if-ne p1, p2, :cond_2e

    .line 136
    sget-object p1, Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;->c:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;

    iput-object p1, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mPixelBufferType:Lcom/tencent/liteav/videobase/base/GLConstants$PixelBufferType;

    .line 138
    :cond_2e
    :goto_2e
    sget-object p1, Lcom/tencent/liteav/videobase/base/GLConstants$PixelFormatType;->f:Lcom/tencent/liteav/videobase/base/GLConstants$PixelFormatType;

    iput-object p1, p0, Lcom/tencent/liteav/videobase/frame/l$a;->mPixelFormatType:Lcom/tencent/liteav/videobase/base/GLConstants$PixelFormatType;

    return-void
.end method

.method synthetic constructor <init>(Lcom/tencent/liteav/videobase/frame/l$b;Ljava/lang/Object;B)V
    .registers 4

    .line 121
    invoke-direct {p0, p1, p2}, Lcom/tencent/liteav/videobase/frame/l$a;-><init>(Lcom/tencent/liteav/videobase/frame/l$b;Ljava/lang/Object;)V

    return-void
.end method

.method static synthetic a(Lcom/tencent/liteav/videobase/frame/l$a;)V
    .registers 1

    .line 123
    iget-object p0, p0, Lcom/tencent/liteav/videobase/frame/l$a;->a:Lcom/tencent/liteav/videobase/frame/l$b;

    invoke-virtual {p0}, Lcom/tencent/liteav/videobase/frame/l$b;->release()V

    return-void
.end method


# virtual methods
.method public final setTextureId(I)V
    .registers 3

    .line 143
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "Object is allocated by pool, can\'t change its Buffer"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method