vpu: framebuffers: renamed init_info <-> params conversion functions

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
ipu: wscript does not need to check for linux/mxcfb.h

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

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
eglvivsink: added pixel format support checks to wscript

older Vivante drivers do not support some formats

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: begun work on encoder

encoder base class + h264 encoder element written

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: encoder: fixed offsets and phys addresses

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: renamed buffer_pool to fb_buffer_pool

this makes it clearer that it is not a generic VPU buffer pool

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Started refactoring allocation and buffer pool code

The current code uses several allocators and buffer pools. This commit
establishes one common allocator for physical memory blocks, and one
buffer pool that can be used with it. The result is better code reuse,
less code, and buffer pool & allocator behavior that is more conformant
to the GStreamer design.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
further refactoring: common/alloc.h replaced by GstAllocator derivatives

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: encoder: added internal buffer pool

This pool is used when the upstream data is not physically contiguous.
The pool then produces a buffer with a physical memory block, and the
incoming frame is copied into it.

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