image no pointers, define video decoder