OSDN Git Service

LinGui: Make preset key/values mostly align with macui presets.
[handbrake-jp/handbrake-jp-git.git] / gtk / src / hb-backend.h
index 921c822..baeded2 100644 (file)
@@ -80,7 +80,13 @@ typedef struct
 #define GHB_FRAMERATE 3
 
 const gchar* ghb_version(void);
-void ghb_vquality_range(signal_user_data_t *ud, gint *min, gint *max);
+void ghb_vquality_range(
+       signal_user_data_t *ud, 
+       gdouble *min, 
+       gdouble *max,
+       gdouble *step,
+       gdouble *page,
+       gint *digits);
 //const gchar* ghb_get_rate_string(gint rate, gint type);
 void ghb_backend_init(GtkBuilder *builder, gint debug, gint update);
 void ghb_backend_close(void);
@@ -123,7 +129,6 @@ gint ghb_calculate_target_bitrate(GValue *settings, gint titleindex);
 gchar* ghb_dvd_volname(const gchar *device);
 gint ghb_get_title_number(gint titleindex);
 
-gint ghb_guess_bitrate(GValue *settings);
 gboolean ghb_validate_container(signal_user_data_t *ud);
 gboolean ghb_validate_vquality(GValue *settings);
 gboolean ghb_validate_audio(signal_user_data_t *ud);
@@ -131,17 +136,7 @@ gboolean ghb_validate_video(signal_user_data_t *ud);
 gboolean ghb_validate_filters(signal_user_data_t *ud);
 gboolean ghb_validate_filter_string(const gchar *str, gint max_fields);
 void ghb_hb_cleanup(gboolean partial);
-gint ghb_lookup_acodec(const GValue *acodec);
-const gchar* ghb_lookup_acodec_option(const GValue *acodec);
-gint ghb_lookup_mix(const GValue *mix);
-const gchar* ghb_lookup_mix_option(const GValue *mix);
-const gchar* ghb_lookup_container_option(const GValue *container);
-gint ghb_lookup_container(const GValue *container);
-const gchar* ghb_lookup_vcodec_option(const GValue *vcodec);
-#if 0
-gint ghb_lookup_bitrate(const gchar *bitrate);
-gint ghb_lookup_rate(const gchar *rate);
-gdouble ghb_lookup_drc(const gchar *drc);
-#endif
+gint ghb_lookup_combo_int(const gchar *name, const GValue *acodec);
+const gchar* ghb_lookup_combo_option(const gchar *name, const GValue *acodec);
 
 #endif // _HBBACKEND_H_