BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.25k stars 4.61k forks source link

Add a tiling mechanism to prevent iPhone 4 crashes on photo processing #42

Open BradLarson opened 12 years ago

BradLarson commented 12 years ago

Currently, the maximum size for any image that can be processed is limited by the device's GPU maximum texture size. For all devices older than the iPad 2, this is 2048x2048 pixels. For the iPad 2, Retina iPad, and the iPhone 4S, this is 4096x4096.

This presents a particular problem for the iPhone 4, where the new GPUImageStillCamera can capture still photos of a higher resolution than the device's GPU can support.

In order to support filtering larger images, a tiling mechanism will be needed to break these images into smaller chunks to be processed and then stitched together at a final stage.

fayfers commented 12 years ago

Hi, Brad. Are there any updates on tiling mechanism?