shaders
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
#ifndef DATASTREAM_H
|
||||
#define DATASTREAM_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <pl_mpeg.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct soundstream;
|
||||
|
||||
struct datastream {
|
||||
plm_t *plm;
|
||||
struct shader *shader;
|
||||
double last_time;
|
||||
int playing;
|
||||
int audio_device;
|
||||
uint32_t texture_y;
|
||||
uint32_t texture_cb;
|
||||
uint32_t texture_cr;
|
||||
struct soundstream *astream;
|
||||
plm_t *plm;
|
||||
struct shader *shader;
|
||||
double last_time;
|
||||
int playing;
|
||||
int audio_device;
|
||||
uint32_t texture_y;
|
||||
uint32_t texture_cb;
|
||||
uint32_t texture_cr;
|
||||
struct soundstream *astream;
|
||||
};
|
||||
|
||||
struct Texture;
|
||||
@@ -24,7 +24,7 @@ extern struct shader *vid_shader;
|
||||
|
||||
struct datastream *MakeDatastream();
|
||||
void ds_openvideo(struct datastream *ds, const char *path, const char *adriver);
|
||||
struct Texture *ds_maketexture(struct datastream*);
|
||||
struct Texture *ds_maketexture(struct datastream *);
|
||||
void ds_advance(struct datastream *ds, double);
|
||||
void ds_seek(struct datastream *ds, double);
|
||||
void ds_advanceframes(struct datastream *ds, int frames);
|
||||
|
||||
Reference in New Issue
Block a user