#include <annodex/anx_types.h>
Go to the source code of this file.
Functions | |
| double | anx_parse_time (const char *str) |
| Time parsing. | |
| int | anx_last_error (ANNODEX *annodex) |
| Retrieve the error code of the most recent error on an annodex. | |
| const char * | anx_strerror (ANNODEX *annodex) |
| Retrieve a printable error string corresponding to the most recent error on annodex. | |
| ANNODEX * | anx_open (char *filename, int flags) |
| Open a file containing Annodex media. | |
| ANNODEX * | anx_open_stdio (FILE *file, int flags) |
| Attach to an existing file descriptor. | |
| ANNODEX * | anx_new (int flags) |
| Create a managed Annodex handle This is an alternative interface for non-file annodexes. | |
| int | anx_flush (ANNODEX *annodex) |
| Flush any unwritten data associated with an annodex. | |
| ANNODEX * | anx_close (ANNODEX *annodex) |
| Close an annodex. | |
| int | anx_destroy (ANNODEX *annodex) |
| Forcefully close an annodex without flushing any file descriptors. | |
| int | anx_ready (ANNODEX *annodex) |
| Query if an annodex is ready. | |
| int | anx_eos (ANNODEX *annodex) |
| Query if an annodex has reached its 'End Of Stream' markers. | |
| AnxHead * | anx_set_head (ANNODEX *annodex, AnxHead *head) |
| Set the head element of the Annodex. | |
| AnxHead * | anx_get_head (ANNODEX *annodex) |
| Get a copy of the head element of an annodex. | |
| anx_int64_t | anx_tell (ANNODEX *annodex) |
| Query the current byte offset of an annodex. | |
| int | anx_seek_id (ANNODEX *annodex, const char *id) |
| Seek to an anchor identified by id. | |
| double | anx_get_timebase (ANNODEX *annodex) |
| Query the timebase of an annodex. | |
| double | anx_set_timebase (ANNODEX *annodex, double seconds) |
| double | anx_tell_time (ANNODEX *annodex) |
| Query the current offset of an annodex expressed as time in seconds. | |
| double | anx_seek_time (ANNODEX *annodex, double seconds, int whence) |
| Seek to a time point in an annodex. | |
| int | anx_head_snprint (char *buf, int n, AnxHead *h) |
| Print an AnxHead structure to a memory buffer. | |
| int | anx_clip_snprint (char *buf, int n, AnxClip *a, double start, double end) |
| Print an AnxAnchor structure to a memory buffer. | |
| AnxHead * | anx_head_free (AnxHead *head) |
| Free an AnxHead structure. | |
| AnxClip * | anx_clip_free (AnxClip *clip) |
| Free an AnxClip structure. | |
| AnxHead * | anx_head_clone (AnxHead *head) |
| Clone an AnxHead structure. | |
| AnxClip * | anx_clip_clone (AnxClip *clip) |
| Clone an AnxClip structure. | |
| AnxMetaElement * | anx_meta_element_clone (AnxMetaElement *meta) |
| Clone an AnxMetaElement structure. | |
|
|
Clone an AnxClip structure.
|
|
|
Free an AnxClip structure.
|
|
||||||||||||||||||||||||
|
Print an AnxAnchor structure to a memory buffer. The head is serialized to XML conformant with the anxa DTD.
|
|
|
Close an annodex.
|
|
|
Forcefully close an annodex without flushing any file descriptors.
|
|
|
Query if an annodex has reached its 'End Of Stream' markers.
|
|
|
Flush any unwritten data associated with an annodex.
|
|
|
Get a copy of the head element of an annodex.
|
|
|
Query the timebase of an annodex.
|
|
|
Clone an AnxHead structure.
|
|
|
Free an AnxHead structure.
|
|
||||||||||||||||
|
Print an AnxHead structure to a memory buffer. The head is serialized to XML conformant with the anxhead DTD.
|
|
|
Retrieve the error code of the most recent error on an annodex.
|
|
|
Clone an AnxMetaElement structure.
|
|
|
Create a managed Annodex handle This is an alternative interface for non-file annodexes.
|
|
||||||||||||
|
Open a file containing Annodex media.
|
|
||||||||||||
|
Attach to an existing file descriptor.
|
|
|
Query if an annodex is ready.
|
|
||||||||||||
|
Seek to an anchor identified by id.
|
|
||||||||||||||||
|
Seek to a time point in an annodex.
|
|
||||||||||||
|
Set the head element of the Annodex.
|
|
||||||||||||
|
|
|
|
Retrieve a printable error string corresponding to the most recent error on annodex.
|
|
|
Query the current byte offset of an annodex.
|
|
|
Query the current offset of an annodex expressed as time in seconds.
|
1.3.5