temporary hack to map the correct yuv format to the current (broken) mdp constants
This commit is contained in:
parent
48000e415a
commit
f238b9e88c
@ -124,8 +124,8 @@ static int get_format(int format) {
|
||||
case COPYBIT_FORMAT_RGB_888: return MDP_RGB_888;
|
||||
case COPYBIT_FORMAT_RGBA_8888: return MDP_RGBA_8888;
|
||||
case COPYBIT_FORMAT_BGRA_8888: return MDP_BGRA_8888;
|
||||
case COPYBIT_FORMAT_YCbCr_422_SP: return MDP_Y_CBCR_H2V1;
|
||||
case COPYBIT_FORMAT_YCbCr_420_SP: return MDP_Y_CBCR_H2V2;
|
||||
case COPYBIT_FORMAT_YCrCb_422_SP: return MDP_Y_CBCR_H2V1;
|
||||
case COPYBIT_FORMAT_YCrCb_420_SP: return MDP_Y_CBCR_H2V2;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user