Doubling the number of planes in s_fmt() handler considers that the
number of buffers should be doubled the number of planes when back-
to-back compression is enabled. But it is implicitly configued during
qbuf(). Userspace qbufs double number of buffers than the number of
planes.
Change-Id: I70312ef199214cc3794c32ff2e8a719f5f11ffaf
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
pix_mp->plane_fmt[i + j].bytesperline *
SMFC_FMT_SEC_SIZE(pix_mp->height);
}
-
- pix_mp->num_planes *= 2;
}
return true;