dxva: fix crash on close. device must be null after close
add dxva2 decoder. still have bugs

bugs:
1. memory leak
2. sometimes crash. can not open 2 players, or other players using hw.
Assertion abs(src_linesize) >= bytewidth failed at libavutil/imgutils.c:
fix include
typedef AVPixelFormat. no enum