mirror of
git://f0xx.org/android_cast
synced 2026-07-29 03:38:52 +03:00
16 lines
442 B
C
16 lines
442 B
C
#include <jni.h>
|
|
#include <string.h>
|
|
|
|
/* VP8/VP9 via libvpx — linked when third-party/libvpx is built into this library. */
|
|
#ifndef ANDROIDCAST_HAVE_LIBVPX
|
|
#define ANDROIDCAST_HAVE_LIBVPX 0
|
|
#endif
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_com_foxx_androidcast_media_codec_jni_NativeCodecBridge_nativeIsLibvpxAvailable(
|
|
JNIEnv *env, jclass clazz) {
|
|
(void)env;
|
|
(void)clazz;
|
|
return ANDROIDCAST_HAVE_LIBVPX ? JNI_TRUE : JNI_FALSE;
|
|
}
|