HWFC requires the source image is YUV422 1 plane or YUV420 2 plane.
Change-Id: I5dfeb95cd66a2e9ce5d7cb353a2b249fc469a825
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
if (fmt->chroma_hfactor == 2) {
/* YUV422 1-plane */
- if ((fmt->chroma_vfactor == 1) && (fmt->num_planes != 1))
+ if ((fmt->chroma_vfactor == 1) && (fmt->num_planes == 1))
return true;
/* YUV420 2-plane */
- if ((fmt->chroma_vfactor == 2) && (fmt->num_planes != 2))
+ if ((fmt->chroma_vfactor == 2) && (fmt->num_planes == 2))
return true;
}