// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // The video tune factory. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Services.Encode.Factories { /// /// The video tune factory. /// public class VideoTuneFactory { /// /// The get display name for a given short name. /// LibHB doesn't currently support this. /// /// /// The short name. /// /// /// The . /// public static string GetDisplayName(string shortName) { switch (shortName) { case "auto": return "Auto"; case "film": return "Film"; case "animation": return "Animation"; case "grain": return "Grain"; case "stillimage": return "Still Image"; case "psnr": return "PSNR"; case "ssim": return "SSIM"; case "fastdecode": return "Fast Decode"; case "zerolatency": return "Zero Latency"; } return shortName; } } }