A method and system to determine optimum operating parameters for the startup phase of a welding-type process based on user-desired operating parameters of the post-startup or welding phase of the welding-type process are disclosed. During operation, the system obtains the plugin as a native code module and executes the native code module in a secure runtime environment. The deinterlace motion data is generated based on instantaneous deinterlace motion data generated by comparing an amount of motion for individual pixels of the picture of the plurality of pictures to a motion detection threshold, and also based on historic motion data that considers motion for at least three adjacent pictures of the plurality of pictures having the same oddeven polarity.