How to render video from raw frames in WPF?

前端 未结 1 1291
礼貌的吻别
礼貌的吻别 2021-02-06 19:26

I have a special video camera (using GigEVision protocol) that I control using a provided library. I can subscribe to a frame received event and then access the frame data via a

1条回答
  •  离开以前
    2021-02-06 19:43

    Best way: WriteableBitmap.WritePixels(..., IntPtr source, ...)

    Fastest way: Use WIC and all operations in IntPtr unmanaged memory. But why use WPF at all in this case? Consider using DirectX overlay if that kind of performance is required.

    0 讨论(0)
提交回复
热议问题