platform/upstream/libva.git
14 years agoFix VA trace warnings.
Gwenole Beauchesne [Fri, 23 Jul 2010 11:27:15 +0000 (13:27 +0200)]
Fix VA trace warnings.

Missing declarations, wrong return values, if any, etc.

14 years agoFix to require libdrm 2.4.21 or newer for i965 video driver.
Xiang, Haihao [Wed, 21 Jul 2010 02:49:59 +0000 (10:49 +0800)]
Fix to require libdrm 2.4.21 or newer for i965 video driver.

This is necessary to support BSD command

14 years agoFix rendering of subpictures.
Gwenole Beauchesne [Tue, 13 Jul 2010 14:55:29 +0000 (16:55 +0200)]
Fix rendering of subpictures.

14 years agoFix vaGetImage() for YV12 format.
Gwenole Beauchesne [Mon, 12 Jul 2010 23:02:19 +0000 (01:02 +0200)]
Fix vaGetImage() for YV12 format.

14 years agoSimplify vaGetImage().
Gwenole Beauchesne [Mon, 12 Jul 2010 22:23:55 +0000 (00:23 +0200)]
Simplify vaGetImage().

14 years agoFix vaGetImage() to wait for pending operations to complete.
Gwenole Beauchesne [Mon, 12 Jul 2010 21:57:23 +0000 (23:57 +0200)]
Fix vaGetImage() to wait for pending operations to complete.

14 years agoAdd NV12 image format.
Gwenole Beauchesne [Thu, 3 Jun 2010 06:57:45 +0000 (08:57 +0200)]
Add NV12 image format.

14 years agoFix vaGetImage() bounds checking code.
Gwenole Beauchesne [Mon, 12 Jul 2010 06:34:37 +0000 (08:34 +0200)]
Fix vaGetImage() bounds checking code.

14 years agoMove initialization of render_state->interleaved_uv to vaCreateContext().
Gwenole Beauchesne [Sun, 11 Jul 2010 15:05:12 +0000 (17:05 +0200)]
Move initialization of render_state->interleaved_uv to vaCreateContext().

14 years agoFix out-of-source builds.
Gwenole Beauchesne [Tue, 18 May 2010 15:16:57 +0000 (17:16 +0200)]
Fix out-of-source builds.

14 years agoAdd I420 image format.
Gwenole Beauchesne [Thu, 3 Jun 2010 06:54:55 +0000 (08:54 +0200)]
Add I420 image format.

14 years agoi965_drv_video: use original widht/height for rendering
Xiang, Haihao [Mon, 12 Jul 2010 06:26:06 +0000 (14:26 +0800)]
i965_drv_video: use original widht/height for rendering

14 years agoFix vaTerminate().
Gwenole Beauchesne [Wed, 9 Jun 2010 06:30:17 +0000 (08:30 +0200)]
Fix vaTerminate().

14 years ago Implement vaGetImage().
Gwenole Beauchesne [Wed, 4 Nov 2009 13:16:34 +0000 (13:16 +0000)]
 Implement vaGetImage().

14 years agoAdd YV12 image format.
Gwenole Beauchesne [Wed, 4 Nov 2009 13:01:44 +0000 (13:01 +0000)]
Add YV12 image format.

14 years agoDon't return VA_STATUS_SUCCESS for unimplemented functions.
Gwenole Beauchesne [Wed, 4 Nov 2009 13:23:40 +0000 (13:23 +0000)]
Don't return VA_STATUS_SUCCESS for unimplemented functions.

14 years agoAdd RGBA subpictures.
Gwenole Beauchesne [Wed, 4 Nov 2009 10:56:54 +0000 (10:56 +0000)]
Add RGBA subpictures.

14 years agoFix subpictures formats array terminator.
Gwenole Beauchesne [Wed, 4 Nov 2009 12:13:41 +0000 (12:13 +0000)]
Fix subpictures formats array terminator.

14 years agoFix vaErrorStr() for VA_STATUS_ERROR_INVALID_IMAGE_FORMAT.
Gwenole Beauchesne [Wed, 9 Jun 2010 07:40:28 +0000 (09:40 +0200)]
Fix vaErrorStr() for VA_STATUS_ERROR_INVALID_IMAGE_FORMAT.

14 years agoi965_drv_video: [H.264] fix slice_data_bit_offset
Xiang, Haihao [Wed, 7 Jul 2010 06:29:36 +0000 (14:29 +0800)]
i965_drv_video: [H.264] fix slice_data_bit_offset

VASliceParameterBufferH264.slice_data_bit_offset will point into the part
of slice header if there are some escaped bytes in the slice header. The offset
to slice data is needed for BSD unit so that BSD unit can fetch right slice data
for processing. This fixes conformance case BASQP1_Sony_C.jsv

The method to get the total number of bytes in the slice header is provided by Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>

14 years agoi965_drv_video: [H.264] fix the start of a slice for a MBAFF picture
Xiang, Haihao [Mon, 5 Jul 2010 02:09:54 +0000 (10:09 +0800)]
i965_drv_video: [H.264] fix the start of a slice for a MBAFF picture

14 years agoi965_drv_video: fix BSD batch buffer size.
Xiang, Haihao [Mon, 5 Jul 2010 02:06:03 +0000 (10:06 +0800)]
i965_drv_video: fix BSD batch buffer size.

Some stress cases need a large BSD batch buffer.

14 years agolibva: render front buffer for Pixmap.
Xiang, Haihao [Thu, 1 Jul 2010 07:47:38 +0000 (15:47 +0800)]
libva: render front buffer for Pixmap.

The way to get drawable type is proposed by Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>

14 years agoi965_drv_video: [H.264] fix different slice type in a same picture issue.
Xiang, Haihao [Thu, 1 Jul 2010 05:01:31 +0000 (13:01 +0800)]
i965_drv_video: [H.264] fix different slice type in a same picture issue.

14 years agoDrop GLX 1.3 requirement.
Gwenole Beauchesne [Thu, 1 Jul 2010 06:19:54 +0000 (08:19 +0200)]
Drop GLX 1.3 requirement.

14 years agoCall GLX Pixmap related functions through the vtable.
Gwenole Beauchesne [Thu, 1 Jul 2010 06:07:23 +0000 (08:07 +0200)]
Call GLX Pixmap related functions through the vtable.

14 years agoi965_drv_video: [H.264] fix chroma issue
Xiang, Haihao [Fri, 25 Jun 2010 05:16:30 +0000 (13:16 +0800)]
i965_drv_video: [H.264] fix chroma issue

14 years agoi965_drv_video: fix AVC mc kernel
Xiang, Haihao [Fri, 18 Jun 2010 08:00:48 +0000 (16:00 +0800)]
i965_drv_video: fix AVC mc kernel

14 years agobump library version to 1.0.3 libva-1.0.3 ww26.3-video
Xiang, Haihao [Sun, 13 Jun 2010 06:50:09 +0000 (14:50 +0800)]
bump library version to 1.0.3

14 years agoi965_drv_video: [H.264] fix register blocks for ILDB
Xiang, Haihao [Thu, 10 Jun 2010 02:50:39 +0000 (10:50 +0800)]
i965_drv_video: [H.264] fix register blocks for ILDB

14 years agoAdded VA_STATUS_ERROR_INVALID_IMAGE_FORMAT
Austin Yuan [Tue, 8 Jun 2010 08:57:58 +0000 (16:57 +0800)]
Added VA_STATUS_ERROR_INVALID_IMAGE_FORMAT

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoMerge branch 'i965_h264'
Xiang, Haihao [Tue, 8 Jun 2010 01:53:02 +0000 (09:53 +0800)]
Merge branch 'i965_h264'

Conflicts:
va/x11/dri2_util.c

14 years agoi965_drv_video: [H.264] some code clean up
Xiang, Haihao [Tue, 8 Jun 2010 01:19:13 +0000 (09:19 +0800)]
i965_drv_video: [H.264] some code clean up

14 years agoLink libva-android with libva for vaDisplayIsValid
Austin Yuan [Fri, 4 Jun 2010 09:31:07 +0000 (17:31 +0800)]
Link libva-android with libva for vaDisplayIsValid

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoFollow up the change of "LIBVA_DRIVER_NAME", remove it from va_android.cpp
Austin Yuan [Fri, 4 Jun 2010 06:29:01 +0000 (14:29 +0800)]
Follow up the change of "LIBVA_DRIVER_NAME", remove it from va_android.cpp

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoMove LIBVA_DRIVER_NAME check in vaInitialize().
Gwenole Beauchesne [Tue, 23 Feb 2010 09:11:22 +0000 (09:11 +0000)]
Move LIBVA_DRIVER_NAME check in vaInitialize().

14 years agoVA/GLX cosmetics (indentation, declarations)
Gwenole Beauchesne [Tue, 13 Apr 2010 02:54:11 +0000 (04:54 +0200)]
VA/GLX cosmetics (indentation, declarations)

14 years agoFix vainfo to build out of the source dir
Gwenole Beauchesne [Tue, 22 Sep 2009 12:29:56 +0000 (12:29 +0000)]
Fix vainfo to build out of the source dir

14 years agoDon't search LIBGL_DRIVERS_PATH, stick to LIBVA_DRIVERS_PATH only or the default...
Gwenole Beauchesne [Tue, 22 Sep 2009 13:03:23 +0000 (13:03 +0000)]
Don't search LIBGL_DRIVERS_PATH, stick to LIBVA_DRIVERS_PATH only or the default path.

14 years agoFix libva-x11 dependencies. Ensure this grabs libva so that people don't have to...
Gwenole Beauchesne [Tue, 22 Sep 2009 13:00:34 +0000 (13:00 +0000)]
Fix libva-x11 dependencies. Ensure this grabs libva so that people don't have to check for that themselves.

14 years agoFix vainfo dependencies (Konstantin Pavlov).
Gwenole Beauchesne [Tue, 22 Sep 2009 12:29:56 +0000 (12:29 +0000)]
Fix vainfo dependencies (Konstantin Pavlov).

14 years agoDon't dump VA surface pixels if driver doesn't return VA surface buffer.
Gwenole Beauchesne [Wed, 2 Jun 2010 07:10:27 +0000 (09:10 +0200)]
Don't dump VA surface pixels if driver doesn't return VA surface buffer.

14 years agoFix VA tracer to correctly dump array of bytes.
Gwenole Beauchesne [Wed, 2 Jun 2010 07:07:43 +0000 (09:07 +0200)]
Fix VA tracer to correctly dump array of bytes.

14 years agoCall va_TraceEndPicture() after the actual vaEndPicture(). i.e. let the driver flush...
Gwenole Beauchesne [Wed, 2 Jun 2010 07:04:33 +0000 (09:04 +0200)]
Call va_TraceEndPicture() after the actual vaEndPicture(). i.e. let the driver flush and complete rendering of the surface.

14 years agoi965_drv_video: new ring buffer flag
Xiang, Haihao [Wed, 2 Jun 2010 07:12:03 +0000 (15:12 +0800)]
i965_drv_video: new ring buffer flag

14 years agoi965_drv_video: fix graphics memory usage
Xiang, Haihao [Wed, 2 Jun 2010 07:11:07 +0000 (15:11 +0800)]
i965_drv_video: fix graphics memory usage

14 years agoi965_drv_video: don't execute batch buffer after decoding a picture
Xiang, Haihao [Wed, 2 Jun 2010 06:27:14 +0000 (14:27 +0800)]
i965_drv_video: don't execute batch buffer after decoding a picture

14 years agoi965_drv_video: [H.264] enlarge concurrent threads for ILDB
Xiang, Haihao [Tue, 1 Jun 2010 09:29:09 +0000 (17:29 +0800)]
i965_drv_video: [H.264] enlarge concurrent threads for ILDB

14 years agoi965_drv_video: [H.264] devide the command buffer into smaller sections for HWscorebo...
Xiang, Haihao [Fri, 28 May 2010 05:20:17 +0000 (13:20 +0800)]
i965_drv_video: [H.264] devide the command buffer into smaller sections for HWscoreboard thread.

14 years agoi965_drv_vidoe: update max_thread for rendering
Xiang, Haihao [Tue, 18 May 2010 04:55:51 +0000 (12:55 +0800)]
i965_drv_vidoe: update max_thread for rendering

14 years agoi965_drv_video: fix initialization function
Xiang, Haihao [Mon, 17 May 2010 09:17:36 +0000 (17:17 +0800)]
i965_drv_video: fix initialization function

14 years agolibva: update DRI2 to support swapbuffer
Xiang, Haihao [Wed, 2 Jun 2010 05:50:15 +0000 (13:50 +0800)]
libva: update DRI2 to support swapbuffer

14 years ago1) clean up Android header file to make it work in C file (from zhaohan.ren at intel...
Austin Yuan [Wed, 2 Jun 2010 02:22:01 +0000 (10:22 +0800)]
1) clean up Android header file to make it work in C file (from zhaohan.ren at intel.com)
2) rearrange va/Makefile.am (from elaine.wang at intel.com)
3) apply the new VACodedBufferSegment to encode test APP

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoFix make dist.
Gwenole Beauchesne [Tue, 1 Jun 2010 11:20:17 +0000 (13:20 +0200)]
Fix make dist.

14 years agoFix TPI lib dependencies.
Gwenole Beauchesne [Tue, 1 Jun 2010 10:26:40 +0000 (12:26 +0200)]
Fix TPI lib dependencies.

14 years agoDrop superfluous versions.
Gwenole Beauchesne [Tue, 1 Jun 2010 10:30:46 +0000 (12:30 +0200)]
Drop superfluous versions.

14 years agoFix out-of-source builds.
Gwenole Beauchesne [Tue, 18 May 2010 15:16:57 +0000 (17:16 +0200)]
Fix out-of-source builds.

14 years agomv va_android.c -> va_dummy.c
Austin Yuan [Fri, 21 May 2010 10:23:51 +0000 (18:23 +0800)]
mv va_android.c -> va_dummy.c

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoAdded intra_idr_period for H264 encode
Austin Yuan [Thu, 20 May 2010 06:42:43 +0000 (14:42 +0800)]
Added intra_idr_period for H264 encode

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoremove vaDisplayIsValid from libva-glx
Austin Yuan [Thu, 20 May 2010 05:55:37 +0000 (13:55 +0800)]
remove vaDisplayIsValid from libva-glx

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoPass down ISurface instead of Surface
Ren Zhaohan [Tue, 18 May 2010 07:44:55 +0000 (15:44 +0800)]
Pass down ISurface instead of Surface

14 years agoremove vaDisplayIsValid by linking libva_android.so
Ren Zhaohan [Thu, 13 May 2010 06:37:06 +0000 (14:37 +0800)]
remove vaDisplayIsValid by linking libva_android.so

14 years agoincreate version
Austin Yuan [Wed, 12 May 2010 21:56:45 +0000 (05:56 +0800)]
increate version

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoFix build issue
Austin Yuan [Wed, 12 May 2010 21:09:09 +0000 (14:09 -0700)]
Fix build issue

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoAdd OpenGL extensions (v3) and generic implementation with TFP and FBO.
Gwenole Beauchesne [Tue, 13 Apr 2010 02:54:11 +0000 (04:54 +0200)]
Add OpenGL extensions (v3) and generic implementation with TFP and FBO.

14 years agoAdd OpenGL extensions (v3) and generic implementation with TFP and FBO.
Gwenole Beauchesne [Mon, 8 Mar 2010 08:44:25 +0000 (09:44 +0100)]
Add OpenGL extensions (v3) and generic implementation with TFP and FBO.

14 years agoremove Drawable paramater of vaPutSurfaceBuf
Ren Zhaohan [Wed, 12 May 2010 06:16:37 +0000 (14:16 +0800)]
remove Drawable paramater of vaPutSurfaceBuf

14 years agoAdd copy va_tpi.h in Android.mk
Ren Zhaohan [Wed, 12 May 2010 04:04:28 +0000 (12:04 +0800)]
Add copy va_tpi.h in Android.mk

14 years agoAdd local vaDisplayIsValid
Ren Zhaohan [Tue, 11 May 2010 06:45:13 +0000 (14:45 +0800)]
Add local vaDisplayIsValid

14 years agoMerge branch 'test' into libva-1.1
Ren Zhaohan [Tue, 11 May 2010 06:36:43 +0000 (14:36 +0800)]
Merge branch 'test' into libva-1.1

14 years agoAdd vaPutSurfaceBuf to va_backend_tpi.h and va_tpi.c[h], update Android.mk for new...
Ren Zhaohan [Tue, 11 May 2010 06:33:37 +0000 (14:33 +0800)]
Add vaPutSurfaceBuf to va_backend_tpi.h and va_tpi.c[h], update Android.mk for new shared lib libva_android_tpi.so

14 years agoglobal vaDisplayIsValid PO-ww20.1-video PO-ww20.2-video
Austin Yuan [Mon, 10 May 2010 17:14:53 +0000 (01:14 +0800)]
global vaDisplayIsValid

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoSeperate 3rd party API (e.g. vaCreateSurfaceFromXXX) into a libva-tpi.so
Austin Yuan [Fri, 7 May 2010 18:03:56 +0000 (02:03 +0800)]
Seperate 3rd party API (e.g. vaCreateSurfaceFromXXX) into a libva-tpi.so
and driver table memory is allocated by driver if driver wants to support it.

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoRemove and redifine some Xlib Macros, use void* instead of Surface* for VAStatus...
Ren Zhaohan [Fri, 7 May 2010 03:42:16 +0000 (11:42 +0800)]
Remove and redifine some Xlib Macros, use void* instead of Surface* for VAStatus (*vaPutSurface)

14 years agoi965_drv_video: [H.264] add support for ILDB
Xiang, Haihao [Fri, 7 May 2010 03:17:31 +0000 (11:17 +0800)]
i965_drv_video: [H.264] add support for ILDB

14 years agomove va_android.c => va_android.cpp, use sp<Surface> instead of void*.
Ren Zhaohan [Thu, 6 May 2010 11:40:00 +0000 (19:40 +0800)]
move va_android.c => va_android.cpp, use sp<Surface> instead of void*.

14 years agorestore old va_DisplayContextGetDriverName
Ren Zhaohan [Thu, 6 May 2010 06:39:16 +0000 (14:39 +0800)]
restore old va_DisplayContextGetDriverName

14 years agouse Surface* instead of void*
Ren Zhaohan [Thu, 6 May 2010 01:49:51 +0000 (09:49 +0800)]
use Surface* instead of void*

14 years agoadd new va_DisplayContextGetDriverName, remove 'x11/XX' include folder name PO-ww19.3-new
Ren Zhaohan [Wed, 5 May 2010 08:19:39 +0000 (16:19 +0800)]
add new va_DisplayContextGetDriverName, remove 'x11/XX' include folder name

14 years agoremove udev
Ren Zhaohan [Tue, 4 May 2010 07:56:25 +0000 (15:56 +0800)]
remove udev

14 years agoandroid and dummy backend
Austin Yuan [Thu, 29 Apr 2010 03:34:10 +0000 (11:34 +0800)]
android and dummy backend

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoMerge branch 'va_backend' into PO
Austin Yuan [Wed, 28 Apr 2010 23:20:56 +0000 (07:20 +0800)]
Merge branch 'va_backend' into PO

Conflicts:
va/android/va_android.c
va/va_android.h
va/va_backend.h

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agolibva backend
Ren Zhaohan [Tue, 27 Apr 2010 06:36:24 +0000 (14:36 +0800)]
libva backend

14 years agoAdded VACodedBufferSegment
Austin Yuan [Tue, 27 Apr 2010 00:04:45 +0000 (08:04 +0800)]
Added VACodedBufferSegment

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoi965_drv_video: move AVC-ILDB data buffer to struct i965_h264_context
Xiang, Haihao [Mon, 19 Apr 2010 06:41:31 +0000 (14:41 +0800)]
i965_drv_video: move AVC-ILDB data buffer to struct i965_h264_context

14 years agoi965_drv_video: [H.264] fix weight 128 issue
Xiang, Haihao [Mon, 19 Apr 2010 05:31:23 +0000 (13:31 +0800)]
i965_drv_video: [H.264] fix weight 128 issue

14 years agosave
Austin Yuan [Fri, 16 Apr 2010 18:56:53 +0000 (02:56 +0800)]
save

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agosave
Austin Yuan [Thu, 15 Apr 2010 22:57:13 +0000 (06:57 +0800)]
save

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agosave
Austin Yuan [Thu, 15 Apr 2010 22:24:31 +0000 (06:24 +0800)]
save

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agosave
Austin Yuan [Thu, 15 Apr 2010 22:16:19 +0000 (06:16 +0800)]
save

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agosave
Austin Yuan [Thu, 15 Apr 2010 21:36:59 +0000 (05:36 +0800)]
save

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
14 years agoi965_drv_video: [H.264] fix for weight/offset state
Xiang, Haihao [Thu, 15 Apr 2010 01:18:53 +0000 (09:18 +0800)]
i965_drv_video: [H.264] fix for weight/offset state

14 years agoi965_drv_video: [H.264] track frame store index
Xiang, Haihao [Wed, 14 Apr 2010 07:14:50 +0000 (15:14 +0800)]
i965_drv_video: [H.264] track frame store index

14 years agoi965_drv_video: fix an assertion
Xiang, Haihao [Fri, 9 Apr 2010 07:33:35 +0000 (15:33 +0800)]
i965_drv_video: fix an assertion

14 years agoi965_drv_video: fix MBAFF issue
Xiang, Haihao [Fri, 9 Apr 2010 05:54:58 +0000 (13:54 +0800)]
i965_drv_video: fix MBAFF issue

14 years agoi965_drv_video: surface width/height is 16Btye aligned.
Xiang, Haihao [Thu, 8 Apr 2010 07:46:16 +0000 (15:46 +0800)]
i965_drv_video: surface width/height is 16Btye aligned.

14 years agoAdd vaPutSurfaceBuf for Android 20100414_5.3.0.0002 20100421_5.3.0.0003 20100428_5.3.0.0004 20100505_5.3.0.0005 20100510_5.3.0.0006_mdfld_eng_1 20100512_5.3.0.0007 20100517_5.3.0.0008 IMG_Drop_20100507_MDFLD
Ren Zhaohan [Thu, 8 Apr 2010 05:44:05 +0000 (13:44 +0800)]
Add vaPutSurfaceBuf for Android

14 years agopsb_drv_video error: vaPutSurface: invalidate drawable
Ren Zhaohan [Wed, 7 Apr 2010 11:40:34 +0000 (19:40 +0800)]
psb_drv_video error: vaPutSurface: invalidate drawable

14 years agoi965_drv_video: fix an assertion
Xiang, Haihao [Wed, 7 Apr 2010 09:28:52 +0000 (17:28 +0800)]
i965_drv_video: fix an assertion

14 years agoi965_drv_video: fix an error in the previous commit
Xiang, Haihao [Wed, 7 Apr 2010 03:27:11 +0000 (11:27 +0800)]
i965_drv_video: fix an error in the previous commit