| 
    TTKMusicPlayer
    4.2.0.0
    
   TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux 
   | 
 
Go to the source code of this file.
Macros | |
| #define | SYMBOL_SIZE (8) | 
| #define | symbols ((1U << SYMBOL_SIZE) - 1) | 
| #define | min_length (2) | 
| #define | max_length (30) | 
| #define | max_generatorSize (max_length) | 
Functions | |
| static void | RSECC_initLookupTable (void) | 
| static void | RSECC_init (void) | 
| static void | generator_init (size_t length) | 
| int | RSECC_encode (size_t data_length, size_t ecc_length, const unsigned char *data, unsigned char *ecc) | 
Variables | |
| static pthread_mutex_t | RSECC_mutex = PTHREAD_MUTEX_INITIALIZER | 
| static int | initialized = 0 | 
| static const unsigned int | proot = 0x11d | 
| static unsigned char | alpha [symbols+1] | 
| static unsigned char | aindex [symbols+1] | 
| static unsigned char | generator [max_length-min_length+1][max_generatorSize+1] | 
| static unsigned char | generatorInitialized [max_length-min_length+1] | 
| #define max_generatorSize (max_length) | 
Definition at line 48 of file rsecc.c.
Referenced by generator_init().
| #define max_length (30) | 
Definition at line 47 of file rsecc.c.
Referenced by gen_bitlen(), RSECC_encode(), and RSECC_init().
| #define min_length (2) | 
Definition at line 46 of file rsecc.c.
Referenced by generator_init(), RSECC_encode(), and RSECC_init().
| #define symbols ((1U << SYMBOL_SIZE) - 1) | 
Definition at line 42 of file rsecc.c.
Referenced by generator_init(), RSECC_encode(), and RSECC_initLookupTable().
      
  | 
  static | 
Definition at line 81 of file rsecc.c.
References aindex, alpha, generator, generatorInitialized, max_generatorSize, min_length, and symbols.
Referenced by RSECC_encode().
| int RSECC_encode | ( | size_t | data_length, | 
| size_t | ecc_length, | ||
| const unsigned char * | data, | ||
| unsigned char * | ecc | ||
| ) | 
Definition at line 103 of file rsecc.c.
References aindex, alpha, generator, generator_init(), generatorInitialized, initialized, int(), max_length, min_length, RSECC_init(), RSECC_mutex, and symbols.
Referenced by RSblock_initBlock().
      
  | 
  static | 
Definition at line 74 of file rsecc.c.
References generatorInitialized, initialized, max_length, min_length, and RSECC_initLookupTable().
Referenced by RSECC_encode().
      
  | 
  static | 
      
  | 
  static | 
Definition at line 51 of file rsecc.c.
Referenced by generator_init(), RSECC_encode(), and RSECC_initLookupTable().
      
  | 
  static | 
Definition at line 50 of file rsecc.c.
Referenced by TTK::Image::boundValue(), generator_init(), MusicSongsToolBoxMaskWidget::paintEvent(), RSECC_encode(), and RSECC_initLookupTable().
      
  | 
  static | 
Definition at line 52 of file rsecc.c.
Referenced by generator_init(), and RSECC_encode().
      
  | 
  static | 
Definition at line 53 of file rsecc.c.
Referenced by generator_init(), RSECC_encode(), and RSECC_init().
      
  | 
  static | 
Definition at line 39 of file rsecc.c.
Referenced by RSECC_encode(), and RSECC_init().
Definition at line 43 of file rsecc.c.
Referenced by RSECC_initLookupTable().
      
  | 
  static | 
Definition at line 36 of file rsecc.c.
Referenced by RSECC_encode().
 1.8.8