Re: [PATCH v3 05/14] media: vimc: cap: refactor singleplanar as a subset of multiplanar

2019-04-24 Thread Helen Koike
On 4/24/19 10:56 AM, André Almeida wrote: > Since multiplanar is a superset of single planar formats, instead of > having different implementations for them, treat all formats as > multiplanar. If we need to work with single planar formats, convert them to > multiplanar (with num_planes = 1), re

[PATCH v3 05/14] media: vimc: cap: refactor singleplanar as a subset of multiplanar

2019-04-24 Thread André Almeida
Since multiplanar is a superset of single planar formats, instead of having different implementations for them, treat all formats as multiplanar. If we need to work with single planar formats, convert them to multiplanar (with num_planes = 1), re-use the multiplanar code, and transform them back to