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:
dd907f2
)
video: add macro for component depth
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Jun 2012 08:21:55 +0000
(10:21 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 6 Jun 2012 09:18:56 +0000
(11:18 +0200)
gst-libs/gst/video/video-frame.h
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-frame.h
b/gst-libs/gst/video/video-frame.h
index
7bc3920
..
a27d77a
100644
(file)
--- a/
gst-libs/gst/video/video-frame.h
+++ b/
gst-libs/gst/video/video-frame.h
@@
-93,6
+93,7
@@
gboolean gst_video_frame_copy_plane (GstVideoFrame *dest, const GstVideoFr
/* dealing with components */
#define GST_VIDEO_FRAME_N_COMPONENTS(f) GST_VIDEO_INFO_N_COMPONENTS(&(f)->info)
+#define GST_VIDEO_FRAME_COMP_DEPTH(f,c) GST_VIDEO_INFO_COMP_DEPTH(&(f)->info,(c))
#define GST_VIDEO_FRAME_COMP_DATA(f,c) GST_VIDEO_INFO_COMP_DATA(&(f)->info,(f)->data,(c))
#define GST_VIDEO_FRAME_COMP_STRIDE(f,c) GST_VIDEO_INFO_COMP_STRIDE(&(f)->info,(c))
#define GST_VIDEO_FRAME_COMP_OFFSET(f,c) GST_VIDEO_INFO_COMP_OFFSET(&(f)->info,(c))