/** *Extravideoflags
*/ enum spa_video_flags {
SPA_VIDEO_FLAG_NONE = 0, /**< no flags */
SPA_VIDEO_FLAG_VARIABLE_FPS = (1 << 0), /**< a variable fps is selected, fps_n and fps_d
* denote the maximum fps of the video */
SPA_VIDEO_FLAG_PREMULTIPLIED_ALPHA = (1 << 1), /**< Each color has been scaled by the alpha value. */
SPA_VIDEO_FLAG_MODIFIER = (1 << 2), /**< use the format modifier */
SPA_VIDEO_FLAG_MODIFIER_FIXATION_REQUIRED = (1 << 3), /**< format modifier was not fixated yet */
};
/** *Thepossiblevaluesofthe#spa_video_interlace_modedescribingtheinterlace *modeofthestream.
*/ enum spa_video_interlace_mode {
SPA_VIDEO_INTERLACE_MODE_PROGRESSIVE = 0, /**< all frames are progressive */
SPA_VIDEO_INTERLACE_MODE_INTERLEAVED, /**< 2 fields are interleaved in one video frame.
* Extra buffer flags describe the field order. */
SPA_VIDEO_INTERLACE_MODE_MIXED, /**< frames contains both interlaced and progressive *video,thebufferflagsdescribetheframeand
* fields. */
SPA_VIDEO_INTERLACE_MODE_FIELDS, /**< 2 fields are stored in one buffer, use the *frameIDtogetaccesstotherequired *field.Formultiview(the'views' *property>1)thefieldsofviewNcan *befoundatframeID(N*2)and(N* *2)+1.Eachfieldhasonlyhalfthe *amountoflinesasnotedintheheight *property.Thismoderequiresmultiple
* spa_data to describe the fields. */
};
/**
*/ struct spa_video_info_raw { enum spa_video_format format; /**< the format */
uint32_t flags; /**< extra video flags */
uint64_t modifier; /**< format modifier
* only used with DMA-BUF */ struct spa_rectangle size; /**< the frame size of the video */ struct spa_fraction framerate; /**< the framerate of the video, 0/1 means variable rate */ struct spa_fraction max_framerate; /**< the maximum framerate of the video. This is only valid when
\ref framerate is 0/1 */
uint32_t views; /**< the number of views in this video */ enum spa_video_interlace_mode interlace_mode; /**< the interlace mode */ struct spa_fraction pixel_aspect_ratio; /**< the pixel aspect ratio */ enum spa_video_multiview_mode multiview_mode; /**< multiview mode */ enum spa_video_multiview_flags multiview_flags; /**< multiview flags */ enum spa_video_chroma_site chroma_site; /**< the chroma siting */ enum spa_video_color_range color_range; /**< the color range. This is the valid range for the samples.
* It is used to convert the samples to Y'PbPr values. */ enum spa_video_color_matrix color_matrix; /**< the color matrix. Used to convert between Y'PbPr and
* non-linear RGB (R'G'B') */ enum spa_video_transfer_function transfer_function; /**< the transfer function. used to convert between R'G'B' and RGB */ enum spa_video_color_primaries color_primaries; /**< color primaries. used to convert between R'G'B' and CIE XYZ */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.