I think you switched bayer pattern, I would write:
case DC1394_COLOR_FILTER_RGGB: debayerParams.filter = DC1394_COLOR_FILTER_GBRG; break; case DC1394_COLOR_FILTER_GBRG: debayerParams.filter = DC1394_COLOR_FILTER_RGGB; break; case DC1394_COLOR_FILTER_GRBG: debayerParams.filter = DC1394_COLOR_FILTER_BGGR; break; case DC1394_COLOR_FILTER_BGGR: debayerParams.filter = DC1394_COLOR_FILTER_GRBG; break; }