Some very short documentation on writing export modules for transcode
#include "transcode.h" //definition of vob_t and transfer_t structure
typedef struct _vob_t {
//see transcode.h for details
} vob_t;
typedef struct _transfer_t {
int flag; /* specifies context: TC_VIDEO for video
* TC_AUDIO for audio
*
* or passes an integer to the module
*/
FILE *fd; /* file handle for input stream
* NULL if import module performs reading
* unused in export module
*/
int size; /* total amount of bytes in the buffer */
char *buffer; /* pointer to data array with frame data */
} transfer_t;
tc_export
para1=_transfer_t para2=NULL
para1=_transfer_t para2=_vob_t
para1=_transfer_t para2=_vob_t
para1=_transfer_t para2=NULL
para1=_transfer_t para2=NULL
para1=_transfer_t para2=NULL
TC_EXPORT_UNKNOWNoption not supported
TC_EXPORT_OKno error, hopefully the default
TC_EXPORT_ERRORa critical error occured