summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libva: bump version for development.Gwenole Beauchesne2011-10-201-2/+2
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libva: allow pre-releases.Gwenole Beauchesne2011-10-201-0/+4
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libva: fix reported version as the one from VA-API.Gwenole Beauchesne2011-10-201-1/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vainfo: report both VA-API and libva versions.Gwenole Beauchesne2011-10-202-3/+7
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* API: fix versioning.Gwenole Beauchesne2011-10-208-41/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have to consider three distinct versions at this time: the VA-API version, the library package version number, and the DSO version. * VA-API version: - increment major for any ABI change (which shall not occur!) - increment minor for any interface change (e.g. new or modified function) - increment micro for any other change (e.g. new flag, new codec definitions) - reset micro version to zero when minor version is incremented - reset minor version to zero when major version is incremented * libva package version number: - major version is automatically generated from VA-API major version - minor version is automatically generated from VA-API minor version - increment micro for any library release - reset micro version to zero when VA-API major or minor version is incremented * DSO version: The SONAME shall remain to libva.so.1 for VA-API 0.x.y as long as the ABI is not changed. Thus, the library name is generated as libva.<x>.<y>.0 where <x> = VA-API major version + 1 <y> = 100 * VA-API minor version + VA-API micro version For example: VA-API 0.32.0 generates libva.so.1.3200.0 (libva 1.0.14 as of today) VA-API 0.34.1 generates libva.so.1.3401.0 (e.g. libva 1.2.1) VA-API 1.2.13 generates libva.so.2.213.0 (e.g. libva 2.2.13) Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* test: fix build warnings on AndroidAustin Yuan2011-10-207-5/+12
| | | | | Change-Id: Ibc4231395af8dfcdef403d44b98c644349e2ba04 Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* android: fix <va/va_version.h> dependenciesGwenole Beauchesne2011-10-181-2/+2
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* android: fix generation of <va/va_version.h>Gwenole Beauchesne2011-10-181-8/+5
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* va: generate __vaDriverInit_*() function name at run-time.Gwenole Beauchesne2011-10-182-11/+14
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* va: don't explicitly include "config.h"Gwenole Beauchesne2011-10-181-1/+0
| | | | | | | sysdeps.h is the internal header file to include that will eventually include config.h, if necessary. e.g. we don't use it on Android. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* build: drop generated files.Gwenole Beauchesne2011-10-182-168/+0
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vainfo: use system or user-defined DISPLAY to create the X display.Gwenole Beauchesne2011-10-171-1/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* dummy_drv_video: fix last commit.Gwenole Beauchesne2011-10-171-1/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* dummy_drv_video: only build if requested.Gwenole Beauchesne2011-10-172-4/+3
|
* pkgconfig: move files to a specific directory.Gwenole Beauchesne2011-10-178-23/+54
|
* configure: drop check for intel-gen4asm (moved to intel-driver).Gwenole Beauchesne2011-10-171-3/+0
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* va_tpi: correct the first argument of vaCreateSurfaceFromKBufAustin Yuan2011-10-161-1/+1
| | | | | | "VADisplay dpy" --> "VADriverContextP ctx" Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* va_fglrx: fix driver name detection.Gwenole Beauchesne2011-10-111-11/+32
| | | | | | | | | | | VA_FGLRXGetClientDriverName() used to return success even if no valid driver name was found, thus returning a NULL driver name. Also fixed the X display name matching routine to filter out the screen number, which may not be in the string, and make sure to compare screen numbers from what ADL returns too. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vatrace/vafool: refine itAustin Yuan2011-09-2210-888/+469
| | | | | | | | | remove va_fool_getframe.c which looks strange correct some coding style for file va.c simplify va_fool.c for both decode and encode refine the surface dump of va_trace.c Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* va_tpi: vaCreateSurfaceFromKBuf for streaming the video playback to remote ↵jiguoliang2011-09-213-18/+87
| | | | | | | | | | | | | | | monitor For such use case, the pipeline is: decode->encode->send to network. The local decode/playback and the encode process are seperated, thus it needs the buffer sharing b/w the decode and encode in seperate process. This API creates/wraps the decoded surface into an encode surface. Its input parameter is the kernel buffer handle of decoded surface which is only understandable by driver implementation. Change-Id: I7953ecf3b7333c1cdb6af5a0f45b054c8840f8e2 Signed-off-by: jiguoliang <guoliangx.ji@intel.com> Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* va.h: TopFieldOrderCnt/BottomFieldOrderCnt should be signed instead of unsignedywan1712011-09-211-2/+2
| | | | | | | POC should be integer. Change-Id: I75281aafa148c88f0de58981969e1c43ea8d2684 Signed-off-by: ywan171 <yi.a.wang@intel.com>
* va: remove i965 driver from libva repositoryXiang, Haihao2011-09-19464-82003/+0
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va/test: Fix DSO link issueXiang, Haihao2011-09-194-4/+5
| | | | | | | | | I didn't see this issue until I upgraded my system recently. It's evident the default behavior of the linker is changed. Explicitly adding the missing libraries to the link step can resolve this issue. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va: update the check for intel-gen4asmXiang, Haihao2011-08-021-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* bump to 1.0.14libva-1.0.14Xiang, Haihao2011-07-281-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* i965_drv_video: don't export internal driver functions.Gwenole Beauchesne2011-07-273-1/+20
| | | | | Make sure to use our internal functions. In particular, we override some DRM functions and they have to be used. e.g. this fixes VA/GLX.
* va.h: VA_DECODE_ERROR_TYPE changed to VADecodeErrorType for unified codying ↵Austin Yuan2011-07-261-4/+4
| | | | | | | | | style (CamelCase) VA_DECODE_SLICE_MISSING --> VADecodeSliceMissing VA_DECODE_MB_ERROR --> VADecodeMBError Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* dri2: ignore BadDrawable errors.Gwenole Beauchesne2011-07-261-1/+20
| | | | | | | | | | | | | | | | | | | Hi, This patch fixes the following error. X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 137 (DRI2) Minor opcode of failed request: 4 (DRI2DestroyDrawable) Resource id in failed request: 0x4800001 Serial number of failed request: 30 Current serial number in output stream: 32 The X drawable can die before we notice it in free_drawable_hashtable(), called through vaTerminate(). This patch is ported from Mesa (GLX/DRI2). Regards, Gwenole.
* Fix make dist.Gwenole Beauchesne2011-07-264-2/+7
|
* Fix out-of-source builds.Gwenole Beauchesne2011-07-269-17/+18
|
* i965_drv_video: cosmetics (cleanup Makefile).Gwenole Beauchesne2011-07-261-40/+58
|
* cosmetics: clean up Makefiles.Gwenole Beauchesne2011-07-263-73/+108
|
* VA/X11: drop useless casts.Gwenole Beauchesne2011-07-264-18/+18
|
* VA/GLX: drop useless casts.Gwenole Beauchesne2011-07-261-19/+19
|
* vatrace: trace JPEG encode parametersAustin Yuan2011-07-261-0/+109
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* Update on vatrace/test and va.hAustin Yuan2011-07-148-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>
* i965_drv_video: update post processing interfaceXiang, Haihao2011-07-125-263/+282
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* i965_drv_video: fixes assertion failureXiang, Haihao2011-07-083-26/+39
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* i965_drv_video: fix next slice vertical position for field pictureXiang, Haihao2011-07-071-1/+1
| | | | | | This fixes https://bugs.freedesktop.org/show_bug.cgi?id=38628 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* vatrace: print MPEG4/H263 encode parameters informationAustin Yuan2011-06-302-24/+188
| | | | | Change-Id: Ib39b436865c2b665dc49c916d5f364f03e8c79b5 igned-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* i965_drv_video: add support for VA_SUBPICTURE_DESTINATION_IS_SCREEN_COORD.Gwenole Beauchesne2011-06-293-16/+21
|
* i965_drv_video: fix subpicture scale factor for Y axis.Gwenole Beauchesne2011-06-291-1/+1
|
* i965_drv_video: simplify put_surface() and put_subpicture() args.Gwenole Beauchesne2011-06-295-371/+221
|
* va/test/putsurface_x11: avoid warning 'warning: ‘win’ is used ↵Xiang, Haihao2011-06-241-0/+3
| | | | | | | | uninitialized in this function' This fixes broken putsurface on X11 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va/test: return a value to silence compiler waringXiang, Haihao2011-06-242-1/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va: fix warning about memset.Xiang, Haihao2011-06-242-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* test/putsurface: more cleanup, remove #ifdef ANDROID from putsurface_common.cAustin Yuan2011-06-205-148/+182
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* test/putsurface: add UV element into the auto-generated imageAustin Yuan2011-06-195-4/+28967
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
* Fix vaTerminate() with non DRI-based drivers.Gwenole Beauchesne2011-06-171-1/+1
|
* va-android: same as X11, also always create a new VA display on androidAustin Yuan2011-06-161-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>