2010-10-14 69 views
0

here引用:VIDEO_STREAM_CONFIG_CAPS中的InputSize字段的含義是什麼?

輸入信號的大小,用 通過Win32 SIZE結構 圖像矩形的寬度和以像素爲單位的高度 。

對於壓縮機,其大小取從 在Win32 BITMAPINFOHEADER結構 的寬度和高度成員 在輸入引腳的AM_MEDIA_TYPE 結構。

對於捕獲濾波器,大小爲濾波器可以數字化的最大信號 ,每個像素保持唯一。

typedef struct _VIDEO_STREAM_CONFIG_CAPS 
{ 
    GUID guid; 
    ULONG VideoStandard; 
    SIZE InputSize; 
    SIZE MinCroppingSize; 
    SIZE MaxCroppingSize; 
    int CropGranularityX; 
    int CropGranularityY; 
    int CropAlignX; 
    int CropAlignY; 
    SIZE MinOutputSize; 
    SIZE MaxOutputSize; 
    int OutputGranularityX; 
    int OutputGranularityY; 
    int StretchTapsX; 
    int StretchTapsY; 
    int ShrinkTapsX; 
    int ShrinkTapsY; 
    LONGLONG MinFrameInterval; 
    LONGLONG MaxFrameInterval; 
    LONG MinBitsPerSecond; 
    LONG MaxBitsPerSecond; 
} VIDEO_STREAM_CONFIG_CAPS; 

是什麼由For a capture filter, the size is the largest signal the filter can digitize with every pixel remaining unique.的意思是,任何人都可以幫忙嗎?

回答

0

我想這意味着相機的原始分辨率。如果某些相機可以捕獲640x480圖像,但可以提供1280x960圖像,則每個真實像素將通過放大並重復顯示並由4個圖像像素表示,但不會是唯一的。