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