Removed redundant definitions in h264enc fields
authorOlivier Naudan <o-naudan@ti.com>
Fri, 2 Nov 2012 17:37:59 +0000 (13:37 -0400)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 19 Nov 2012 14:26:49 +0000 (14:26 +0000)
src/gstducatih264enc.c

index e5f8b158cdf03c37dbf022c865a8e3bc23ae9adc..683a311b5a60b4f2a32ac3bbd44cb0900dc67d12 100644 (file)
@@ -138,8 +138,6 @@ gst_ducati_h264enc_get_rate_control_params_preset_type (void)
           "rate-control-params-preset-user-defined"},
       {IH264_RATECONTROLPARAMS_EXISTING, "Existing rate control params",
           "rate-control-params-preset-existing"},
           "rate-control-params-preset-user-defined"},
       {IH264_RATECONTROLPARAMS_EXISTING, "Existing rate control params",
           "rate-control-params-preset-existing"},
-      {IH264_RATECONTROLPARAMS_MAX, "Max rate control",
-          "rate-control-params-preset-control"},
       {0, NULL, NULL},
     };
 
       {0, NULL, NULL},
     };
 
@@ -160,8 +158,6 @@ gst_ducati_h264enc_get_rate_control_algo_type (void)
           "perceptual-rate-control"},
       {IH264_RATECONTROL_PRC_LOW_DELAY, "Low delay rate control",
           "low-delay-rate-control"},
           "perceptual-rate-control"},
       {IH264_RATECONTROL_PRC_LOW_DELAY, "Low delay rate control",
           "low-delay-rate-control"},
-      {IH264_RATECONTROL_DEFAULT, "Default rcAlgo (PRC)",
-          "default-rate-control"},
       {0, NULL, NULL},
     };
 
       {0, NULL, NULL},
     };
 
@@ -211,7 +207,6 @@ gst_ducati_h264enc_get_entropy_coding_mode_type (void)
   if (!type) {
     static const GEnumValue vals[] = {
       {IH264_ENTROPYCODING_CAVLC, "CAVLC coding type", "cavlc"},
   if (!type) {
     static const GEnumValue vals[] = {
       {IH264_ENTROPYCODING_CAVLC, "CAVLC coding type", "cavlc"},
-      {IH264_ENTROPYCODING_DEFAULT, "Default coding type (cavlc)", "default"},
       {IH264_ENTROPYCODING_CABAC, "Cabac coding mode", "cabac"},
       {0, NULL, NULL},
     };
       {IH264_ENTROPYCODING_CABAC, "Cabac coding mode", "cabac"},
       {0, NULL, NULL},
     };
@@ -230,14 +225,12 @@ gst_ducati_h264enc_get_slice_mode_type (void)
   if (!type) {
     static const GEnumValue vals[] = {
       {IH264_SLICEMODE_NONE, "No slice mode", "none"},
   if (!type) {
     static const GEnumValue vals[] = {
       {IH264_SLICEMODE_NONE, "No slice mode", "none"},
-      {IH264_SLICEMODE_DEFAULT, "Default slice coding mode is MB based",
-          "default"},
       {IH264_SLICEMODE_MBUNIT,
           "Slices are controlled based upon number of Macroblocks", "mbunit"},
       {IH264_SLICEMODE_BYTES,
           "Slices are controlled based upon number of bytes", "bytes"},
       {IH264_SLICEMODE_OFFSET,
       {IH264_SLICEMODE_MBUNIT,
           "Slices are controlled based upon number of Macroblocks", "mbunit"},
       {IH264_SLICEMODE_BYTES,
           "Slices are controlled based upon number of bytes", "bytes"},
       {IH264_SLICEMODE_OFFSET,
-            "Slices are controlled based upon user defined offset unit of Row",
+          "Slices are controlled based upon user defined offset unit of Row",
           "offset"},
       {0, NULL, NULL},
     };
           "offset"},
       {0, NULL, NULL},
     };
@@ -302,7 +295,7 @@ gst_ducati_h264enc_class_init (GstDucatiH264EncClass * klass)
           "H.264 rate control params preset",
           "This preset controls the USER_DEFINED versus "
           "DEFAULT mode. If you are not aware about the "
           "H.264 rate control params preset",
           "This preset controls the USER_DEFINED versus "
           "DEFAULT mode. If you are not aware about the "
-          "fields, it should be set as IH264_RATECONTROLPARAMS_DEFAULT",
+          "fields, it should be set as 'rate-control-params-preset-default'",
           GST_TYPE_DUCATI_H264ENC_RCPP, IH264_RATECONTROLPARAMS_DEFAULT,
           G_PARAM_READWRITE));
 
           GST_TYPE_DUCATI_H264ENC_RCPP, IH264_RATECONTROLPARAMS_DEFAULT,
           G_PARAM_READWRITE));