MythTV  master
Functions | Variables
goom_tools.h File Reference
#include <cinttypes>
#include <cstddef>
#include <cstdlib>
Include dependency graph for goom_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void RAND_INIT (int i)
 
static int RAND (void)
 
static void RAND_CLOSE ()
 
static unsigned int iRAND (int i)
 

Variables

static constexpr double M_PI { 3.14159265358979323846 }
 
static constexpr float M_PI_F { static_cast<float>(M_PI) }
 
static constexpr size_t NB_RAND { 0x10000 }
 
int * rand_tab
 
static unsigned short rand_pos
 

Function Documentation

◆ RAND_INIT()

static void RAND_INIT ( int  i)
inlinestatic

Definition at line 19 of file goom_tools.h.

◆ RAND()

static int RAND ( void  )
inlinestatic

Definition at line 29 of file goom_tools.h.

Referenced by calculatePXandPY(), ifs_update(), iRAND(), LRAND(), and zoomFilterFastRGB().

◆ RAND_CLOSE()

static void RAND_CLOSE ( )
inlinestatic

Definition at line 35 of file goom_tools.h.

Referenced by goom_close().

◆ iRAND()

static unsigned int iRAND ( int  i)
inlinestatic

Variable Documentation

◆ M_PI

constexpr double M_PI { 3.14159265358979323846 }
staticconstexpr

◆ M_PI_F

constexpr float M_PI_F { static_cast<float>(M_PI) }
staticconstexpr

Definition at line 11 of file goom_tools.h.

◆ NB_RAND

constexpr size_t NB_RAND { 0x10000 }
staticconstexpr

Definition at line 13 of file goom_tools.h.

Referenced by goom_init(), and RAND_INIT().

◆ rand_tab

int* rand_tab

Definition at line 16 of file graphic.cpp.

Referenced by goom_init(), RAND(), RAND_CLOSE(), and RAND_INIT().

◆ rand_pos

unsigned short rand_pos
static

Definition at line 17 of file goom_tools.h.

Referenced by goom_init(), RAND(), and RAND_INIT().