Function

GstVideo-1.0GstVideovideo_multiview_guess_half_aspectSince 1.6

  • Parameters

    • mv_mode: GstVideo.VideoMultiviewMode
    • width: number

      Video frame width in pixels

    • height: number

      Video frame height in pixels

    • par_n: number

      Numerator of the video pixel-aspect-ratio

    • par_d: number

      Denominator of the video pixel-aspect-ratio

    Returns boolean

    A boolean indicating whether the #GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT flag should be set. Utility function that heuristically guess whether a frame-packed stereoscopic video contains half width/height encoded views, or full-frame views by looking at the overall display aspect ratio.

    1.6