¡@

Home 

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

iphone Programming Glossary: cvpixelbuffergetheight

Hardware accelerated h.264 decoding to texture, overlay or similar in iOS

http://stackoverflow.com/questions/10646657/hardware-accelerated-h-264-decoding-to-texture-overlay-or-similar-in-ios

movieSampleBuffer CVImageBufferRef movieFrame CMSampleBufferGetImageBuffer movieSampleBuffer int bufferHeight CVPixelBufferGetHeight movieFrame int bufferWidth CVPixelBufferGetWidth movieFrame CFAbsoluteTime startTime CFAbsoluteTimeGetCurrent if GPUImageOpenGLESContext..

Convert UIImage to CMSampleBufferRef

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef newContext CGBitmapContextCreate baseAddress..

how to convert a CVImageBufferRef to UIImage

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer We unlock the image buffer CVPixelBufferUnlockBaseAddress imageBuffer 0 Create a CGImageRef from the CVImageBufferRef..

UIImage created from CMSampleBufferRef not displayed in UIImageView?

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef newContext CGBitmapContextCreate baseAddress..

iPhone: AVCaptureSession capture output crashing (AVCaptureVideoDataOutput)

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef newContext CGBitmapContextCreate baseAddress..

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

imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a device dependent RGB color space CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB Create a bitmap.. void processPixelBuffer CVImageBufferRef pixelBuffer CVPixelBufferLockBaseAddress pixelBuffer 0 int bufferHeight CVPixelBufferGetHeight pixelBuffer int bufferWidth CVPixelBufferGetWidth pixelBuffer allocate space for ychannel reallocating as needed. if bufferWidth..

Rotate CGImage taken from video frame

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef context CGBitmapContextCreate baseAddress..

How to Convert CMSampleBuffer/UIImage into ffmpeg's AVPicture?

http://stackoverflow.com/questions/4499160/how-to-convert-cmsamplebuffer-uiimage-into-ffmpegs-avpicture

CVPixelBufferLockBaseAddress pixelBuffer 0 access the data int width CVPixelBufferGetWidth pixelBuffer int height CVPixelBufferGetHeight pixelBuffer unsigned char rawPixelBase unsigned char CVPixelBufferGetBaseAddress pixelBuffer Do something with the raw pixels..

Bump Mapping on top of iPhone Camera

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

CVPixelBufferGetBaseAddress CVPixelBufferGetBytesPerRow and possibly CVPixelBufferGetWidth and CVPixelBufferGetHeight to get at a C array of the pixels. In my testing across an iPhone 4 and an iPhone 3GS the buffer has only ever come back..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

void processNewCameraFrame CVImageBufferRef cameraFrame CVPixelBufferLockBaseAddress cameraFrame 0 int bufferHeight CVPixelBufferGetHeight cameraFrame int bufferWidth CVPixelBufferGetWidth cameraFrame glClear GL_COLOR_BUFFER_BIT glGenTextures 1 videoFrameTexture_.. glBindTexture GL_TEXTURE_2D videoFrameTexture_ int frameWidth CVPixelBufferGetWidth pixelBuffer int frameHeight CVPixelBufferGetHeight pixelBuffer size_t bytesPerRow extraBytes bytesPerRow CVPixelBufferGetBytesPerRow pixelBuffer extraBytes bytesPerRow frameWidth..

iPhone Watermark on recorded Video.

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef newContext CGBitmapContextCreate baseAddress..

Crop and Scale CGContext - iOS

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a CGImageRef from the CVImageBufferRef CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..

kCVPixelFormatType_420YpCbCr8BiPlanarFullRange frame to UIImage conversion

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

imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a device dependent RGB color space CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB Create a bitmap.. software e.g. CVPixelBufferLockBaseAddress imageBuffer 0 size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer uint8_t baseAddress CVPixelBufferGetBaseAddress imageBuffer CVPlanarPixelBufferInfo_YCbCrBiPlanar bufferInfo..

ios capturing image using AVFramework

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

imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a device dependent RGB color space CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB Create a bitmap..

iPhone take augmented reality screenshot with AVCaptureVideoPreviewLayer

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGImageRef newImage nil if cameraDeviceSetting CameraDeviceSetting640x480 CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB..

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

imageBuffer Get the pixel buffer width and height size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a device dependent RGB color space CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB Create a bitmap..

How can I mute the capture sound in AVFoundation?

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

bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer Create a CGImageRef from the CVImageBufferRef CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..