¡@

Home 

2014/10/15 ¤U¤È 10:09:20

iphone Programming Glossary: fps

Advice on speeding up OpenGL ES 1.1 on the iPhone

http://stackoverflow.com/questions/1844765/advice-on-speeding-up-opengl-es-1-1-on-the-iphone

ranges are still as noted above. Update 4 Converting my Vertex and Normal pointers to GL_SHORT seemed to improve FPS but the Tiler Utilization is still in the 90 range a lot of the time. I'm still using GL_FLOAT for my texture coordinates... 5 Converting my texture coordinates to GL_SHORT yielded another performance increase. I'm now consistently getting 30 FPS. Tiler Utilization is still around 90 but frequently drops down in the the 70 80 range. The Renderer Utilization is hovering.. coordinates from GL_TEXTURE Matrix Mode. I'm still seeking additional improvements. I'd like to get closer to 40 FPS as that's what my iPod Touch gets and it's silky smooth there. If anyone is still paying attention what other low hanging..

PowerVR SGX535 Shader Performance (OpenGL ES 2.0)

http://stackoverflow.com/questions/3320661/powervr-sgx535-shader-performance-opengl-es-2-0

if Apple's GLSL compiler isn't doing any optimizations or very few . I can move a single line in a shader and drop my FPS from 30 to 24 but I really have no idea why this is happening. Does anyone have any references for the following what PowerVR..

Client/Server GKSessions

http://stackoverflow.com/questions/4194394/client-server-gksessions

problems notably chat like problems . In practice all the typical networking needs of any real game whether an FPS sports game or whatever must be done in ordinary client server paradigm . It would be staggeringly difficult to use P2P..

How do I convert the live video feed from the iPhone camera to grayscale?

http://stackoverflow.com/questions/4381513/how-do-i-convert-the-live-video-feed-from-the-iphone-camera-to-grayscale

using shaders with a writeup on how that works here . In my benchmarks the iPhone 4 can do this processing at 60 FPS with programmable shaders but you only get about 4 FPS if you rely on CPU bound code to do this. Since I wrote the above.. . In my benchmarks the iPhone 4 can do this processing at 60 FPS with programmable shaders but you only get about 4 FPS if you rely on CPU bound code to do this. Since I wrote the above I've now created an open source framework that encapsulates..

How to apply “filters” to AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/5156872/how-to-apply-filters-to-avcapturevideopreviewlayer

do some neat video processing effects. All GPU based filters in this application that display to the screen run at 60 FPS on my iPhone 4. The only iOS device out there that supports video yet doesn't have an OpenGL ES 2.0 capable GPU is the iPhone..

Are the Core Image filters in iOS 5.0 fast enough for realtime video processing?

http://stackoverflow.com/questions/6625888/are-the-core-image-filters-in-ios-5-0-fast-enough-for-realtime-video-processing

for two different hardware models running two different OS versions iPhone 4 iOS 5 iPhone 4S iOS 6 CPU 458 ms 2.2 FPS 183 ms 5.5 FPS Core Image 106 ms 6.7 FPS 8.2 ms 122 FPS GPUImage 2.5 ms 400 FPS 1.8 ms 555 FPS For Core Image this translates.. hardware models running two different OS versions iPhone 4 iOS 5 iPhone 4S iOS 6 CPU 458 ms 2.2 FPS 183 ms 5.5 FPS Core Image 106 ms 6.7 FPS 8.2 ms 122 FPS GPUImage 2.5 ms 400 FPS 1.8 ms 555 FPS For Core Image this translates into a maximum.. two different OS versions iPhone 4 iOS 5 iPhone 4S iOS 6 CPU 458 ms 2.2 FPS 183 ms 5.5 FPS Core Image 106 ms 6.7 FPS 8.2 ms 122 FPS GPUImage 2.5 ms 400 FPS 1.8 ms 555 FPS For Core Image this translates into a maximum of 9.4 FPS for a simple..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

in reading 720p video frames for encoding to disk. It limited the encoding from taking place at anything more than 8 9 FPS. Replacing this with the fast texture cache reads allows me to encode 720p video at 20 FPS now and the bottleneck has moved.. at anything more than 8 9 FPS. Replacing this with the fast texture cache reads allows me to encode 720p video at 20 FPS now and the bottleneck has moved from the pixel reading to the OpenGL ES processing and actual movie encoding parts of the.. and actual movie encoding parts of the pipeline. On an iPhone 4S this allows you to write 1080p video at a full 30 FPS. My implementation can be found within the GPUImageMovieWriter class within my open source GPUImage framework but it was..

What video formats are compatible with the assets library?

http://stackoverflow.com/questions/3257224/what-video-formats-are-compatible-with-the-assets-library

kbit s 6121206003_orig.mov Taken with iPhone 3Gs H.264 480 x 360 YES YES YES AAC 44100 Hz Mono 865.94 kbit s 30 fps 6110638568_reformat.mov H.264 640 x 360 YES YES YES AAC 44100 Hz Mono 3.57 Mbit s Based on this limited testing for a given..

Is it possible to successful animate a moving UIButton?

http://stackoverflow.com/questions/3568868/is-it-possible-to-successful-animate-a-moving-uibutton

It seems like you're developing something like a game. Why not use a global animation timer for let's say ~60 fps and do your drawing in Quartz2D Then for each touch you could quickly check any hits between Quartz refreshes. share improve..

How to draw a background fast in cocos2d?

http://stackoverflow.com/questions/3899903/how-to-draw-a-background-fast-in-cocos2d

and I've run into some performance worries. I have a 512x512 image tiled as my background. That gives me around 40fps with 20 sprites in a CCSpriteBatchNode the code for the background is this CCSprite background background CCSprite spriteWithFile.. GL_LINEAR GL_REPEAT GL_REPEAT background.texture setTexParameters params If I remove the background I get a solid 60fps. I've tried converting the image to PVRTC and that did give an extra fps or two. I get identical framerates using a 1024x768.. If I remove the background I get a solid 60fps. I've tried converting the image to PVRTC and that did give an extra fps or two. I get identical framerates using a 1024x768 image instead of the tiled version. Since my background will remain..

Faster iPhone PNG Animations

http://stackoverflow.com/questions/4127979/faster-iphone-png-animations

problem is that you are trying to run at 100hz 100 times per second That is absolutely impossible. Nothing runs at 100 fps. 20fps is extremely smooth 30fps is staggeringly smooth 40fps is mindboggling human vision research level smooth if it could.. is that you are trying to run at 100hz 100 times per second That is absolutely impossible. Nothing runs at 100 fps. 20fps is extremely smooth 30fps is staggeringly smooth 40fps is mindboggling human vision research level smooth if it could be.. run at 100hz 100 times per second That is absolutely impossible. Nothing runs at 100 fps. 20fps is extremely smooth 30fps is staggeringly smooth 40fps is mindboggling human vision research level smooth if it could be achieved and 100 fps cannot..

PVR textures versus PNG in OpenGL ES

http://stackoverflow.com/questions/501956/pvr-textures-versus-png-in-opengl-es

and on top of that 36 90 64 pixel sprites from a 512 512 texture with transparency. PVR textures renders at around 58 fps and the PNG at 47 fps. Is this what I can expect or should the difference be bigger Also the textures generated by texturetool.. 90 64 pixel sprites from a 512 512 texture with transparency. PVR textures renders at around 58 fps and the PNG at 47 fps. Is this what I can expect or should the difference be bigger Also the textures generated by texturetool looks really bad..

CoreAnimation, AVFoundation and ability to make Video export

http://stackoverflow.com/questions/5031721/coreanimation-avfoundation-and-ability-to-make-video-export

videoLayer inLayer wrapLayer videoComposition.frameDuration CMTimeMake 1 25 25 fps videoComposition.renderSize CGSizeMake 1024 768 videoComposition.instructions NSArray arrayWithObject videoCompositionInstruction..

Playing many different videos on iphone using AVPlayer

http://stackoverflow.com/questions/6258573/playing-many-different-videos-on-iphone-using-avplayer

instruments to analyze core animation performance and when the video is playing it's showing framerates of about 30 fps when the player goes blank it drops all the way down to 1 or 2 fps. This may be ovbious but still if it helps give a little.. is playing it's showing framerates of about 30 fps when the player goes blank it drops all the way down to 1 or 2 fps. This may be ovbious but still if it helps give a little more light..... EDIT 3 Ok I'm finally getting somewhere I know..

ios capturing image using AVFramework

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

forKey id kCVPixelBufferPixelFormatTypeKey If you wish to cap the frame rate to a known value such as 15 fps set minFrameDuration. Start the session running to start the flow of data session startRunning Assign session to an ivar... output.minFrameDuration CMTimeMake 5 1 below the comment If you wish to cap the frame rate to a known value such as 15 fps set minFrameDuration. but above the session startRunning Edit Use the following code to preview the camera output. AVCaptureVideoPreviewLayer..

AVCaptureSession only got video buffer

http://stackoverflow.com/questions/9257052/avcapturesession-only-got-video-buffer

isReadyForMoreMediaData if adaptor appendPixelBuffer buffer withPresentationTime frameTime CMTimeMake frame fps NSLog @ FAIL else NSThread sleepForTimeInterval 0.03 NSLog @ Success d Time diff with Zero frame CMTimeShow frameTime..

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

forKey id kCVPixelBufferPixelFormatTypeKey If you wish to cap the frame rate to a known value such as 15 fps set minFrameDuration. Assign session to an ivar. self setSession captureSession self.captureSession startRunning and setSession..

Setting AVMutableComposition's frameDuration

http://stackoverflow.com/questions/9725193/setting-avmutablecompositions-frameduration

an AVMutableComposition on which the frameDuration is set like that videoComposition.frameDuration CMTimeMake 1 30 30 fps For some reason changing the 30 to 25 does not change the framerate of the video exported with the AVAssetExportSession..