media: i2c: mt9p031: HFLIP/VFLIP changes format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent

In the mt9p031 driver, the picture can be flipped either horizontally
or vertically by using the according V4L2 controls. This can be done
at runtime.
I have noticed, that flipping the picture will change the bayer-pattern.
So if I flip horizontally and vertically to get a 180 degree rotation
the bayer pattern changes from
V4L2_MBUS_FMT_SGRBG12_1X12
to
V4L2_MBUS_FMT_SGBRG12_1X12
I'm not sure how the patch should look like...
The format code could be adapted accordingly to the flipping, but
how does the userspace notices this change? The user could issue
another get_format. But what about the omap3isp-pipe?
Concrete:
What should I do to configure a streaming pipe with a flipped image?
Flip the image on the v4l-subdev and then build the pipe?
Is there a chance to propagate the format change through the pipe
during streaming?

Thanks for your clarification!

Regards,
Florian

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux