RU:Interfaces
From AVObjects Knowledge Base
(Difference between revisions)
Line 36: | Line 36: | ||
); | ); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | Method for synchronous conversions. | ||
+ | If this method is implemented then methods for asynchronous conversions | ||
+ | (CanPutFrame(), PutFrame(), CanGetFrame(), GetFrame()) can be not implemented. |
Revision as of 14:23, 25 June 2014
Этот раздел содержит ссылочную информацию об интерфейсах и методах AVObjects Media Library.
Contents |
IAVObject interface
Init
HRESULT Init()
Производит инициализацию данных объекта, для объектов - сплитеров или ридеров производит открытие файлов и начальный парсинг.
Close
HRESULT Close()
Освобождает ресурсы используемые объектом, закрывает файлы, освобождает блоки памяти.
BeginFlush
HRESULT BeginFlush()
EndFlush
HRESULT EndFlush()
Convert
HRESULT Convert( [in] BYTE* pbSrc, [in] int cbSrc, [in] BYTE* pbDst, [in] int cbDst, [out] int* pcbActual, [in] int nReserved, [in] BYTE* pbReserved );
Method for synchronous conversions. If this method is implemented then methods for asynchronous conversions (CanPutFrame(), PutFrame(), CanGetFrame(), GetFrame()) can be not implemented.