OSDN Git Service

android-x86/hardware-intel-common-libva.git
12 years agodummy_drv_video: only build if requested.
Gwenole Beauchesne [Fri, 14 Oct 2011 16:13:54 +0000 (18:13 +0200)]
dummy_drv_video: only build if requested.

12 years agopkgconfig: move files to a specific directory.
Gwenole Beauchesne [Fri, 14 Oct 2011 15:31:24 +0000 (17:31 +0200)]
pkgconfig: move files to a specific directory.

12 years agoconfigure: drop check for intel-gen4asm (moved to intel-driver).
Gwenole Beauchesne [Fri, 14 Oct 2011 15:11:56 +0000 (17:11 +0200)]
configure: drop check for intel-gen4asm (moved to intel-driver).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agova_tpi: correct the first argument of vaCreateSurfaceFromKBuf
Austin Yuan [Mon, 17 Oct 2011 02:29:03 +0000 (22:29 -0400)]
va_tpi: correct the first argument of vaCreateSurfaceFromKBuf

"VADisplay dpy" --> "VADriverContextP ctx"

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
12 years agova_fglrx: fix driver name detection.
Gwenole Beauchesne [Tue, 11 Oct 2011 08:34:37 +0000 (10:34 +0200)]
va_fglrx: fix driver name detection.

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>
12 years agovatrace/vafool: refine it
Austin Yuan [Thu, 22 Sep 2011 03:29:45 +0000 (23:29 -0400)]
vatrace/vafool: refine it

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>
12 years agova_tpi: vaCreateSurfaceFromKBuf for streaming the video playback to remote monitor
jiguoliang [Thu, 25 Aug 2011 15:39:53 +0000 (11:39 -0400)]
va_tpi: vaCreateSurfaceFromKBuf for streaming the video playback to remote 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>
12 years agova.h: TopFieldOrderCnt/BottomFieldOrderCnt should be signed instead of unsigned
ywan171 [Tue, 2 Aug 2011 14:38:05 +0000 (22:38 +0800)]
va.h: TopFieldOrderCnt/BottomFieldOrderCnt should be signed instead of unsigned

POC should be integer.

Change-Id: I75281aafa148c88f0de58981969e1c43ea8d2684
Signed-off-by: ywan171 <yi.a.wang@intel.com>
12 years agova: remove i965 driver from libva repository
Xiang, Haihao [Mon, 19 Sep 2011 02:02:39 +0000 (10:02 +0800)]
va: remove i965 driver from libva repository

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agova/test: Fix DSO link issue
Xiang, Haihao [Mon, 19 Sep 2011 01:12:33 +0000 (09:12 +0800)]
va/test: Fix DSO link issue

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>
12 years agova: update the check for intel-gen4asm
Xiang, Haihao [Tue, 2 Aug 2011 07:06:09 +0000 (15:06 +0800)]
va: update the check for intel-gen4asm

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agobump to 1.0.14
Xiang, Haihao [Thu, 28 Jul 2011 00:38:03 +0000 (08:38 +0800)]
bump to 1.0.14

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: don't export internal driver functions.
Gwenole Beauchesne [Tue, 26 Jul 2011 11:48:25 +0000 (19:48 +0800)]
i965_drv_video: don't export internal driver functions.

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.

12 years agova.h: VA_DECODE_ERROR_TYPE changed to VADecodeErrorType for unified codying style...
Austin Yuan [Tue, 26 Jul 2011 06:11:08 +0000 (14:11 +0800)]
va.h: VA_DECODE_ERROR_TYPE changed to VADecodeErrorType for unified codying style (CamelCase)

VA_DECODE_SLICE_MISSING --> VADecodeSliceMissing
VA_DECODE_MB_ERROR --> VADecodeMBError

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
12 years agodri2: ignore BadDrawable errors.
Gwenole Beauchesne [Wed, 20 Jul 2011 15:44:29 +0000 (17:44 +0200)]
dri2: ignore BadDrawable errors.

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.

12 years agoFix make dist.
Gwenole Beauchesne [Wed, 20 Jul 2011 14:48:51 +0000 (16:48 +0200)]
Fix make dist.

12 years agoFix out-of-source builds.
Gwenole Beauchesne [Wed, 20 Jul 2011 14:19:52 +0000 (16:19 +0200)]
Fix out-of-source builds.

12 years agoi965_drv_video: cosmetics (cleanup Makefile).
Gwenole Beauchesne [Wed, 20 Jul 2011 11:10:08 +0000 (13:10 +0200)]
i965_drv_video: cosmetics (cleanup Makefile).

12 years agocosmetics: clean up Makefiles.
Gwenole Beauchesne [Wed, 20 Jul 2011 11:01:28 +0000 (13:01 +0200)]
cosmetics: clean up Makefiles.

12 years agoVA/X11: drop useless casts.
Gwenole Beauchesne [Wed, 20 Jul 2011 08:56:24 +0000 (10:56 +0200)]
VA/X11: drop useless casts.

12 years agoVA/GLX: drop useless casts.
Gwenole Beauchesne [Wed, 20 Jul 2011 08:52:29 +0000 (10:52 +0200)]
VA/GLX: drop useless casts.

12 years agovatrace: trace JPEG encode parameters
Austin Yuan [Tue, 26 Jul 2011 05:57:42 +0000 (13:57 +0800)]
vatrace: trace JPEG encode parameters

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
12 years agoUpdate on vatrace/test and va.h
Austin Yuan [Thu, 14 Jul 2011 03:18:44 +0000 (11:18 +0800)]
Update on vatrace/test and va.h

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>
12 years agoi965_drv_video: update post processing interface
Xiang, Haihao [Tue, 12 Jul 2011 07:28:29 +0000 (15:28 +0800)]
i965_drv_video: update post processing interface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: fixes assertion failure
Xiang, Haihao [Fri, 8 Jul 2011 02:54:31 +0000 (10:54 +0800)]
i965_drv_video: fixes assertion failure

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: fix next slice vertical position for field picture
Xiang, Haihao [Thu, 7 Jul 2011 07:55:58 +0000 (15:55 +0800)]
i965_drv_video: fix next slice vertical position for field picture

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=38628

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agovatrace: print MPEG4/H263 encode parameters information
Austin Yuan [Thu, 30 Jun 2011 09:23:29 +0000 (17:23 +0800)]
vatrace: print MPEG4/H263 encode parameters information

Change-Id: Ib39b436865c2b665dc49c916d5f364f03e8c79b5
igned-off-by: Austin Yuan <shengquan.yuan@gmail.com>

12 years agoi965_drv_video: add support for VA_SUBPICTURE_DESTINATION_IS_SCREEN_COORD.
Gwenole Beauchesne [Tue, 28 Jun 2011 01:30:21 +0000 (18:30 -0700)]
i965_drv_video: add support for VA_SUBPICTURE_DESTINATION_IS_SCREEN_COORD.

12 years agoi965_drv_video: fix subpicture scale factor for Y axis.
Gwenole Beauchesne [Tue, 28 Jun 2011 04:19:51 +0000 (21:19 -0700)]
i965_drv_video: fix subpicture scale factor for Y axis.

12 years agoi965_drv_video: simplify put_surface() and put_subpicture() args.
Gwenole Beauchesne [Tue, 28 Jun 2011 00:02:58 +0000 (17:02 -0700)]
i965_drv_video: simplify put_surface() and put_subpicture() args.

12 years agova/test/putsurface_x11: avoid warning 'warning: ‘win’ is used uninitialized in this...
Xiang, Haihao [Fri, 24 Jun 2011 01:20:32 +0000 (09:20 +0800)]
va/test/putsurface_x11: avoid warning 'warning: ‘win’ is used uninitialized in this function'

This fixes broken putsurface on X11

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agova/test: return a value to silence compiler waring
Xiang, Haihao [Fri, 24 Jun 2011 01:14:10 +0000 (09:14 +0800)]
va/test: return a value to silence compiler waring

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agova: fix warning about memset.
Xiang, Haihao [Fri, 24 Jun 2011 01:10:47 +0000 (09:10 +0800)]
va: fix warning about memset.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agotest/putsurface: more cleanup, remove #ifdef ANDROID from putsurface_common.c
Austin Yuan [Mon, 20 Jun 2011 08:03:41 +0000 (01:03 -0700)]
test/putsurface: more cleanup, remove #ifdef ANDROID from putsurface_common.c

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
12 years agotest/putsurface: add UV element into the auto-generated image
Austin Yuan [Mon, 20 Jun 2011 03:15:23 +0000 (20:15 -0700)]
test/putsurface: add UV element into the auto-generated image

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
12 years agoFix vaTerminate() with non DRI-based drivers.
Gwenole Beauchesne [Thu, 16 Jun 2011 13:03:46 +0000 (21:03 +0800)]
Fix vaTerminate() with non DRI-based drivers.

12 years agova-android: same as X11, also always create a new VA display on android
Austin Yuan [Thu, 16 Jun 2011 05:58:11 +0000 (13:58 +0800)]
va-android: same as X11, also always create a new VA display on android

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>
12 years agoi965_drv_video: fix assertion failure
Xiang, Haihao [Wed, 15 Jun 2011 01:11:26 +0000 (09:11 +0800)]
i965_drv_video: fix assertion failure

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: fix GPU hang issue when decoding field coded MPEG2 picture.
Xiang, Haihao [Tue, 14 Jun 2011 01:49:44 +0000 (09:49 +0800)]
i965_drv_video: fix GPU hang issue when decoding field coded MPEG2 picture.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agolibva: fix memeory leaks in libva
Edgar Hucek [Mon, 13 Jun 2011 05:46:06 +0000 (13:46 +0800)]
libva: fix memeory leaks in libva

Signed-off-by: Edgar Hucek <gimli@dark-green.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: fix memory leaks in i965 driver
Edgar Hucek [Mon, 13 Jun 2011 05:43:37 +0000 (13:43 +0800)]
i965_drv_video: fix memory leaks in i965 driver

Signed-off-by: Edgar Hucek <gimli@dark-green.com>
12 years agoi965_drv_video: track the internal format of a surface
Xiang, Haihao [Mon, 13 Jun 2011 04:46:16 +0000 (12:46 +0800)]
i965_drv_video: track the internal format of a surface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoRevert the change in VA_DRI2SwapBuffers: _XReply -->_XSend
Austin Yuan [Fri, 10 Jun 2011 06:00:11 +0000 (14:00 +0800)]
Revert the change in VA_DRI2SwapBuffers: _XReply -->_XSend

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>
12 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/libva
Austin Yuan [Fri, 10 Jun 2011 05:42:56 +0000 (13:42 +0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/libva

12 years agotest/encode/avcenc: don't include <pciaccess.h>
Xiang, Haihao [Fri, 10 Jun 2011 02:53:29 +0000 (10:53 +0800)]
test/encode/avcenc: don't include <pciaccess.h>

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: encode on Ivybridge
Xiang, Haihao [Fri, 10 Jun 2011 02:48:16 +0000 (10:48 +0800)]
i965_drv_video: encode on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: fix VME shaders
Xiang, Haihao [Thu, 9 Jun 2011 08:22:03 +0000 (16:22 +0800)]
i965_drv_video: fix VME shaders

1. The response length for inter type on Ivybridge is 6.
2. fix register region

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: new shaders for VME on Ivybridge
Xiang, Haihao [Thu, 9 Jun 2011 05:13:24 +0000 (13:13 +0800)]
i965_drv_video: new shaders for VME on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoCorrected trace prints (updated, change format, etc), replaced \t by spaces in source...
Alexander Osin [Tue, 7 Jun 2011 18:37:11 +0000 (22:37 +0400)]
Corrected trace prints (updated, change format, etc), replaced \t by spaces in source code

12 years agoi965_drv_video: set surface base address in VME
Xiang, Haihao [Thu, 9 Jun 2011 01:56:16 +0000 (09:56 +0800)]
i965_drv_video: set surface base address in VME

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>
12 years agoi965_drv_video: clean up
Xiang, Haihao [Thu, 26 May 2011 02:33:47 +0000 (10:33 +0800)]
i965_drv_video: clean up

Don't emit PIPE_CONTROL directly, instead call intel_batchbuffer_emit_mi_flush.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: Added check of obj_surface->bo field inside i965_media_h264_surface_s...
Alexander Osin [Tue, 7 Jun 2011 18:35:33 +0000 (22:35 +0400)]
i965_drv_video: Added check of obj_surface->bo field inside i965_media_h264_surface_state()

12 years agotest/basic testing programs do not need to be installed
Austin Yuan [Wed, 8 Jun 2011 01:48:19 +0000 (18:48 -0700)]
test/basic testing programs do not need to be installed
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>
12 years agoi965_drv_video: improved MV quality for VME
Zhou Chang [Wed, 1 Jun 2011 08:01:14 +0000 (16:01 +0800)]
i965_drv_video: improved MV quality for VME

12 years agoBump to 1.0.13
Austin Yuan [Tue, 31 May 2011 02:10:12 +0000 (19:10 -0700)]
Bump to 1.0.13

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
12 years agolibva: several changes
Austin Yuan [Tue, 31 May 2011 02:02:25 +0000 (19:02 -0700)]
libva: several changes

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>
12 years agoi965_drv_video: clean up codes
Xiang, Haihao [Wed, 25 May 2011 06:14:42 +0000 (14:14 +0800)]
i965_drv_video: clean up codes

Check and allocate surface BO in a same function

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: rendering for Ivybridge
Xiang, Haihao [Wed, 25 May 2011 04:55:46 +0000 (12:55 +0800)]
i965_drv_video: rendering for Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: new shaders for rendering on Ivybridge
Xiang, Haihao [Wed, 25 May 2011 01:32:50 +0000 (09:32 +0800)]
i965_drv_video: new shaders for rendering on Ivybridge

SEND on Ivybridge uses GRFs instead of MRFs

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: VC1 decoding on Ivybridge
Xiang, Haihao [Wed, 25 May 2011 01:27:07 +0000 (09:27 +0800)]
i965_drv_video: VC1 decoding on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: H.264 & MPEG2 decoding on Ivybridge
Xiang, Haihao [Wed, 25 May 2011 01:24:08 +0000 (09:24 +0800)]
i965_drv_video: H.264 & MPEG2 decoding on Ivybridge

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: Ivybridge PCI IDs
Xiang, Haihao [Tue, 17 May 2011 09:00:22 +0000 (17:00 +0800)]
i965_drv_video: Ivybridge PCI IDs

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: thread safety for object allocation
Xiang, Haihao [Mon, 16 May 2011 01:49:01 +0000 (09:49 +0800)]
i965_drv_video: thread safety for object allocation

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_vidoe: thread safety for rendering
Xiang, Haihao [Fri, 13 May 2011 07:45:22 +0000 (15:45 +0800)]
i965_drv_vidoe: thread safety for rendering

12 years agova: always create a new VA display on X11
Xiang, Haihao [Mon, 16 May 2011 03:42:51 +0000 (11:42 +0800)]
va: always create a new VA display on X11

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>
12 years agotest/putsurface/putsurface: fix multi-thread issue on X11
Xiang, Haihao [Mon, 16 May 2011 00:48:01 +0000 (08:48 +0800)]
test/putsurface/putsurface: fix multi-thread issue on X11

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>
12 years agotest/putsurface/putsurface: pass a valid DRAWABLE to vaPutSurface
Xiang, Haihao [Fri, 13 May 2011 07:43:51 +0000 (15:43 +0800)]
test/putsurface/putsurface: pass a valid DRAWABLE to vaPutSurface

12 years agoi965_drv_video: move batchbuffer to context
Xiang, Haihao [Fri, 13 May 2011 05:17:58 +0000 (13:17 +0800)]
i965_drv_video: move batchbuffer to context

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoi965_drv_video: clean up batchbuffer interface
Xiang, Haihao [Thu, 12 May 2011 08:00:30 +0000 (16:00 +0800)]
i965_drv_video: clean up batchbuffer interface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
12 years agoupdate .gitignore
Xiang, Haihao [Wed, 11 May 2011 03:20:29 +0000 (11:20 +0800)]
update .gitignore

13 years agoi965_drv_video: store post process parameters in context
Xiang, Haihao [Tue, 10 May 2011 05:06:22 +0000 (13:06 +0800)]
i965_drv_video: store post process parameters in context

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: store kernel info in the corresponding context
Xiang, Haihao [Tue, 10 May 2011 04:52:05 +0000 (12:52 +0800)]
i965_drv_video: store kernel info in the corresponding context

13 years agoi965_drv_video: use the same structure for all kernels
Xiang, Haihao [Tue, 10 May 2011 04:45:56 +0000 (12:45 +0800)]
i965_drv_video: use the same structure for all kernels

13 years agoi965_drv_video: create media_state per context
Xiang, Haihao [Tue, 10 May 2011 04:49:54 +0000 (12:49 +0800)]
i965_drv_video: create media_state per context

Also clean up some codes

13 years agotest/encode/avcenc: fix for VAEncSequenceParameterBufferH264
Xiang, Haihao [Fri, 6 May 2011 01:29:56 +0000 (09:29 +0800)]
test/encode/avcenc: fix for VAEncSequenceParameterBufferH264

13 years agoImplemented i965_LockSurface, i965_UnlockSurface, i965_BufferInfo
Alexander I Osin [Thu, 28 Apr 2011 15:52:55 +0000 (18:52 +0300)]
Implemented i965_LockSurface, i965_UnlockSurface, i965_BufferInfo

13 years agoAdded locked_image_id in struct object_surface
Alexander I Osin [Thu, 28 Apr 2011 15:53:55 +0000 (18:53 +0300)]
Added locked_image_id in struct object_surface

13 years agova: fix build issue
Xiang, Haihao [Fri, 6 May 2011 06:14:20 +0000 (14:14 +0800)]
va: fix build issue

va_trace.c:410: error: conflicting types for ‘va_TraceInitialize’
va_trace.h:33: note: previous declaration of ‘va_TraceInitialize’ was here
va_trace.c:420: error: conflicting types for ‘va_TraceTerminate’
va_trace.h:39: note: previous declaration of ‘va_TraceTerminate’ was here

13 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/libva
Austin Yuan [Fri, 6 May 2011 04:52:44 +0000 (12:52 +0800)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/libva

13 years ago1) test/*: enable/refine the test/* for both X11 and Android
Austin Yuan [Fri, 6 May 2011 03:04:50 +0000 (20:04 -0700)]
1) test/*: enable/refine the test/* for both X11 and Android
2) va_dri2.c: use _XSend instead of _XReply which is time-consuming
3) trace message for vaPutSurface/vaInitialize/vaTerminate

Signed-off-by: Guoliang Ji <guoliangx.ji@intel.com>
Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years ago1) test/*: enable/refine the test/* for both X11 and Android
Austin Yuan [Fri, 6 May 2011 03:04:50 +0000 (20:04 -0700)]
1) test/*: enable/refine the test/* for both X11 and Android
2) va_dri2.c: use _XSend instead of _XReply which is time-consuming
3) trace message for vaPutSurface/vaInitialize/vaTerminate

Signed-off-by: Guoliang Ji <guoliangx.ji@intel.com>
Signed-off-by: Zhaohan Ren <zhaohan.ren@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
13 years agocorrected vaBufferInfo interface
Alexander I Osin [Thu, 28 Apr 2011 16:05:45 +0000 (19:05 +0300)]
corrected vaBufferInfo interface

13 years agocorrected vaBufferInfo interface
Alexander I Osin [Thu, 28 Apr 2011 16:05:18 +0000 (19:05 +0300)]
corrected vaBufferInfo interface

13 years agoFixed number bugs in va_TraceSurface.
Alexander I Osin [Thu, 28 Apr 2011 16:03:04 +0000 (19:03 +0300)]
Fixed number bugs in va_TraceSurface.

13 years agotest/encode/avcenc: a simple encoder based on VA API for H.264
Zhou Chang [Thu, 28 Apr 2011 07:50:14 +0000 (15:50 +0800)]
test/encode/avcenc: a simple encoder based on VA API for H.264

Usage:
avcenc <width> <height> <input file> <output file> [qp]

Singed-off-by: Zhou Chang <chang.zhou@intel.com>
Singed-off-by: Lan Hai <hai.lan@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoMerge branch 'snb-encoder'
Xiang, Haihao [Tue, 26 Apr 2011 08:10:22 +0000 (16:10 +0800)]
Merge branch 'snb-encoder'

13 years agoi965_drv_video/encode: offset for coded buffer
Xiang, Haihao [Tue, 26 Apr 2011 05:26:38 +0000 (13:26 +0800)]
i965_drv_video/encode: offset for coded buffer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: indentation fix
Xiang, Haihao [Fri, 22 Apr 2011 05:23:09 +0000 (13:23 +0800)]
i965_drv_video/encode: indentation fix

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: media read with sampler cache
Xiang, Haihao [Fri, 22 Apr 2011 05:09:03 +0000 (13:09 +0800)]
i965_drv_video/encode: media read with sampler cache

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/video: set base address for MV data
Xiang, Haihao [Fri, 22 Apr 2011 04:15:15 +0000 (12:15 +0800)]
i965_drv_video/video: set base address for MV data

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: merge global symbols in intra/inter shader
Xiang, Haihao [Fri, 22 Apr 2011 02:20:59 +0000 (10:20 +0800)]
i965_drv_video/encode: merge global symbols in intra/inter shader

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: remove all intra data in inter shader
Xiang, Haihao [Fri, 22 Apr 2011 02:01:02 +0000 (10:01 +0800)]
i965_drv_video/encode: remove all intra data in inter shader

Need to revert this commit if select inter-intra mixed mode for P/B frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: clean up gen6_mfc_avc_pipeline_programing
Xiang, Haihao [Fri, 22 Apr 2011 01:53:25 +0000 (09:53 +0800)]
i965_drv_video: clean up gen6_mfc_avc_pipeline_programing

don't need to map VME output for inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: merge the object command for intra/inter frame
Xiang, Haihao [Fri, 22 Apr 2011 01:43:11 +0000 (09:43 +0800)]
i965_drv_video/encode: merge the object command for intra/inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: also simplify the object command for inter frame
Xiang, Haihao [Fri, 22 Apr 2011 01:37:20 +0000 (09:37 +0800)]
i965_drv_video/encode: also simplify the object command for inter frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: reduce inline data for inter shader
Xiang, Haihao [Fri, 22 Apr 2011 01:30:32 +0000 (09:30 +0800)]
i965_drv_video/encode: reduce inline data for inter shader

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video: simplify the object command for intra frame
Xiang, Haihao [Thu, 21 Apr 2011 05:17:00 +0000 (13:17 +0800)]
i965_drv_video: simplify the object command for intra frame

fixes some comments in intra_frame.asm as well.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fetch neighbor pixel in intra shader
Xiang, Haihao [Thu, 21 Apr 2011 04:56:28 +0000 (12:56 +0800)]
i965_drv_video/encode: fetch neighbor pixel in intra shader

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fix neighbor pixel luma value in VME message
Xiang, Haihao [Thu, 21 Apr 2011 04:53:39 +0000 (12:53 +0800)]
i965_drv_video/encode: fix neighbor pixel luma value in VME message

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
13 years agoi965_drv_video/encode: fix macroblock instra struct in VME message
Xiang, Haihao [Thu, 21 Apr 2011 05:23:56 +0000 (13:23 +0800)]
i965_drv_video/encode: fix macroblock instra struct in VME message

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>