WrappedNativeTextureBuffer$1.smali

.class Lio/agora/base/internal/video/WrappedNativeTextureBuffer$1;
.super Ljava/lang/Object;
.source "WrappedNativeTextureBuffer.java"

# interfaces
.implements Ljava/util/concurrent/Callable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/agora/base/internal/video/WrappedNativeTextureBuffer;->toI420()Lio/agora/base/VideoFrame$I420Buffer;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/concurrent/Callable<",
        "Lio/agora/base/VideoFrame$I420Buffer;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lio/agora/base/internal/video/WrappedNativeTextureBuffer;


# direct methods
.method constructor <init>(Lio/agora/base/internal/video/WrappedNativeTextureBuffer;)V
    .registers 2

    .line 157
    iput-object p1, p0, Lio/agora/base/internal/video/WrappedNativeTextureBuffer$1;->this$0:Lio/agora/base/internal/video/WrappedNativeTextureBuffer;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public call()Lio/agora/base/VideoFrame$I420Buffer;
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 160
    iget-object v0, p0, Lio/agora/base/internal/video/WrappedNativeTextureBuffer$1;->this$0:Lio/agora/base/internal/video/WrappedNativeTextureBuffer;

    # getter for: Lio/agora/base/internal/video/WrappedNativeTextureBuffer;->yuvConverter:Lio/agora/base/internal/video/YuvConverter;
    invoke-static {v0}, Lio/agora/base/internal/video/WrappedNativeTextureBuffer;->access$100(Lio/agora/base/internal/video/WrappedNativeTextureBuffer;)Lio/agora/base/internal/video/YuvConverter;

    move-result-object v0

    iget-object v1, p0, Lio/agora/base/internal/video/WrappedNativeTextureBuffer$1;->this$0:Lio/agora/base/internal/video/WrappedNativeTextureBuffer;

    # getter for: Lio/agora/base/internal/video/WrappedNativeTextureBuffer;->colorSpace:Lio/agora/base/VideoFrame$ColorSpace;
    invoke-static {v1}, Lio/agora/base/internal/video/WrappedNativeTextureBuffer;->access$000(Lio/agora/base/internal/video/WrappedNativeTextureBuffer;)Lio/agora/base/VideoFrame$ColorSpace;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lio/agora/base/internal/video/YuvConverter;->convert(Lio/agora/base/VideoFrame$TextureBuffer;Lio/agora/base/VideoFrame$ColorSpace;)Lio/agora/base/VideoFrame$I420Buffer;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic call()Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 157
    invoke-virtual {p0}, Lio/agora/base/internal/video/WrappedNativeTextureBuffer$1;->call()Lio/agora/base/VideoFrame$I420Buffer;

    move-result-object v0

    return-object v0
.end method