h264dec: revert the above commit

the previous patch doesn't work for v4l2 wrapper;
since v4l2 wrapper try to use the frame resolution before
the surface has a valid frame.
decode: differentiate frame size and surface size in VideoConfigBuffer & VideoFormatInfo
v4l2: fix some regression in encode input buffer change

set encode input buffer recyclable after encode
always set buf.type etc before DQBUF
configure: check minium version vaapi support
jpegdec: fix and more file ext in decodeinput
tests: Fix static storage initializations

make[2]: Entering directory `/home/tiago/git/libyami/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../interface -I/home/tiago/install/include     -I.. -I../interface -I/home/tiago/install/include    -g3 -O0 -MT gles2_help.o -MD -MP -MF .deps/gles2_help.Tpo -c -o gles2_help.o `test -f './egl/gles2_help.c' || echo './'`./egl/gles2_help.c
./egl/gles2_help.c: In function ‘drawTextures’:
./egl/gles2_help.c:171:5: error: initializer element is not constant
     static int rectSize1 = maxRectSize;
     ^
./egl/gles2_help.c:172:5: error: initializer element is not constant
     static int rectSize2 = minRectSize;
     ^
tests: Improve output messages in case of error
dma_buf: some fix for dma_buf support

'-m 4' shows blank image though there is not any error from glGetError(),
maybe still my mistake, maybe some issue in mesa.

https://github.com/halleyzhao/yami-share/blob/master/set-yami-mesa.env
version: increase version to 0.1.3

- do not use "-version-info":
  it is autoconf version system and define well for api compatibility.
  however, it doesn't match pkg number and is complicated.
- use simple "-version-number":
  the number can match to pkg version.
add encode test.
add recursion test, you can test h264,vp8,jpg decode and h264 encode one time.