diff options
author | dynaflash <[email protected]> | 2009-08-26 16:50:51 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-08-26 16:50:51 +0000 |
commit | d9288ec957cd0bab391a8580dd2975498f4e467e (patch) | |
tree | 1cea63826227881637efc56b97fd81e27ab7c504 /macosx | |
parent | e1bd59b0d835296f141ea8b20a41f4c34506e3e6 (diff) |
MacGui: Picture Filters
- Re order NSPopupButton selections for Detelecine, Decomb, Deinterlace, and Denoise so the first three choices for each are ordered: Off, Custom, Default
- Change so off is "Off" instead of "None"
- NOTE: This *will* break any custom user presets that use these filters. You will need to recreate them. Built In Presets will be updated properly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2779 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 137 | ||||
-rw-r--r-- | macosx/HBPresets.m | 5 | ||||
-rw-r--r-- | macosx/HBQueueController.mm | 26 | ||||
-rw-r--r-- | macosx/PictureController.mm | 13 |
4 files changed, 94 insertions, 87 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index f7e79c484..72b23d181 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -3087,28 +3087,32 @@ bool one_burned = FALSE; /* Detelecine */ if ([fPictureController detelecine] == 1) { + /* use a custom detelecine string */ + hb_filter_detelecine.settings = (char *) [[fPictureController detelecineCustomString] UTF8String]; hb_list_add( job->filters, &hb_filter_detelecine ); } if ([fPictureController detelecine] == 2) { - /* use a custom detelecine string */ - hb_filter_detelecine.settings = (char *) [[fPictureController detelecineCustomString] UTF8String]; + /* Default */ hb_list_add( job->filters, &hb_filter_detelecine ); } + + + if ([fPictureController useDecomb] == 1) { /* Decomb */ + /* we add the custom string if present */ if ([fPictureController decomb] == 1) { - /* Run old deinterlacer fd by default */ - //hb_filter_decomb.settings = (char *) [[fPicSettingDecomb stringValue] UTF8String]; + /* use a custom decomb string */ + hb_filter_decomb.settings = (char *) [[fPictureController decombCustomString] UTF8String]; hb_list_add( job->filters, &hb_filter_decomb ); } - /* we add the custom string if present */ if ([fPictureController decomb] == 2) { - /* use a custom decomb string */ - hb_filter_decomb.settings = (char *) [[fPictureController decombCustomString] UTF8String]; + /* Run old deinterlacer fd by default */ + //hb_filter_decomb.settings = (char *) [[fPicSettingDecomb stringValue] UTF8String]; hb_list_add( job->filters, &hb_filter_decomb ); } } @@ -3118,53 +3122,55 @@ bool one_burned = FALSE; /* Deinterlace */ if ([fPictureController deinterlace] == 1) { + /* we add the custom string if present */ + hb_filter_deinterlace.settings = (char *) [[fPictureController deinterlaceCustomString] UTF8String]; + hb_list_add( job->filters, &hb_filter_deinterlace ); + } + else if ([fPictureController deinterlace] == 2) + { /* Run old deinterlacer fd by default */ hb_filter_deinterlace.settings = "-1"; hb_list_add( job->filters, &hb_filter_deinterlace ); } - else if ([fPictureController deinterlace] == 2) + else if ([fPictureController deinterlace] == 3) { /* Yadif mode 0 (without spatial deinterlacing.) */ hb_filter_deinterlace.settings = "2"; hb_list_add( job->filters, &hb_filter_deinterlace ); } - else if ([fPictureController deinterlace] == 3) + else if ([fPictureController deinterlace] == 4) { /* Yadif (with spatial deinterlacing) */ hb_filter_deinterlace.settings = "0"; hb_list_add( job->filters, &hb_filter_deinterlace ); } - else if ([fPictureController deinterlace] == 4) - { - /* we add the custom string if present */ - hb_filter_deinterlace.settings = (char *) [[fPictureController deinterlaceCustomString] UTF8String]; - hb_list_add( job->filters, &hb_filter_deinterlace ); - } + } /* Denoise */ - if ([fPictureController denoise] == 1) // Weak in popup + if ([fPictureController denoise] == 1) // custom in popup { - hb_filter_denoise.settings = "2:1:2:3"; + /* we add the custom string if present */ + hb_filter_denoise.settings = (char *) [[fPictureController denoiseCustomString] UTF8String]; hb_list_add( job->filters, &hb_filter_denoise ); } - else if ([fPictureController denoise] == 2) // Medium in popup + else if ([fPictureController denoise] == 2) // Weak in popup { - hb_filter_denoise.settings = "3:2:2:3"; + hb_filter_denoise.settings = "2:1:2:3"; hb_list_add( job->filters, &hb_filter_denoise ); } - else if ([fPictureController denoise] == 3) // Strong in popup + else if ([fPictureController denoise] == 3) // Medium in popup { - hb_filter_denoise.settings = "7:7:5:5"; + hb_filter_denoise.settings = "3:2:2:3"; hb_list_add( job->filters, &hb_filter_denoise ); } - else if ([fPictureController denoise] == 4) // custom in popup + else if ([fPictureController denoise] == 4) // Strong in popup { - /* we add the custom string if present */ - hb_filter_denoise.settings = (char *) [[fPictureController denoiseCustomString] UTF8String]; + hb_filter_denoise.settings = "7:7:5:5"; hb_list_add( job->filters, &hb_filter_denoise ); } + /* Deblock (uses pp7 default) */ /* NOTE: even though there is a valid deblock setting of 0 for the filter, for * the macgui's purposes a value of 0 actually means to not even use the filter @@ -3604,29 +3610,29 @@ bool one_burned = FALSE; /* Detelecine */ if ([[queueToApply objectForKey:@"PictureDetelecine"] intValue] == 1) { - //if ([queueToApply objectForKey:@"PictureDetelecineCustom"]) + /* use a custom detelecine string */ + hb_filter_detelecine.settings = (char *) [[queueToApply objectForKey:@"PictureDetelecineCustom"] UTF8String]; hb_list_add( job->filters, &hb_filter_detelecine ); } if ([[queueToApply objectForKey:@"PictureDetelecine"] intValue] == 2) { - /* use a custom detelecine string */ - hb_filter_detelecine.settings = (char *) [[queueToApply objectForKey:@"PictureDetelecineCustom"] UTF8String]; + /* Use libhb's default values */ hb_list_add( job->filters, &hb_filter_detelecine ); } if ([[queueToApply objectForKey:@"PictureDecombDeinterlace"] intValue] == 1) { /* Decomb */ + /* we add the custom string if present */ if ([[queueToApply objectForKey:@"PictureDecomb"] intValue] == 1) { - /* Run old deinterlacer fd by default */ + /* use a custom decomb string */ + hb_filter_decomb.settings = (char *) [[queueToApply objectForKey:@"PictureDecombCustom"] UTF8String]; hb_list_add( job->filters, &hb_filter_decomb ); } - /* we add the custom string if present */ if ([[queueToApply objectForKey:@"PictureDecomb"] intValue] == 2) { - /* use a custom decomb string */ - hb_filter_decomb.settings = (char *) [[queueToApply objectForKey:@"PictureDecombCustom"] UTF8String]; + /* Use libhb default */ hb_list_add( job->filters, &hb_filter_decomb ); } @@ -3637,54 +3643,55 @@ bool one_burned = FALSE; /* Deinterlace */ if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 1) { + /* we add the custom string if present */ + hb_filter_deinterlace.settings = (char *) [[queueToApply objectForKey:@"PictureDeinterlaceCustom"] UTF8String]; + hb_list_add( job->filters, &hb_filter_deinterlace ); + } + else if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 2) + { /* Run old deinterlacer fd by default */ hb_filter_deinterlace.settings = "-1"; hb_list_add( job->filters, &hb_filter_deinterlace ); } - else if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 2) + else if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 3) { /* Yadif mode 0 (without spatial deinterlacing.) */ hb_filter_deinterlace.settings = "2"; hb_list_add( job->filters, &hb_filter_deinterlace ); } - else if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 3) + else if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 4) { /* Yadif (with spatial deinterlacing) */ hb_filter_deinterlace.settings = "0"; hb_list_add( job->filters, &hb_filter_deinterlace ); } - else if ([[queueToApply objectForKey:@"PictureDeinterlace"] intValue] == 4) - { - /* we add the custom string if present */ - hb_filter_deinterlace.settings = (char *) [[queueToApply objectForKey:@"PictureDeinterlaceCustom"] UTF8String]; - hb_list_add( job->filters, &hb_filter_deinterlace ); - } } /* Denoise */ - if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 1) // Weak in popup + if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 1) // Custom in popup { - hb_filter_denoise.settings = "2:1:2:3"; + /* we add the custom string if present */ + hb_filter_denoise.settings = (char *) [[queueToApply objectForKey:@"PictureDenoiseCustom"] UTF8String]; hb_list_add( job->filters, &hb_filter_denoise ); } - else if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 2) // Medium in popup + else if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 2) // Weak in popup { - hb_filter_denoise.settings = "3:2:2:3"; + hb_filter_denoise.settings = "2:1:2:3"; hb_list_add( job->filters, &hb_filter_denoise ); } - else if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 3) // Strong in popup + else if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 3) // Medium in popup { - hb_filter_denoise.settings = "7:7:5:5"; + hb_filter_denoise.settings = "3:2:2:3"; hb_list_add( job->filters, &hb_filter_denoise ); } - else if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 4) // Custom in popup + else if ([[queueToApply objectForKey:@"PictureDenoise"] intValue] == 4) // Strong in popup { - /* we add the custom string if present */ - hb_filter_denoise.settings = (char *) [[queueToApply objectForKey:@"PictureDenoiseCustom"] UTF8String]; + hb_filter_denoise.settings = "7:7:5:5"; hb_list_add( job->filters, &hb_filter_denoise ); } + /* Deblock (uses pp7 default) */ /* NOTE: even though there is a valid deblock setting of 0 for the filter, for * the macgui's purposes a value of 0 actually means to not even use the filter @@ -3836,12 +3843,10 @@ bool one_burned = FALSE; otherwise, just rip the queue */ if(fPendingCount == 0) { - [self writeToActivityLog: "Rip: No pending jobs, so sending this one to doAddToQueue"]; [self doAddToQueue]; } /* go right to processing the new queue encode */ - [self writeToActivityLog: "Rip: Going right to performNewQueueScan"]; [self performNewQueueScan:[[QueueFileArray objectAtIndex:currentQueueEncodeIndex] objectForKey:@"SourcePath"] scanTitleNum:[[[QueueFileArray objectAtIndex:currentQueueEncodeIndex] objectForKey:@"TitleNumber"]intValue]]; } @@ -4714,11 +4719,11 @@ the user is using "Custom" settings by determining the sender*/ NSString *videoFilters; videoFilters = @""; /* Detelecine */ - if ([fPictureController detelecine] == 1) + if ([fPictureController detelecine] == 2) { videoFilters = [videoFilters stringByAppendingString:@" - Detelecine (Default)"]; } - else if ([fPictureController detelecine] == 2) + else if ([fPictureController detelecine] == 1) { videoFilters = [videoFilters stringByAppendingString:[NSString stringWithFormat:@" - Detelecine (%@)",[fPictureController detelecineCustomString]]]; } @@ -4727,11 +4732,11 @@ the user is using "Custom" settings by determining the sender*/ if ([fPictureController useDecomb] == 1) { /* Decomb */ - if ([fPictureController decomb] == 1) + if ([fPictureController decomb] == 2) { videoFilters = [videoFilters stringByAppendingString:@" - Decomb (Default)"]; } - else if ([fPictureController decomb] == 2) + else if ([fPictureController decomb] == 1) { videoFilters = [videoFilters stringByAppendingString:[NSString stringWithFormat:@" - Decomb (%@)",[fPictureController decombCustomString]]]; } @@ -4748,19 +4753,19 @@ the user is using "Custom" settings by determining the sender*/ fTitle->job->deinterlace = 0; } - if ([fPictureController deinterlace] == 1) + if ([fPictureController deinterlace] == 2) { videoFilters = [videoFilters stringByAppendingString:@" - Deinterlace (Fast)"]; } - else if ([fPictureController deinterlace] == 2) + else if ([fPictureController deinterlace] == 3) { videoFilters = [videoFilters stringByAppendingString:@" - Deinterlace (Slow)"]; } - else if ([fPictureController deinterlace] == 3) + else if ([fPictureController deinterlace] == 4) { videoFilters = [videoFilters stringByAppendingString:@" - Deinterlace (Slower)"]; } - else if ([fPictureController deinterlace] == 4) + else if ([fPictureController deinterlace] == 1) { videoFilters = [videoFilters stringByAppendingString:[NSString stringWithFormat:@" - Deinterlace (%@)",[fPictureController deinterlaceCustomString]]]; } @@ -4768,19 +4773,19 @@ the user is using "Custom" settings by determining the sender*/ /* Denoise */ - if ([fPictureController denoise] == 1) + if ([fPictureController denoise] == 2) { videoFilters = [videoFilters stringByAppendingString:@" - Denoise (Weak)"]; } - else if ([fPictureController denoise] == 2) + else if ([fPictureController denoise] == 3) { videoFilters = [videoFilters stringByAppendingString:@" - Denoise (Medium)"]; } - else if ([fPictureController denoise] == 3) + else if ([fPictureController denoise] == 4) { videoFilters = [videoFilters stringByAppendingString:@" - Denoise (Strong)"]; } - else if ([fPictureController denoise] == 4) + else if ([fPictureController denoise] == 1) { videoFilters = [videoFilters stringByAppendingString:[NSString stringWithFormat:@" - Denoise (%@)",[fPictureController denoiseCustomString]]]; } @@ -6616,7 +6621,7 @@ return YES; [fPictureController setDecomb:[[chosenPreset objectForKey:@"PictureDecomb"] intValue]]; /* if we are using "Custom" in the decomb setting, also set the custom string*/ - if ([[chosenPreset objectForKey:@"PictureDecomb"] intValue] == 2) + if ([[chosenPreset objectForKey:@"PictureDecomb"] intValue] == 1) { [fPictureController setDecombCustomString:[chosenPreset objectForKey:@"PictureDecombCustom"]]; } @@ -6631,7 +6636,7 @@ return YES; [fPictureController setUseDecomb:0]; [fPictureController setDeinterlace:[[chosenPreset objectForKey:@"PictureDeinterlace"] intValue]]; /* if we are using "Custom" in the deinterlace setting, also set the custom string*/ - if ([[chosenPreset objectForKey:@"PictureDeinterlace"] intValue] == 4) + if ([[chosenPreset objectForKey:@"PictureDeinterlace"] intValue] == 1) { [fPictureController setDeinterlaceCustomString:[chosenPreset objectForKey:@"PictureDeinterlaceCustom"]]; } @@ -6644,7 +6649,7 @@ return YES; { [fPictureController setDetelecine:[[chosenPreset objectForKey:@"PictureDetelecine"] intValue]]; /* if we are using "Custom" in the detelecine setting, also set the custom string*/ - if ([[chosenPreset objectForKey:@"PictureDetelecine"] intValue] == 2) + if ([[chosenPreset objectForKey:@"PictureDetelecine"] intValue] == 1) { [fPictureController setDetelecineCustomString:[chosenPreset objectForKey:@"PictureDetelecineCustom"]]; } @@ -6659,7 +6664,7 @@ return YES; { [fPictureController setDenoise:[[chosenPreset objectForKey:@"PictureDenoise"] intValue]]; /* if we are using "Custom" in the denoise setting, also set the custom string*/ - if ([[chosenPreset objectForKey:@"PictureDenoise"] intValue] == 4) + if ([[chosenPreset objectForKey:@"PictureDenoise"] intValue] == 1) { [fPictureController setDenoiseCustomString:[chosenPreset objectForKey:@"PictureDenoiseCustom"]]; } diff --git a/macosx/HBPresets.m b/macosx/HBPresets.m index 9092f4bd6..9b68e9135 100644 --- a/macosx/HBPresets.m +++ b/macosx/HBPresets.m @@ -636,11 +636,12 @@ /* Explicitly set the filters for built-in presets */ [preset setObject:[NSNumber numberWithInt:1] forKey:@"UsesPictureFilters"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"PictureDecombDeinterlace"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureDeinterlace"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureDenoise"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureDeblock"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"PictureDetelecine"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"PictureDecomb"]; + [preset setObject:[NSNumber numberWithInt:2] forKey:@"PictureDetelecine"]; + [preset setObject:[NSNumber numberWithInt:2] forKey:@"PictureDecomb"]; /* Set crop settings here */ /* The Auto Crop Matrix in the Picture Window autodetects differences in crop settings */ diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index 02e408f92..bcc6adaf6 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -1160,12 +1160,12 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; if( [[item objectForKey:@"PictureDetelecine"] intValue] == 1) { pictureFiltersPresent = YES; - pictureFilters = [pictureFilters stringByAppendingString:@" - Detelecine (Default)"]; + pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Detelecine (%@)",[item objectForKey:@"PictureDetelecineCustom"]]]; } else if( [[item objectForKey:@"PictureDetelecine"] intValue] == 2) { pictureFiltersPresent = YES; - pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Detelecine (%@)",[item objectForKey:@"PictureDetelecineCustom"]]]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Detelecine (Default)"]; } if( [[item objectForKey:@"PictureDecombDeinterlace"] intValue] == 1) @@ -1176,12 +1176,12 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; if( [[item objectForKey:@"PictureDecomb"] intValue] == 1) { pictureFiltersPresent = YES; - pictureFilters = [pictureFilters stringByAppendingString:@" - Decomb (Default)"]; + pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Decomb (%@)",[item objectForKey:@"PictureDecombCustom"]]]; } - if( [[item objectForKey:@"PictureDecomb"] intValue] == 2) + else if( [[item objectForKey:@"PictureDecomb"] intValue] == 2) { pictureFiltersPresent = YES; - pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Decomb (%@)",[item objectForKey:@"PictureDecombCustom"]]]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Decomb (Default)"]; } } } @@ -1192,19 +1192,19 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; pictureFiltersPresent = YES; if ([[item objectForKey:@"PictureDeinterlace"] intValue] == 1) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Deinterlace (Fast)"]; + pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Deinterlace (%@)",[item objectForKey:@"PictureDeinterlaceCustom"]]]; } else if ([[item objectForKey:@"PictureDeinterlace"] intValue] == 2) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Deinterlace (Slow)"]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Deinterlace (Fast)"]; } else if ([[item objectForKey:@"PictureDeinterlace"] intValue] == 3) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Deinterlace (Slower)"]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Deinterlace (Slow)"]; } else if ([[item objectForKey:@"PictureDeinterlace"] intValue] == 4) { - pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Deinterlace (%@)",[item objectForKey:@"PictureDeinterlaceCustom"]]]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Deinterlace (Slower)"]; } } @@ -1214,19 +1214,19 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; pictureFiltersPresent = YES; if ([[item objectForKey:@"PictureDenoise"] intValue] == 1) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Denoise (Weak)"]; + pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Denoise (%@)",[item objectForKey:@"PictureDenoiseCustom"]]]; } else if ([[item objectForKey:@"PictureDenoise"] intValue] == 2) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Denoise (Medium)"]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Denoise (Weak)"]; } else if ([[item objectForKey:@"PictureDenoise"] intValue] == 3) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Denoise (Strong)"]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Denoise (Medium)"]; } else if ([[item objectForKey:@"PictureDenoise"] intValue] == 4) { - pictureFilters = [pictureFilters stringByAppendingString:[NSString stringWithFormat:@" - Denoise (%@)",[item objectForKey:@"PictureDenoiseCustom"]]]; + pictureFilters = [pictureFilters stringByAppendingString:@" - Denoise (Strong)"]; } } diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm index 38e312ee4..307962aeb 100644 --- a/macosx/PictureController.mm +++ b/macosx/PictureController.mm @@ -1133,36 +1133,37 @@ are maintained across different sources */ /* we use a popup to show the detelecine settings */ [fDetelecinePopUp removeAllItems]; [fDetelecinePopUp addItemWithTitle: @"Off"]; - [fDetelecinePopUp addItemWithTitle: @"Default"]; [fDetelecinePopUp addItemWithTitle: @"Custom"]; + [fDetelecinePopUp addItemWithTitle: @"Default"]; [fDetelecinePopUp selectItemAtIndex: fPictureFilterSettings.detelecine]; [self modeDecombDeinterlaceSliderChanged:nil]; /* we use a popup to show the decomb settings */ [fDecombPopUp removeAllItems]; [fDecombPopUp addItemWithTitle: @"Off"]; - [fDecombPopUp addItemWithTitle: @"Default"]; [fDecombPopUp addItemWithTitle: @"Custom"]; + [fDecombPopUp addItemWithTitle: @"Default"]; + [fDecombPopUp selectItemAtIndex: fPictureFilterSettings.decomb]; /* we use a popup to show the deinterlace settings */ [fDeinterlacePopUp removeAllItems]; - [fDeinterlacePopUp addItemWithTitle: @"None"]; + [fDeinterlacePopUp addItemWithTitle: @"Off"]; + [fDeinterlacePopUp addItemWithTitle: @"Custom"]; [fDeinterlacePopUp addItemWithTitle: @"Fast"]; [fDeinterlacePopUp addItemWithTitle: @"Slow"]; [fDeinterlacePopUp addItemWithTitle: @"Slower"]; - [fDeinterlacePopUp addItemWithTitle: @"Custom"]; /* Set deinterlaces level according to the integer in the main window */ [fDeinterlacePopUp selectItemAtIndex: fPictureFilterSettings.deinterlace]; /* we use a popup to show the denoise settings */ [fDenoisePopUp removeAllItems]; - [fDenoisePopUp addItemWithTitle: @"None"]; + [fDenoisePopUp addItemWithTitle: @"Off"]; + [fDenoisePopUp addItemWithTitle: @"Custom"]; [fDenoisePopUp addItemWithTitle: @"Weak"]; [fDenoisePopUp addItemWithTitle: @"Medium"]; [fDenoisePopUp addItemWithTitle: @"Strong"]; - [fDenoisePopUp addItemWithTitle: @"Custom"]; /* Set denoises level according to the integer in the main window */ [fDenoisePopUp selectItemAtIndex: fPictureFilterSettings.denoise]; |