diff options
author | Austin Yuan <shengquan.yuan@gmail.com> | 2011-04-01 11:34:47 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2011-04-01 11:34:47 +0800 |
commit | b3056666977f6d1b1bdc748c6933eb519216d0cb (patch) | |
tree | ae2d10b50192af1c0f71b7081dc58d269f1805ce /va/va_trace.c | |
parent | a259f9ef76d5719d19e273b17478ffedeff01ddc (diff) | |
download | libva-b3056666977f6d1b1bdc748c6933eb519216d0cb.tar.gz |
1. add interface VARenderDevice for output the video into an external device when the WM is not aware of it
2. add interface VARenderMode for APP to swith between overlay and GPU post-processing
3. add VADisplayAttribOverlayColorKey/VADisplayAttribOverlayAutoPaintColorKey which is simliar to Xv for overlay post-processing
4. fix the build issue on Android 2.3
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Signed-off-by: Jason Hu <jason.hu@intel.com>
Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
Diffstat (limited to 'va/va_trace.c')
-rw-r--r-- | va/va_trace.c | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/va/va_trace.c b/va/va_trace.c index 553da70..c0c0d3f 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -404,6 +404,30 @@ void va_TraceSurface(VADisplay dpy) va_TraceMsg(idx, "\tchecksum = 0x%02x\n", check_sum & 0xff); } + +VAStatus va_TraceInitialize ( + VADisplay dpy, + int *major_version, /* out */ + int *minor_version /* out */ +) +{ + int i; + DPY2INDEX(dpy); + + TRACE_FUNCNAME(idx); +} + +VAStatus va_TraceTerminate ( + VADisplay dpy +) +{ + int i; + DPY2INDEX(dpy); + + TRACE_FUNCNAME(idx); +} + + void va_TraceCreateConfig( VADisplay dpy, VAProfile profile, @@ -1273,9 +1297,10 @@ void va_TraceBeginPicture( DPY2INDEX(dpy); TRACE_FUNCNAME(idx); - + va_TraceMsg(idx, "\tcontext = 0x%08x\n", context); va_TraceMsg(idx, "\trender_targets = 0x%08x\n", render_target); + va_TraceMsg(idx, "\tframe_count = #%d\n", trace_context[idx].trace_frame_no); trace_context[idx].trace_rendertarget = render_target; /* for surface data dump after vaEndPicture */ |