]> git.baikalelectronics.ru Git - kernel.git/commit
[media] coda: add sequence counter offset
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 11 Jul 2014 09:36:33 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 15:09:01 +0000 (12:09 -0300)
commiteb2bb28f78099083255f4a04268a67fe358ba533
tree4b4d48878d7bb2cce8c27ac8c24aa8ed44f645b3
parent171a270019372c2ba23efce3df73ebbe20be2cf4
[media] coda: add sequence counter offset

The coda h.264 decoder also counts PIC_RUNs where no frame was decoded but
a frame was rotated out / marked as ready to be displayed. This causes an
offset between the incoming encoded frame's sequence number and the decode
sequence number returned by the coda. This patch introduces a sequence
counter offset variable to keep track of the difference.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c