mmal/codec: Optimise buffer allocation
commitf9d9d929cfba8ba4a38ceba93677a63f28ef9c2d
authorJulian Scheel <julian@jusst.de>
Thu, 19 Oct 2017 09:23:05 +0000 (19 11:23 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 19 Oct 2017 09:38:18 +0000 (19 11:38 +0200)
tree91665b897fe16184a3e32d55db43eaa04dfd6322
parent796a027b1be141f0f0ba65ef2d69c1caaebf8b9d
mmal/codec: Optimise buffer allocation

Reduce the number of extra buffers, which effectively controls the size
of the allocated picture pool inside the codec.
At the same time increase the input buffer count, so that it is big
enough to contain all possibly sent pictures from the vout.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/hw/mmal/codec.c