#ifdef USE_VCE
case HB_VCODEC_FFMPEG_VCE_H264:
- return hb_h264_profile_names;
+ return hb_vce_h264_profile_names;
case HB_VCODEC_FFMPEG_VCE_H265:
- return hb_h265_profile_names;
+ return hb_vce_h265_profile_names;
#endif
case HB_VCODEC_FFMPEG_NVENC_H264:
case HB_VCODEC_X264_8BIT:
case HB_VCODEC_X264_10BIT:
case HB_VCODEC_FFMPEG_NVENC_H264:
- case HB_VCODEC_FFMPEG_VCE_H264:
return hb_h264_level_names;
-
+
+#ifdef USE_VCE
+ case HB_VCODEC_FFMPEG_VCE_H264:
+ return hb_vce_h264_level_names; // Not quite the same as x264
+#endif
+
case HB_VCODEC_X265_8BIT:
case HB_VCODEC_X265_10BIT:
case HB_VCODEC_X265_12BIT:
case HB_VCODEC_X265_16BIT:
case HB_VCODEC_FFMPEG_NVENC_H265:
case HB_VCODEC_FFMPEG_VCE_H265:
- return hb_h264_level_names;
-
+ return hb_h265_level_names;
default:
return NULL;
int hb_vce_h264_available();
int hb_vce_h265_available();
-static const char * const hb_h264_profile_names[] = { "baseline", "main", "high", NULL, };
-static const char * const hb_h265_profile_names[] = { "main", NULL, };
\ No newline at end of file
+static const char * const hb_vce_h264_profile_names[] = { "baseline", "main", "high", NULL, };
+static const char * const hb_vce_h265_profile_names[] = { "main", NULL, };
+
+static const char * const hb_vce_h264_level_names[] =
+{
+ "auto", "1.0", "1.1", "1.2", "1.3", "2.0", "2.1", "2.2", "3.0",
+ "3.1", "3.2", "4.0", "4.1", "4.2", "5.0", "5.1", "5.2", NULL,
+};