update livido api to 104 (added pixel format YUV 4:2:2:Alpha as LIVIDO_PALETTE_YUVA422), support alpha channels in lvd_shmin plugin, accept loading plugins with lower livido API version

This commit is contained in:
niels
2016-01-01 17:29:56 +01:00
parent 5d22974b4e
commit 8e911045d8
11 changed files with 82 additions and 50 deletions

View File

@@ -11,7 +11,8 @@
Revised by Niels, 2010 ( 101 )
2011 ( 102 )
2015 ( 103 )
2015 ( 103 )
2016 ( 104 )
LiViDO is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -55,7 +56,7 @@ LIVIDO_BEGIN_DECLS
#ifdef IS_LIVIDO_PLUGIN
typedef void livido_port_t;
#endif
#define LIVIDO_API_VERSION 103
#define LIVIDO_API_VERSION 104
#define LIVIDO_PALETTE_RGB888 1
#define LIVIDO_PALETTE_RGB24 1
#define LIVIDO_PALETTE_BGR888 2
@@ -89,6 +90,7 @@ typedef void livido_port_t;
#define LIVIDO_PALETTE_YUV411 520
#define LIVIDO_PALETTE_YUV888 521
#define LIVIDO_PALETTE_YUVA8888 522
#define LIVIDO_PALETTE_YUVA422 523
#define LIVIDO_PALETTE_A1 1025
#define LIVIDO_PALETTE_A8 1026
#define LIVIDO_PALETTE_A16 1028