global locking scaffolding
remove static from functions in vdpau-soft.c
test-006: fix wrong failure caused by too early vdpdevice destroy
vdpau-soft.h: prototypes
add locking wrap-up functions
use global locking wrapper functions