50 #ifndef DFBVIDEOPROVIDER_H_
51 #define DFBVIDEOPROVIDER_H_
53 #include "mb/interface/IContinuousMediaProvider.h"
55 using namespace ::br::pucrio::telemidia::ginga::core::mb;
61 #include "directfb/direct/interface.h"
69 IProviderListener* listener;
70 IDirectFBVideoProvider* dec;
87 GingaScreenID myScreen;
94 GingaScreenID screenId, IDirectFBVideoProvider* dec);
98 void setLoadSymbol(
string symbol);
99 string getLoadSymbol();
101 bool getHasVisual(){
return true;};
102 void* getProviderContent();
103 void setProviderContent(
void* content){};
104 virtual void setAVPid(
int aPid,
int vPid){};
108 bool getVideoSurfaceDescription(DFBSurfaceDescription* dsc);
109 IDirectFBSurface* getPerfectDFBSurface();
115 static void dynamicRenderCallBack(
void* surface);
118 void getOriginalResolution(
int* width,
int* height);
119 double getTotalMediaTime();
120 virtual int64_t getVPts(){
return 0;};
121 double getMediaTime();
122 void setMediaTime(
double pos);
127 void resume(
ISurface* surface,
bool hasVisual=
true);
130 void setSoundLevel(
float level);
132 void refreshDR(
void* data){};
Definition: DFBVideoProvider.h:84
Definition: NetworkUtil.h:53
Definition: IContinuousMediaProvider.h:71
Definition: IProviderListener.h:59
Definition: DFBVideoProvider.h:66
Definition: ISurface.h:64