Camstream: CamStream API documentation

Main Page Class Hierarchy Compound List File List Compound Members File Members

# DCTPanel.h

Go to the documentation of this file.

    00001 #ifndef DCTPANEL_HPP
    00002 #define DCTPANEL_HPP
    00003
    00004 #include "CamPanel.h"
    00005 #include "CamTile.h"
    00006
    00007 class CDCTPanel: public CCamPanel
    00008 {
    00009    Q_OBJECT
    00010 private:
    00011    CCamPanel *pBasePanel;
    00012    bool Inverse;
    00013
    00014    bool TilesDefault;
    00015    int tiles_y, tiles_uv;
    00016    CCamTile *pTilesY, *pTilesUV;
    00017
    00018    int coeff[32];  /* DCT coeffecients */
    00019
    00020    void CreateTiles();
    00021
    00022 public:
    00023    CDCTPanel(CCamPanel *base_panel, bool inv,
    00024              const char *name = "dct.yuv",
    00025              const char *desc = "DCT conversion");
    00026    ~CDCTPanel();
    00027
    00028    void SetTiles(CCamTile *tilesy, CCamTile *tilesuv);
    00029
    00030 public slots:
    00031    void UpdatePanel();
    00032    void SetSize(const QSize &ns);
    00033 };
    00034
    00035 #endif