Logo Search packages:      
Sourcecode: vdr-plugin-xineliboutput version File versions  Download package


 * frontend_local.h:
 * See the main source file 'xineliboutput.c' for copyright information and
 * how to reach the author.
 * $Id: frontend_local.h,v 1.5 2007/04/12 22:53:36 phintuka Exp $


#include "frontend.h"

//----------------------------- cXinelibLocal --------------------------------

extern "C" {
  typedef struct frontend_s frontend_t;

class cXinelibLocal : public cXinelibThread 

    cXinelibLocal(const char *frontend_name);
    virtual ~cXinelibLocal();

    // Thread control
    virtual void Stop(void);

    virtual void Action(void);


    // Data transfer
    virtual int  Play_PES(const uchar *buf, int len);
    virtual void OsdCmd(void *cmd);
    virtual int64_t GetSTC();

    // Playback files
    virtual bool EndOfStreamReached(void);

    // Image grabbing
    virtual uchar *GrabImage(int &Size, bool Jpeg, int Quality, 
                       int SizeX, int SizeY);

    // Configuration
    virtual void ConfigureWindow(int fullscreen, int width, int height, 
                         int modeswitch, const char *modeline, 
                         int aspect, int scale_video, int field_order);
    virtual void ConfigureDecoder(int pes_buffers);


    // Playback control
    virtual int  Xine_Control(const char *cmd);


    // Frontend access    
    frontend_t *load_frontend(const char *fe_name);

    // Data
    void       *h_fe_lib;  
    frontend_t *fe;
    cRwLock     m_feLock;
    bool        m_bReconfigRequest;


Generated by  Doxygen 1.6.0   Back to index