Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
br::pucrio::telemidia::ginga::core::mb::SDL2ffmpeg Class Reference

Public Member Functions

 SDL2ffmpeg (IContinuousMediaProvider *cmp, const char *filename)
 
bool hasVideoStream ()
 
void play ()
 
void stop ()
 
void pause ()
 
void resume ()
 
void getOriginalResolution (int *width, int *height)
 
double getDuration ()
 
double getPosition ()
 
void seek (int64_t pos)
 
void setTexture (SDL_Texture *texture)
 
bool hasTexture ()
 
SDL_Texture * getTexture ()
 
bool hasPicture ()
 
void setSoundLevel (float level)
 
bool getAudioSpec (SDL_AudioSpec *spec, int sample_rate, uint8_t channels)
 
double get_master_clock ()
 
void alloc_picture ()
 

Static Public Member Functions

static char * interleave (uint8_t *src, int srcLen, double ratio)
 
static char * createCVT (uint8_t *src, int srcLen, double ratio, int sampleSize)
 
static void clamp (short *buf, int len)
 
static void video_refresh (void *opaque, double *remaining_time)
 

Static Public Attributes

static const short AV_SYNC_AUDIO_MASTER = 0
 
static const short AV_SYNC_VIDEO_MASTER = 1
 
static const short AV_SYNC_EXTERNAL_CLOCK = 2
 

The documentation for this class was generated from the following files: