On Wed, Aug 22, 2018 at 3:49 AM Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > > My basic idea was that you use a TPG state structure that contains the > desired output: the sensor starts with e.g. 720p using some bayer pixelformat, > the debayer module replaces the pixelformat with e.g. PIX_FMT_RGB32, a > grayscale filter replaces it with PI_FMT_GREY, and that's what the TPG for the > video device eventually will use to generate the video. > > This assumes of course that all the vimc blocks only do operations that can > be handled by the TPG. Depending on what the blocks will do the TPG might need > to be extended if a feature is missing. > Hi Hans, I start to work on this task but I have another question. I understand that the final image should have the correct format as if the frame was passing through the whole topology. But the operations itself doesn't needed to be done on each entity. For example, a scaled image will have deformations that will not be present if it is generated on the end of the pipeline with the final size. You just need the format, size and properties to be correct, do I got it right? Thanks Lucas.