diff options
author | Anish <anishbhobe@hotmail.com> | 2018-07-29 01:31:30 +0530 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-13 15:19:09 +0100 |
commit | 7199b7b5dd1b324f6581c4a880951730daefbb60 (patch) | |
tree | 8ea1419487eaf37b414ce18d10db9474a998cdfc /modules/gdnative/gdnative_api.json | |
parent | d030c17d5ea1c6e40d8c45a7cffd072242dcb735 (diff) | |
download | redot-engine-7199b7b5dd1b324f6581c4a880951730daefbb60.tar.gz |
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.
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r-- | modules/gdnative/gdnative_api.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json index c5a1fa139e..20320e18b1 100644 --- a/modules/gdnative/gdnative_api.json +++ b/modules/gdnative/gdnative_api.json @@ -6374,6 +6374,42 @@ ] } ] + }, + { + "name": "videodecoder", + "type": "VIDEODECODER", + "version": { + "major": 0, + "minor": 1 + }, + "next": null, + "api": [ + { + "name": "godot_videodecoder_file_read", + "return_type": "godot_int", + "arguments": [ + ["void *", "file_ptr"], + ["uint8_t *", "buf"], + ["int", "buf_size"] + ] + }, + { + "name": "godot_videodecoder_file_seek", + "return_type": "int64_t", + "arguments": [ + [ "void *", "file_ptr"], + ["int64_t", "pos"], + ["int", "whence"] + ] + }, + { + "name": "godot_videodecoder_register_decoder", + "return_type": "void", + "arguments": [ + ["const godot_videodecoder_interface_gdnative *", "p_interface"] + ] + } + ] } ] } |