annotate sauce.h @ 6413:179ddd49895f libavformat

Add rtp_get_rtcp_file_handle function Patch by Josh Allmann, joshua dot allmann at gmail
author mstorsjo
date Wed, 25 Aug 2010 17:32:59 +0000
parents 5f0bde61870e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6270
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
1 /*
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
2 * SAUCE header parser
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
3 * Copyright (c) 2010 Peter Ross <pross@xvid.org>
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
4 *
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
5 * This file is part of FFmpeg.
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
6 *
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
11 *
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
15 * Lesser General Public License for more details.
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
16 *
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
20 */
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
21
6278
5f0bde61870e Add doxygen @file comment block
pross
parents: 6273
diff changeset
22 /**
5f0bde61870e Add doxygen @file comment block
pross
parents: 6273
diff changeset
23 * @file
5f0bde61870e Add doxygen @file comment block
pross
parents: 6273
diff changeset
24 * SAUCE header parser
5f0bde61870e Add doxygen @file comment block
pross
parents: 6273
diff changeset
25 */
5f0bde61870e Add doxygen @file comment block
pross
parents: 6273
diff changeset
26
6270
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
27 #ifndef AVFORMAT_SAUCE_H
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
28 #define AVFORMAT_SAUCE_H
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
29
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
30 #include "avformat.h"
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
31
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
32 /**
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
33 * @param avctx AVFormatContext
6272
4205ddd9e07c Use correct doxygen syntax
pross
parents: 6270
diff changeset
34 * @param[out] fsize return length of file, less SAUCE header
4205ddd9e07c Use correct doxygen syntax
pross
parents: 6270
diff changeset
35 * @param[out] got_width set to non-zero if SAUCE header reported height
6270
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
36 * @param get_height Tell SAUCE header to parse height
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
37 */
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
38 int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int get_height);
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
39
b6f0ef0c9d3a Add ff_sauce_read()
pross
parents:
diff changeset
40 #endif /* AVFORMAT_SAUCE_H */