Mercurial > libavformat.hg
comparison sauce.h @ 6270:b6f0ef0c9d3a libavformat
Add ff_sauce_read()
author | pross |
---|---|
date | Sun, 18 Jul 2010 08:05:04 +0000 |
parents | |
children | 4205ddd9e07c |
comparison
equal
deleted
inserted
replaced
6269:b5afd13d8352 | 6270:b6f0ef0c9d3a |
---|---|
1 /* | |
2 * @file | |
3 * SAUCE header parser | |
4 * Copyright (c) 2010 Peter Ross <pross@xvid.org> | |
5 * | |
6 * This file is part of FFmpeg. | |
7 * | |
8 * FFmpeg is free software; you can redistribute it and/or | |
9 * modify it under the terms of the GNU Lesser General Public | |
10 * License as published by the Free Software Foundation; either | |
11 * version 2.1 of the License, or (at your option) any later version. | |
12 * | |
13 * FFmpeg is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 * Lesser General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU Lesser General Public | |
19 * License along with FFmpeg; if not, write to the Free Software | |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
21 */ | |
22 | |
23 #ifndef AVFORMAT_SAUCE_H | |
24 #define AVFORMAT_SAUCE_H | |
25 | |
26 #include "avformat.h" | |
27 | |
28 /** | |
29 * @param avctx AVFormatContext | |
30 * @param fsize[out] return length of file, less SAUCE header | |
31 * @param got_width[out] set to non-zero if SAUCE header reported height | |
32 * @param get_height Tell SAUCE header to parse height | |
33 */ | |
34 int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int get_height); | |
35 | |
36 #endif /* AVFORMAT_SAUCE_H */ | |
37 |