mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 12:02:27 +00:00
video: add macro to get frame size
This commit is contained in:
parent
9b259250a1
commit
4340b80f81
1 changed files with 1 additions and 0 deletions
|
@ -340,6 +340,7 @@ gboolean gst_video_frame_copy (GstVideoFrame *dest, const GstVideoFr
|
|||
#define GST_VIDEO_FRAME_FORMAT(f) (GST_VIDEO_INFO_FORMAT(&(f)->info))
|
||||
#define GST_VIDEO_FRAME_WIDTH(f) (GST_VIDEO_INFO_WIDTH(&(f)->info))
|
||||
#define GST_VIDEO_FRAME_HEIGHT(f) (GST_VIDEO_INFO_HEIGHT(&(f)->info))
|
||||
#define GST_VIDEO_FRAME_SIZE(f) (GST_VIDEO_INFO_SIZE(&(f)->info))
|
||||
|
||||
/* dealing with planes */
|
||||
#define GST_VIDEO_FRAME_N_PLANES(f) (GST_VIDEO_INFO_N_PLANES(&(f)->info))
|
||||
|
|
Loading…
Reference in a new issue