mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst: Update for gst_video_transfer_function_*() function renaming
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1557>
This commit is contained in:
parent
ebe397892b
commit
64039cdf84
6 changed files with 6 additions and 6 deletions
|
@ -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 */
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue