commit | 697a6d2387692c7f9c94f3bfb3dac474aa840f02 | [log] [tgz] |
---|---|---|
author | Katsuya Matsubara <matsu@igel.co.jp> | Tue Apr 23 07:51:37 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Jun 08 21:50:45 2013 -0300 |
tree | 592e39902a026c0426a2c58ea6cf02fa011404f5 | |
parent | 6abb3cf2c34554590791b7486e0e32b291feacc4 [diff] |
[media] sh_veu: fix the buffer size calculation The 'bytesperline' value only indicates the stride of the Y plane if the color format is planar, such as NV12. When calculating the total plane size, the size of CbCr plane must also be considered. Signed-off-by: Katsuya Matsubara <matsu@igel.co.jp> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>