ui: fix tab indentation
The TABs should be replaced with spaces, to make sure that we have a consistent coding style with an indentation of 4 spaces everywhere. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/370 Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Message-Id: <9a0d0718aafaa52029fad76a149f3200b6bba0dd.1666707782.git.amarjargal16@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
d3d1a40612
commit
ef99aa2a31
9214
ui/vgafont.h
9214
ui/vgafont.h
File diff suppressed because it is too large
Load Diff
@ -86,17 +86,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#undef L_2
|
||||
|
||||
#if ZYWRLE_ENDIAN == ENDIAN_BIG
|
||||
# define S_0 1
|
||||
# define S_1 0
|
||||
# define L_0 3
|
||||
# define L_1 2
|
||||
# define L_2 1
|
||||
# define S_0 1
|
||||
# define S_1 0
|
||||
# define L_0 3
|
||||
# define L_1 2
|
||||
# define L_2 1
|
||||
#else
|
||||
# define S_0 0
|
||||
# define S_1 1
|
||||
# define L_0 0
|
||||
# define L_1 1
|
||||
# define L_2 2
|
||||
# define S_0 0
|
||||
# define S_1 1
|
||||
# define L_0 0
|
||||
# define L_1 1
|
||||
# define L_2 2
|
||||
#endif
|
||||
|
||||
#define ZYWRLE_QUANTIZE
|
||||
|
@ -51,14 +51,14 @@ static const unsigned int zywrle_param[3][3]={
|
||||
{0x0000F000, 0x00000000, 0x00000000},
|
||||
{0x0000C000, 0x00F0F0F0, 0x00000000},
|
||||
{0x0000C000, 0x00C0C0C0, 0x00F0F0F0},
|
||||
/* {0x0000FF00, 0x00000000, 0x00000000},
|
||||
/* {0x0000FF00, 0x00000000, 0x00000000},
|
||||
{0x0000FF00, 0x00FFFFFF, 0x00000000},
|
||||
{0x0000FF00, 0x00FFFFFF, 0x00FFFFFF}, */
|
||||
};
|
||||
#else
|
||||
/* Type B:Non liner quantization filter. */
|
||||
static const int8_t zywrle_conv[4][256]={
|
||||
{ /* bi=5, bo=5 r=0.0:PSNR=24.849 */
|
||||
{ /* bi=5, bo=5 r=0.0:PSNR=24.849 */
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
@ -92,7 +92,7 @@ static const int8_t zywrle_conv[4][256]={
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
},
|
||||
{ /* bi=5, bo=5 r=2.0:PSNR=74.031 */
|
||||
{ /* bi=5, bo=5 r=2.0:PSNR=74.031 */
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 32,
|
||||
@ -126,7 +126,7 @@ static const int8_t zywrle_conv[4][256]={
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
},
|
||||
{ /* bi=5, bo=4 r=2.0:PSNR=64.441 */
|
||||
{ /* bi=5, bo=4 r=2.0:PSNR=64.441 */
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
@ -160,7 +160,7 @@ static const int8_t zywrle_conv[4][256]={
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
},
|
||||
{ /* bi=5, bo=2 r=2.0:PSNR=43.175 */
|
||||
{ /* bi=5, bo=2 r=2.0:PSNR=43.175 */
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
@ -274,14 +274,14 @@ static inline void harr(int8_t *px0, int8_t *px1)
|
||||
x1 += x0;
|
||||
if (((x1 ^ orgx1) & 0x80) == 0) {
|
||||
/* |x1| > |x0| */
|
||||
x0 -= x1; /* H = -B */
|
||||
x0 -= x1; /* H = -B */
|
||||
}
|
||||
} else {
|
||||
/* same sign */
|
||||
x0 -= x1;
|
||||
if (((x0 ^ orgx0) & 0x80) == 0) {
|
||||
/* |x0| > |x1| */
|
||||
x1 += x0; /* L = A */
|
||||
x1 += x0; /* L = A */
|
||||
}
|
||||
}
|
||||
*px0 = (int8_t)x1;
|
||||
@ -585,7 +585,7 @@ static inline void wavelet(int *buf, int width, int height, int level)
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define ZYWRLE_PACK_COEFF(buf, data, t, width, height, scanline, level) \
|
||||
#define ZYWRLE_PACK_COEFF(buf, data, t, width, height, scanline, level) \
|
||||
ZYWRLE_TRANSFER_COEFF(buf, data, t, width, height, scanline, level, \
|
||||
ZYWRLE_LOAD_COEFF(ph, r, g, b); \
|
||||
ZYWRLE_SAVE_PIXEL(data, r, g, b);)
|
||||
|
@ -102,7 +102,7 @@ static const name2keysym_t name2keysym[]={
|
||||
/* latin 1 extensions */
|
||||
{ "nobreakspace", 0x0a0},
|
||||
{ "exclamdown", 0x0a1},
|
||||
{ "cent", 0x0a2},
|
||||
{ "cent", 0x0a2},
|
||||
{ "sterling", 0x0a3},
|
||||
{ "currency", 0x0a4},
|
||||
{ "yen", 0x0a5},
|
||||
|
Loading…
Reference in New Issue
Block a user