MythTV  master
goom_core.h
Go to the documentation of this file.
1 #ifndef GOOMCORE_H
2 #define GOOMCORE_H
3 
4 #include "goomconfig.h"
5 #include "mythtvexp.h"
6 
7 #include <array>
8 
9 #define NB_FX 10
10 
11 using GoomSingleData = std::array<int16_t,512>;
12 using GoomDualData = std::array<GoomSingleData,2>;
13 
14 MTV_PUBLIC void goom_init (guint32 resx, guint32 resy, int cinemascope);
15 MTV_PUBLIC void goom_set_resolution (guint32 resx, guint32 resy, int cinemascope);
16 
17 /*
18  * forceMode == 0 : do nothing
19  * forceMode == -1 : lock the FX
20  * forceMode == 1..NB_FX : force a switch to FX n°forceMode
21  */
22 MTV_PUBLIC guint32 *goom_update (GoomDualData& data, int forceMode);
23 MTV_PUBLIC void goom_close (void);
25 
26 #endif // GOOMCORE_H
GoomDualData
std::array< GoomSingleData, 2 > GoomDualData
Definition: goom_core.h:12
GoomSingleData
std::array< int16_t, 512 > GoomSingleData
Definition: goom_core.h:11
mythtvexp.h
goom_rand
MTV_PUBLIC guint32 goom_rand(void)
Definition: goom_core.cpp:981
goomconfig.h
goom_update
MTV_PUBLIC guint32 * goom_update(GoomDualData &data, int forceMode)
Definition: goom_core.cpp:137
goom_init
MTV_PUBLIC void goom_init(guint32 resx, guint32 resy, int cinemascope)
Definition: goom_core.cpp:69
goom_close
MTV_PUBLIC void goom_close(void)
Definition: goom_core.cpp:855
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
guint32
#define guint32
Definition: goomconfig.h:35
goom_set_resolution
MTV_PUBLIC void goom_set_resolution(guint32 resx, guint32 resy, int cinemascope)
Definition: goom_core.cpp:108