зеркало из https://github.com/xamarin/ios-samples.git
4cd38381a1
* Add new project * updated new app * deleted old project * fixed formatting and deprecated methods * fixed simulator work * updated screenshot |
||
---|---|---|
.. | ||
RosyWriter | ||
Screenshots | ||
Metadata.xml | ||
README.md | ||
RosyWriter.sln |
README.md
RosyWriter
This is a port of Apple's RosyWriter sample to C# and MonoTouch.
This sample shows how to use AVFoundation to capture video, process video frames (in this example, we remove the "green" component from each frame turning images rosy), show the resulting data and optionally save the resulting video and audio into the user's Photo storage.
This sample shows multiple parts of iOS in action:
* GLKit to easily setup a GL context, load shaders and render frames.
* AVFoundation to connect to the video camera
* CoreVide's OpenGLTextureCache to directly bind camera frames
to OpenGL textures
* ALAssets for creating assets.
* Grand Central Dispatch, showing how the main thread uses two
separate dispatch queues with their own threads to perform
the CPU intensive "pinkening" and the saving of the data.
Port
This port was written by Eric Beisecker of Xamarin.