summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorrandomengy <[email protected]>2011-10-22 22:43:58 +0000
committerrandomengy <[email protected]>2011-10-22 22:43:58 +0000
commitd750952f674316543f3623a11c552ce056ed2b25 (patch)
tree2f24ac906383b366bfa4bf30e1abaf20f3b86ac5 /libhb/common.h
parent4e0db6ec1bfa440ef7f142e84ad064affbd64490 (diff)
Wrap encoder lists in functions to expose them to Pinvoke.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4311 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 39a2c45cd..b8eee7dd2 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -162,6 +162,22 @@ extern hb_encoder_t hb_video_encoders[];
extern int hb_video_encoders_count;
extern hb_encoder_t hb_audio_encoders[];
extern int hb_audio_encoders_count;
+
+/* Expose values for PInvoke */
+hb_rate_t* hb_get_video_rates();
+int hb_get_video_rates_count();
+hb_rate_t* hb_get_audio_rates();
+int hb_get_audio_rates_count();
+int hb_get_audio_rates_default();
+hb_rate_t* hb_get_audio_bitrates();
+int hb_get_audio_bitrates_count();
+hb_mixdown_t* hb_get_audio_mixdowns();
+int hb_get_audio_mixdowns_count();
+hb_encoder_t* hb_get_video_encoders();
+int hb_get_video_encoders_count();
+hb_encoder_t* hb_get_audio_encoders();
+int hb_get_audio_encoders_count();
+
int hb_mixdown_get_mixdown_from_short_name( const char * short_name );
const char * hb_mixdown_get_short_name_from_mixdown( int amixdown );
void hb_autopassthru_apply_settings( hb_job_t * job, hb_title_t * title );