33#ifndef __ANX_IMPORT_H__
34#define __ANX_IMPORT_H__
92typedef AnxSource* (*AnxImporterOpenFunc) (
const char * path,
const char * id,
94 double start_time,
double end_time,
95 AnxImportCallbacks * import_callbacks);
110typedef AnxSource * (*AnxImporterOpenFDFunc) (
int fd,
const char * id,
112 double start_time,
double end_time,
113 AnxImportCallbacks * import_callbacks);
150 long nr_header_packets;
173 int written_secondaries;
long(* AnxImporterReadFunc)(AnxSource *source, unsigned char *buf, long n, long bound)
Signature of a function for reading bytes from a source object.
Definition anx_import.h:122
struct _AnxSource AnxSource
An AnxSource contains an instance of an active source object, which may in turn contain several track...
Definition anx_import.h:78
AnxSource *(* AnxImporterOpenFunc)(const char *path, const char *id, int ignore_raw, double start_time, double end_time, AnxImportCallbacks *import_callbacks)
Signature of a function for opening a source object by filename.
Definition anx_import.h:92
int anx_importer_unregister(AnxImporter *importer)
Unregister an AnxImporter previously registered with libannodex.
struct _AnxImporter AnxImporter
An AnxImporter implements generic functions for retrieving data from sources of a particular content ...
Definition anx_import.h:67
int(* AnxImporterCloseFunc)(AnxSource *source)
Signature of a function to close a source object.
Definition anx_import.h:136
int anx_importer_register(AnxImporter *importer)
Register an AnxImporter object with libannodex.
AnxImporter * anx_importer_find(char *content_type)
Find the AnxImporter registered with the given content type.
struct _AnxSourceTrack AnxSourceTrack
An AnxSourceTrack contains one track of data.
Definition anx_import.h:72
AnxSource *(* AnxImporterOpenFDFunc)(int fd, const char *id, int ignore_raw, double start_time, double end_time, AnxImportCallbacks *import_callbacks)
Signature of a function for opening a source object attached to an open file descriptor.
Definition anx_import.h:110
long(* AnxImporterSizeofNextReadFunc)(AnxSource *source, long bound)
Signature of a function to return the preferred next read size.
Definition anx_import.h:130
int64_t anx_int64_t
This typedef was determined on the system on which the documentation was generated.
Definition anx_int64.h:93
struct _AnxList AnxList
A doubly linked list.
Definition anx_list.h:45
Public structures and datatypes.
Definition anx_import.h:138
Definition anx_import.h:147
Definition anx_import.h:162