diff options
author | jstebbins <[email protected]> | 2014-07-21 15:01:13 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-07-21 15:01:13 +0000 |
commit | 0b297972d7bdd4448f29db4e06a1d68af74bfab9 (patch) | |
tree | 332d13f3b4ff89da18d996dc03a26d17ca18b90a /gtk/src/ghb.ui | |
parent | 8eba50b3ff98e419cad4cc1753877292c82b21dd (diff) |
LinGui/CLI/libhb: add nlmeans denoise filter to lingui
Move nlmeans preset&tune parsing from cli to libhb
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6239 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghb.ui')
-rw-r--r-- | gtk/src/ghb.ui | 275 |
1 files changed, 172 insertions, 103 deletions
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index ca0284495..e4089c5b6 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -1619,9 +1619,9 @@ This allows a player to initiate playback before downloading the entire file.</p </child> </object> <packing> - <property name="expand">True</property> + <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> <child> @@ -2941,11 +2941,10 @@ This allows a player to initiate playback before downloading the entire file.</p <property name="can_focus">False</property> <property name="spacing">16</property> <child> - <object class="GtkBox" id="vbox8"> - <property name="orientation">vertical</property> + <object class="GtkGrid" id="table90"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="column_spacing">5</property> <child> <object class="GtkCheckButton" id="VideoGrayScale"> <property name="label" translatable="yes">Grayscale</property> @@ -2959,108 +2958,43 @@ This allows a player to initiate playback before downloading the entire file.</p <signal name="toggled" handler="setting_widget_changed_cb" swapped="no"/> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="top_attach">0</property> + <property name="left_attach">0</property> + <property name="width">2</property> + <property name="height">1</property> </packing> </child> <child> - <object class="GtkGrid" id="table90"> + <object class="GtkLabel" id="label41"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="column_spacing">5</property> - <child> - <placeholder/> - </child> - <child> - <object class="GtkLabel" id="label41"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Deblock:</property> - </object> - <packing> - <property name="top_attach">0</property> - <property name="left_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkScale" id="PictureDeblock"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">The deblocking filter removes a common type of compression artifact. - If your source exhibits 'blockiness', this filter may help clean it up.</property> - <property name="adjustment">adjustment20</property> - <property name="digits">0</property> - <property name="value_pos">right</property> - <signal name="format-value" handler="format_deblock_cb" swapped="no"/> - <signal name="value-changed" handler="setting_widget_changed_cb" swapped="no"/> - </object> - <packing> - <property name="top_attach">0</property> - <property name="left_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label32"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Denoise:</property> - </object> - <packing> - <property name="top_attach">1</property> - <property name="left_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkComboBox" id="PictureDenoise"> - <property name="valign">GTK_ALIGN_CENTER</property> - <property name="width_request">100</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="tooltip_text" translatable="yes">The denoise filter is a low pass filter that removes noise. - Film grain and other types of high frequency noise are difficult to compress. - Using this filter on such sources can result in smaller file sizes.</property> - <signal name="changed" handler="setting_widget_changed_cb" swapped="no"/> - </object> - <packing> - <property name="top_attach">1</property> - <property name="left_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="PictureDenoiseCustom"> - <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Custom denoise filter string format - - SpatialLuma:SpatialChroma:TemporalLuma:TemporalChroma</property> - <property name="width_chars">8</property> - <property name="primary_icon_activatable">False</property> - <property name="secondary_icon_activatable">False</property> - <signal name="changed" handler="setting_widget_changed_cb" swapped="no"/> - </object> - <packing> - <property name="top_attach">2</property> - <property name="left_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> + <property name="xalign">0</property> + <property name="label" translatable="yes">Deblock:</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="top_attach">1</property> + <property name="left_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkScale" id="PictureDeblock"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes">The deblocking filter removes a common type of compression artifact. + If your source exhibits 'blockiness', this filter may help clean it up.</property> + <property name="adjustment">adjustment20</property> + <property name="digits">0</property> + <property name="value_pos">right</property> + <signal name="format-value" handler="format_deblock_cb" swapped="no"/> + <signal name="value-changed" handler="setting_widget_changed_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">1</property> + <property name="left_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> </packing> </child> </object> @@ -3072,6 +3006,136 @@ This allows a player to initiate playback before downloading the entire file.</p </packing> </child> <child> + <object class="GtkGrid" id="table1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">5</property> + <child> + <object class="GtkLabel" id="label32"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Denoise Filter:</property> + </object> + <packing> + <property name="top_attach">1</property> + <property name="left_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="PictureDenoiseFilter"> + <property name="valign">GTK_ALIGN_CENTER</property> + <property name="width_request">100</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="tooltip_text" translatable="yes">The denoise filter is a low pass filter that removes noise. + Film grain and other types of high frequency noise are difficult to compress. + Using this filter on such sources can result in smaller file sizes.</property> + <signal name="changed" handler="setting_widget_changed_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">1</property> + <property name="left_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="PictureDenoisePresetLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Denoise Preset:</property> + </object> + <packing> + <property name="top_attach">2</property> + <property name="left_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="PictureDenoisePreset"> + <property name="valign">GTK_ALIGN_CENTER</property> + <property name="width_request">100</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="tooltip_text" translatable="yes">The denoise filter is a low pass filter that removes noise. + Film grain and other types of high frequency noise are difficult to compress. + Using this filter on such sources can result in smaller file sizes.</property> + <signal name="changed" handler="setting_widget_changed_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">2</property> + <property name="left_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="PictureDenoiseTuneLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Denoise Tune:</property> + </object> + <packing> + <property name="top_attach">3</property> + <property name="left_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="PictureDenoiseTune"> + <property name="valign">GTK_ALIGN_CENTER</property> + <property name="width_request">100</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="tooltip_text" translatable="yes">The denoise filter is a low pass filter that removes noise. + Film grain and other types of high frequency noise are difficult to compress. + Using this filter on such sources can result in smaller file sizes.</property> + <signal name="changed" handler="setting_widget_changed_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">3</property> + <property name="left_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="PictureDenoiseCustom"> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes">Custom denoise filter string format + + SpatialLuma:SpatialChroma:TemporalLuma:TemporalChroma</property> + <property name="width_chars">8</property> + <property name="primary_icon_activatable">False</property> + <property name="secondary_icon_activatable">False</property> + <signal name="changed" handler="setting_widget_changed_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">3</property> + <property name="left_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">2</property> + <property name="position">1</property> + </packing> + </child> + <child> <object class="GtkGrid" id="table10"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -3284,7 +3348,7 @@ This allows a player to initiate playback before downloading the entire file.</p <property name="expand">False</property> <property name="fill">True</property> <property name="padding">2</property> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> </object> @@ -6588,6 +6652,11 @@ This allows a player to initiate playback before downloading the entire file.</p </packing> </child> </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> </child> <child> <object class="GtkAlignment" id="alignment66"> @@ -6638,7 +6707,7 @@ This allows a player to initiate playback before downloading the entire file.</p <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">5</property> + <property name="position">3</property> </packing> </child> <child> @@ -6660,7 +6729,7 @@ This allows a player to initiate playback before downloading the entire file.</p <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">6</property> + <property name="position">4</property> </packing> </child> </object> |