BradLarson/GPUImage — pull request #641 by lajos (2012-11-14 04:49:58+00:00)
Title: added pixelFormat property to raw data input

Ability to specify input data format (BGRA or RGBA). Default behavior unchanged (uses BGRA).

Constants:

```
typedef enum {
GPUPixelFormatBGRA = GL_BGRA,
GPUPixelFormatRGBA = GL_RGBA
} GPUPixelFormat;
```

Property:

```
@property (readwrite, nonatomic) GPUPixelFormat pixelFormat;
```

Additional init method:

```
- (id)initWithBytes:(GLubyte *)bytesToUpload size:(CGSize)imageSize pixelFormat:(GPUPixelFormat)pixelFormat;

```