more changes for async picture decode support