Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1557>
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 */
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 =
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 =
(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 =
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;
}
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);