All pastes #640892 Raw Edit

Someone

public text v1 · immutable
#640892 ·published 2007-07-31 19:34 UTC
rendered paste body
    if( job->deinterlace )
    {        
        if ([fPicSettingDeinterlace intValue] == 1)
        {
            /* Run old deinterlacer if deinterlacing specified */
            hb_filter_deinterlace.settings = "-1"; 
            hb_list_add( job->filters, &hb_filter_deinterlace );
        }
        if ([fPicSettingDeinterlace intValue] == 2)
        {
            * Yadif mode 1 */
            hb_filter_deinterlace.settings = "1"; 
            hb_list_add( job->filters, &hb_filter_deinterlace );            
        }
        if ([fPicSettingDeinterlace intValue] == 3)
        {
            /* Yadif and Mcdeint */
            hb_filter_deinterlace.settings = "1:-1:1"; 
            hb_list_add( job->filters, &hb_filter_deinterlace );            
        }
        if ([fPicSettingDeinterlace intValue] == 4)
        {
            /* Yadif and Mcdeint Slow Modes*/
            hb_filter_deinterlace.settings = "3:-1:2"; 
            hb_list_add( job->filters, &hb_filter_deinterlace );            
        }
    }