Home
last modified time | relevance | path

Searched refs:GenTime (Results 1 – 25 of 75) sorted by relevance

123

/dports/multimedia/kdenlive/kdenlive-21.12.3/src/
H A Dgentime.cpp11 GenTime::GenTime() in GenTime() function in GenTime
16 GenTime::GenTime(double seconds) in GenTime() function in GenTime
46 GenTime GenTime::operator-() in operator -()
51 GenTime &GenTime::operator+=(GenTime op) in operator +=()
57 GenTime &GenTime::operator-=(GenTime op) in operator -=()
63 GenTime GenTime::operator+(GenTime op) const in operator +()
68 GenTime GenTime::operator-(GenTime op) const in operator -()
73 GenTime GenTime::operator*(double op) const in operator *()
83 bool GenTime::operator<(GenTime op) const in operator <()
88 bool GenTime::operator>(GenTime op) const in operator >()
[all …]
H A Dgentime.h18 class GenTime
22 GenTime();
25 explicit GenTime(double seconds);
47 GenTime operator-();
50 GenTime &operator+=(GenTime op);
53 GenTime &operator-=(GenTime op);
56 GenTime operator+(GenTime op) const;
59 GenTime operator-(GenTime op) const;
71 bool operator<(GenTime op) const;
73 bool operator>(GenTime op) const;
[all …]
H A Dtimecode.h44 QString getDisplayTimecode(const GenTime &time, bool frameDisplay) const;
45 QString getTimecode(const GenTime &time) const;
51 const QString mask(const GenTime &t = GenTime()) const;
62 const QString getTimecodeHH_MM_SS_FF(const GenTime &time) const;
65 const QString getTimecodeHH_MM_SS_HH(const GenTime &time) const;
66 const QString getTimecodeFrames(const GenTime &time) const;
67 const QString getTimecodeSeconds(const GenTime &time) const;
68 const QString getTimecodeDropFrame(const GenTime &time) const;
H A Ddefinitions.h199 GenTime startPos;
201 GenTime endPos;
203 GenTime cropStart;
205 GenTime cropDuration;
224 GenTime startPos;
226 GenTime endPos;
266 GenTime m_time;
275 SubtitledTime(const GenTime &start, QString sub, const GenTime &end);
279 GenTime end() const;
294 GenTime m_starttime;
[all …]
H A Ddefinitions.cpp54 : m_time(GenTime(0)) in CommentedTime()
59 CommentedTime::CommentedTime(const GenTime &time, QString comment, int markerType) in CommentedTime()
66 CommentedTime::CommentedTime(const QString &hash, const GenTime &time) in CommentedTime()
78 GenTime CommentedTime::time() const in time()
88 void CommentedTime::setTime(const GenTime &t) in setTime()
187 SubtitledTime::SubtitledTime(const GenTime &start, QString sub, const GenTime &end) in SubtitledTime()
199 GenTime SubtitledTime::start() const in start()
204 GenTime SubtitledTime::end() const in end()
214 void SubtitledTime::setEndTime(const GenTime& end) in setEndTime()
H A Dtimecode.cpp103 const QString Timecode::mask(const GenTime &t) const in mask()
105 if (t < GenTime()) { in mask()
155 QString Timecode::getDisplayTimecode(const GenTime &time, bool frameDisplay) const in getDisplayTimecode()
163 QString Timecode::getTimecode(const GenTime &time) const in getTimecode()
221 const QString Timecode::getTimecodeHH_MM_SS_FF(const GenTime &time) const in getTimecodeHH_MM_SS_FF()
256 const QString Timecode::getTimecodeHH_MM_SS_HH(const GenTime &time) const in getTimecodeHH_MM_SS_HH()
280 const QString Timecode::getTimecodeFrames(const GenTime &time) const in getTimecodeFrames()
285 const QString Timecode::getTimecodeSeconds(const GenTime &time) const in getTimecodeSeconds()
290 const QString Timecode::getTimecodeDropFrame(const GenTime &time) const in getTimecodeDropFrame()
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/timeline2/view/dialogs/
H A Dclipdurationdialog.cpp16 , m_min(GenTime(minpos, tc.fps())) in ClipDurationDialog()
17 , m_max(GenTime(maxpos, tc.fps())) in ClipDurationDialog()
18 , m_length(GenTime(length, tc.fps())) in ClipDurationDialog()
41 m_crop = GenTime(in, tc.fps()); in ClipDurationDialog()
66 GenTime start = m_pos->gentime(); in slotCheckStart()
77 GenTime start = m_pos->gentime(); in slotCheckDuration()
80 GenTime maxDuration; in slotCheckDuration()
82 if (m_length <= GenTime()) { in slotCheckDuration()
104 GenTime diff = cropStart - m_crop; in slotCheckCrop()
105 if ((diff > GenTime() && diff < duration) || diff < GenTime()) { in slotCheckCrop()
[all …]
H A Dclipdurationdialog.h24 GenTime startPos() const;
25 GenTime cropStart() const;
26 GenTime duration() const;
40 GenTime m_min;
41 GenTime m_max;
42 GenTime m_crop;
43 GenTime m_length;
H A Dspacerdialog.h24 …SpacerDialog(const GenTime &duration, const Timecode &tc, int track, const QList<TrackInfo> &track…
25 SpacerDialog(const GenTime &duration, const Timecode &tc, QWidget *parent = nullptr);
26 GenTime selectedDuration() const;
H A Dspacerdialog.cpp18 SpacerDialog::SpacerDialog(const GenTime &duration, const Timecode &tc, int track, const QList<Trac… in SpacerDialog()
41 SpacerDialog::SpacerDialog(const GenTime &duration, const Timecode &tc, QWidget *parent) in SpacerDialog()
52 GenTime SpacerDialog::selectedDuration() const in selectedDuration()
/dports/multimedia/kdenlive/kdenlive-21.12.3/tests/
H A Dkeyframetest.cpp71 REQUIRE(model->hasKeyframe(GenTime(1.1))); in __anona1e3a5af0202()
89 model->getNextKeyframe(GenTime(10), &ok); in __anona1e3a5af0202()
103 REQUIRE(model->hasKeyframe(GenTime(1.1))); in __anona1e3a5af0302()
104 REQUIRE(model->hasKeyframe(GenTime(12.6))); in __anona1e3a5af0302()
139 REQUIRE(model->removeKeyframe(GenTime(1.1)));
145 model->getKeyframe(GenTime(1.1), &ok); in __anona1e3a5af0402()
206 REQUIRE(model->hasKeyframe(GenTime(pos))); in __anona1e3a5af0602()
229 REQUIRE(model->moveKeyframe(GenTime(1.1), GenTime(2.6), -1, true));
237 REQUIRE(model->moveKeyframe(GenTime(2.6), GenTime(6.1), -1, true));
251 REQUIRE(model->moveKeyframe(GenTime(6.1), GenTime(14), -1, true));
[all …]
H A Dmarkertest.cpp9 using Marker = std::tuple<GenTime, QString, int>;
63 GenTime::setFps(fps);
102 REQUIRE_FALSE(model->removeMarker(GenTime(42.)));
115 GenTime oldPos = std::get<0>(list[1]);
116 std::get<0>(list[1]) = GenTime(42.8);
127 REQUIRE(model->removeMarker(GenTime(1.3)));
131 GenTime old = std::get<0>(list.back());
145 list.emplace_back(GenTime(0), QLatin1String("sasenust"), 1);
184 model->removeMarker(GenTime(0.3));
185 model->removeMarker(GenTime(3));
[all …]
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/assets/keyframes/model/
H A Dkeyframemodel.hpp27 using Keyframe = std::pair<GenTime, KeyframeType>;
70 bool duplicateKeyframe(GenTime srcPos, GenTime dstPos, Fun &undo, Fun &redo);
71 bool removeKeyframe(GenTime pos);
76 QList<GenTime> getKeyframePos() const;
90 bool moveKeyframe(GenTime oldPos, GenTime pos, QVariant newVal, bool logUndo);
91 …bool moveKeyframe(GenTime oldPos, GenTime pos, QVariant newVal, Fun &undo, Fun &redo, bool updateV…
98 bool updateKeyframe(GenTime pos, QVariant value);
156 int getIndexForPos(const GenTime pos) const;
157 GenTime getPosAtIndex(int ix) const;
175 Fun deleteKeyframe_lambda(GenTime pos, bool notify);
[all …]
H A Dkeyframemodellist.hpp46 bool addKeyframe(GenTime pos, KeyframeType type);
50 bool removeKeyframe(GenTime pos);
54 bool duplicateKeyframeWithUndo(GenTime srcPos, GenTime destPos, Fun &undo, Fun &redo);
58 bool removeNextKeyframes(GenTime pos);
65 bool moveKeyframe(GenTime oldPos, GenTime pos, bool logUndo, bool updateView = true);
66 bool moveKeyframeWithUndo(GenTime oldPos, GenTime pos, Fun &undo, Fun &redo);
75 …bool updateKeyframe(GenTime oldPos, GenTime pos, const QVariant &normalizedVal, bool logUndo = tru…
76 KeyframeType keyframeType(GenTime pos) const;
80 Keyframe getKeyframe(const GenTime &pos, bool *ok) const;
157 GenTime getPosAtIndex(int ix);
[all …]
H A Dkeyframemodellist.cpp141 GenTime pos(frame, pCore->getCurrentFps()); in addKeyframe()
193 bool KeyframeModelList::duplicateKeyframeWithUndo(GenTime srcPos, GenTime destPos, Fun &undo, Fun &… in duplicateKeyframeWithUndo()
218 bool KeyframeModelList::moveKeyframe(GenTime oldPos, GenTime pos, bool logUndo, bool updateView) in moveKeyframe()
226 bool KeyframeModelList::moveKeyframeWithUndo(GenTime oldPos, GenTime pos, Fun &undo, Fun &redo) in moveKeyframeWithUndo()
235 bool KeyframeModelList::updateKeyframe(GenTime oldPos, GenTime pos, const QVariant &normalizedVal, … in updateKeyframe()
462 QList<GenTime> positions; in resizeKeyframes()
477 if (new_in > GenTime()) { in resizeKeyframes()
486 if (frame != GenTime()) { in resizeKeyframes()
513 GenTime pos; in resizeKeyframes()
554 if (toDel.first == GenTime()) { in resizeKeyframes()
[all …]
H A Dkeyframemodel.cpp161 bool KeyframeModel::duplicateKeyframe(GenTime srcPos, GenTime dstPos, Fun &undo, Fun &redo) in duplicateKeyframe()
204 return GenTime(); in getPosAtIndex()
209 bool KeyframeModel::moveKeyframe(GenTime oldPos, GenTime pos, QVariant newVal, Fun &undo, Fun &redo… in moveKeyframe()
229 QVector<GenTime> positions; in moveKeyframe()
235 GenTime delta = pos - oldPos; in moveKeyframe()
257 if (delta == GenTime()) { in moveKeyframe()
374 QList<GenTime> times; in offsetKeyframes()
396 bool KeyframeModel::moveKeyframe(GenTime oldPos, GenTime pos, QVariant newVal, bool logUndo) in moveKeyframe()
739 std::vector<GenTime> all_pos; in removeAllKeyframes()
1359 QList<GenTime> all_pos; in getKeyframePos()
[all …]
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/bin/model/
H A Dmarkerlistmodel.hpp60 bool removeMarker(GenTime pos);
65 bool removeMarker(GenTime pos, Fun &undo, Fun &redo);
74 bool editMarker(GenTime oldPos, GenTime pos, QString comment = QString(), int type = -1);
83 …bool moveMarkers(QList<CommentedTime> markers, GenTime fromPos, GenTime toPos, Fun &undo, Fun &red…
84 bool moveMarker(int mid, GenTime pos);
113 bool hasMarker(GenTime pos) const;
114 CommentedTime marker(GenTime pos) const;
156 void addSnapPoint(GenTime pos);
160 void removeSnapPoint(GenTime pos);
169 Fun deleteMarker_lambda(GenTime pos);
[all …]
H A Dsubtitlemodel.hpp42 …bool addSubtitle(int id, GenTime start,GenTime end, const QString str, bool temporary = false, boo…
43 …bool addSubtitle(GenTime start, GenTime end, const QString str, Fun &undo, Fun &redo, bool updateF…
45 GenTime stringtoTime(QString &str);
55 SubtitledTime getSubtitle(GenTime startFrame) const;
67 void editEndPos(GenTime startPos, GenTime newEndPos, bool refreshModel = true);
91 void requestSubtitleMove(int clipId, GenTime position);
101 int getIdForStartPos(GenTime startTime) const;
114 GenTime getStartPosForId(int id) const;
156 std::map<GenTime, std::pair<QString, GenTime>> m_subtitleList;
178 void addSnapPoint(GenTime startpos);
[all …]
H A Dsubtitlemodel.cpp75 GenTime startPos, endPos; in importSubtitle()
289 GenTime pos; in stringtoTime()
293 return GenTime(); in stringtoTime()
308 pos= GenTime(total_sec); in stringtoTime()
436 return SubtitledTime(GenTime(), QString(), GenTime()); in getSubtitle()
518 GenTime start = GenTime(-1); in cutSubtitle()
593 void SubtitleModel::editEndPos(GenTime startPos, GenTime newEndPos, bool refreshModel) in editEndPos()
657 GenTime newEndPos = startPos + GenTime(size, pCore->getCurrentFps()); in requestResize()
699 GenTime newStartPos = endPos - GenTime(size, pCore->getCurrentFps()); in requestResize()
901 return GenTime(); in getStartPosForId()
[all …]
H A Dmarkerlistmodel.cpp57 bool MarkerListModel::hasMarker(GenTime pos) const in hasMarker()
70 CommentedTime MarkerListModel::marker(GenTime pos) const in marker()
113 QMapIterator<GenTime, QString> i(markers); in addMarkers()
167 bool MarkerListModel::removeMarker(GenTime pos) in removeMarker()
180 bool MarkerListModel::editMarker(GenTime oldPos, GenTime pos, QString comment, int type) in editMarker()
251 GenTime t = m_markerList.at(mid).time() + GenTime(offset, pCore->getCurrentFps()); in moveMarkersWithoutUndo()
273 bool MarkerListModel::moveMarkers(QList<CommentedTime> markers, GenTime fromPos, GenTime toPos, Fun… in moveMarkers()
284 GenTime oldPos = marker.time(); in moveMarkers()
373 void MarkerListModel::addSnapPoint(GenTime pos) in addSnapPoint()
387 void MarkerListModel::removeSnapPoint(GenTime pos) in removeSnapPoint()
[all …]
/dports/games/vavoom/vavoom-1.33/source/
H A Dr_tex_warp.cpp58 , GenTime(0) in VWarpTexture()
138 return GenTime != GTextureManager.Time; in CheckModified()
150 if (Pixels && GenTime == GTextureManager.Time) in GetPixels()
158 GenTime = GTextureManager.Time; in GetPixels()
170 XSin1[x] = msin(GenTime * 44 + x / WarpXScale * 5.625 + 95.625) * in GetPixels()
175 YSin1[y] = msin(GenTime * 50 + y / WarpYScale * 5.625) * in GetPixels()
309 if (Pixels && GenTime == GTextureManager.Time) in GetPixels()
317 GenTime = GTextureManager.Time; in GetPixels()
331 XSin1[y] = msin(y / WarpYScale * 5.625 + GenTime * 313.895 + 39.55) * in GetPixels()
333 YSin1[y] = y + (2 * Height + msin(y / WarpYScale * 5.625 + GenTime * in GetPixels()
[all …]
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/dialogs/
H A Dsubtitleedit.cpp90 m_model->requestSubtitleMove(m_activeSub, GenTime(value, pCore->getCurrentFps())); in SubtitleEdit()
92 GenTime duration = m_endPos - GenTime(value, pCore->getCurrentFps()); in SubtitleEdit()
100 …m_model->requestSubtitleMove(m_activeSub, GenTime(value, pCore->getCurrentFps()) - (m_endPos - m_s… in SubtitleEdit()
102 GenTime duration = GenTime(value, pCore->getCurrentFps()) - m_startPos; in SubtitleEdit()
188 GenTime duration = GenTime(m_model->getSubtitlePlaytime(id), pCore->getCurrentFps()); in setActiveSubtitle()
232 GenTime prev = m_model->getStartPosForId(id); in goToPrevious()
264 GenTime prev = m_model->getStartPosForId(id); in goToNext()
H A Dtextbasededit.cpp110 qDebug()<<"==== GOT LAST FRAME: "<<GenTime(endMs).frames(25); in selectionEndAnchor()
246 …qDebug()<<"=== GOT EXPORT MAIN ZONE: "<<GenTime(startMs).frames(pCore->getCurrentFps())<<" - "<<Ge… in getInsertZones()
247 …QPoint originalZone(QPoint(GenTime(startMs).frames(pCore->getCurrentFps()), GenTime(endMs).frames(… in getInsertZones()
260 currentStart = GenTime(z.first).frames(pCore->getCurrentFps()); in getInsertZones()
261 currentEnd = GenTime(z.second).frames(pCore->getCurrentFps()); in getInsertZones()
359 …Kdenlive::ClipMonitor)->slotLoadClipZone(QPoint(GenTime(startMs).frames(pCore->getCurrentFps()), G… in blockClicked()
959 GenTime startPos(ms); in slotProcessSpeech()
1048 …qDebug()<<"=== GOT CUT ZONE: "<<GenTime(startMs).frames(pCore->getCurrentFps())<<" - "<<GenTime(en… in deleteItem()
1049 …m_visualEditor->cutZones << QPoint(GenTime(startMs).frames(pCore->getCurrentFps()), GenTime(endMs)… in deleteItem()
1209 int startPos = GenTime(ms).frames(pCore->getCurrentFps()); in addBookmark()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/textures/
H A Dwarptexture.cpp44 : GenTime (0), SourcePic (source), Pixels (0), Spans (0), Speed (1.f) in FWarpTexture()
78 return r_FrameTime != GenTime; in CheckModified()
85 if (Pixels == NULL || time != GenTime) in GetPixels()
96 if (Pixels == NULL || time != GenTime) in GetColumn()
136 GenTime = time; in MakeTexture()
193 GenTime = time; in MakeTexture()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/textures/
H A Dwarptexture.cpp46 : GenTime (0), SourcePic (source), Pixels (0), Spans (0), Speed (1.f) in FWarpTexture()
80 return (unsigned)gamestate.TimeCount != GenTime; in CheckModified()
87 if (Pixels == NULL || time != GenTime) in GetPixels()
98 if (Pixels == NULL || time != GenTime) in GetColumn()
138 GenTime = time; in MakeTexture()
195 GenTime = time; in MakeTexture()

123