Added interface for GDNative Videodecoder.

Interface and callback api added for Videodecoder support.
Should be able to construct any format videodecoder using
only the given interface.

GSoC 2018 project.
This commit is contained in:
Anish
2018-07-29 01:31:30 +05:30
committed by Rémi Verschelde
parent d030c17d5e
commit 7199b7b5dd
12 changed files with 897 additions and 0 deletions

View File

@ -46,6 +46,7 @@ def _build_gdnative_api_struct_header(api):
'#include <arvr/godot_arvr.h>',
'#include <nativescript/godot_nativescript.h>',
'#include <pluginscript/godot_pluginscript.h>',
'#include <videodecoder/godot_videodecoder.h>',
'',
'#define GDNATIVE_API_INIT(options) do { \\\n' + ' \\\n'.join(gdnative_api_init_macro) + ' \\\n } while (0)',
'',
@ -244,6 +245,7 @@ def _build_gdnative_wrapper_code(api):
'#include <nativescript/godot_nativescript.h>',
'#include <pluginscript/godot_pluginscript.h>',
'#include <arvr/godot_arvr.h>',
'#include <videodecoder/godot_videodecoder.h>',
'',
'#include <gdnative_api_struct.gen.h>',
'',