Make dummy resamplers for all cases and only execute the horizontal resampler instead of crashing. See https://bugzilla.gnome.org/show_bug.cgi?id=722742
Add functions to up/downsample chroma in horizontal and vertical directions. These functions work in-placeand are meant to be used on the input/output of the pack/unpack functions.