add support for YCbCr (as opposed to YCrCb) to copybit

This commit is contained in:
Mathias Agopian 2010-02-17 18:02:17 -08:00
parent af7751fbff
commit a5ffced80a

View File

@ -126,6 +126,8 @@ static int get_format(int format) {
case COPYBIT_FORMAT_BGRA_8888: return MDP_BGRA_8888;
case COPYBIT_FORMAT_YCrCb_422_SP: return MDP_Y_CBCR_H2V1;
case COPYBIT_FORMAT_YCrCb_420_SP: return MDP_Y_CBCR_H2V2;
case COPYBIT_FORMAT_YCbCr_422_SP: return MDP_Y_CRCB_H2V1;
case COPYBIT_FORMAT_YCbCr_420_SP: return MDP_Y_CRCB_H2V2;
}
return -1;
}