ios-samples/RosyWriter
conceptdev e74d954a4b onboard missing samples 2019-08-01 22:24:39 -07:00
..
RosyWriter Updated 'RosyWriter' sample (#315) 2018-11-20 13:37:35 -08:00
Screenshots Updated 'RosyWriter' sample (#315) 2018-11-20 13:37:35 -08:00
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03:00
README.md onboard missing samples 2019-08-01 22:24:39 -07:00
RosyWriter.sln Updated 'RosyWriter' sample (#315) 2018-11-20 13:37:35 -08:00

README.md

name description page_type languages products urlFragment
Xamarin.iOS - RosyWriter This is a port of Apple's RosyWriter sample to C and Xamarin.iOS sample
csharp
xamarin
rosywriter

RosyWriter

This is a port of Apple's RosyWriter sample to C# and MonoTouch.

http://developer.apple.com/library/ios/#samplecode/RosyWriter/Introduction/Intro.html#//apple_ref/doc/uid/DTS40011110

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.

Screenshot of camera applying a red filter