summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-14Update on vatrace/test and va.hHEADmasterAustin Yuan8-51/+107
vatrace:print H263 decode paramters test/putsurfac: create drawable with a geometry from commandline va.h: add BGRA fourcc Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-07-12i965_drv_video: update post processing interfaceXiang, Haihao5-263/+282
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-07-08i965_drv_video: fixes assertion failureXiang, Haihao3-26/+39
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-07-07i965_drv_video: fix next slice vertical position for field pictureXiang, Haihao1-1/+1
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=38628 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-30vatrace: print MPEG4/H263 encode parameters informationAustin Yuan2-24/+188
Change-Id: Ib39b436865c2b665dc49c916d5f364f03e8c79b5 igned-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-06-29i965_drv_video: add support for VA_SUBPICTURE_DESTINATION_IS_SCREEN_COORD.Gwenole Beauchesne3-16/+21
2011-06-29i965_drv_video: fix subpicture scale factor for Y axis.Gwenole Beauchesne1-1/+1
2011-06-29i965_drv_video: simplify put_surface() and put_subpicture() args.Gwenole Beauchesne5-371/+221
2011-06-24va/test/putsurface_x11: avoid warning 'warning: ‘win’ is used ↵Xiang, Haihao1-0/+3
uninitialized in this function' This fixes broken putsurface on X11 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-24va/test: return a value to silence compiler waringXiang, Haihao2-1/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-24va: fix warning about memset.Xiang, Haihao2-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-20test/putsurface: more cleanup, remove #ifdef ANDROID from putsurface_common.cAustin Yuan5-148/+182
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-06-19test/putsurface: add UV element into the auto-generated imageAustin Yuan5-4/+28967
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-06-17Fix vaTerminate() with non DRI-based drivers.Gwenole Beauchesne1-1/+1
2011-06-16va-android: same as X11, also always create a new VA display on androidAustin Yuan1-40/+13
Previously a VA display will be shared if a native display is shared by multiple threads, it will casue some thread safety issue in a multi-threaded program. Remove the global VADisplayContextP pDisplayContexts which is not thread safe Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-06-15i965_drv_video: fix assertion failureXiang, Haihao1-2/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-14i965_drv_video: fix GPU hang issue when decoding field coded MPEG2 picture.Xiang, Haihao5-26/+56
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-13libva: fix memeory leaks in libvaEdgar Hucek2-0/+12
Signed-off-by: Edgar Hucek <gimli@dark-green.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-13i965_drv_video: fix memory leaks in i965 driverEdgar Hucek1-0/+1
Signed-off-by: Edgar Hucek <gimli@dark-green.com>
2011-06-13i965_drv_video: track the internal format of a surfaceXiang, Haihao8-20/+27
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-10Revert the change in VA_DRI2SwapBuffers: _XReply -->_XSendAustin Yuan1-2/+2
We should use _XReplay. _XSend will introduce more CPU usage Signed-off-by: Edgar Hucek <gimli@dark-green.com> Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-06-10Merge branch 'master' of git+ssh://git.freedesktop.org/git/libvaAustin Yuan21-68/+993
2011-06-10test/encode/avcenc: don't include <pciaccess.h>Xiang, Haihao1-1/+0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-10i965_drv_video: encode on IvybridgeXiang, Haihao7-26/+602
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-10i965_drv_video: fix VME shadersXiang, Haihao6-8/+12
1. The response length for inter type on Ivybridge is 6. 2. fix register region Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-10i965_drv_video: new shaders for VME on IvybridgeXiang, Haihao13-37/+383
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-09Corrected trace prints (updated, change format, etc), replaced \t by spaces ↵Alexander Osin1-62/+116
in source code
2011-06-09i965_drv_video: set surface base address in VMEXiang, Haihao2-89/+36
It is easy to fill the binding table without relocation and make sure all offsets in binding table only uses bits[15:0] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-09i965_drv_video: clean upXiang, Haihao1-6/+1
Don't emit PIPE_CONTROL directly, instead call intel_batchbuffer_emit_mi_flush. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-06-09i965_drv_video: Added check of obj_surface->bo field inside ↵Alexander Osin1-1/+3
i965_media_h264_surface_state()
2011-06-07test/basic testing programs do not need to be installedAustin Yuan1-3/+3
in /usr/bin; one can run make valgrind here as a check, or run them under make check too. From gimli at dark-green.com Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-06-02i965_drv_video: improved MV quality for VMEZhou Chang4-61/+39
2011-05-30Bump to 1.0.13Austin Yuan1-1/+1
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-05-30libva: several changesAustin Yuan8-23/+67
1) add free_drawable 2) clean the license of Android.mk 3) define VA_ROTATION_270 to 3 instead of 4 Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com> Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
2011-05-25i965_drv_video: clean up codesXiang, Haihao7-200/+55
Check and allocate surface BO in a same function Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-25i965_drv_video: rendering for IvybridgeXiang, Haihao3-81/+1234
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-25i965_drv_video: new shaders for rendering on IvybridgeXiang, Haihao11-2/+448
SEND on Ivybridge uses GRFs instead of MRFs Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-25i965_drv_video: VC1 decoding on IvybridgeXiang, Haihao2-70/+72
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-25i965_drv_video: H.264 & MPEG2 decoding on IvybridgeXiang, Haihao5-3/+2252
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-25i965_drv_video: Ivybridge PCI IDsXiang, Haihao6-19/+49
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-16i965_drv_video: thread safety for object allocationXiang, Haihao2-0/+21
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-16i965_drv_vidoe: thread safety for renderingXiang, Haihao6-8/+81
2011-05-16va: always create a new VA display on X11Xiang, Haihao1-38/+6
Previously a VA display will be shared if a native display is shared by multiple threads, it will casue some thread safety issue in a multi-threaded program. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-16test/putsurface/putsurface: fix multi-thread issue on X11Xiang, Haihao1-0/+6
On X11, a VA display is dependent on the display returned by XOpenDisplay, vaPutSurface maybe accesses this display. So the same access mechanism is needed for vaPutSurface and other Xlib funtion calls. Another way is to call XInitThreads before XOpenDisplay. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-16test/putsurface/putsurface: pass a valid DRAWABLE to vaPutSurfaceXiang, Haihao1-0/+5
2011-05-16i965_drv_video: move batchbuffer to contextXiang, Haihao17-389/+343
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-16i965_drv_video: clean up batchbuffer interfaceXiang, Haihao17-1403/+1559
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-16update .gitignoreXiang, Haihao1-0/+1
2011-05-10i965_drv_video: store post process parameters in contextXiang, Haihao2-215/+217
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2011-05-10i965_drv_video: store kernel info in the corresponding contextXiang, Haihao13-154/+166