summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* vatrace: make LIBVA_TRACE_SURFACE work even without LIBVA_TRACEAustin Yuan2014-09-093-8/+14
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e39ebdd95062995e4bdf082d50bd7d9005a3be6c)
* vatrace: make standalone LIBVA_TRACE_CODEDBUF work w/o LIBVA_TRACEAustin Yuan2014-09-091-1/+1
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 22925d9b7d1730468fc7435bee96d9d9c39f5987)
* Enable 64bit build for Android, compatible with 32bit.Qiming Shi2014-09-091-3/+9
| | | | | | | | | Refined the Android.mk to compatible with both 32 and 64 bit android build. Signed-off-by: Tinghong Li <tinghong.li@intel.com> Signed-off-by: Qiming Shi <qiming.shi@intel.com> (cherry picked from commit 03de01dce6f2b88b9c5ee54705aeebe17c6c5919)
* API: add support for buffer exports.Gwenole Beauchesne2014-09-073-1/+147
| | | | | | | | | | | | | | | | | | | Add interfaces for low-level buffer exports to suport interop with external APIs like EGL or OpenCL (OCL). Theory of operations: - vaAcquireBufferHandle(): locks buffer for external API usage. This is a synchronization point. Upon successful return, useful buffer details are returned in a somewhat implementation-specific way to support interop with external APIs. - vaReleaseBufferHandle(): unlocks buffer after usage from external API, and deallocates any resources that were needed. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (cherry picked from commit 544d31d2fc096a838c21f4684cec05746cfdd7b6) Conflicts: va/va.h
* Update comment for quality_levelXiang, Haihao2014-09-071-1/+3
| | | | | | | | | | | Allow user set VAEncMiscParameterBufferQualityLevel::quality_level to 0 to use default quality level Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit b05e38f64c5aa2d6edfc2bd1d6e1f4339a54095a) Conflicts: va/va.h
* Added VAConfigEncQualityRange attribute and ↵Jonathan Bian2014-09-071-0/+26
| | | | | | | | | VAEncMiscParameterBufferQualityLevel to support encoder quality settings. (cherry picked from commit 24a14f9d13e6fe0c25d4094c4884aa4076ed05bc) Conflicts: va/va.h
* Added OTC hybrid UMD driver to the list of supported driversSameer Kibey2014-08-281-0/+1
| | | | | | | | This will be used for hybrid codecs like VP8 h-encode. No change to existing KMD interface. Signed-off-by: Sameer Kibey <sameer.kibey@intel.com> (cherry picked from commit 98669760e62f50ca3e38e99835692aee5f89a4bf)
* avcenc: only support chroma_format_idc with 1Xiang, Haihao2014-08-041-0/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* h264encode: check driver supports the RateControl control mode or notXiang, Haihao2014-08-041-3/+26
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=76720 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* h264encode: Make it runnable with the latest libva-intel-driver (1.3.2)Xiang, Haihao2014-07-311-1/+164
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Add vaSurfaceAttribUsageHint to give the driver a hint of intended usage to ↵pylee2014-07-181-0/+18
| | | | | | optimize allocation (e.g. tiling). (cherry picked from commit 6cdc2e54d40afeb1550b920a6a6221bafeec95ec)
* Add frame_type to VP8 encoderAustin Yuan2014-07-181-1/+2
| | | | | | | From penne.y.lee at intel.com Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit c61d986851140a6d1e3f9a6d788bcb7a9407dffc)
* va_enc_vp8: update the vp8 interface againAustin Yuan2014-07-181-7/+17
| | | | | | | previous update missed some changes Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 34035a18a7e963da536e15e9dea32f77cde8577f)
* Removed fields in VP8 structures that duplicate VAEncMiscParameter ↵Jonathan Bian2014-07-181-34/+35
| | | | | | structures. Added reference frames to support non auto reference frame implementation. Changed VAQMatrixBufferVP8 to use quantization index deltas. (cherry picked from commit fbd3de9b22491689c6c3e5f1c305d7af76444e45)
* Added support for VP8 encoding.Jonathan Bian2014-07-184-0/+321
| | | | | | | (cherry picked from commit d46a07340a641770487e7624bebc49f3258ea2ec) Conflicts: va/Android.mk
* va: release VADisplayContext at the end of vaTerminate()Xiang, Haihao2014-06-261-3/+3
| | | | | | | | Otherwise it will result in invalid reading in va_TraceEnd() Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit d4988142a3f2256e38c5c5cdcdfc1b4f5f3c1ea9) Tested-by: Daniel Charles <daniel.charles@intel.com> on ChromiumOS
* Bump VA-API to 0.35.2.Gwenole Beauchesne2014-06-161-1/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* Merge H.264 MVC profiles from staging branch.Gwenole Beauchesne2014-06-163-1/+7
| | | | | | | | | | Cherry-pick'ed from: 64f0223: vainfo: add the support for the new VA profiles b6a6e24: reorder VAProfile{H264MultiviewHigh,StereoHighVP8Version0_3} 7a5a81b: test/basic: update to new API Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* bva: bump version to 1.3.2.pre1 for developmentXiang, Haihao2014-05-091-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.3.1libva-1.3.1Xiang, Haihao2014-05-092-3/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Update NEWSXiang, Haihao2014-05-051-1/+8
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Bump VA-API to 0.35.1Xiang, Haihao2014-05-051-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Fix VA_ENC_PACKED_HEADER_RAW_DATA value.Gwenole Beauchesne2014-05-051-1/+1
| | | | | | | | Attribute values for VAConfigAttribEncPackedHeaders config shall represent a valid maskable set of bits. So, make sure "raw" packed header mask is 0x10, not 0x0c. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* Fix the broken installXiang, Haihao2014-04-251-1/+8
| | | | | | | | | | | | | | install -d /usr/share/doc/libva/html install -m 0644 html-out/* /usr/share/doc/libva/html install: omitting directory `html-out/search' make[2]: *** [install-html-local] Error 1 make[2]: Leaving directory `/home/xhh/graphics/ex/vaapi/libva/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/xhh/graphics/ex/vaapi/libva/doc' make: *** [install-recursive] Error 1 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit ee948e105b97a03b60168b4e5aed3c64a14c37e6)
* Added STE filter to the VPP pipeline.Jonathan Bian2014-04-251-0/+2
|
* Add a workaround for a bug in xorg-server/glxRinat Ibragimov2014-04-151-0/+9
| | | | | | | See details at https://bugs.freedesktop.org/show_bug.cgi?id=76755 Signed-off-by: Rinat Ibragimov <ibragimovrinat@mail.ru> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Doxygen tags in libva.Sameer Kibey2014-03-271-95/+94
| | | | | | | Updated the doxygen tags in libva for generating doxygen based documentation. Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
* libva: bump version for developmentXiang, Haihao2014-03-251-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.3.0libva-1.3.0Xiang, Haihao2014-03-242-4/+4
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va: keep compatibility with the backend driver built against 0.34.xXiang, Haihao2014-03-181-0/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va: Bump VA-API to 0.35 and libva to 1.3.0.pre1Xiang, Haihao2014-03-172-3/+8
| | | | | | Update NEWS as well Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* vatrace: fix a missing field of va_TraceMsgAustin Yuan2014-03-171-2/+2
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 2bf493a4838b419a61fa5cc6925fab4d4786dbcd)
* vatrace: simplify coded buffer traceAustin Yuan2014-03-171-39/+5
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit d46a3d927ce66e0f7b61c8c184cf80b6d926327e) Conflicts: va/va_trace.c
* vatrace: Remove VA_TRACE_LOGSIZE because it is uselessAustin Yuan2014-03-171-51/+0
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 733bcaeef5ef7a5a0f2f3b12e9565e4c178d58fd) Conflicts: va/va_trace.c
* vatrace: print VASurfaceAttribExternalBufferDescriptorAustin Yuan2014-03-171-7/+38
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit fae9c44816a4c3cfc480d2879d1b4a0c1c3a1527)
* Dump max frame size in libva trace.liubolun2014-03-171-0/+8
| | | | | | Change-Id: I4b38bc5930d653c96b45e4ce91856bfaf0cb277a Signed-off-by: liubolun <bolun.liu@intel.com> (cherry picked from commit 753421b8b3e9bd4529986dc0418e39e05dc2f394)
* Add more VA Buffer print to ease debugwfeng62014-03-171-34/+34
| | | | | | | | | | | Add more VA Buffer print to ease debug: 1) correct the RefList1 print 2) the luma_weight, luma_offset, chroma_weight and chroma_offset should always be printed Change-Id: Id122e5fa186d24623d1c541c24c761ab2d807aac Signed-off-by: wfeng6 <wei.feng@intel.com> (cherry picked from commit 8d1eec87d3bf1e4ce13e4302c944569a22129c5d)
* vatrace: add trace for VP8 decodingZhao Halley2014-03-171-0/+230
| | | | | | | | | | | | | (cherry picked from commit 303ab444365e7de29d471b28331e1c214877b63a) Conflicts: va/va_trace.c Signed-off-by: Zhao Halley <halley.zhao@intel.com> Signed-off-by: Liu Bolun <bolun.liu@intel.com> [Haihao: fix conflicts with some modifications come from bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* vatrace: fix UV data offset issue of LIBVA_TRACE_SURFACE_GEOMETRYAustin Yuan2014-03-171-1/+1
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit c954ff868057e02f620470d64c1f2071e2cfbb4e)
* vatrace: refine the log formatAustin Yuan2014-03-171-52/+46
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit f78e4a6a84178c4561a5b1c8dbb7773e5a575d0f)