initDecode

Initializes the decoding process with specified settings. Will be called on the decoding thread before any decode calls.