01 2024 档案
摘要:简单说一下: IMFSourceReader 有两个可以获取 IMFMediaType 对象的接口,分别是 GetNativeMediaType 与 GetCurrentMediaType。 初始化时调用 GetCurrentMediaType 获得的 IMFMediaType 对象(此时为硬件默认
阅读全文
摘要:BITMAP bitmap; if (!GetObject(hBitmap, sizeof(bitmap), &bitmap)) { // 外部传入 hBitmap return false; } // 创建位图信息头 BITMAPINFO bitInfo; BITMAPINFOHEADER& bi
阅读全文