Adding the initial version of the decklink writer, and a fully working (full circle) blackmagic example executabe, which processes real-time HD video and output's it via HDMI.

This commit is contained in:
Jonathan Thomas
2013-02-10 02:19:40 -06:00
parent 0a13525afd
commit 09a02c0adf
13 changed files with 694 additions and 264 deletions

View File

@@ -400,9 +400,11 @@ int Frame::GetWidth()
void Frame::TransparentColors(string color, double fuzz)
{
// Make this range of colors transparent
image->colorFuzz(fuzz * 65535 / 100.0);
image->transparent(Magick::Color(color));
image->colorFuzz(0);
//image->colorFuzz(fuzz * 65535 / 100.0);
//image->transparent(Magick::Color(color));
//image->colorFuzz(0);
image->negate();
image->flip();
}
// Save the frame image to the specified path. The image format is determined from the extension (i.e. image.PNG, image.JPEG)