annotate internal.h @ 4418:d5119d75439d libavformat

Move declaration of ff_interleave_add_packet to internal.h. It is an internal function and should not be in an installed header.
author bcoudurier
date Sun, 08 Feb 2009 21:14:46 +0000
parents 59db9e761b38
children 92a6c9c7a1b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3788
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
1 /*
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
2 * copyright (c) 2001 Fabrice Bellard
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
3 *
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
4 * This file is part of FFmpeg.
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
5 *
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
10 *
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
14 * Lesser General Public License for more details.
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
15 *
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
19 */
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
20
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3788
diff changeset
21 #ifndef AVFORMAT_INTERNAL_H
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3788
diff changeset
22 #define AVFORMAT_INTERNAL_H
3788
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
23
3981
ff78dd8e198a Fix 'make checkheaders', based on a patch by Diego Petten, flameeyes gmail com.
diego
parents: 3852
diff changeset
24 #include <stdint.h>
4059
59db9e761b38 Move declaration of av_set_program_name and av_program_add_stream_index
diego
parents: 3981
diff changeset
25 #include "avformat.h"
3981
ff78dd8e198a Fix 'make checkheaders', based on a patch by Diego Petten, flameeyes gmail com.
diego
parents: 3852
diff changeset
26
3788
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
27 char *ff_data_to_hex(char *buf, const uint8_t *src, int size);
ca6df1ecb412 Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
rbultje
parents:
diff changeset
28
4059
59db9e761b38 Move declaration of av_set_program_name and av_program_add_stream_index
diego
parents: 3981
diff changeset
29 void av_set_program_name(AVProgram *program, char *provider_name, char *name);
59db9e761b38 Move declaration of av_set_program_name and av_program_add_stream_index
diego
parents: 3981
diff changeset
30 void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx);
59db9e761b38 Move declaration of av_set_program_name and av_program_add_stream_index
diego
parents: 3981
diff changeset
31
4418
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
32 /**
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
33 * Add packet to AVFormatContext->packet_buffer list, determining its
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
34 * interleaved position using compare() function argument.
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
35 *
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
36 * This function is not part of the public API and should only be called
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
37 * by muxers using their own interleave function.
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
38 */
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
39 void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
40 int (*compare)(AVFormatContext *, AVPacket *, AVPacket *));
d5119d75439d Move declaration of ff_interleave_add_packet to internal.h.
bcoudurier
parents: 4059
diff changeset
41
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3788
diff changeset
42 #endif /* AVFORMAT_INTERNAL_H */