summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libva: bump version to 1.0.17 for developmentv1.0-branchXiang, Haihao2012-08-021-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.0.16libva-1.0.16Xiang, Haihao2012-08-022-2/+7
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* jpeg: pad Huffman table to 4-byte boundaries (Haihao).Gwenole Beauchesne2012-08-011-0/+2
| | | | | | | | Some VA driver implementations require alignment to 4-byte boundaries so that to allow for direct memory transfers. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (cherry picked from commit f8aa29ff28dcbe8134661c3c3c5ca30a8eadcad8)
* tests: fix JPEG decoding test to match the latest API.Gwenole Beauchesne2012-08-011-3/+5
| | | | | | | | | Fix bug in parsing Huffman DC table and also sync the code to match the latest API change. In particular, pad the Huffman table with zero to suit 4-byte boundaries. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (cherry picked from commit d4c88950dafefead1a775c0ae6636917e23339fd)
* test/basic: fix make dist.Gwenole Beauchesne2012-07-271-1/+1
| | | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (cherry picked from commit 8b2835e883936d28388b72b92d3d492d0c32c57e)
* test/basic: changed build target to noinst so they are built by defaultHaitao Huang2012-07-271-3/+3
| | | | | Signed-off-by: Haitao Huang <haitao.huang@intel.com> (cherry picked from commit cc86031259117b3cd5607865858c9054cd44db0e)
* test/basic: fix build of basic tests.Haitao Huang2012-07-271-1/+1
| | | | | Signed-off-by: Haitao Huang <haitao.huang@intel.com> (cherry picked from commit baf2a44ee431df2a151bcc1ffd67f79468d81a40)
* configure: bump API version for new JPEG codec.Gwenole Beauchesne2012-07-271-1/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* tests: add simple JPEG decoding example.Zhao Halley2012-07-266-1/+1103
| | | | | | | | | | | | | | | | | | | | It is based on Luc Saillard's JPEG program. Usage: loadjpeg <input_filename.jpeg> Cherry-pick'ed from: ffce398: a simple JPEG example to use VAAPI 1af5416: update JPEG decode demo to match current API da40f08: fix display of dimensions 54b1002: mark default Huffman table as valid a3ca113: build: fix make dist 5017c64: .gitignore: update d3b46ce: update JPEG decoding test case Signed-off-by: Zhao Halley <halley.zhao@intel.com> Singed-off-by: Wind Yuan <feng.yuan@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* Add JPEG decoding API.Gwenole Beauchesne2012-07-263-0/+178
| | | | | | | | | | | | | | Cherry-pick'ed from: 336a563: add initial JPEG decoding API 8a7f92b: cosmetics (vertical align) 9092ecf: fix IQ matrix and Huffman table buffer name 5d30647: add "Baseline" suffix the existing data structures 6eefff7: document decoding API is only suitable to baseline profile de2df79: include <va/va_dec_jpeg.h> into core VA header 979f0e1: drop JPEG-2000 fields from structures for baseline profile 8a6b12d: drop sample_precision since P=8 for baseline profile Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* API: h264 decode: fix the definition of slice_data_bit_offset.Gwenole Beauchesne2012-04-081-6/+6
| | | | | | | | | | | Align with the existing practice in various media stacks available in Linux today. i.e. codec layer submits slice data that represents the original bitstream, thus including any emulation prevent bytes. However, the slice_data_bit_offset represents an offset relative to the buffer that contains the NAL unit byte and the rest of the slice with any emulation prevention bytes removed. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* API: h264 decode: clarify slice_data_bit_offset field.Gwenole Beauchesne2012-04-051-2/+13
| | | | | | | | | slice_data_bit_offset represents a bit offset from the NAL Header Unit byte to the begining of the slice_data(), thus including any emulation prevention bytes. Baiscally, this represents the number of bits parsed for slice_header(). Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libva: bump version for development.Gwenole Beauchesne2011-11-021-2/+2
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* 1.0.15.libva-1.0.15Gwenole Beauchesne2011-10-282-3/+3
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* debian: add package for vainfo.Gwenole Beauchesne2011-10-283-0/+11
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* debian: don't use simple-patchsys (upstream has no patches).Gwenole Beauchesne2011-10-281-1/+0
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* Add NEWS file.Gwenole Beauchesne2011-10-261-0/+32
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* va: fix compiler warnings (drop unused variables).Gwenole Beauchesne2011-10-201-6/+0
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* Add auto-generated Debian packaging.Gwenole Beauchesne2011-10-2023-195/+139
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* 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
|