1 /***************************************************************************
2 krender.h - description
4 begin : Fri Nov 22 2002
5 copyright : (C) 2002 by Jason Wood
6 email : jasonwood@blueyonder.co.uk
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
29 /**KRender encapsulates the client side of the interface to a renderer.
30 From Kdenlive's point of view, you treat the KRender object as the
31 renderer, and simply use it as if it was local. Calls are asyncrhonous -
32 you send a call out, and then recieve the return value through the
33 relevant signal that get's emitted once the call completes.
46 /* class MyThread : public QThread {
50 void init(KUrl url, QString target, double frame, double frameLength, int frequency, int channels, int arrayWidth);
66 class KThumb:public QObject {
70 KThumb(KUrl url, QObject * parent = 0, const char *name = 0);
74 void extractImage( int frame, int frame2, int width, int height);
75 /* void getImage(KUrl url, int frame, int width, int height);
76 void getThumbs(KUrl url, int startframe, int endframe, int width, int height);
77 void stopAudioThumbs();
78 void removeAudioThumb();
79 void getAudioThumbs(KUrl url, int channel, double frame, double frameLength, int arrayWidth);
82 // MyThread thumbProducer;
87 void thumbReady(int frame, QPixmap pm);
88 void audioThumbReady(QMap <int, QMap <int, QByteArray> >);