mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gst: Update for gst_video_transfer_function_*() function renaming
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/715>
This commit is contained in:
parent
2d08d16002
commit
47c43b29eb
4 changed files with 7 additions and 5 deletions
|
@ -4260,7 +4260,8 @@ build_colr_extension (const GstVideoColorimetry * colorimetry, gboolean is_mp4)
|
|||
guint16 matrix;
|
||||
|
||||
primaries = gst_video_color_primaries_to_iso (colorimetry->primaries);
|
||||
transfer_function = gst_video_color_transfer_to_iso (colorimetry->transfer);
|
||||
transfer_function =
|
||||
gst_video_transfer_function_to_iso (colorimetry->transfer);
|
||||
matrix = gst_video_color_matrix_to_iso (colorimetry->matrix);
|
||||
|
||||
atom_data_alloc_mem (atom_data, 10 + (is_mp4 ? 1 : 0));
|
||||
|
|
|
@ -10942,7 +10942,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
|||
CUR_STREAM (stream)->colorimetry.primaries =
|
||||
gst_video_color_primaries_from_iso (primaries);
|
||||
CUR_STREAM (stream)->colorimetry.transfer =
|
||||
gst_video_color_transfer_from_iso (transfer_function);
|
||||
gst_video_transfer_function_from_iso (transfer_function);
|
||||
CUR_STREAM (stream)->colorimetry.matrix =
|
||||
gst_video_color_matrix_from_iso (matrix);
|
||||
CUR_STREAM (stream)->colorimetry.range =
|
||||
|
@ -11739,7 +11739,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
|||
cinfo.primaries =
|
||||
gst_video_color_primaries_from_iso (vpcc_data[15]);
|
||||
cinfo.transfer =
|
||||
gst_video_color_transfer_from_iso (vpcc_data[16]);
|
||||
gst_video_transfer_function_from_iso (vpcc_data[16]);
|
||||
cinfo.matrix =
|
||||
gst_video_color_matrix_from_iso (vpcc_data[17]);
|
||||
|
||||
|
|
|
@ -616,7 +616,8 @@ gst_matroska_demux_parse_colour (GstMatroskaDemux * demux, GstEbmlRead * ebml,
|
|||
if ((ret = gst_ebml_read_uint (ebml, &id, &num)) != GST_FLOW_OK)
|
||||
goto beach;
|
||||
|
||||
colorimetry.transfer = gst_video_color_transfer_from_iso ((guint) num);
|
||||
colorimetry.transfer =
|
||||
gst_video_transfer_function_from_iso ((guint) num);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -2626,7 +2626,7 @@ gst_matroska_mux_write_colour (GstMatroskaMux * mux,
|
|||
|
||||
matrix_id = gst_video_color_matrix_to_iso (videocontext->colorimetry.matrix);
|
||||
transfer_id =
|
||||
gst_video_color_transfer_to_iso (videocontext->colorimetry.transfer);
|
||||
gst_video_transfer_function_to_iso (videocontext->colorimetry.transfer);
|
||||
primaries_id =
|
||||
gst_video_color_primaries_to_iso (videocontext->colorimetry.primaries);
|
||||
|
||||
|
|
Loading…
Reference in a new issue