|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include "config.h"#include <stdlib.h>#include <string.h>#include <limits.h>#include <errno.h>#include "qrencode.h"#include "mqrspec.h"#include "mmask.h"Go to the source code of this file.
Macros | |
| #define | MASKMAKER(__exp__) |
| #define | maskNum (4) |
Typedefs | |
| typedef void | MaskMaker(int, const unsigned char *, unsigned char *) |
Functions | |
| STATIC_IN_RELEASE void | MMask_writeFormatInformation (int version, int width, unsigned char *frame, int mask, QRecLevel level) |
| static void | Mask_mask0 (int width, const unsigned char *s, unsigned char *d) |
| static void | Mask_mask1 (int width, const unsigned char *s, unsigned char *d) |
| static void | Mask_mask2 (int width, const unsigned char *s, unsigned char *d) |
| static void | Mask_mask3 (int width, const unsigned char *s, unsigned char *d) |
| unsigned char * | MMask_makeMask (int version, unsigned char *frame, int mask, QRecLevel level) |
| STATIC_IN_RELEASE int | MMask_evaluateSymbol (int width, unsigned char *frame) |
| unsigned char * | MMask_mask (int version, unsigned char *frame, QRecLevel level) |
Variables | |
| static MaskMaker * | maskMakers [maskNum] |
| #define MASKMAKER | ( | __exp__ | ) |
Definition at line 52 of file mmask.c.
Referenced by Mask_mask0(), Mask_mask1(), Mask_mask2(), and Mask_mask3().
| #define maskNum (4) |
Definition at line 86 of file mmask.c.
Referenced by MMask_makeMask(), and MMask_mask().
| STATIC_IN_RELEASE int MMask_evaluateSymbol | ( | int | width, |
| unsigned char * | frame | ||
| ) |
Definition at line 126 of file mmask.c.
Referenced by MMask_mask().
Definition at line 106 of file mmask.c.
References malloc(), maskMakers, maskNum, MMask_writeFormatInformation(), and MQRspec_getWidth().
Referenced by QRcode_encodeMaskMQR().
Definition at line 146 of file mmask.c.
References free(), malloc(), maskMakers, maskNum, MMask_evaluateSymbol(), MMask_writeFormatInformation(), and MQRspec_getWidth().
Referenced by QRcode_encodeMaskMQR().
| STATIC_IN_RELEASE void MMask_writeFormatInformation | ( | int | version, |
| int | width, | ||
| unsigned char * | frame, | ||
| int | mask, | ||
| QRecLevel | level | ||
| ) |
Definition at line 32 of file mmask.c.
References MQRspec_getFormatInfo().
Referenced by MMask_makeMask(), and MMask_mask().
Definition at line 88 of file mmask.c.
Referenced by MMask_makeMask(), and MMask_mask().
1.8.8