|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <Edl.h>
Public Member Functions | |
| CEdl () | |
| bool | ReadEditDecisionLists (const CFileItem &fileItem, float fps) |
| void | Clear () |
| bool | HasEdits () const |
| Check if there are any parsed edits in EDL for the current item. | |
| bool | HasCuts () const |
| Check if the edit list has EDL cuts (edits with action CUT) | |
| bool | HasSceneMarker () const |
| std::chrono::milliseconds | GetTotalCutTime () const |
| Get the total cut time removed from the original item because of EDL cuts. | |
| std::chrono::milliseconds | GetTimeWithoutCuts (std::chrono::milliseconds seekTime) const |
| Providing a given seek time, return the actual time without considering cut ranges removed from the file. | |
| std::chrono::milliseconds | GetTimeAfterRestoringCuts (std::chrono::milliseconds seekTime) const |
| Provided a given seek time, return the time after correction with the addition of the already surpassed EDL cut ranges. | |
| const std::vector< EDL::Edit > & | GetRawEditList () const |
| Get the raw EDL edit list. | |
| const std::vector< EDL::Edit > | GetEditList () const |
| Get the EDL edit list. | |
| const std::vector< std::chrono::milliseconds > | GetCutMarkers () const |
| Get the list of EDL cut markers. | |
| const std::vector< std::chrono::milliseconds > | GetSceneMarkers () const |
| Get the list of EDL scene markers. | |
| std::optional< std::unique_ptr< EDL::Edit > > | InEdit (std::chrono::milliseconds seekTime) |
| Check if for the provided seek time is contained within an EDL edit. | |
| std::optional< std::chrono::milliseconds > | GetLastEditTime () const |
| Get the last processed edit time (set during playback when a given edit is surpassed) | |
| void | SetLastEditTime (std::chrono::milliseconds editTime) |
| Set the last processed edit time (set during playback when a given edit is surpassed) | |
| void | ResetLastEditTime () |
| Reset the last recorded edit time (nullopt) | |
| void | SetLastEditActionType (EDL::Action action) |
| Set the last processed edit action type. | |
| EDL::Action | GetLastEditActionType () const |
| Get the last processed edit action type (set during playback when a given edit is surpassed) | |
| std::optional< std::chrono::milliseconds > | GetNextSceneMarker (Direction direction, std::chrono::milliseconds clockTime) |
| Get the next scene marker with respect to the provided clock time. | |
| CEdl::CEdl | ( | ) |
| void CEdl::Clear | ( | ) |
| const std::vector< std::chrono::milliseconds > CEdl::GetCutMarkers | ( | ) | const |
Get the list of EDL cut markers.
| const std::vector< EDL::Edit > CEdl::GetEditList | ( | ) | const |
| EDL::Action CEdl::GetLastEditActionType | ( | ) | const |
Get the last processed edit action type (set during playback when a given edit is surpassed)
| std::optional< std::chrono::milliseconds > CEdl::GetLastEditTime | ( | ) | const |
Get the last processed edit time (set during playback when a given edit is surpassed)
| std::optional< std::chrono::milliseconds > CEdl::GetNextSceneMarker | ( | Direction | direction, |
| std::chrono::milliseconds | clockTime | ||
| ) |
Get the next scene marker with respect to the provided clock time.
| direction | (the direction of the search - backward or forward) |
| clock | the current position of the clock |
|
inline |
| const std::vector< std::chrono::milliseconds > CEdl::GetSceneMarkers | ( | ) | const |
Get the list of EDL scene markers.
| std::chrono::milliseconds CEdl::GetTimeAfterRestoringCuts | ( | std::chrono::milliseconds | seekTime | ) | const |
Provided a given seek time, return the time after correction with the addition of the already surpassed EDL cut ranges.
| seek | the desired seek time |
| std::chrono::milliseconds CEdl::GetTimeWithoutCuts | ( | std::chrono::milliseconds | seekTime | ) | const |
Providing a given seek time, return the actual time without considering cut ranges removed from the file.
| seek | the desired seek time |
| std::chrono::milliseconds CEdl::GetTotalCutTime | ( | ) | const |
Get the total cut time removed from the original item because of EDL cuts.
| bool CEdl::HasCuts | ( | ) | const |
| bool CEdl::HasEdits | ( | ) | const |
| bool CEdl::HasSceneMarker | ( | ) | const |
| std::optional< std::unique_ptr< EDL::Edit > > CEdl::InEdit | ( | std::chrono::milliseconds | seekTime | ) |
Check if for the provided seek time is contained within an EDL edit.
| seekTime | The seek time (on the original timeline) |
| void CEdl::ResetLastEditTime | ( | ) |
Reset the last recorded edit time (nullopt)
| void CEdl::SetLastEditActionType | ( | EDL::Action | action | ) |
Set the last processed edit action type.
| action | The action type (e.g. COMM_BREAK) |
| void CEdl::SetLastEditTime | ( | std::chrono::milliseconds | editTime | ) |
Set the last processed edit time (set during playback when a given edit is surpassed)
| editTime | The last processed EDL edit time |