diff options
-rw-r--r-- | libhb/common.h | 12 | ||||
-rw-r--r-- | libhb/encx264.c | 20 | ||||
-rw-r--r-- | libhb/qsv_common.c | 7 |
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) |