Damien Lespiau [Thu, 16 Dec 2010 16:12:50 +0000 (00:12 +0800)]
i965_drv_video: Fix a small typo in a comment
Obviousy 50 - 2 + 8 != 2, 50 - 2 + 8 - 2 seems to be 54 though.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Damien Lespiau [Tue, 8 Dec 2009 09:14:13 +0000 (17:14 +0800)]
It makes the compilation visually cleaner and the warnings easier to spot.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Damien Lespiau [Tue, 8 Dec 2009 09:14:13 +0000 (17:14 +0800)]
Which means adding the tests, the pc files and va/va_version.h (generated file) while removing fw/* which are neither part of the repository nor mentioned anywhere in the Makefiles.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Damien Lespiau [Tue, 8 Dec 2009 09:14:13 +0000 (17:14 +0800)]
It's quite useful to be able to see what we are going to build, esp. as the i965 driver is not enabled by default. Obviously the summary can be extended with extra information.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Xiang, Haihao [Tue, 16 Nov 2010 06:49:16 +0000 (14:49 +0800)]
i965_drv_video/mpeg2: upload Quantizer Matrix in raster order on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 16 Nov 2010 02:15:56 +0000 (10:15 +0800)]
i965_drv_video: fix mpeg2 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 16 Nov 2010 01:20:05 +0000 (09:20 +0800)]
i965_drv_video: Enable BLT ring
Use BLT ring to clear background
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 15 Nov 2010 07:05:29 +0000 (15:05 +0800)]
i965_drv_video: release mfd context
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Mon, 15 Nov 2010 07:15:57 +0000 (15:15 +0800)]
i965_drv_video: add support for mpeg2 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 10 Nov 2010 05:56:45 +0000 (13:56 +0800)]
i965_drv_video/render: render sub-picture on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Wed, 10 Nov 2010 02:48:12 +0000 (10:48 +0800)]
i965_drv_video: Currently only use tiled-Y surfaces on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 08:56:13 +0000 (16:56 +0800)]
i965_drv_video: fix row data buffer for deblocking on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:30:39 +0000 (13:30 +0800)]
i965_drv_video: fix surface dimension
It is needed for Y-tiled surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:08:47 +0000 (13:08 +0800)]
i965_drv_video/render: rendering for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:07:50 +0000 (13:07 +0800)]
i965_drv_video/render: new fragmensts for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:05:54 +0000 (13:05 +0800)]
i965_drv_video/render: remove i965_subpic_render_src_surface_state
i965_render_src_surfaces_state can be used to set source state for subpicture
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:05:07 +0000 (13:05 +0800)]
i965_drv_video/render: support tiled source surface
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:04:22 +0000 (13:04 +0800)]
i965_drv_video/render: set surface base address
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>
Xiang, Haihao [Tue, 9 Nov 2010 05:02:49 +0000 (13:02 +0800)]
i965_drv_video: fix weight/offset for H.264 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:01:47 +0000 (13:01 +0800)]
i965_drv_video: fix mfx_avc_slice_state command
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 05:00:43 +0000 (13:00 +0800)]
i965_drv_video: set indirect bitsteam object base address
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:59:10 +0000 (12:59 +0800)]
i965_drv_video: Y-tiled surface for MFD on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:58:23 +0000 (12:58 +0800)]
i965_drv_video: H.264 decoding on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:53:05 +0000 (12:53 +0800)]
i965_drv_video: dump MFX commands
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:52:31 +0000 (12:52 +0800)]
i965_drv_video: check batch buffer emitting
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 04:51:37 +0000 (12:51 +0800)]
i965_drv_video: MACROs for MFX on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Tue, 9 Nov 2010 03:25:50 +0000 (11:25 +0800)]
i965_drv_video: PCI IDs and new MI_FLUSH_DW command for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Wed, 27 Oct 2010 23:26:04 +0000 (07:26 +0800)]
Added the missing files
Austin Yuan [Wed, 27 Oct 2010 23:18:18 +0000 (07:18 +0800)]
libva-1.0.6
1) Refinement for VA_TRACE, new LIBVA_FOOL, see the description in va_trace.c/va_fool.c
2) vaPutSurface flag VA_ENABLE_BLEND to blend the surface with a color
3) libva.spec for RPM package
4) Update VAAPI for dynamic bit rate control/AIR/maximum slice size ctrl
5) Added VA_STATUS_ERROR_DECODING/ENCODING_ERROR to report decode/encode error
6) Add config.h/va_vesion.h for Android
7) Update "vainfo.c" for Android
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Signed-off-by: Binglin Chen <binglin.chen@intel.com>
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Signed-off-by: Jerry Dong <jerry.dong@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sun, 26 Sep 2010 01:47:37 +0000 (09:47 +0800)]
For VAEncPictureParameterBufferH264:last_picture
1: means the last picture of sequence
2: means the last picture of stream
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sat, 25 Sep 2010 05:58:37 +0000 (13:58 +0800)]
Remove VADisplayAttribCSCFormat
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sat, 25 Sep 2010 05:56:18 +0000 (13:56 +0800)]
Fix x11/Makefile.am license header
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Sat, 25 Sep 2010 05:55:17 +0000 (13:55 +0800)]
Added libva-tpi.pc file
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Xiang, Haihao [Tue, 21 Sep 2010 07:21:21 +0000 (15:21 +0800)]
bump library version to 1.0.5
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 2 Sep 2010 07:22:39 +0000 (15:22 +0800)]
i965_drv_video: deinterlacing & scaling
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Xiang, Haihao [Thu, 2 Sep 2010 07:04:22 +0000 (15:04 +0800)]
i965_drv_video: add video processing kernels
Xiang, Haihao [Thu, 2 Sep 2010 07:26:24 +0000 (15:26 +0800)]
add scaling flags for vaPutSurface()
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Austin Yuan [Mon, 26 Jul 2010 02:59:14 +0000 (10:59 +0800)]
Bump to 1.0.4
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Austin Yuan [Mon, 26 Jul 2010 02:23:34 +0000 (10:23 +0800)]
remove VADisplayAttribCSC* which is duplicated, and add VADisplayAttribCSCMatrix for customized CSC matrix
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Gwenole Beauchesne [Mon, 12 Jul 2010 11:11:08 +0000 (13:11 +0200)]
Fix detection of fglrx.
Gwenole Beauchesne [Fri, 23 Jul 2010 11:29:47 +0000 (13:29 +0200)]
Fix H.264 PicParam buffer trace.
Gwenole Beauchesne [Fri, 23 Jul 2010 11:28:29 +0000 (13:28 +0200)]
Fix va_TraceEndPicture() to unlock the VA surface.
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.
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
Gwenole Beauchesne [Tue, 13 Jul 2010 14:55:29 +0000 (16:55 +0200)]
Fix rendering of subpictures.
Gwenole Beauchesne [Mon, 12 Jul 2010 23:02:19 +0000 (01:02 +0200)]
Fix vaGetImage() for YV12 format.
Gwenole Beauchesne [Mon, 12 Jul 2010 22:23:55 +0000 (00:23 +0200)]
Simplify vaGetImage().
Gwenole Beauchesne [Mon, 12 Jul 2010 21:57:23 +0000 (23:57 +0200)]
Fix vaGetImage() to wait for pending operations to complete.
Gwenole Beauchesne [Thu, 3 Jun 2010 06:57:45 +0000 (08:57 +0200)]
Add NV12 image format.
Gwenole Beauchesne [Mon, 12 Jul 2010 06:34:37 +0000 (08:34 +0200)]
Fix vaGetImage() bounds checking code.
Gwenole Beauchesne [Sun, 11 Jul 2010 15:05:12 +0000 (17:05 +0200)]
Move initialization of render_state->interleaved_uv to vaCreateContext().
Gwenole Beauchesne [Tue, 18 May 2010 15:16:57 +0000 (17:16 +0200)]
Fix out-of-source builds.
Gwenole Beauchesne [Thu, 3 Jun 2010 06:54:55 +0000 (08:54 +0200)]
Add I420 image format.
Xiang, Haihao [Mon, 12 Jul 2010 06:26:06 +0000 (14:26 +0800)]
i965_drv_video: use original widht/height for rendering
Gwenole Beauchesne [Wed, 9 Jun 2010 06:30:17 +0000 (08:30 +0200)]
Fix vaTerminate().
Gwenole Beauchesne [Wed, 4 Nov 2009 13:16:34 +0000 (13:16 +0000)]
Implement vaGetImage().
Gwenole Beauchesne [Wed, 4 Nov 2009 13:01:44 +0000 (13:01 +0000)]
Add YV12 image format.
Gwenole Beauchesne [Wed, 4 Nov 2009 13:23:40 +0000 (13:23 +0000)]
Don't return VA_STATUS_SUCCESS for unimplemented functions.
Gwenole Beauchesne [Wed, 4 Nov 2009 10:56:54 +0000 (10:56 +0000)]
Add RGBA subpictures.
Gwenole Beauchesne [Wed, 4 Nov 2009 12:13:41 +0000 (12:13 +0000)]
Fix subpictures formats array terminator.
Gwenole Beauchesne [Wed, 9 Jun 2010 07:40:28 +0000 (09:40 +0200)]
Fix vaErrorStr() for VA_STATUS_ERROR_INVALID_IMAGE_FORMAT.
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>
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
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.
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>
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.
Gwenole Beauchesne [Thu, 1 Jul 2010 06:19:54 +0000 (08:19 +0200)]
Drop GLX 1.3 requirement.
Gwenole Beauchesne [Thu, 1 Jul 2010 06:07:23 +0000 (08:07 +0200)]
Call GLX Pixmap related functions through the vtable.
Xiang, Haihao [Fri, 25 Jun 2010 05:16:30 +0000 (13:16 +0800)]
i965_drv_video: [H.264] fix chroma issue
Xiang, Haihao [Fri, 18 Jun 2010 08:00:48 +0000 (16:00 +0800)]
i965_drv_video: fix AVC mc kernel
Xiang, Haihao [Sun, 13 Jun 2010 06:50:09 +0000 (14:50 +0800)]
bump library version to 1.0.3
Xiang, Haihao [Thu, 10 Jun 2010 02:50:39 +0000 (10:50 +0800)]
i965_drv_video: [H.264] fix register blocks for ILDB
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>
Xiang, Haihao [Tue, 8 Jun 2010 01:53:02 +0000 (09:53 +0800)]
Merge branch 'i965_h264'
Conflicts:
va/x11/dri2_util.c
Xiang, Haihao [Tue, 8 Jun 2010 01:19:13 +0000 (09:19 +0800)]
i965_drv_video: [H.264] some code clean up
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>
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>
Gwenole Beauchesne [Tue, 23 Feb 2010 09:11:22 +0000 (09:11 +0000)]
Move LIBVA_DRIVER_NAME check in vaInitialize().
Gwenole Beauchesne [Tue, 13 Apr 2010 02:54:11 +0000 (04:54 +0200)]
VA/GLX cosmetics (indentation, declarations)
Gwenole Beauchesne [Tue, 22 Sep 2009 12:29:56 +0000 (12:29 +0000)]
Fix vainfo to build out of the source dir
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.
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.
Gwenole Beauchesne [Tue, 22 Sep 2009 12:29:56 +0000 (12:29 +0000)]
Fix vainfo dependencies (Konstantin Pavlov).
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.
Gwenole Beauchesne [Wed, 2 Jun 2010 07:07:43 +0000 (09:07 +0200)]
Fix VA tracer to correctly dump array of bytes.
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.
Xiang, Haihao [Wed, 2 Jun 2010 07:12:03 +0000 (15:12 +0800)]
i965_drv_video: new ring buffer flag
Xiang, Haihao [Wed, 2 Jun 2010 07:11:07 +0000 (15:11 +0800)]
i965_drv_video: fix graphics memory usage
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
Xiang, Haihao [Tue, 1 Jun 2010 09:29:09 +0000 (17:29 +0800)]
i965_drv_video: [H.264] enlarge concurrent threads for ILDB
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.
Xiang, Haihao [Tue, 18 May 2010 04:55:51 +0000 (12:55 +0800)]
i965_drv_vidoe: update max_thread for rendering
Xiang, Haihao [Mon, 17 May 2010 09:17:36 +0000 (17:17 +0800)]
i965_drv_video: fix initialization function
Xiang, Haihao [Wed, 2 Jun 2010 05:50:15 +0000 (13:50 +0800)]
libva: update DRI2 to support swapbuffer
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>
Gwenole Beauchesne [Tue, 1 Jun 2010 11:20:17 +0000 (13:20 +0200)]
Fix make dist.
Gwenole Beauchesne [Tue, 1 Jun 2010 10:26:40 +0000 (12:26 +0200)]
Fix TPI lib dependencies.
Gwenole Beauchesne [Tue, 1 Jun 2010 10:30:46 +0000 (12:30 +0200)]
Drop superfluous versions.
Gwenole Beauchesne [Tue, 18 May 2010 15:16:57 +0000 (17:16 +0200)]
Fix out-of-source builds.
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>