summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-06-27 21:44:00 +0000
committerRodeo <[email protected]>2015-06-27 21:44:00 +0000
commitfacea32e98b42868ebdd72a07eaa33978956f4de (patch)
tree099c0db7d233f252f41fcca77d6a86bc079d76fd /libhb
parent52d3bbb87d58e826e41861623adeccc3e8d329d7 (diff)
libhb: remove HB_API_OLD_PRESET_GETTERS cruft.
None of the frontends are using it anymore. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7322 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/common.h12
-rw-r--r--libhb/encx264.c20
-rw-r--r--libhb/qsv_common.c7
3 files changed, 0 insertions, 39 deletions
diff --git a/libhb/common.h b/libhb/common.h
index a96a3e4e7..d088ad8fd 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -1259,18 +1259,6 @@ char * hb_x264_param_unparse(const char *x264_preset, const char *x264_tune,
const char *x264_encopts, const char *h264_profile,
const char *h264_level, int width, int height);
-#define HB_API_OLD_PRESET_GETTERS
-#ifdef HB_API_OLD_PRESET_GETTERS
-// x264 preset/tune, qsv preset & h264 profile/level helpers
-const char * const * hb_x264_presets();
-const char * const * hb_x264_tunes();
-#ifdef USE_QSV
-const char * const * hb_qsv_presets();
-#endif
-const char * const * hb_h264_profiles();
-const char * const * hb_h264_levels();
-#endif
-
// x264 option name/synonym helper
const char * hb_x264_encopt_name( const char * name );
diff --git a/libhb/encx264.c b/libhb/encx264.c
index a6989fcf5..24e838357 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -1703,26 +1703,6 @@ char * hb_x264_param_unparse(const char *x264_preset, const char *x264_tune,
return unparsed_opts;
}
-const char * const * hb_x264_presets()
-{
- return x264_preset_names;
-}
-
-const char * const * hb_x264_tunes()
-{
- return x264_tune_names;
-}
-
-const char * const * hb_h264_profiles()
-{
- return hb_h264_profile_names;
-}
-
-const char * const * hb_h264_levels()
-{
- return hb_h264_level_names;
-}
-
const char * hb_x264_encopt_name(const char *name)
{
int i;
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c
index 6aa9e805f..a76a9e7bb 100644
--- a/libhb/qsv_common.c
+++ b/libhb/qsv_common.c
@@ -1225,13 +1225,6 @@ int hb_qsv_param_parse(hb_qsv_param_t *param, hb_qsv_info_t *info,
return error ? HB_QSV_PARAM_BAD_VALUE : HB_QSV_PARAM_OK;
}
-#ifdef HB_API_OLD_PRESET_GETTERS
-const char* const* hb_qsv_presets()
-{
- return hb_qsv_preset_get_names();
-}
-#endif
-
const char* const* hb_qsv_preset_get_names()
{
if (qsv_hardware_generation(hb_get_cpu_platform()) >= QSV_G3)