registerProcessor is in PreviewAPI