log: add function name and line number
log: add scopedlogger for function
common: shortcuts for smart ptr
buf&surface: add smart ptr support
vaapitype.h: add high and constrained baseline
vaapipicture: move picture type to vaapitype since encoder need it
VideoEncoderDef.h: add va.h to make it self contain
VideoEncoderDef.h: add ENCODE_BUFFER_NO_MORE
VideoEncoderDef.h: add width back to fix compile
codecparser: add bitwriter
h264dec: fix leak of surface bug.

 when a picture is not a reference frame and dpb is full, decoder outputs the picture directly.
 But the DECODING state of surface, current frame store, and current picture haven't been cleared.

Signed-off-by: Zhong Cong <congx.zhong@intel.com>
decoderbase: fix new[] free mismatch
scopedlogger: add license header
encoder: init version, include h264
host: remove private code
jpegdec/jpegparse: fix issues to make klockwork happy
h264dec: VaapiFrameStore reset to original code
h264dec: interlace fix for immediate render B frame

A non-ref B field may output directly without adding to DPB,
however, we need wait until the other filed is ready as well.
so we out this B frame until next frame comes
configure: add build option for each codec

all codecs are built by default,
you can explicitly disable one (for example jpegdec) by '--enable-jpegdec=no'
fix mistake on jpeg mimetype: image/jpeg
add for test short_term reference.

Signed-off-by: Zhong Cong <congx.zhong@intel.com>