diff options
author | deva <deva> | 2005-05-01 11:25:56 +0000 |
---|---|---|
committer | deva <deva> | 2005-05-01 11:25:56 +0000 |
commit | 90712e97bdc219492235f3ae04f3e707ae10e161 (patch) | |
tree | 4278104db2e8cc7cddb5845643a52d7e616c842e /src/encoder.h | |
parent | 5d169f85f64166b68fac4bc6949690d561fcb543 (diff) |
Added code to read screenshot from frame queue, decode it to rgb and put it into a qimage.
Diffstat (limited to 'src/encoder.h')
-rw-r--r-- | src/encoder.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/encoder.h b/src/encoder.h index 32c5799..31aec20 100644 --- a/src/encoder.h +++ b/src/encoder.h @@ -24,6 +24,9 @@ */ /* * $Log$ + * Revision 1.8 2005/05/01 11:25:56 deva + * Added code to read screenshot from frame queue, decode it to rgb and put it into a qimage. + * * Revision 1.7 2005/05/01 09:56:26 deva * Added Id and Log tags to all files * @@ -73,7 +76,7 @@ public: void stop(n_savestate save); void freeze(); - void shoot(); + void shoot(unsigned char *rgb); void run(); @@ -84,6 +87,8 @@ public: volatile int *running; private: + void getScreenshot(unsigned char *rgb); + Error *errobj; int port; |