diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-06 04:00:56 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-06 05:09:16 +0300 |
commit | 0fe713cf0c4d546c7a1c9bf48b813fa5349fe76c (patch) | |
tree | 0090cec25511097df3aaa4cf389e88b845a9f83e /.gitmodules | |
parent | 8b9a6329a3f723fbc59e09b992eef93135d2a328 (diff) |
dumbfb: Fix pitch for tri-planar formats
The BO pitches are unconditionally set to the frame buffer pitch, for
all planes. This is correct for semiplanar YUV formats, as they
subsample chroma horizontally by two but combined U and V in a single
plane, cancelling each other. For fully planar YUV formats, however, the
horizontal subsampling need to be taken into account to compute the
pitch. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions