示例#1
0
 // Sets custom color primaries.
 public void SetCustomVideoPrimaries(MT_CustomVideoPrimaries primary)
 {
     Utils.MFSetBlob(GetMediaType(), MFAttributesClsid.MF_MT_CUSTOM_VIDEO_PRIMARIES, primary);
 }
示例#2
0
 // 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);
 }