summaryrefslogtreecommitdiffstats
path: root/video/out/placebo/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/placebo/utils.c')
-rw-r--r--video/out/placebo/utils.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/video/out/placebo/utils.c b/video/out/placebo/utils.c
index e01c371039..86b0bfd38d 100644
--- a/video/out/placebo/utils.c
+++ b/video/out/placebo/utils.c
@@ -71,27 +71,3 @@ void mppl_log_set_probing(pl_log log, bool probing)
params.log_cb = probing ? log_cb_probing : log_cb;
pl_log_update(log, &params);
}
-
-void mp_map_dovi_metadata_to_pl(struct mp_image *mpi,
- struct pl_frame *frame)
-{
-#ifdef PL_HAVE_LAV_DOLBY_VISION
- if (mpi->dovi) {
- const AVDOVIMetadata *metadata = (AVDOVIMetadata *) mpi->dovi->data;
- const AVDOVIRpuDataHeader *header = av_dovi_get_header(metadata);
-
- if (header->disable_residual_flag) {
- // Only automatically map DoVi RPUs that don't require an EL
- struct pl_dovi_metadata *dovi = talloc_ptrtype(mpi, dovi);
- pl_frame_map_avdovi_metadata(frame, dovi, metadata);
- }
- }
-
-#if defined(PL_HAVE_LIBDOVI)
- if (mpi->dovi_buf)
- pl_hdr_metadata_from_dovi_rpu(&frame->color.hdr, mpi->dovi_buf->data,
- mpi->dovi_buf->size);
-#endif
-
-#endif // PL_HAVE_LAV_DOLBY_VISION
-}