¡@

Home 

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

iphone Programming Glossary: cvpixelbuffergetwidth

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

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

Convert UIImage to CMSampleBufferRef

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

imageBuffer 0 Get information of the image size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..

how to convert a CVImageBufferRef to UIImage

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

CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer We unlock the image buffer CVPixelBufferUnlockBaseAddress imageBuffer..

UIImage created from CMSampleBufferRef not displayed in UIImageView?

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

imageBuffer 0 Get information of the image size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..

iPhone: AVCaptureSession capture output crashing (AVCaptureVideoDataOutput)

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

CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..

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

buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow 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.. CVPixelBufferLockBaseAddress pixelBuffer 0 int bufferHeight CVPixelBufferGetHeight pixelBuffer int bufferWidth CVPixelBufferGetWidth pixelBuffer allocate space for ychannel reallocating as needed. if bufferWidth y_channel.width bufferHeight y_channel.height..

Rotate CGImage taken from video frame

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

CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..

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

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

CMSampleBufferGetImageBuffer sampleBuffer CVPixelBufferLockBaseAddress pixelBuffer 0 access the data int width CVPixelBufferGetWidth pixelBuffer int height CVPixelBufferGetHeight pixelBuffer unsigned char rawPixelBase unsigned char CVPixelBufferGetBaseAddress..

Bump Mapping on top of iPhone Camera

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

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 iPhone 4 and an iPhone 3GS the buffer..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

CVPixelBufferLockBaseAddress cameraFrame 0 int bufferHeight CVPixelBufferGetHeight cameraFrame int bufferWidth CVPixelBufferGetWidth cameraFrame glClear GL_COLOR_BUFFER_BIT glGenTextures 1 videoFrameTexture_ glBindTexture GL_TEXTURE_2D videoFrameTexture_.. image data is passed in ... glActiveTexture GL_TEXTURE0 glBindTexture GL_TEXTURE_2D videoFrameTexture_ int frameWidth CVPixelBufferGetWidth pixelBuffer int frameHeight CVPixelBufferGetHeight pixelBuffer size_t bytesPerRow extraBytes bytesPerRow CVPixelBufferGetBytesPerRow..

iPhone Watermark on recorded Video.

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

imageBuffer 0 Get information of the image size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef..

Crop and Scale CGContext - iOS

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

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

kCVPixelFormatType_420YpCbCr8BiPlanarFullRange frame to UIImage conversion

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

buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow 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.. be able to perform the conversion yourself in software e.g. CVPixelBufferLockBaseAddress imageBuffer 0 size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer uint8_t baseAddress CVPixelBufferGetBaseAddress imageBuffer..

ios capturing image using AVFramework

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

buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow 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..

iPhone take augmented reality screenshot with AVCaptureVideoPreviewLayer

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

CVPixelBufferGetBaseAddress imageBuffer size_t bytesPerRow CVPixelBufferGetBytesPerRow imageBuffer size_t width CVPixelBufferGetWidth imageBuffer size_t height CVPixelBufferGetHeight imageBuffer CGImageRef newImage nil if cameraDeviceSetting CameraDeviceSetting640x480..

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

buffer size_t bytesPerRow CVPixelBufferGetBytesPerRow 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..

How can I mute the capture sound in AVFoundation?

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

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