summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* HEVC encode APIskl-betav1.5-branchWang, Ce2015-03-204-0/+704
| | | | | | | | | | | Signed-off-by: Wang, Ce <ce.wang@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 9d128cf241830f7ead49fa5b104248b44c680873) Conflicts: va/Android.mk va/Makefile.am va/va.h
* Include sub core APIs in va.h as wellXiang, Haihao2015-03-201-2/+9
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 012838e07d99531c67e3798235b00437f5b67c02)
* Move VAHuffmanTableBufferJPEGBaseline to va.hXiang, Haihao2015-03-203-38/+39
| | | | | | | | | | | VAHuffmanTableBufferJPEGBaseline is also used for JPEG encoding, so move it to va.h as we discussed before. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 504478e0bbc27cc529c96b168cae1fb9dd12c4a5) Conflicts: va/va.h
* libva 1.5.2.pre1 for developmentXiang, Haihao2015-03-201-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.5.1libva-1.5.1Xiang, Haihao2015-03-202-4/+4
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Update NEWSlibva-1.5.1.pre1Xiang, Haihao2015-03-161-1/+5
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* x11: dri2: fix double Unlocks/SyncHandleLionel Landwerlin2015-03-101-4/+0
| | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit a14498bc78cd245184e27e9810adf7a8f723d031)
* Change comment for num_token_partionionsZhong Li2015-01-161-1/+1
| | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> (cherry picked from commit d9626b77f865ce7bdbc8c78988a86d3e4f55d67b)
* libva 1.5.1.pre1 for developmentXiang, Haihao2014-12-291-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.5.0libva-1.5.0Xiang, Haihao2014-12-292-3/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.5.0 pre2libva-1.5.0.pre2Xiang, Haihao2014-12-191-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* vainfo: Add support for HEVC profilesXiang, Haihao2014-12-161-0/+2
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit aa562960b5b3554ba2af065d77bd84a3a54c1f08) Conflicts: test/vainfo/vainfo.c
* Update NEWSlibva-1.5.0.pre1Xiang, Haihao2014-12-141-2/+10
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* test/encode/jpegenc: Add jpegenc_utils.h to EXTRA_DISTXiang, Haihao2014-12-141-0/+4
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* JPEG Encode: Added support for UYVY/YUY2/Y8 formatsSirisha Muppavarapu2014-12-142-101/+76
| | | | | Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> (cherry picked from commit 33cf544c2c381adeb4b119af1015b8e653c8b724)
* Add VA trace support for HEVCTang, XiaoxiX2014-12-141-0/+313
| | | | | | | | BZ:189819 Change-Id: I505a9e638191494f7f69c9ef9995fabc9d82dffb Signed-off-by: Tang, XiaoxiX <xiaoxix.tang@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Added HEVC decode APIWang, Ce2014-12-144-1/+499
| | | | | | | Signed-off-by: Wang, Ce <ce.wang@intel.com> Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> Signed-off-by: Penne <penne.y.lee@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* x11: check x pixmap is still alive before DRI2DestroyDrawableLionel Landwerlin2014-12-141-20/+80
| | | | | | | | | | | | | | | | | Calling vaTerminate() after the pixmaps, given to vaPutSurface(), have been destroyed results in errors coming from the X server. These errors happens because LibVA tries to destroy the DRI2Drawables related to the XPixmaps passed to vaPutSurface(). VA_DRI2Error() has some code to catch these errors and ignore them. The problem is that LibX11 doesn't trigger the extension error handlers unless you're waiting for a response using _XReply(), and there is no defined answer to a DRI2DestroyDrawable message in the DRI2 protocol. The attached patch tries to work around that issue by checking whether the XPixmap is still alive before proceeding with DRI2DestroyDrawable. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
* Fix while loopXiang, Haihao2014-12-141-1/+2
| | | | | | | Otherwise i may be 32 after enter the loop and access dri_state->drawable_hash[32]. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Encoding/avcenc: Optimize the allocated VA surfaces to reduce the memory ↵Zhao Yakui2014-12-141-2/+43
| | | | | | | | | | pressure When it needs to encode one new frame, it will try to reuse the previously used surface for the reconstructed frame. In such case it is helpfl to reduce the memory pressure under multi-channel 4K encoding. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* JPEG Encode: Added Unit Test for testing jpeg encode feature.bsw-alphaSirisha Muppavarapu2014-11-193-1/+1357
| | | | (cherry picked from commit 9d01b4468f89391892e31efc5bbec774ea781242)
* vatrace: trace JPEG encode parametersAustin Yuan2014-11-191-1/+51
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e468728f9e49603f91ccbce3a232aa3bd98d1fd4) Conflicts: va/va_trace.c va/va_trace.h
* Extended existing JPEG encoding data structures and added configuration ↵Jonathan Bian2014-11-195-20/+188
| | | | | | | | | | | attribute for JPEG encoding. It is the combination of 1d93d44 and 970064cf Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> [Resovle conflicts & remove irrelevant attributes] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.5.0.pre1 for developmentXiang, Haihao2014-11-142-2/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va: hide most private va_Trace* symbolsEmil Velikov2014-10-083-5/+28
| | | | | | | Hide all but va_TracePutSurface symbols from the user. The latter one is used internally by va_x11 and va_android. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* va_x11: hide private symbolsEmil Velikov2014-10-085-1/+6
| | | | | | | | | | The following are not part of the API thus should be hidden. - dri2Close - VA_FGLRXGetClientDriverName - VA_NVCTRLQueryDirectRenderingCapable - VA_NVCTRLGetClientDriverName Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* glx: Hide private symbol va_glx_init_contextEmil Velikov2014-10-083-1/+3
| | | | | | | There is a note below the symbol ATTRIBUTE_HIDDEN, additionally the header providing it is not installed. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* debian: distclean the *install filesEmil Velikov2014-10-081-1/+3
| | | | | | | MAINTCLEAN wraps around DISTCLEAN, so we can drop the files from the former. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* configure: use top_builddir for wayland_scanner_rulesEmil Velikov2014-10-081-1/+1
| | | | | | | | | | Autotools already copies the files appropriately, and using top_srcdir causes the files to be generated in the source tree rather than the build one. Spotted by 'make dist' Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* Fix out of tree buildsEmil Velikov2014-10-081-1/+1
| | | | | | | | | Prefix the libva.sym file or it will not be found when doing out of tree builds. Spotted by 'make distcheck'. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* .gitignore: add mpeg2vaencEmil Velikov2014-10-081-0/+1
| | | | Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* Bump libva to libva 1.4.1.pre1Xiang, Haihao2014-09-302-3/+6
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.4.0Xiang, Haihao2014-09-302-4/+5
| | | | | | | Don't support DRM Render-Nodes in this version of libva Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 8c48c3b44a56d8a5af5c5fa7cb8bee131f933569)
* NEWS: updates.Gwenole Beauchesne2014-09-261-1/+9
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* doc: fix scan order specification for quantization tables.Gwenole Beauchesne2014-09-262-0/+16
| | | | | | | | | | | | Fix the VA-API specification to define all quantization tables, resp. matrices, to be supplied in zig-zag scan order, except for the H.264 codec where scaling lists shall be provided in raster scan order. This clarifies the existing usage inherited from the primary VA driver implementation (Intel Poulsbo), and subsequently adopted by the major multimedia frameworks. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* doc: add Encoding, VPP and some of Core APIs.Gwenole Beauchesne2014-09-261-0/+3
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* doc: improve Doxyfile configuration.Gwenole Beauchesne2014-09-261-2/+2
|
* doc: don't add timestamps in generated documentation.Gwenole Beauchesne2014-09-263-5/+10
|
* tests: try a render-node device first for VA/DRM displays.Gwenole Beauchesne2014-09-251-5/+21
| | | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
* drm: add support for render nodes.Andrey Larionov2014-09-254-11/+50
| | | | | | | | | | | | | Allow vaGetDisplayDRM() to accept DRM Render-Nodes file descriptors, thus skipping authentication burdens in that case. This also allows remote users, connected through ssh for instance, to enjoy hardware acceleration even if there is a local display opened (user logged in). Signed-off-by: Andrey Larionov <andrey.larionov@intel.com> [checked if fd is a render-node, fixed VA_DISPLAY_DRM_RENDERNODES] Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com> Tested-by: Rafal A Sapala <rafal.a.sapala@intel.com>
* Bump VA API to 0.361.4.0.pre1Xiang, Haihao2014-09-092-3/+4
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Test/encode/avcenc: Follow the H264 spec to fix wrong SEI parameter setting ↵Zhao, Yakui2014-09-091-27/+167
| | | | | | | | | | for CBR HRD V1->V2: Follow Haihao's comments to add some comments and remove some magic number. Signed-off-by: Zhao, Yakui <yakui.zhao@intel.com> (cherry picked from commit 51901e340cc467a2d562491121e0de38f5a066fe)
* test/encode/avcenc: Follow the idea in h264encode to generalize avcenc test caseZhao Yakui2014-09-091-126/+306
| | | | | | | | | | | | | The following is generalized: a. the switch between encoding order and displaying order. b. Reference list0/1 c. It can insert more IDR frames intead of one IDR frame. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 615c2a0f3210ec567fde5b0bac60c3a17cff3aed) Conflicts: test/encode/avcenc.c
* test/encode/avcenc: update the SPS parameter for encodingZhao Yakui2014-09-091-2/+9
| | | | | | | It will simplify the calculation of POC and frame_num. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit d794d040b8f7311d7b19d62826fbd3725d3bc7b9)
* test/avcenc: Fix the incorrect parameter setting for SPS under CBR modeZhao Yakui2014-09-091-12/+19
| | | | | | | | | | | Currently the parameter setting is incorrect for CBR, which causes that it will complain the underflow/overflow during encoding. V1->V2: Follow Haihao's comment to update some incorrect usage about the frame_bit_rate. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 5e10a246287fa2dd3fae2bf756a5b33087cc097c)
* test/avcenc: Remove the dynamic shrink of coded bufferZhao Yakui2014-09-091-15/+1
| | | | | Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 296e5a548b260fcca5713bbb3ed6477f63ac977f)
* vatrace: fix segfault of VASurfaceAttribExternalBufferDescriptor dumppingAustin Yuan2014-09-091-2/+2
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e286c3264ebf7582792ff56537dd14c9f49903cf)
* vafool: fix the vaMapBuffer for the buffer from vaDeriveImageAustin Yuan2014-09-092-3/+13
| | | | | | | | It is not desired to run into FOOL path for the vaMapBuffer from vaDeriveImage Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 2896166fefa36772ea6946ebc5df85024928dd6c)
* vatrace: fix a overwriteAustin Yuan2014-09-091-1/+1
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 7f1b4be6623f5fe65063581252d2b68bd77fd076)
* vafool: simplify VAFOOLAustin Yuan2014-09-093-70/+58
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit ce00603a8d58f2e25c7a6bb312f60fda0833e042)