doc: add infrastructure diagram
encode: fix mistake on encoded data size
tests: do not set encoder param base on nothing
tests: change decode/h264encode name to yamidecode/yamiencode

vaapi has a test named h264encode, avoid conflict
doc: update infrastructure diagram
interface: remove config.h from headers

header file should NOT include config.h,
it may create different class interface between library and client.
add unit test, use md5 and psnr to test the validity of decode.
usage:
./unit_test.sh  /root/Videos/h264/Base_Ext_Main_profile/
./unit_test.sh  /root/Videos/vp8/vp8/
./unit_test.sh  /root/Videos/jpg/workdir.jpeg_dec/ /root/Videos/jpg/yuv/