From a11ff876d4783985f38950dfaa6179aba5211d52 Mon Sep 17 00:00:00 2001 From: berak Date: Wed, 26 Aug 2015 15:19:26 +0200 Subject: [PATCH] enable VideoWriter class for java fixing fourcc --- modules/java/generator/gen_java.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/java/generator/gen_java.py b/modules/java/generator/gen_java.py index bfb585bf8f..a40bbe5727 100755 --- a/modules/java/generator/gen_java.py +++ b/modules/java/generator/gen_java.py @@ -13,8 +13,6 @@ else: class_ignore_list = ( #core "FileNode", "FileStorage", "KDTree", "KeyPoint", "DMatch", - #videoio - "VideoWriter", ) const_ignore_list = ( @@ -186,6 +184,7 @@ type_dict = { "env" : { "j_type" : "", "jn_type" : "", "jni_type" : "JNIEnv*"}, "cls" : { "j_type" : "", "jn_type" : "", "jni_type" : "jclass"}, "bool" : { "j_type" : "boolean", "jn_type" : "boolean", "jni_type" : "jboolean", "suffix" : "Z" }, + "char" : { "j_type" : "char", "jn_type" : "char", "jni_type" : "jchar", "suffix" : "C" }, "int" : { "j_type" : "int", "jn_type" : "int", "jni_type" : "jint", "suffix" : "I" }, "long" : { "j_type" : "int", "jn_type" : "int", "jni_type" : "jint", "suffix" : "I" }, "float" : { "j_type" : "float", "jn_type" : "float", "jni_type" : "jfloat", "suffix" : "F" },