qtmobility/src/multimedia/qxvideosurface_maemo5_p.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    73     void setColorKey(QColor key);
    73     void setColorKey(QColor key);
    74 
    74 
    75     QList<QVideoFrame::PixelFormat> supportedPixelFormats(
    75     QList<QVideoFrame::PixelFormat> supportedPixelFormats(
    76             QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle) const;
    76             QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle) const;
    77 
    77 
       
    78     QVideoFrame lastFrame() const { return m_lastFrame; }
       
    79 
    78 public slots:
    80 public slots:
    79     bool start(const QVideoSurfaceFormat &format);
    81     bool start(const QVideoSurfaceFormat &format);
    80     void stop();
    82     void stop();
    81 
    83 
    82     bool present(const QVideoFrame &frame);
    84     bool present(const QVideoFrame &frame);
    93     QVector<int> m_formatIds;
    95     QVector<int> m_formatIds;
    94     QRect m_viewport;
    96     QRect m_viewport;
    95     QRect m_displayRect;
    97     QRect m_displayRect;
    96     QColor m_colorKey;
    98     QColor m_colorKey;
    97 
    99 
    98     QVideoFrame lastFrame;
   100     QVideoFrame m_lastFrame;
    99 
   101 
   100     bool findPort();
   102     bool findPort();
   101     void querySupportedFormats();
   103     void querySupportedFormats();
   102 
   104 
   103     int getAttribute(const char *attribute) const;
   105     int getAttribute(const char *attribute) const;