Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一直在兜圈子,directx 新手并在 c# 中使用 directshow 我需要翻转和镜像网络摄像头流,任何人都可以提供有关如何从 graphBuilder 执行此操作的指针。
谢谢
您可以使用全屏四边形通过更改 DirectX 中的纹理坐标来翻转图像。即定义 4 个 UV 坐标从 1.0 到 0.0(而不是 0.0 到 1.0)的点来翻转图像。或者,您可以使用 dotNet 使用 Image.RotateFlip() 和 System.Drawing.RotateFlipType 中的适当参数来执行此操作