📄 aviusr.h
字号:
/*++
Copyright (c) 2001 Sunplus Technology Co., Ltd.
Module Name:
aviusr.h
Abstract:
Header file related to AVI header
Environment:
Keil C51 Compiler
Revision History:
08/28/2001 Chi-Yeh Tsai created
--*/
//------------------------------------------------------------------------------
//Constant Definition
//------------------------------------------------------------------------------
//parameter of header
//AVIH
#define K_AVIH_dwMicroSecPerFrame ((ULONG)0x000186a0)
#define K_AVIH_dwMaxBytesPerSec ((ULONG)0x00033980)
#define K_AVIH_dwFlags (AVIF_WASCAPTUREFILE | AVIF_HASINDEX)
#define K_AVIH_dwInitialFrames ((ULONG)0x00000000)
#if (AVIAUDIO_OPTION == 1)
#define K_AVIH_dwStreams ((ULONG)0x00000002)
#else
#define K_AVIH_dwStreams ((ULONG)0x00000001)
#endif
#define K_AVIH_dwSuggestedBufferSize ((ULONG)0x00004aa8)
#define K_AVIH_dwWidth ((ULONG)0x00000120)
#define K_AVIH_dwHeight ((ULONG)0x000000d0)
#define K_AVIH_dwScale ((ULONG)0x00000000)
#define K_AVIH_dwRate ((ULONG)0x00000000)
#define K_AVIH_dwStart ((ULONG)0x00000000)
#define K_AVIH_dwLength ((ULONG)0x00000000)
//video STRH
#define K_VSTRH_dwFlags ((ULONG)0x00000000)
#define K_VSTRH_dwInitialFrames ((ULONG)0x00000000)
#define K_VSTRH_dwScale ((ULONG)0x000186a0)
#define K_VSTRH_dwRate ((ULONG)0x000f4240)
#define K_VSTRH_dwStart ((ULONG)0x00000000)
#define K_VSTRH_dwSuggestedBufferSize ((ULONG)0x00004aa8)
#define K_VSTRH_dwQuality ((ULONG)0x00000000)
#define K_VSTRH_dwSampleSize ((ULONG)0x00000000)
//video STRF
#define K_VSTRF_biWidth ((ULONG)0x00000120)
#define K_VSTRF_biHeight ((ULONG)0x000000d0)
#define K_VSTRF_biPlanes ((USHORT)0x0001)
#define K_VSTRF_biBitCount ((USHORT)0x0018)
#define K_VSTRF_biSizeImage ((ULONG)0x00038400)
#define K_VSTRF_biXPelsPerMeter ((ULONG)0x00000000)
#define K_VSTRF_biYPelsPerMeter ((ULONG)0x00000000)
#define K_VSTRF_biClrUsed ((ULONG)0x00000000)
#define K_VSTRF_biClrImportant ((ULONG)0x00000000)
//audio STRH
#define K_ASTRH_dwFlags ((ULONG)0x00000000)
#define K_ASTRH_dwInitialFrames ((ULONG)0x00000000)
#define K_ASTRH_dwScale ((ULONG)0x00000001)
#define K_ASTRH_dwRate ((ULONG)0x00001f40)
#define K_ASTRH_dwStart ((ULONG)0x00000000)
#define K_ASTRH_dwSuggestedBufferSize ((ULONG)0x00003e80)
#define K_ASTRH_dwQuality ((ULONG)0x00000000)
#define K_ASTRH_dwSampleSize ((ULONG)0x00000001)
//audio STRF
#define K_ASTRF_wFormatTag ((USHORT)0x0001)
#define K_ASTRF_nChannels ((USHORT)0x0001)
#define K_ASTRF_nSamplesPerSec ((ULONG)0x00001f40)
#define K_ASTRF_nAvgBytesPerSec ((ULONG)0x00001f40)
#define K_ASTRF_nBlockAlign ((USHORT)0x0001)
#define K_ASTRF_wBitsPerSample ((USHORT)0x0008)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -