media: coda: set colorimetry on coded queue
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 27 Apr 2018 16:19:17 +0000 (12:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 9 May 2018 20:23:33 +0000 (16:23 -0400)
commit2c756c72c4cc8336033ad4a70f112f0658436ab2
tree3ce81c660d7a16a0612bb131f3f355e6536ad331
parent0f8529fd07f423786d5b83183ad3256424a176fa
media: coda: set colorimetry on coded queue

Do not set context colorimetry on the raw (OUTPUT) queue for encoders.
Always set colorimetry on the coded queue (CAPTURE for encoders, OUTPUT
for decoders).
This also skips propagation of capture queue format and selection
rectangle on S_FMT(OUTPUT) to the CAPTURE queue for encoders.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-common.c