projects
/
profile
/
ivi
/
gstreamer-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533f11a
)
Add RGB surface allocation supporting
author
Li Xiaowei
<xiaowei.a.li@intel.com>
Tue, 16 Apr 2013 00:24:29 +0000
(08:24 +0800)
committer
Zhao Halley
<halley.zhao@intel.com>
Tue, 16 Apr 2013 02:00:28 +0000
(10:00 +0800)
Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
gst-libs/gst/vaapi/gstvaapisurface.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vaapi/gstvaapisurface.c
b/gst-libs/gst/vaapi/gstvaapisurface.c
index
05202f7
..
9830b45
100755
(executable)
--- a/
gst-libs/gst/vaapi/gstvaapisurface.c
+++ b/
gst-libs/gst/vaapi/gstvaapisurface.c
@@
-144,6
+144,12
@@
gst_vaapi_surface_create(GstVaapiSurface *surface)
case VA_FOURCC_AYUV:
format = VA_RT_FORMAT_YUV444;
break;
+#if VA_CHECK_VERSION(0,34,0)
+ case VA_FOURCC_RGBA:
+ case VA_FOURCC_BGRA:
+ format = VA_RT_FORMAT_RGB32;
+ break;
+#endif
case 0:
switch (priv->chroma_type) {
#if VA_CHECK_VERSION(0,34,0)