共用方式為


VMRDeinterlaceTech 列舉 (strmif.h)

[與此頁面相關的功能 DirectShow是舊版功能。 它已被 MediaPlayerIMFMediaEngineMedia Foundation 中的音訊/視訊擷取取代。 這些功能已針對Windows 10和Windows 11進行優化。 Microsoft 強烈建議新程式碼盡可能使用 MediaPlayerIMFMediaEngine音訊/視訊擷取 ,而不是 DirectShow。 Microsoft 建議使用舊版 API 的現有程式碼盡可能重寫為使用新的 API。

VMRDeinterlaceTech列舉類型描述用來取消交錯視訊資料流程的演算法。 旗標不互斥;驅動程式可以設定旗標的組合。

Syntax

typedef enum VMRDeinterlaceTech {
  DeinterlaceTech_Unknown = 0,
  DeinterlaceTech_BOBLineReplicate = 0x1,
  DeinterlaceTech_BOBVerticalStretch = 0x2,
  DeinterlaceTech_MedianFiltering = 0x4,
  DeinterlaceTech_EdgeFiltering = 0x10,
  DeinterlaceTech_FieldAdaptive = 0x20,
  DeinterlaceTech_PixelAdaptive = 0x40,
  DeinterlaceTech_MotionVectorSteered = 0x80
} ;

常數

 
DeinterlaceTech_Unknown
值: 0
演算法未知或專屬。
DeinterlaceTech_BOBLineReplicate
值: 0x1
演算法會重複其上方或下方的這一行,以建立每個遺漏的行。 此方法會建立不規則的成品,不建議這麼做。
DeinterlaceTech_BOBVerticalStretch
值: 0x2
此演算法會將每個視訊欄位垂直延展為兩個因素,藉以建立遺漏的線條。 例如,它可能會平均兩行,或使用跨四行的 (-1、9、9、-1) /16 篩選。 會進行稍微垂直調整,以確保產生的影像不會「bob」向上和向下。
DeinterlaceTech_MedianFiltering
值: 0x4
演算法會使用中位數篩選來重新建立遺漏行中的圖元。
DeinterlaceTech_EdgeFiltering
值: 0x10
演算法會使用邊緣篩選來建立遺漏的行。 在此程式中,會套用空間方向篩選,以判斷圖片內容中邊緣的方向。 遺漏的圖元是透過篩選 (建立,而不是跨偵測到的邊緣) 。
DeinterlaceTech_FieldAdaptive
值: 0x20
演算法會使用空間或時態性插補,根據動作量,依欄位在兩者之間切換。
DeinterlaceTech_PixelAdaptive
值: 0x40
演算法會使用空間或時態性插補,根據動作量,依圖元在兩者之間切換。
DeinterlaceTech_MotionVectorSteered
值: 0x80
演算法會識別影片欄位序列內的物件。 在重新建立遺漏的圖元之前,它會對齊場景中個別物件的移動軸,使其與時間軸平行。

規格需求

   
標頭 strmif.h (包含 Dshow.h)

另請參閱

DirectShow 列舉型別

VMRDeinterlaceCaps 結構