// Sets custom color primaries. public void SetCustomVideoPrimaries(MT_CustomVideoPrimaries primary) { Utils.MFSetBlob(GetMediaType(), MFAttributesClsid.MF_MT_CUSTOM_VIDEO_PRIMARIES, primary); }
// Retrieves custom color primaries. public void GetCustomVideoPrimaries(out MT_CustomVideoPrimaries pPrimaries) { pPrimaries = new MT_CustomVideoPrimaries(); Utils.MFGetBlob(GetMediaType(), MFAttributesClsid.MF_MT_CUSTOM_VIDEO_PRIMARIES, pPrimaries); }