summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-02-10 22:31:26 +0000
committerdynaflash <[email protected]>2009-02-10 22:31:26 +0000
commita0ae27ea704a01f788c2137a45c5732081604d6a (patch)
treefb4a4dbcf3c7563829250735ea5ea4f827eb133f /macosx/Controller.h
parent2be7a202c82f3ec2ba2e03ce4a8b1c0720c1f8ee (diff)
MacGui: Constant Quality Slider now QP/RF based.
- Constant Quality Slider now uses QP/RF values instead of the long maligned % scale. - Nearest percentage is also shown for reference. -- For reference, PercentRFConversion on the wiki is a table of corresponding values for the old and new scales. - Slider changes scale base on the chosen encoder. -- x264: 0-51 -- FFmpeg and Xvid: 1-31 -- Theora: 0-63 - x264 Specific - Slider allows for fractional granularity (other encoders just whole ints). -- Advanced Preference to adjust the granularity from 1.0,0.50,0.33,0.25,0.20 with a default of 0.25. - Existing presets using the % based values converted to the nearest QP/RF value (within the granularity of the slider). -- Example: A current preset using x264 at 62% will now actually use 61.76% since the nearest RF value converted to 62% is 19.50 with the slider set to 0.25 granularity. -- New presets created will store the QP/RF value instead of the % value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2135 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r--macosx/Controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h
index e77aa9ad1..c9118c023 100644
--- a/macosx/Controller.h
+++ b/macosx/Controller.h
@@ -99,6 +99,8 @@ BOOL fIsDragging;
IBOutlet NSTextField * fVidEncoderField;
IBOutlet NSPopUpButton * fVidEncoderPopUp;
IBOutlet NSTextField * fVidQualityField;
+ IBOutlet NSTextField * fVidQualityRFLabel;
+ IBOutlet NSTextField * fVidQualityRFField;
IBOutlet NSMatrix * fVidQualityMatrix;
IBOutlet NSButtonCell * fVidTargetCell;
IBOutlet NSTextField * fVidTargetSizeField;
@@ -288,6 +290,8 @@ BOOL fIsDragging;
- (IBAction) videoMatrixChanged: (id) sender;
- (IBAction) qualitySliderChanged: (id) sender;
+- (void) setupQualitySlider;
+
- (IBAction) audioDRCSliderChanged: (id) sender;
- (IBAction) showPicturePanel: (id) sender;