annotate base64.h @ 286:c1d6b0378055 libavutil

Move the memory related functions out of common.h into their own header file mem.h.
author takis
date Mon, 12 Mar 2007 14:45:49 +0000
parents 9a977b2c7069
children e9dcd3be3f67 ca1f5d65e653
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
244
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
1 /*
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
2 * Base64.c
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
3 * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com)
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
4 *
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
5 * This file is part of FFmpeg.
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
6 *
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
11 *
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
15 * Lesser General Public License for more details.
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
16 *
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
20 */
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
21
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
22 /**
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
23 * decodes base64
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
24 * param order as strncpy()
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
25 */
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
26 int av_base64_decode(uint8_t * out, const char *in, int out_length);
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
27
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
28 /**
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
29 * encodes base64
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
30 * @param src data, not a string
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
31 */
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
32 char *av_base64_encode(uint8_t * src, int len);
9a977b2c7069 Move base64.[ch] to libavutil.
diego
parents:
diff changeset
33