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>