commit | 4e447ff199cfc4bc04ddb515d3d9ab46bb19530a | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Thu Jul 16 13:19:37 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Jul 17 11:27:17 2015 -0300 |
tree | 07c658bc54c8ca342f935dfc8ce83a87a3d04d55 | |
parent | cde29ef313de391ec9a1e461458274623ab1eb87 [diff] |
[media] coda: move cache setup into coda9_set_frame_cache, also use it in start_encoding The frame cache should be set up correctly to encode NV12 source frames. This was not done before, so move the cache setup out of start_decoding into its own function and call it from both start_encoding and start_decoding. 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@osg.samsung.com>