vpu: encoder: small cleanup + h264 encoder now copies headers for keyframes

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: encoder: generate two I-frames for each force keyframe bit set

This fixes problems with h264parse; other encoders such as x264enc too
generate two I-frames instead of just one

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: encoder: fixed h264 output caps

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

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
vpu: fb_bufferpool: fixed incorrect memcpy calls in set_buffer_contents()

This caused the output to have a greenish tint

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Merge pull request #1 from dv1/master

ccc