fixed segfaults caused when DMA memory could not be allocated

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: encoder: fixed incorrect return values

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: print total size of framebuffers to log output

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: moved the MAX() expression for the framebuffer count to the decoder

it makes no sense to use it in the encoder, and only wastes DMA memory

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>