Logo Search packages:      
Sourcecode: kdenlive version File versions

Public Slots | Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

DocClipBase Class Reference

Collaboration diagram for DocClipBase:
Collaboration graph

List of all members.

Public Slots

void addSnapMarker (const GenTime &time, QString comment)
QList< CommentedTimecommentedSnapMarkers () const
QString deleteSnapMarker (const GenTime &time)
void editSnapMarker (const GenTime &time, QString comment)
GenTime findNextSnapMarker (const GenTime &currTime)
GenTime findPreviousSnapMarker (const GenTime &currTime)
uint getClipThumbFrame () const
GenTime hasSnapMarkers (const GenTime &time)
QString markerComment (GenTime t)
QMap< QString, QString > metadata () const
QMap< QString, QString > properties () const
void setClipThumbFrame (const uint &ix)
void setMetadata (QMap< QString, QString > properties)
void setProperties (QMap< QString, QString > properties)
void slotExtractImage (int frame, int frame2)
bool slotGetAudioThumbs ()
QList< GenTimesnapMarkers () const
void updateAudioThumbnail (QMap< int, QMap< int, QByteArray > > data)


void abortProxy (const QString &id, const QString &proxyPath)
 Abort creation of the proxy clip (lower resolution copy).
void createProxy (const QString &id)
 Generate a proxy clip (lower resolution copy) named like the clip's hash.
void gotAudioData ()

Public Member Functions

void addCutZone (int in, int out, QString desc=QString())
void addReference ()
void askForAudioThumbs ()
Mlt::Producer * audioProducer (int track)
bool audioThumbCreated () const
bool checkHash () const
void clearProperty (const QString &key)
const CLIPTYPE & clipType () const
QList< CutZoneInfocutZones () const
void deleteProducers (bool clearThumbCreator=true)
const QString description () const
 DocClipBase (ClipManager *clipManager, QDomElement xml, const QString &id)
const GenTimeduration () const
bool durationKnown () const
QPixmap extractImage (int frame, int width, int height)
qulonglong fileSize () const
KUrl fileURL () const
double framesPerSecond () const
QString getClipHash () const
const QString & getId () const
const QString getProperty (const QString &prop) const
bool hasAudioCodec (const QString &codec) const
bool hasCutZone (QPoint p) const
bool hasFileSize () const
bool hasVideoCodec (const QString &codec) const
bool isDocClipAVFile () const
bool isPlaceHolder () const
bool isProjectClip () const
bool isTransparent () const
bool matchesXML (const QDomElement &element) const
const GenTime maxDuration () const
const QString name () const
uint numReferences () const
Mlt::Producer * producer (int track=-1)
const char * producerProperty (const char *name) const
bool referencesClip (DocClipBase *clip) const
void refreshThumbUrl ()
void removeCutZone (int in, int out)
void removeReference ()
void removeTmpFile () const
void resetProducerProperty (const char *name)
QDomDocument sceneToXML (const GenTime &startTime, const GenTime &endTime) const
void setClipType (CLIPTYPE type)
void setDuration (GenTime dur)
void setId (const QString &newId)
void setPlaceHolder (bool place)
void setProducer (Mlt::Producer *producer, bool reset=false, bool readPropertiesFromProducer=false)
void setProducerProperty (const char *name, const char *data)
void setProperty (const QString &key, const QString &value)
void setThumbnail (const QPixmap &pixmap)
void setValid ()
void setZone (QPoint zone)
void slotClearAudioCache ()
const QPixmap & thumbnail () const
KThumbthumbProducer ()
QDomElement toXML () const
void updateCutZone (int oldin, int oldout, int in, int out, QString desc=QString())
Mlt::Producer * videoProducer ()
QPoint zone () const

Static Public Member Functions

static QString getHash (const QString &path)

Public Attributes

QMap< int, QMap< int,
QByteArray > > 

Private Member Functions

void adjustProducerProperties (Mlt::Producer *prod, const QString &id, bool mute, bool blind)
 When duplicating a producer, make sure all manually set properties are passed to it.
Mlt::Producer * cloneProducer (Mlt::Producer *source)
 Create another instance of a producer.
void getFileHash (const QString &url)
void setAudioThumbCreated (bool isDone)
void setProducerProperty (const char *name, double data)
void setProducerProperty (const char *name, int data)
void slotCreateAudioTimer ()
void slotRefreshProducer ()

Private Attributes

bool m_audioThumbCreated
QTimer * m_audioTimer
QList< Mlt::Producer * > m_audioTrackProducers
QList< Mlt::Producer * > m_baseTrackProducers
CLIPTYPE m_clipType
QList< CutZoneInfom_cutZones
GenTime m_duration
QString m_id
QMap< QString, QString > m_metadata
bool m_placeHolder
QMutex m_producerMutex
QMap< QString, QString > m_properties
uint m_refcount
QList< CommentedTimem_snapMarkers
QPixmap m_thumbnail
Mlt::Producer * m_videoOnlyProducer

Detailed Description

Definition at line 58 of file docclipbase.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index