summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-10-08 20:30:53 +0000
committerjstebbins <[email protected]>2010-10-08 20:30:53 +0000
commitdb3be3933c2b8eaf9df838028d065b847f987512 (patch)
treeeee3a8b0ef0e259e73d3189ddf52f36ddd95b8e4 /libhb/common.h
parent2ee8b248c71daa96f5c010ae9a914db501c78e99 (diff)
cli: make smarter mixdown decision when doing ac3 encode fallback
also, clean up the mixdown sanitizing logic in work.c added new functions hb_get_default_mix(codec, layout) hb_get_best_mix(codec, layout) These take the output codec and the input layout as parameters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3580 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index b21abb3b5..2a3d07038 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -150,6 +150,8 @@ extern hb_mixdown_t hb_audio_mixdowns[];
extern int hb_audio_mixdowns_count;
int hb_mixdown_get_mixdown_from_short_name( const char * short_name );
const char * hb_mixdown_get_short_name_from_mixdown( int amixdown );
+int hb_get_best_mixdown( uint32_t codec, int layout );
+int hb_get_default_mixdown( uint32_t codec, int layout );
int hb_find_closest_audio_bitrate(int bitrate);
void hb_get_audio_bitrate_limits(uint32_t codec, int samplerate, int mixdown, int *low, int *high);
int hb_get_best_audio_bitrate( uint32_t codec, int bitrate, int samplerate, int mixdown);