OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac25de
)
test/decode/tinyjpeg: create VA surface with right render target format
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 13 Jun 2013 02:23:47 +0000
(10:23 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 10 Jun 2015 06:08:39 +0000
(14:08 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit
54f686f4a371bf34007ce1ff70e7b74cd9986ad7
)
test/decode/tinyjpeg.c
patch
|
blob
|
history
diff --git
a/test/decode/tinyjpeg.c
b/test/decode/tinyjpeg.c
index
e6e0659
..
0a544fe
100644
(file)
--- a/
test/decode/tinyjpeg.c
+++ b/
test/decode/tinyjpeg.c
@@
-698,7
+698,7
@@
int tinyjpeg_decode(struct jdec_private *priv)
type = "Format_400P";
}
- va_status = vaCreateSurfaces(va_dpy,
VA_RT_FORMAT_YUV420
,
+ va_status = vaCreateSurfaces(va_dpy,
surface_type
,
priv->width[scan_num],priv->height[scan_num], //alignment?
&surface_id, 1, &forcc, 1);
CHECK_VASTATUS(va_status, "vaCreateSurfaces");