¡@

Home 

2014/10/15 ¤U¤È 10:13:38

iphone Programming Glossary: samplebufferref

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

AVAssetReaderTrackOutput readerVideoTrackOutput if reader.status AVAssetReaderStatusReading CMSampleBufferRef sampleBufferRef readerVideoTrackOutput copyNextSampleBuffer if sampleBufferRef runOnMainQueueWithoutDeadlocking ^ self processMovieFrame.. AVAssetReaderStatusReading CMSampleBufferRef sampleBufferRef readerVideoTrackOutput copyNextSampleBuffer if sampleBufferRef runOnMainQueueWithoutDeadlocking ^ self processMovieFrame sampleBufferRef CMSampleBufferInvalidate sampleBufferRef CFRelease.. copyNextSampleBuffer if sampleBufferRef runOnMainQueueWithoutDeadlocking ^ self processMovieFrame sampleBufferRef CMSampleBufferInvalidate sampleBufferRef CFRelease sampleBufferRef else videoEncodingIsFinished YES self endProcessing..

Extract iPod Library raw PCM samples and play with sound effects

http://stackoverflow.com/questions/4796643/extract-ipod-library-raw-pcm-samples-and-play-with-sound-effects

AVAssetReaderTrackOutput trackOutput AVAssetReaderTrackOutput reader.outputs objectAtIndex 0 CMSampleBufferRef sampleBufferRef trackOutput copyNextSampleBuffer if sampleBufferRef CMBlockBufferRef blockBufferRef CMSampleBufferGetDataBuffer sampleBufferRef.. reader.outputs objectAtIndex 0 CMSampleBufferRef sampleBufferRef trackOutput copyNextSampleBuffer if sampleBufferRef CMBlockBufferRef blockBufferRef CMSampleBufferGetDataBuffer sampleBufferRef size_t length CMBlockBufferGetDataLength blockBufferRef.. trackOutput copyNextSampleBuffer if sampleBufferRef CMBlockBufferRef blockBufferRef CMSampleBufferGetDataBuffer sampleBufferRef size_t length CMBlockBufferGetDataLength blockBufferRef UInt8 buffer length CMBlockBufferCopyDataBytes blockBufferRef 0..

Drawing waveform with AVAssetReader

http://stackoverflow.com/questions/5032775/drawing-waveform-with-avassetreader

AVAssetReaderTrackOutput trackOutput AVAssetReaderTrackOutput reader.outputs objectAtIndex 0 CMSampleBufferRef sampleBufferRef trackOutput copyNextSampleBuffer if sampleBufferRef what I gonna do with this Please help me iphone objective c core audio.. reader.outputs objectAtIndex 0 CMSampleBufferRef sampleBufferRef trackOutput copyNextSampleBuffer if sampleBufferRef what I gonna do with this Please help me iphone objective c core audio ipod waveform share improve this question I.. AVAssetReaderTrackOutput trackOutput AVAssetReaderTrackOutput reader.outputs objectAtIndex 0 CMSampleBufferRef sampleBufferRef trackOutput copyNextSampleBuffer if sampleBufferRef CMBlockBufferRef blockBufferRef CMSampleBufferGetDataBuffer sampleBufferRef..