Moved int declarations outside of for loops, removed a dependency on y in RGBtoYCC, started pipelining RGBtoYCC, made InttoPixel use a pointer to an int rather than a copy of an int.