[media] coda: disable reordering for baseline profile h.264 streams
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 3 Mar 2017 12:12:50 +0000 (09:12 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 13:06:26 +0000 (10:06 -0300)
commit691222713d43466c037b45993cd7ce9589c04536
tree1a988aa1bdebf731e93aed2e7b7bc639fa4dd26b
parent0eef89403ece8879c5159a5b70e95b3a853921f2
[media] coda: disable reordering for baseline profile h.264 streams

With reordering enabled, the sequence init in CODA960 firmware requests an
unreasonable number of internal frames for some baseline profile streams.
Disabling the reordering feature manually if baseline streams are detected
fixes this problem.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
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@s-opensource.com>
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda-common.c
drivers/media/platform/coda/coda-h264.c
drivers/media/platform/coda/coda.h