projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b25925
)
video: add macro to get frame size
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 4 Jul 2011 16:08:25 +0000
(18:08 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 4 Jul 2011 16:08:25 +0000
(18:08 +0200)
gst-libs/gst/video/video.h
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video.h
b/gst-libs/gst/video/video.h
index
7dbfafd
..
6827bc7
100644
(file)
--- a/
gst-libs/gst/video/video.h
+++ b/
gst-libs/gst/video/video.h
@@
-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))