VideoTransform.smali

.class public Lcom/polly/mobile/videosdk/VideoTransform;
.super Ljava/lang/Object;
.source "SourceFile"


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static a([BII)V
    .registers 3

    .line 15
    invoke-static {p0, p1, p2}, Lcom/polly/mobile/videosdk/VideoTransform;->nativeUpsideDownYv12([BII)V

    return-void
.end method

.method public static a([B[BII)V
    .registers 10

    const/4 v4, 0x1

    const/16 v5, 0x2c5

    move-object v0, p0

    move-object v1, p1

    move v2, p2

    move v3, p3

    .line 40
    invoke-static/range {v0 .. v5}, Lcom/polly/mobile/videosdk/VideoTransform;->nativeConvertYuvRGBAto420p([B[BIIZI)V

    return-void
.end method

.method public static a([BII[BII)Z
    .registers 6

    .line 44
    invoke-static/range {p0 .. p5}, Lcom/polly/mobile/videosdk/VideoTransform;->nativeScaleYuv420p([BII[BII)Z

    move-result p0

    return p0
.end method

.method public static b([BII)V
    .registers 3

    .line 20
    invoke-static {p0, p1, p2}, Lcom/polly/mobile/videosdk/VideoTransform;->nativeConvertMirroredImageYv12([BII)V

    return-void
.end method

.method public static c([BII)V
    .registers 3

    .line 25
    invoke-static {p0, p1, p2}, Lcom/polly/mobile/videosdk/VideoTransform;->nativeConvertNv21toYuv420p([BII)V

    return-void
.end method

.method public static d([BII)V
    .registers 3

    .line 35
    invoke-static {p0, p1, p2}, Lcom/polly/mobile/videosdk/VideoTransform;->nativeConvertYuv420ptoNv21([BII)V

    return-void
.end method

.method private static native nativeConvertMirroredImageYv12([BII)V
.end method

.method private static native nativeConvertNv21toYuv420p([BII)V
.end method

.method private static native nativeConvertYuv420ptoNv21([BII)V
.end method

.method private static native nativeConvertYuvRGBAto420p([B[BIIZI)V
.end method

.method private static native nativeConvertYv12toNv21([BII)V
.end method

.method private static native nativeScaleYuv420p([BII[BII)Z
.end method

.method private static native nativeUpsideDownYv12([BII)V
.end method

.method public static native scale([BIIII[BII)V
.end method