Revision f8194672
libavformat/avformat.h | ||
---|---|---|
1251 | 1251 |
AVProgram *av_new_program(AVFormatContext *s, int id); |
1252 | 1252 |
|
1253 | 1253 |
/** |
1254 |
* Add a new chapter. |
|
1255 |
* This function is NOT part of the public API |
|
1256 |
* and should ONLY be used by demuxers. |
|
1257 |
* |
|
1258 |
* @param s media file handle |
|
1259 |
* @param id unique ID for this chapter |
|
1260 |
* @param start chapter start time in time_base units |
|
1261 |
* @param end chapter end time in time_base units |
|
1262 |
* @param title chapter title |
|
1263 |
* |
|
1264 |
* @return AVChapter or NULL on error |
|
1265 |
*/ |
|
1266 |
AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, |
|
1267 |
int64_t start, int64_t end, const char *title); |
|
1268 |
|
|
1269 |
/** |
|
1270 | 1254 |
* Set the pts for a given stream. If the new values would be invalid |
1271 | 1255 |
* (<= 0), it leaves the AVStream unchanged. |
1272 | 1256 |
* |
... | ... | |
1297 | 1281 |
int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags); |
1298 | 1282 |
|
1299 | 1283 |
/** |
1300 |
* Ensure the index uses less memory than the maximum specified in |
|
1301 |
* AVFormatContext.max_index_size by discarding entries if it grows |
|
1302 |
* too large. |
|
1303 |
* This function is not part of the public API and should only be called |
|
1304 |
* by demuxers. |
|
1305 |
*/ |
|
1306 |
void ff_reduce_index(AVFormatContext *s, int stream_index); |
|
1307 |
|
|
1308 |
/** |
|
1309 | 1284 |
* Add an index entry into a sorted list. Update the entry if the list |
1310 | 1285 |
* already contains it. |
1311 | 1286 |
* |
libavformat/ffmetadec.c | ||
---|---|---|
21 | 21 |
|
22 | 22 |
#include "avformat.h" |
23 | 23 |
#include "ffmeta.h" |
24 |
#include "internal.h" |
|
24 | 25 |
|
25 | 26 |
static int probe(AVProbeData *p) |
26 | 27 |
{ |
libavformat/internal.h | ||
---|---|---|
240 | 240 |
unsigned int *index_entries_allocated_size, |
241 | 241 |
int64_t pos, int64_t timestamp, int size, int distance, int flags); |
242 | 242 |
|
243 |
/** |
|
244 |
* Add a new chapter. |
|
245 |
* |
|
246 |
* @param s media file handle |
|
247 |
* @param id unique ID for this chapter |
|
248 |
* @param start chapter start time in time_base units |
|
249 |
* @param end chapter end time in time_base units |
|
250 |
* @param title chapter title |
|
251 |
* |
|
252 |
* @return AVChapter or NULL on error |
|
253 |
*/ |
|
254 |
AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, |
|
255 |
int64_t start, int64_t end, const char *title); |
|
256 |
|
|
257 |
/** |
|
258 |
* Ensure the index uses less memory than the maximum specified in |
|
259 |
* AVFormatContext.max_index_size by discarding entries if it grows |
|
260 |
* too large. |
|
261 |
*/ |
|
262 |
void ff_reduce_index(AVFormatContext *s, int stream_index); |
|
263 |
|
|
243 | 264 |
#endif /* AVFORMAT_INTERNAL_H */ |
libavformat/mpeg.c | ||
---|---|---|
20 | 20 |
*/ |
21 | 21 |
|
22 | 22 |
#include "avformat.h" |
23 |
#include "internal.h" |
|
23 | 24 |
#include "mpeg.h" |
24 | 25 |
|
25 | 26 |
//#define DEBUG_SEEK |
libavformat/oggparsevorbis.c | ||
---|---|---|
28 | 28 |
#include "libavcodec/get_bits.h" |
29 | 29 |
#include "libavcodec/bytestream.h" |
30 | 30 |
#include "avformat.h" |
31 |
#include "internal.h" |
|
31 | 32 |
#include "oggdec.h" |
32 | 33 |
#include "vorbiscomment.h" |
33 | 34 |
|
Also available in: Unified diff