Adaptive Lossless Prediction

This post demonstrates a C++ implementation of an Adaptive Lossless Prediction by Jovanovic and Lorentz.

SpriteKit Repeat Shader

How does one create a repeating tiled image in SpriteKit? This post shows how to create a repeated tile node without wasting huge amounts of memory ...

SpriteKit Desaturation Shader

Apple's SpriteKit is a high performance composition framework that makes it easier to implement 2D games. This post will demonstrate the new SpriteKit custom shader functionality ...

Alpha Channel vs Green Screen

How does video encoding using a green screen compare to an alpha channel? This post dives deep into the details of each approach ...

C++ impl of DivQuant clustering

DivQuant is a fast clustering algorithm that works with large datasets. This post describes how DivQuant can be used to sort image colors ...

C++ impl of GVM clustering

GVM is a fast clustering algorithm that works with large datasets. This post describes a new C+++ implementation of GVM useful for sorting image pixels ...

Grayscale Image Compression w Zpaq

Zpaq is a general purpose data compression technology that can be applied to image compression ...

OpenCV 3D Histogram based image segmentation

OpenCV is an impressive library. This post demonstrates a program to automatically segment images using 3D histogram backprojection with OpenCV...

Using AVPlayerViewController for iOS8

SunSpot is an iOS 8 app that demonstrates playback with AVKit with a 1080p video ...

Loading an OpenGL iOS Texture Cache

This post shows how to write into an OpenGL texture cache using OpenGL ES 2.0 and GLKit Frameworks on iOS ...

iOS OpenGL Color Cycle effect with 8 bit palette

This post provides an example Xcode project that implements a fast texture colorize render using an 8 bit palette with OpenGL ES 2.0 and GLKit ...

ARM asm timing framework for iOS

In this post, a framework for comparing execution times of ARM assembly implementations is presented...

Encoding h.264 for iOS with main and high profile

In this post, the focus is on encoding video for iOS devices with the h.264 main and high profiles. Typically, an video encoded for iOS would target the baseline profile...

Seamless video looping on iOS

A difficult problem that developers often run into with iOS is how to loop videos. Using AVPlayer does not work. Well, it sort of works, but the results you end up with do not look professional...

Load OpenGL textures with alpha channel on iOS

How does one send multiple textures from a movie to OpenGL? That is a hard enough problem, but now make it even harder by adding a requirement that the textures include an alpha channel...

New animated GIF decoder for AVAnimator

The AVAnimator library for iOS makes it easy to implement non-trivial video in an iPhone or iPad app. Supported video formats include APNG, MOV (h.264), and MVID, but not animated GIF...

Video and Memory usage on iOS devices

Today's post is all about video and memory usage on iOS devices. This post will focus on how video is represented in memory and how much memory is required to hold all the data contained in a video.

h.264 video with an alpha channel

Today's post is about h.264 video and how an iOS developer can incorporate h.264 video with an alpha channel...

Pixel binary layout w premultiplied alpha

In this post, premultiplication of the RGB components will be covered...

Pixel binary layout w alpha

This post will focus on pixels with an alpha component. A pixel with no alpha component is stored as RGB. When a pixel has an alpha component, it is stored as RGBA...

Pixel binary layout

This post is about pixels. A pixel represents a color that is displayed on the computer screen...