summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-09 21:15:46 +0000
committersr55 <[email protected]>2015-01-09 21:15:46 +0000
commit152cabeebf37e9f45c49769e8abe64cd5867ad86 (patch)
treec4619fa1725be90368a5dd52d15b803e6afb4b0c /win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces
parente224d30a0d2dad76e501ff5d25e90f1b39c73807 (diff)
WinGui: Further API tidyup in the interop library. Moving some filesize calculation code into HandBrakeUtils. It's now the responsibility of the consumer to provide a valid title.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6705 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces/IHandBrakeInstance.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces/IHandBrakeInstance.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces/IHandBrakeInstance.cs
index e6eeae943..40dd3de11 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces/IHandBrakeInstance.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Interfaces/IHandBrakeInstance.cs
@@ -54,11 +54,6 @@ namespace HandBrake.Interop.Interfaces
int FeatureTitle { get; }
/// <summary>
- /// Gets the number of previews created during scan.
- /// </summary>
- int PreviewCount { get; }
-
- /// <summary>
/// Gets the list of titles on this instance.
/// </summary>
List<Title> Titles { get; }
@@ -74,38 +69,6 @@ namespace HandBrake.Interop.Interfaces
void Initialize(int verbosity);
/// <summary>
- /// Calculates the video bitrate for the given job and target size.
- /// </summary>
- /// <param name="job">
- /// The encode job.
- /// </param>
- /// <param name="sizeMB">
- /// The target size in MB.
- /// </param>
- /// <param name="overallSelectedLengthSeconds">
- /// The currently selected encode length. Used in preview
- /// for calculating bitrate when the target size would be wrong.
- /// </param>
- /// <returns>
- /// The video bitrate in kbps.
- /// </returns>
- int CalculateBitrate(EncodeJob job, int sizeMB, double overallSelectedLengthSeconds = 0);
-
- /// <summary>
- /// Gives estimated file size (in MB) of the given job and video bitrate.
- /// </summary>
- /// <param name="job">
- /// The encode job.
- /// </param>
- /// <param name="videoBitrate">
- /// The video bitrate to be used (kbps).
- /// </param>
- /// <returns>
- /// The estimated file size (in MB) of the given job and video bitrate.
- /// </returns>
- double CalculateFileSize(EncodeJob job, int videoBitrate);
-
- /// <summary>
/// Frees any resources associated with this object.
/// </summary>
void Dispose();