simage  1.8.3
Coin3D texture image library
Loading...
Searching...
No Matches
stream.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <config.h>
#include <simage.h>
#include <simage_private.h>
#include <string.h>
#include "simage_oggvorbis.h"
#include "simage_libsndfile.h"

Data Structures

struct  simage_stream_exporter
 
struct  simage_stream_importer
 
struct  simage_stream_s
 

Functions

static void add_internal_exporters (void)
 
static void add_internal_importers (void)
 
void s_stream_close (s_stream *stream)
 
void * s_stream_context_get (s_stream *stream)
 
void s_stream_context_set (s_stream *stream, void *context)
 
s_streams_stream_create (const char *filename, s_params *params)
 
void s_stream_destroy (s_stream *stream)
 
void s_stream_exporter_add (s_stream_create_func *create, s_stream_put_func *put, s_stream_close_func *close)
 
void s_stream_exporter_add_ex (s_stream_create_func *create, s_stream_put_func *put, s_stream_seek_func *seek, s_stream_tell_func *tell, s_stream_close_func *close)
 
void * s_stream_get_buffer (s_stream *stream, void *buffer, int *size, s_params *params)
 
void s_stream_importer_add (s_stream_open_func *open, s_stream_get_func *get, s_stream_close_func *close)
 
void s_stream_importer_add_ex (s_stream_open_func *open, s_stream_get_func *get, s_stream_seek_func *seek, s_stream_tell_func *tell, s_stream_close_func *close)
 
s_streams_stream_open (const char *filename, s_params *params)
 
s_paramss_stream_params (s_stream *stream)
 
int s_stream_put_buffer (s_stream *stream, void *buffer, int size, s_params *params)
 
int s_stream_seek (s_stream *stream, int offset, int whence, s_params *params)
 
int s_stream_tell (s_stream *stream, s_params *params)
 

Variables

static struct simage_stream_exporterexporters
 
static struct simage_stream_importerimporters
 

Function Documentation

◆ add_internal_exporters()

static void add_internal_exporters ( void )
static

◆ add_internal_importers()

static void add_internal_importers ( void )
static

◆ s_stream_close()

void s_stream_close ( s_stream * stream)

◆ s_stream_context_get()

void * s_stream_context_get ( s_stream * stream)

◆ s_stream_context_set()

void s_stream_context_set ( s_stream * stream,
void * context )

◆ s_stream_create()

s_stream * s_stream_create ( const char * filename,
s_params * params )

◆ s_stream_destroy()

void s_stream_destroy ( s_stream * stream)

◆ s_stream_exporter_add()

void s_stream_exporter_add ( s_stream_create_func * create,
s_stream_put_func * put,
s_stream_close_func * close )

◆ s_stream_exporter_add_ex()

void s_stream_exporter_add_ex ( s_stream_create_func * create,
s_stream_put_func * put,
s_stream_seek_func * seek,
s_stream_tell_func * tell,
s_stream_close_func * close )

◆ s_stream_get_buffer()

void * s_stream_get_buffer ( s_stream * stream,
void * buffer,
int * size,
s_params * params )

◆ s_stream_importer_add()

void s_stream_importer_add ( s_stream_open_func * open,
s_stream_get_func * get,
s_stream_close_func * close )

◆ s_stream_importer_add_ex()

void s_stream_importer_add_ex ( s_stream_open_func * open,
s_stream_get_func * get,
s_stream_seek_func * seek,
s_stream_tell_func * tell,
s_stream_close_func * close )

◆ s_stream_open()

s_stream * s_stream_open ( const char * filename,
s_params * params )

◆ s_stream_params()

s_params * s_stream_params ( s_stream * stream)

◆ s_stream_put_buffer()

int s_stream_put_buffer ( s_stream * stream,
void * buffer,
int size,
s_params * params )

◆ s_stream_seek()

int s_stream_seek ( s_stream * stream,
int offset,
int whence,
s_params * params )

◆ s_stream_tell()

int s_stream_tell ( s_stream * stream,
s_params * params )

Variable Documentation

◆ exporters

struct simage_stream_exporter* exporters
static

◆ importers

struct simage_stream_importer* importers
static