gst: Update for gst_video_transfer_function_*() function renaming
authorSebastian Dröge <sebastian@centricular.com>
Mon, 7 Sep 2020 09:14:47 +0000 (12:14 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 7 Sep 2020 09:14:47 +0000 (12:14 +0300)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1557>

ext/x265/gstx265enc.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gsth265parse.c
sys/nvcodec/gstnvdec.c
sys/nvcodec/gstnvh264enc.c
sys/nvcodec/gstnvh265enc.c

index fb7771c21fcf2c2eb7a6a1ed3bbb9c8713685a9a..4b4544bc4325924f93c1fa5544e5363954b38626 100644 (file)
@@ -893,7 +893,7 @@ gst_x265_enc_init_encoder (GstX265Enc * encoder)
   encoder->x265param.vui.colorPrimaries =
       gst_video_color_primaries_to_iso (info->colorimetry.primaries);
   encoder->x265param.vui.transferCharacteristics =
-      gst_video_color_transfer_to_iso (info->colorimetry.transfer);
+      gst_video_transfer_function_to_iso (info->colorimetry.transfer);
 
   if (encoder->qp != -1) {
     /* CQP */
index 3e5c760b7bfcf8ad8ce42e9ff06581806241e4dc..5c65826e28ff03faf02f99fde9644d8c1ef8f189 100644 (file)
@@ -2121,7 +2121,7 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse, GstCaps * caps)
 
       ci.matrix = gst_video_color_matrix_from_iso (vui->matrix_coefficients);
       ci.transfer =
-          gst_video_color_transfer_from_iso (vui->transfer_characteristics);
+          gst_video_transfer_function_from_iso (vui->transfer_characteristics);
       ci.primaries = gst_video_color_primaries_from_iso (vui->colour_primaries);
 
       old_colorimetry =
index 849e743633a8c33a894709325e5c40817b69c430..58d3d2478d57beacfa7b5b192cb96059d500d662 100644 (file)
@@ -2062,7 +2062,7 @@ gst_h265_parse_update_src_caps (GstH265Parse * h265parse, GstCaps * caps)
 
       ci.matrix = gst_video_color_matrix_from_iso (vui->matrix_coefficients);
       ci.transfer =
-          gst_video_color_transfer_from_iso (vui->transfer_characteristics);
+          gst_video_transfer_function_from_iso (vui->transfer_characteristics);
       ci.primaries = gst_video_color_primaries_from_iso (vui->colour_primaries);
 
       old_colorimetry =
index ef7ca4e8e2d773b84ae081997f60aa0604e59013..2d9dc8652c0a9e129eb4f0bf13280d2a2f565a9b 100644 (file)
@@ -369,7 +369,7 @@ parser_sequence_callback (GstNvDec * nvdec, CUVIDEOFORMAT * format)
         (format->video_signal_description.color_primaries);
 
     colorimetry.transfer =
-        gst_video_color_transfer_from_iso
+        gst_video_transfer_function_from_iso
         (format->video_signal_description.transfer_characteristics);
 
     colorimetry.matrix =
index c9458667ef938c667054e11460b3988c4c4ea637..a1a584b17c643f5246804eb0dbba06d31a318854 100644 (file)
@@ -533,7 +533,7 @@ gst_nv_h264_enc_set_encoder_config (GstNvBaseEnc * nvenc,
   vui->colourPrimaries =
       gst_video_color_primaries_to_iso (info->colorimetry.primaries);
   vui->transferCharacteristics =
-      gst_video_color_transfer_to_iso (info->colorimetry.transfer);
+      gst_video_transfer_function_to_iso (info->colorimetry.transfer);
 
   return TRUE;
 }
index ff4e4fe000ce4a78fe79a6b37fc5485dc99d6b3b..6a0dad5f35d6d7d4152d5014989a0b56d745df72 100644 (file)
@@ -598,7 +598,7 @@ gst_nv_h265_enc_set_encoder_config (GstNvBaseEnc * nvenc,
   vui->colourPrimaries =
       gst_video_color_primaries_to_iso (info->colorimetry.primaries);
   vui->transferCharacteristics =
-      gst_video_color_transfer_to_iso (info->colorimetry.transfer);
+      gst_video_transfer_function_to_iso (info->colorimetry.transfer);
 
   gst_nv_h265_enc_clear_stream_data (h265enc);