28 #ifndef SBTRANSCODEPROFILE_H_
29 #define SBTRANSCODEPROFILE_H_
32 #include <sbITranscodeProfile.h>
35 #include <nsStringAPI.h>
47 NS_DECL_SBITRANSCODEPROFILE
48 NS_DECL_SBITRANSCODEENCODERPROFILE
53 ~sbTranscodeProfile();
59 nsresult
AddPriority(
double aQuality, PRUint32 aPriority);
72 nsString mDescription;
74 nsString mContainerFormat;
75 nsCString mFileExtension;
78 nsCOMPtr<nsIArray> mContainerProperties;
79 nsCOMPtr<nsIArray> mAudioProperties;
80 nsCOMPtr<nsIArray> mVideoProperties;
81 nsCOMPtr<nsIArray> mContainerAttributes;
82 nsCOMPtr<nsIArray> mAudioAttributes;
83 nsCOMPtr<nsIArray> mVideoAttributes;
86 std::map<double, PRUint32> mPriorityMap;
88 std::map<double, double> mAudioBitrateMap;
90 std::map<double, double> mVideoBPPMap;
NS_DECL_ISUPPORTS NS_DECL_SBITRANSCODEPROFILE NS_DECL_SBITRANSCODEENCODERPROFILE sbTranscodeProfile()
nsresult AddVideoBPP(double aQuality, double aBPP)
nsresult AddAudioBitrate(double aQuality, double aBitrate)
nsresult AddPriority(double aQuality, PRUint32 aPriority)