annotate qtsmc.c @ 4239:acadddf56508

updated, colorkey support, pontscho reported it's working fine, only faulting with very-very-very big resolution
author alex
date Fri, 18 Jan 2002 18:14:10 +0000
parents 4b652eac6738
children 818be6ba8758
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4227
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
1 /*
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
2 Apple Graphics (SMC) Decoder for MPlayer
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
3 by Mike Melanson
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
4 */
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
5
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
6 #include "config.h"
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
7 #include "bswap.h"
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
8
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
9 #define BE_16(x) (be2me_16(*(unsigned short *)(x)))
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
10 #define BE_32(x) (be2me_32(*(unsigned int *)(x)))
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
11
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
12 void qt_decode_smc(
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
13 unsigned char *encoded,
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
14 int encoded_size,
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
15 unsigned char *decoded,
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
16 int width,
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
17 int height,
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
18 int bytes_per_pixel)
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
19 {
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
20
4b652eac6738 added skeleton for QT SMC decoder
melanson
parents:
diff changeset
21 }