From what I've read it seems like with iPhone OS 4.0 we have more access to each frame of captured video in our apps.
I've briefly messed around with it and I've been looking primarily at the enhancements of AVFoundation, which now include AVCaptureDevice and a few other classes that should give me access to the video data. Unfortunately, I can't even create an AVCaptureDevice object because the AVFoundation doesn't import this header. When I open AVFoundation.h I see this at the bottom:
Code:
#if TARGET_OS_EMBEDDED
#import <AVFoundation/AVCaptureSession.h>
#import <AVFoundation/AVCaptureDevice.h>
#import <AVFoundation/AVCaptureInput.h>
#import <AVFoundation/AVCaptureOutput.h>
#import <AVFoundation/AVCaptureVideoPreviewLayer.h>
#endif
And for some reason it is not importing these headers. Shouldn't TARGET_OS_EMBEDDED include the iPhone?
So my questions are.
1. With 4.0, do we really have access to each frame of video data that we can manipulate to modify preview/captured video?
2. Do I need to use AVCaptureDevice to do this, if so, why is the iPhone not considered an EMBEDDED device?