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.

65 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1995-1996 Microsoft Corporation
  3. Module Name:
  4. utils.h
  5. Abstract:
  6. Assorted support and debugging routines used by the Network Audio Controller.
  7. --*/
  8. #ifndef _VIDUTILS_H_
  9. #define _VIDUTILS_H_
  10. #include <pshpack8.h> /* Assume 8 byte packing throughout */
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif // __cplusplus
  14. enum
  15. {
  16. // NAME_FramesPerSec_BitsPerSample
  17. DVF_DEFAULT_7FPS_4,
  18. DVF_NumOfFormats
  19. };
  20. //extern VIDEOFORMATEX g_vfDefList[];
  21. VIDEOFORMATEX * GetDefFormat ( int idx );
  22. ULONG GetFormatSize ( PVOID pwf );
  23. BOOL IsSameFormat ( PVOID pwf1, PVOID pwf2 );
  24. BOOL IsSimilarVidFormat(VIDEOFORMATEX *pFormat1, VIDEOFORMATEX *pFormat2);
  25. void CopyPreviousBuf (VIDEOFORMATEX *pwf, PBYTE pb, ULONG cb);
  26. #define IFRAMES_CAPS_NM3 101
  27. #define IFRAMES_CAPS_NM2 102
  28. #define IFRAMES_CAPS_3RDPARTY 103
  29. #define IFRAMES_CAPS_UNKNOWN 104
  30. int GetIFrameCaps(IStreamSignal *pStreamSignal);
  31. #define SQCIF_WIDTH 128
  32. #define SQCIF_HEIGHT 96
  33. #define QCIF_WIDTH 176
  34. #define QCIF_HEIGHT 144
  35. #define CIF_WIDTH 352
  36. #define CIF_HEIGHT 288
  37. #ifdef __cplusplus
  38. } // extern "C"
  39. #endif // __cplusplus
  40. #include <poppack.h> /* End byte packing */
  41. #endif // _VIDUTILS_H_