OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d48575
)
Don't dump VA surface pixels if driver doesn't return VA surface buffer.
author
Gwenole Beauchesne
<gbeauchesne@splitted-desktop.com>
Wed, 2 Jun 2010 07:10:27 +0000
(09:10 +0200)
committer
Austin Yuan
<shengquan.yuan@gmail.com>
Wed, 2 Jun 2010 09:23:28 +0000
(17:23 +0800)
va/va_trace.c
patch
|
blob
|
history
diff --git
a/va/va_trace.c
b/va/va_trace.c
index
7f09908
..
1713f27
100644
(file)
--- a/
va/va_trace.c
+++ b/
va/va_trace.c
@@
-1078,13
+1078,14
@@
int va_TraceEndPicture(
va_TraceMsg("\tchroma_u_offset=%d\n", chroma_u_offset);
va_TraceMsg("\tchroma_v_offset=%d\n", chroma_v_offset);
- va_TraceMsg("**Y data**\n");
+ if (!buffer)
+ return;
Y_data = buffer;
UV_data = buffer + luma_offset;
tmp = Y_data;
-
+ va_TraceMsg("**Y data**\n");
for (i=0; i<trace_height; i++) {
for (j=0; j<trace_width; j++) {
if ((j%16) == 0)