Process MaxOmfSdk Omf data to selected organization and return
project statistics.
mxOmfUpdateOrganizationIn() organizes the internal Omf data, including
source clip organization and track (channel) mapping, and returns
statistics.
mxOmfInSettings_t supplies command selection and values for processing.
All values should be current and valid. (See mxOmfGetProjectInfoToInSettings())
mxOmfInSettings members of particular importance are:
m_ulOmfTrkAvlV and m_ulOmfTrkAvlA - Supplies track (channel) availability
and mapping. See XXXXXXXXX
m_eSourceClipOrganization - Organization of source clip data
MXOMF_SO_ORIGINALLENGTH - original and full lengths of source clips
MXOMF_SO_CONSOLIDATED - consolidated
MXOMF_SO_ERROR - if not set, defaults to MXOMF_SO_ORIGINALLENGTH
See MXOMF_SO
m_tcCombineInterval - Head and Tail handle and combine interval
applicable only to MXOMF_SO_CONSOLIDATED
If m_tcCombineInterval == MXOMF_NOTTC, defaults
to two seconds
m_bIncludeAudioMedia - If selected, organization honors existing audio media
lengths and boundaries. Applicable only if embedded
audio media exists
See mxOmfInSettings_t
See MXOMF_SO
See mxOmfOutputStatistics_t
Params:
mxOmfHdl_t hMxOmfHdl - address of SDK pointer from mxOmfCreateOmfSdk()
mxOmfOutputStatistics_t* pMxStatistics - pointer to mxOmfOutputStatistics_t to receive data
mxOmfInSettings_t* pMxOmfInSettings - pointer to mxOmfInSettings_t
Returns:
MXOMFERR_NONE
MXOMFERR_NULLPARAMETER - pMxStatistics or pMxOmfInSettings param missing
MXOMFERR_SDKHANDLNULL - hMxOmfHdl param is NULL
Usage:
See MXOMFERROR CMaxOmfSdkDemoOmfDoc::PopulateMxEventAndSourceInfo()
See COmfInDlg::UpdateStatistics()
OMFDLL_EXPORT
MXOMFERROR mxOmfUpdateOrganizationIn(mxOmfHdl_t hMxOmfHdl,
mxOmfOutputStatistics_t* pMxStatistics,
mxOmfInSettings_t* pMxOmfInSettings);