#include <vmsMediaConverter.h>
Public Member Functions | |
| vmsMediaConverter () | |
| virtual | ~vmsMediaConverter () |
Static Public Member Functions | |
| static BOOL | ConvertMedia (LPCSTR pszSrcFile, LPCSTR pszDstFile, LPCSTR pszDstFormat, LPCSTR pszAudioCodec, int nAudioChannels, int nAudioBitrate, int nAudioRate, LPCSTR pszVideoCodec, int nVideoBitrate, int nVideoFrameRate, int nVideoFrameWidth, int nVideoFrameHeight, int *pnProgress, BOOL *pbCancel) |
Static Protected Member Functions | |
| static void | Initialize () |
| static void | Shutdown () |
Static Protected Attributes | |
| static vmsDLL | m_dll |
| static long | m_cDllRefs = 0 |
Definition at line 14 of file vmsMediaConverter.h.
| vmsMediaConverter::vmsMediaConverter | ( | ) |
Definition at line 19 of file vmsMediaConverter.cpp.
| vmsMediaConverter::~vmsMediaConverter | ( | ) | [virtual] |
Definition at line 24 of file vmsMediaConverter.cpp.
| BOOL vmsMediaConverter::ConvertMedia | ( | LPCSTR | pszSrcFile, | |
| LPCSTR | pszDstFile, | |||
| LPCSTR | pszDstFormat, | |||
| LPCSTR | pszAudioCodec, | |||
| int | nAudioChannels, | |||
| int | nAudioBitrate, | |||
| int | nAudioRate, | |||
| LPCSTR | pszVideoCodec, | |||
| int | nVideoBitrate, | |||
| int | nVideoFrameRate, | |||
| int | nVideoFrameWidth, | |||
| int | nVideoFrameHeight, | |||
| int * | pnProgress, | |||
| BOOL * | pbCancel | |||
| ) | [static] |
Definition at line 29 of file vmsMediaConverter.cpp.
References BOOL, FALSE, vmsDLL::GetProcAddress(), Initialize(), m_dll, and Shutdown().
Referenced by vmsMediaConvertMgr::_threadConvertMediaFile().
| void vmsMediaConverter::Initialize | ( | void | ) | [static, protected] |
Definition at line 61 of file vmsMediaConverter.cpp.
References vmsDLL::GetProcAddress(), vmsDLL::is_Loaded(), vmsDLL::Load(), m_cDllRefs, and m_dll.
Referenced by ConvertMedia().
| void vmsMediaConverter::Shutdown | ( | ) | [static, protected] |
Definition at line 75 of file vmsMediaConverter.cpp.
References vmsDLL::Free(), vmsDLL::GetProcAddress(), m_cDllRefs, and m_dll.
Referenced by ConvertMedia().
vmsDLL vmsMediaConverter::m_dll [static, protected] |
Definition at line 29 of file vmsMediaConverter.h.
Referenced by ConvertMedia(), Initialize(), and Shutdown().
long vmsMediaConverter::m_cDllRefs = 0 [static, protected] |
1.5.6