mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
25 lines
703 B
Java
25 lines
703 B
Java
package com.limelight.nvstream.av.video;
|
|
|
|
import com.limelight.nvstream.av.DecodeUnit;
|
|
|
|
public interface VideoDecoderRenderer {
|
|
public static final int FLAG_PREFER_QUALITY = 0x1;
|
|
public static final int FLAG_FORCE_HARDWARE_DECODING = 0x2;
|
|
public static final int FLAG_FORCE_SOFTWARE_DECODING = 0x4;
|
|
|
|
// SubmitDecodeUnit() is lightweight, so don't use an extra thread for decoding
|
|
public static final int CAPABILITY_DIRECT_SUBMIT = 0x1;
|
|
|
|
public int getCapabilities();
|
|
|
|
public void setup(int width, int height, int redrawRate, Object renderTarget, int drFlags);
|
|
|
|
public void start();
|
|
|
|
public void stop();
|
|
|
|
public void release();
|
|
|
|
public boolean submitDecodeUnit(DecodeUnit decodeUnit);
|
|
}
|