Function

GstVideo-1.0GstVideovideo_dma_drm_format_to_gst_formatSince 1.26

  • Converting a dma drm fourcc and modifier pair into a GstVideo.VideoFormat. If no matching video format is found, then GST_VIDEO_FORMAT_UNKNOWN is returned.

    Parameters

    • fourcc: number

      the dma drm fourcc value.

    • modifier: number | bigint

      the dma drm modifier.

    Returns GstVideo.VideoFormat

    the GST_VIDEO_FORMAT_* corresponding to the fourcc and modifier pair.

    1.26