From 29909e07e87522ed248cd706e06673462050ede4 Mon Sep 17 00:00:00 2001 From: Diego Waxemberg Date: Sat, 7 Dec 2013 20:09:57 -0500 Subject: [PATCH] added render api for limelight-pc --- .../src/com/limelight/nvstream/av/video/cpu/AvcDecoder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/moonlight-common/src/com/limelight/nvstream/av/video/cpu/AvcDecoder.java b/moonlight-common/src/com/limelight/nvstream/av/video/cpu/AvcDecoder.java index 874a645e..097e2c47 100644 --- a/moonlight-common/src/com/limelight/nvstream/av/video/cpu/AvcDecoder.java +++ b/moonlight-common/src/com/limelight/nvstream/av/video/cpu/AvcDecoder.java @@ -33,6 +33,7 @@ public class AvcDecoder { // Rendering API when NO_COLOR_CONVERSION == 0 public static native boolean setRenderTarget(Object androidSurface); + public static native boolean getRgbFrameInt(int[] rgbFrame, int bufferSize); public static native boolean getRgbFrame(byte[] rgbFrame, int bufferSize); public static native boolean redraw();