Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dvcdb.h
  6. * Content: structures, data types and functions for the
  7. * compression subsystem
  8. *
  9. * History:
  10. * Date By Reason
  11. * ==== == ======
  12. * 08/23/99 rodtoll Created
  13. * 09/08/99 rodtoll Moved the dwMaxBitsPerSecond field to the DVCOMPRESSIONINFO struct
  14. * 10/07/99 rodtoll Updated to work in Unicode
  15. * 10/29/99 rodtoll Bug #113726 - Integrate Voxware Codecs, updating to use new
  16. * pluggable codec architecture.
  17. * 03/03/2000 rodtoll Updated to handle alternative gamevoice build.
  18. *
  19. ***************************************************************************/
  20. #ifndef __DVCDB_H
  21. #define __DVCDB_H
  22. HRESULT DVCDB_LoadCompressionInfo(const WCHAR *swzBaseRegistryPath );
  23. HRESULT DVCDB_FreeCompressionInfo();
  24. HRESULT CREG_ReadAndAllocWaveFormatEx( HKEY hkeyReg, const LPWSTR path, LPWAVEFORMATEX *lpwfxFormat );
  25. HRESULT DVCDB_GetCompressionInfo( GUID guidType, PDVFULLCOMPRESSIONINFO *lpdvfCompressionInfo );
  26. HRESULT DVCDB_IsValidCompressionType( GUID guidType );
  27. HRESULT DVCDB_CreateConverter( GUID guidSrc, WAVEFORMATEX *pwfxTarget, PDPVCOMPRESSOR *pConverter );
  28. HRESULT DVCDB_CreateConverter( WAVEFORMATEX *pwfxSrcFormat, GUID guidTarget, PDPVCOMPRESSOR *pConverter );
  29. DWORD DVCDB_CalcUnCompressedFrameSize( LPDVFULLCOMPRESSIONINFO lpdvInfo, LPWAVEFORMATEX lpwfxFormat );
  30. HRESULT DVCDB_CopyCompressionArrayToBuffer( LPVOID lpBuffer, LPDWORD lpdwSize, LPDWORD lpdwNumElements, DWORD dwFlags );
  31. DWORD DVCDB_GetCompressionInfoSize( LPDVCOMPRESSIONINFO lpdvCompressionInfo );
  32. #endif