¡@

Home 

2014/10/15 ¤U¤È 10:05:52

iphone Programming Glossary: cvpixelbuffergetbytesperrow

Convert UIImage to CMSampleBufferRef

http://stackoverflow.com/questions/16475737/convert-uiimage-to-cmsamplebufferref

baseAddress uint8_t CVPixelBufferGetBaseAddressOfPlane imageBuffer 0 Get information of the image size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef..

how to convert a CVImageBufferRef to UIImage

http://stackoverflow.com/questions/3152259/how-to-convert-a-cvimagebufferref-to-uiimage

Get information about the image uint8_t baseAddress uint8_t CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer We unlock the..

UIImage created from CMSampleBufferRef not displayed in UIImageView?

http://stackoverflow.com/questions/3305862/uiimage-created-from-cmsamplebufferref-not-displayed-in-uiimageview

baseAddress uint8_t CVPixelBufferGetBaseAddressOfPlane imageBuffer 0 Get information of the image size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef..

iPhone: AVCaptureSession capture output crashing (AVCaptureVideoDataOutput)

http://stackoverflow.com/questions/3331644/iphone-avcapturesession-capture-output-crashing-avcapturevideodataoutput

imageBuffer 0 uint8_t baseAddress uint8_t CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef..

How to grab YUV formatted video from the camera, display it and process it

http://stackoverflow.com/questions/4205191/how-to-grab-yuv-formatted-video-from-the-camera-display-it-and-process-it

CVPixelBufferGetBaseAddress imageBuffer Get the number of bytes per row for the pixel buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight..

Rotate CGImage taken from video frame

http://stackoverflow.com/questions/4355070/rotate-cgimage-taken-from-video-frame

CVPixelBufferLockBaseAddress imageBuffer 0 void baseAddress CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef..

Bump Mapping on top of iPhone Camera

http://stackoverflow.com/questions/5273946/bump-mapping-on-top-of-iphone-camera

to get a CVImageBuffer and from that use a combination of CVPixelBufferLockBaseAddress CVPixelBufferGetBaseAddress CVPixelBufferGetBytesPerRow and possibly CVPixelBufferGetWidth and CVPixelBufferGetHeight to get at a C array of the pixels. In my testing across an..

Performing iPhone optimization on externally downloaded PNGs

http://stackoverflow.com/questions/640909/performing-iphone-optimization-on-externally-downloaded-pngs

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

pixelBuffer int frameHeight CVPixelBufferGetHeight pixelBuffer size_t bytesPerRow extraBytes bytesPerRow CVPixelBufferGetBytesPerRow pixelBuffer extraBytes bytesPerRow frameWidth 4 GLubyte pixelBufferAddr CVPixelBufferGetBaseAddress pixelBuffer if captureSession..

iPhone Watermark on recorded Video.

http://stackoverflow.com/questions/7205820/iphone-watermark-on-recorded-video

baseAddress uint8_t CVPixelBufferGetBaseAddressOfPlane imageBuffer 0 Get information of the image size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef..

Crop and Scale CGContext - iOS

http://stackoverflow.com/questions/8501149/crop-and-scale-cgcontext-ios

Get information about the image uint8_t baseAddress uint8_t CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a CGImageRef..

kCVPixelFormatType_420YpCbCr8BiPlanarFullRange frame to UIImage conversion

http://stackoverflow.com/questions/8838481/kcvpixelformattype-420ypcbcr8biplanarfullrange-frame-to-uiimage-conversion

CVPixelBufferGetBaseAddress imageBuffer Get the number of bytes per row for the pixel buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight..

ios capturing image using AVFramework

http://stackoverflow.com/questions/8924299/ios-capturing-image-using-avframework

CVPixelBufferGetBaseAddress imageBuffer Get the number of bytes per row for the pixel buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight..

iPhone take augmented reality screenshot with AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/8980847/iphone-take-augmented-reality-screenshot-with-avcapturevideopreviewlayer

imageBuffer 0 uint8_t baseAddress uint8_t CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGImageRef newImage..

AVCaptureSession specify resolution and quality of captured images obj-c iphone app

http://stackoverflow.com/questions/9312832/avcapturesession-specify-resolution-and-quality-of-captured-images-obj-c-iphone

CVPixelBufferGetBaseAddress imageBuffer Get the number of bytes per row for the pixel buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight..

How can I mute the capture sound in AVFoundation?

http://stackoverflow.com/questions/9557081/how-can-i-mute-the-capture-sound-in-avfoundation

Get information about the image uint8_t baseAddress uint8_t CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a CGImageRef..