annotate lzo.h @ 3768:c540147303fa libavcodec

fix decoding of bastard1.rm (rv ver=0x10003001 ver0=0x8000000)
author michael
date Tue, 26 Sep 2006 20:24:13 +0000
parents c537a97eec66
children c8c591fe26f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
1 /*
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
2 * LZO 1x decompression
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
3 * copyright (c) 2006 Reimar Doeffinger
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
4 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
5 * This library is free software; you can redistribute it and/or
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
6 * modify it under the terms of the GNU Lesser General Public
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
7 * License as published by the Free Software Foundation; either
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
8 * version 2 of the License, or (at your option) any later version.
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
9 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
10 * This library is distributed in the hope that it will be useful,
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
13 * Lesser General Public License for more details.
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
14 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
16 * License along with this library; if not, write to the Free Software
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
18 */
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3060
diff changeset
19
3034
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
20 #ifndef _LZO_H
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
21 #define LZO_H
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
22
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
23 #define LZO_INPUT_DEPLETED 1
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
24 #define LZO_OUTPUT_FULL 2
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
25 #define LZO_INVALID_BACKPTR 4
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
26 #define LZO_ERROR 8
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
27
3060
a2f611d6c34d faster copy functions for lzo decoder that also need padding
reimar
parents: 3034
diff changeset
28 #define LZO_INPUT_PADDING 4
a2f611d6c34d faster copy functions for lzo decoder that also need padding
reimar
parents: 3034
diff changeset
29 #define LZO_OUTPUT_PADDING 12
a2f611d6c34d faster copy functions for lzo decoder that also need padding
reimar
parents: 3034
diff changeset
30
3034
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
31 int lzo1x_decode(void *out, int *outlen, void *in, int *inlen);
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
32
d37065d8aeff Our own LZO (1X) implementation, under LGPL and optimized for readability.
reimar
parents:
diff changeset
33 #endif