add support for YCbCr (as opposed to YCrCb) to copybit
This commit is contained in:
parent
af7751fbff
commit
a5ffced80a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user