/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class jp_sourceforge_nicoro_NicoroFFmpegPlayer */

#ifndef _Included_jp_sourceforge_nicoro_NicoroFFmpegPlayer
#define _Included_jp_sourceforge_nicoro_NicoroFFmpegPlayer
#ifdef __cplusplus
extern "C" {
#endif
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGV
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGV 0L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGD
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGD 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_MESSAGE_FINISHED
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_MESSAGE_FINISHED 0L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_MESSAGE_OCCURRED_ERROR
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_MESSAGE_OCCURRED_ERROR 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_THUMBINFO_FINISHED
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_THUMBINFO_FINISHED 2L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_THUMBINFO_OCCURRED_ERROR
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_THUMBINFO_OCCURRED_ERROR 3L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_VIDEO_OCCURRED_ERROR
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_VIDEO_OCCURRED_ERROR 4L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_VIDEO_NOTIFY_PROGRESS
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_VIDEO_NOTIFY_PROGRESS 5L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_INFO_TIME_UPDATE
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_INFO_TIME_UPDATE 6L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_PLAY_ERROR
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_PLAY_ERROR 7L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_MESSAGE_FORK_FINISHED
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_MESSAGE_FORK_FINISHED 8L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_SUB_OFFSET
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_SUB_OFFSET 256L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_REAL_PLAYER_WIDTH_PX
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_REAL_PLAYER_WIDTH_PX 512L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_REAL_PLAYER_HEIGHT_PX_4_3
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_REAL_PLAYER_HEIGHT_PX_4_3 384L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_REAL_PLAYER_HEIGHT_PX_16_9
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_REAL_PLAYER_HEIGHT_PX_16_9 288L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_INFO_IN
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_INFO_IN 500L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_INFO_OUT
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_INFO_OUT 500L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_CONTROLLER_IN
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_CONTROLLER_IN 300L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_CONTROLLER_OUT
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_ANIM_TIME_PLAYER_CONTROLLER_OUT 300L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGV
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGV 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGD
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_DEBUG_LOGD 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_VIDEO_BUFFER_CACHE_SIZE
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_VIDEO_BUFFER_CACHE_SIZE 20L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_VIDEO_CACHED
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_VIDEO_CACHED 256L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_SURFACE_CREATED
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_SURFACE_CREATED 257L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_SURFACE_DESTROYED
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_MSG_ID_SURFACE_DESTROYED 258L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_INVALID
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_INVALID -2147483647L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_VIDEO
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_VIDEO 0L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_AUDIO
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_AUDIO 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_VIDEO_SKIP
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_VIDEO_SKIP 2L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_SKIP
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_SKIP 3L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_ERROR_OR_END
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_DECODE_FRAME_ERROR_OR_END -1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_VIDEO
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_VIDEO 0L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_AUDIO
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_AUDIO 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_UNKNOWN
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_UNKNOWN -1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_ERROR_OR_END
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_FRAME_TYPE_ERROR_OR_END -2L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_NONE
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_NONE 0L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_NONREF
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_NONREF 1L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_BIDIR
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_BIDIR 2L
#undef jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_NONKEY
#define jp_sourceforge_nicoro_NicoroFFmpegPlayer_CODE_SKIP_VIDEO_FRAME_NONKEY 3L
/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    createNative
 * Signature: ()J
 */
JNIEXPORT jlong JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_createNative
  (JNIEnv *, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    destroyNative
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_destroyNative
  (JNIEnv *, jobject, jlong);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    loadFile
 * Signature: (JLjava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_loadFile
  (JNIEnv *, jobject, jlong, jstring);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    loadStream
 * Signature: (J[BLjp/sourceforge/nicoro/FFmpegIOCallback;Ljp/sourceforge/nicoro/FFmpegData;)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_loadStream
  (JNIEnv *, jobject, jlong, jbyteArray, jobject, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    createAudioTrack
 * Signature: (JLjp/sourceforge/nicoro/FFmpegInfoCallback;)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_createAudioTrack
  (JNIEnv *, jobject, jlong, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    createDrawBuffer
 * Signature: (JLjp/sourceforge/nicoro/FFmpegInfoCallback;)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_createDrawBuffer
  (JNIEnv *, jobject, jlong, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    decodeFrame
 * Signature: (J[II[BLjp/sourceforge/nicoro/FFmpegIOCallback;Ljp/sourceforge/nicoro/FFmpegData;)I
 */
JNIEXPORT jint JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_decodeFrame
  (JNIEnv *, jobject, jlong, jintArray, jint, jbyteArray, jobject, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    readFrame
 * Signature: (J[BLjp/sourceforge/nicoro/FFmpegIOCallback;)I
 */
JNIEXPORT jint JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_readFrame
  (JNIEnv *, jobject, jlong, jbyteArray, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    decodeVideo
 * Signature: (J[ILjp/sourceforge/nicoro/FFmpegData;I)I
 */
JNIEXPORT jint JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_decodeVideo
  (JNIEnv *, jobject, jlong, jintArray, jobject, jint);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    decodeAudio
 * Signature: (JLjp/sourceforge/nicoro/FFmpegData;)Z
 */
JNIEXPORT jboolean JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_decodeAudio
  (JNIEnv *, jobject, jlong, jobject);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    seekFrameBySecond
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_seekFrameBySecond
  (JNIEnv *, jobject, jlong, jint);

/*
 * Class:     jp_sourceforge_nicoro_NicoroFFmpegPlayer
 * Method:    reopenInputStream
 * Signature: (J[BLjp/sourceforge/nicoro/FFmpegIOCallback;)V
 */
JNIEXPORT void JNICALL Java_jp_sourceforge_nicoro_NicoroFFmpegPlayer_reopenInputStream
  (JNIEnv *, jobject, jlong, jbyteArray, jobject);

#ifdef __cplusplus
}
#endif
#endif
