Skip to content
Commit 4791bd7d authored by Steve Longerbeam's avatar Steve Longerbeam Committed by Philipp Zabel
Browse files

media: imx: Try colorimetry at both sink and source pads



Retask imx_media_fill_default_mbus_fields() to try colorimetry parameters,
renaming it to to imx_media_try_colorimetry(), and call it at both sink and
source pad try_fmt's. The unrelated check for uninitialized field value is
moved out to appropriate places in each subdev try_fmt.

The IC now supports Rec.709 and BT.601 Y'CbCr encoding, and both limited
and full range quantization for both YUV and RGB space, so allow those
for pipelines that route through the IC.

Signed-off-by: default avatarSteve Longerbeam <slongerbeam@gmail.com>
Acked-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 614014cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment