¡@

Home 

2014/10/15 ¤U¤È 10:04:26

iphone Programming Glossary: avcapturesessionpresetphoto

AVCaptureVideoPreviewLayer: taking a snapshot

http://stackoverflow.com/questions/3397899/avcapturevideopreviewlayer-taking-a-snapshot

you set the sessionPreset to AVCaptureSessionPresetHigh you'll start getting frames by the API and when you switch to AVCaptureSessionPresetPhoto you can take real images. So right before taking the picture you can switch to video get a frame and then return to camera...

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec

phone to sleep then you seem to get a single image out . AVCaptureStillImageOutput only seems to work sensibly with AVCaptureSessionPresetPhoto otherwise you effectively get JPEG encoded video frames. Might as well use higher quality BGRA frames incidentally the camera's..

Applying Effect to iPhone Camera Preview “Video”

http://stackoverflow.com/questions/4893620/applying-effect-to-iphone-camera-preview-video

to drop down to AVFoundation. I started with Technical Q A QA1702 and made these changes Changed the sessionPreset to AVCaptureSessionPresetPhoto. Added an AVCaptureStillImageOutput as an additional output before starting the session. The issue that I am having is with..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio

CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto At a high level I created an app that lets a user point his or her iPhone camera around and see video frames that have.. be 640x480. I want it to be high resolution so in step one I change the preset line to captureSession setSessionPreset AVCaptureSessionPresetPhoto This correctly captures still images at the highest resolution for the iPhone4 2592x1936 . However the video preview as.. 4 GLubyte pixelBufferAddr CVPixelBufferGetBaseAddress pixelBuffer if captureSession sessionPreset isEqualToString @ AVCaptureSessionPresetPhoto glTexImage2D GL_TEXTURE_2D 0 GL_RGBA frameWidth frameHeight 0 GL_BGRA GL_UNSIGNED_BYTE NULL for int h 0 h frameHeight h..