Commit Graph

133 Commits

Author SHA1 Message Date
Jonathan Thomas
bcfbe60a4a initial chunck readers/writers 2013-07-31 12:45:47 -05:00
Jonathan Thomas
4ce7cd22ba Fixed a build error on Linux... which was a regression from my previous Mac fix. 2013-06-09 14:31:52 -05:00
Jonathan Thomas
6cac382773 Fixed most build warnings on Mac OS X 2013-06-09 01:08:23 -05:00
Jonathan Thomas
c679e857fd Fixed an SDL_main macro issue which was breaking Mac builds. 2013-06-07 13:15:41 -05:00
Jonathan Thomas
6171abfe1a Added a Sleep.h header, which defines an OS specific sleep metho. 2013-06-06 12:12:08 -05:00
Jonathan Thomas
5ce6add42f Added gravity to the TextReader, so text can be easily anchored to the corners. 2013-03-06 23:36:28 -06:00
Jonathan Thomas
aa09fdc69b Fixed many, many blackmagic bugs, and have a pretty good demo built. 2013-02-15 00:23:55 -06:00
Jonathan Thomas
c07b97d52a Experimenting with image sequence performance (using Tif images) 2013-02-13 02:46:55 -06:00
Jonathan Thomas
ca09838b0f Optimized the compositing of simple layers (with no transformation), by not resizing it's canvas to match the timeline. Also, improved the Decklink reader to wait for the frame to become available (if it's in the future), and to jump ahead on the timeline if it gets behind. Blackmagic program can now composite 4 layers in real time. 2013-02-12 02:42:18 -06:00
Jonathan Thomas
cc32bbf38a Made decklinkOutput keep scheduling the last successfull frame, if the queue runs out. Also, made the timeline multi-threaded, and improved the DecklinkInput.cpp to keep frames in order, by returning the correct frame based on the number. 2013-02-12 01:28:48 -06:00
Jonathan Thomas
4a4d9e2a34 Improved the timeline compositing performance, fixed some blackmagic bugs, and finally have an actual chromakey demo working! 2013-02-10 21:16:46 -06:00
Jonathan Thomas
2a743123ee Improved DecklinkReader to be multi-threaded, using the OpenShot cache object to keep things in order. Performance is very smooth on the blackmagic test executable now. 2013-02-10 15:46:41 -06:00
Jonathan Thomas
09a02c0adf 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. 2013-02-10 02:19:40 -06:00
Jonathan Thomas
0a13525afd Completed the DecklinkReader class, and improved the conditional black magic code to include SWIG. The Decklink reader fully works, multi-threaded, and looks good. 2013-02-09 01:54:40 -06:00
Jonathan Thomas
182febe5b7 Fixed conditional compile flag for black magic, and improved the quality of the TextReader font rendering. 2013-02-08 02:15:16 -06:00
Jonathan Thomas
78b1e9b16b Added a TextReader class, which renders text as an image. 2013-02-07 17:11:23 -06:00
Jonathan Thomas
40e22bbafd Improved cmake to ignore blackmagic if it's not found 2013-02-07 16:00:57 -06:00
Jonathan Thomas
f04e821f0d Refactored blackmagic capture example into DecklinkCapture.cpp, and added it into libopenshot. Also, added a new, Main_Blackmagic.cpp example program, which invokes the DecklinkCapture.cpp class.
Also, built in a 20 frame buffer into the DecklinkCapture.cpp class, to discard old frames, to keep the memory from filling up.
2013-02-06 02:09:21 -06:00
Jonathan Thomas
9181a3b74a FIxed a bug with the blackmagic example program (capture.cpp), and checked in the start of a new DecklinkReader class. 2013-02-01 13:13:48 -06:00
Jonathan Thomas
fbf169a7fa Added a simple chroma key method to a frame object, and added multi-threaded optimizations to the black magic capture code. 2013-01-26 23:02:21 -06:00
Jonathan Thomas
6c1d0a9568 Added initial Blackmagic support, including cmake scripts and build instructions, and a test executable. 2013-01-26 16:48:41 -06:00
Jonathan Thomas
d0556bc33f Fixed a big audio regression, with a buggy isnear() function, which did not take into account the amount of frames between the sample locations. 2013-01-25 02:24:18 -06:00
Jonathan Thomas
b8d4b0b73d Fixed a big bug with the Swig wrapper, to correctly match the typemap of the tr1::shared_ptr, and then removed the GetFrameObject method, since it's no longer needed. 2013-01-12 12:45:55 -06:00
Jonathan Thomas
0d82a4e716 Made Keyframe objects thread safe, by generating the values as Points are added, and the Timeline's Open and Close logic was made thread safe, so a reader is not closed while it's still being accessed on another thread. Also removed some unneeded code and comments. 2012-12-03 22:55:46 -06:00
Jonathan Thomas
e264d4fcab Fixed a really huge audio issue, related to audio timestamps, gaps, and also mono vs stereo issues. This is the best audio support I've accomplished thus far. =) 2012-12-03 04:51:17 -06:00