summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add missing rate control parameters to trace output2.1.1.pre1-20180601Mark Thompson2018-05-141-1/+7
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Improve documentation for encode HRD parametersMark Thompson2018-05-141-2/+25
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Improve documentation for encode framerate parametersMark Thompson2018-05-141-4/+10
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Improve documentation for rate control parametersMark Thompson2018-05-141-16/+59
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Add generated documentation files to .gitignoreMark Thompson2018-05-141-0/+2
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Add comments explaining layout of formats represented by fourccsMark Thompson2018-05-141-14/+174
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Add 10/12-bit YUV render target formatsMark Thompson2018-05-141-0/+5
| | | | | | These are required as output formats for H.265 RExt decoding. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Remove incorrect "BPP" suffix from 10-bit render target formatsMark Thompson2018-05-141-19/+17
| | | | | | | | | These formats are 10 bits per sample, not 10 bits per pixel. The misleading old names continue to work but are deprecated. Also clean up the comments so that formats are properly documented. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Add strings for H.265 RExt subprofilesMark Thompson2018-05-141-0/+9
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Remove duplicate AYUV fourccMark Thompson2018-05-141-1/+0
| | | | | | | The AYUV fourcc was already present since commit bd592e38; commit d6fd111e added an identical duplicate. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Remove executable mode from source filesMark Thompson2018-05-143-0/+0
| | | | | | | | va.h and va_dec_hevc.h were incorrectly marked as executable in commit d6fd111e. va_trace.c was incorrectly marked as executable in commit b65a3d9d. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* add hevc picture parameters, slice parameters and profile for range ↵Zhengguo.Xu2018-04-132-1/+242
| | | | extension to support hevc range extension decoding
* add fourcc code for y210/y216/ayuv/y410/y416 formatZhengguo.Xu2018-04-131-0/+7
|
* Add 'fast_intra_mode' in VAEncMiscParameterFEIFrameControlHEVCdlin22018-04-081-1/+4
| | | | | | to do fast intra prediction Signed-off-by: dlin2 <decai.lin@intel.com>
* [common] Add RGB565 and BGR565 definitionsRoman Kazantsev2018-03-301-0/+2
| | | | | | | Now we use implicit definition in Media SDK that is not good approach for open source. Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* va: Add VA_SURFACE_ATTRIB_USAGE_HINT_EXPORTPhilipp Kerling2018-03-301-0/+3
| | | | | | | This can be used to tell the driver to prepare the surface such that it can easily be used for export to third-party APIs. For example, the driver might choose to decode to frames instead of fields since only frames can be exported.
* Fix issue with static analysis scanU. Artie Eoff2018-03-201-1/+1
| | | | | | | | | | | | | | | | | | | Coverity fails to parse the expanded value of va_deprecated and causes the scan to abort. This problem also affects downstream dependents of va.h that get scanned with coverity, too. This results in only partially-scanned code with the following coverity errors: "../../va/va.h", line 361: error #67: expected a "}" VAProfileH264Baseline va_deprecated_enum = 5, ^ To fix this, we don't need to define a value for va_deprecated or va_deprecated_enum during a coverity scan. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* Add '-Wall -fstack-protector' to CFLAGSHaihao Xiang2018-03-151-0/+10
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* Use the new link URLsHaihao Xiang2018-03-154-12/+16
| | | | | | | | | | | We moved libva from github/01org to github/intel, however some files still have links to the old 01org URLs, this commit updates these links to the new intel URLs. In addition, this commit added a contact email address for security issue reporting This fixes https://github.com/intel/libva/issues/189 Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* Fix comment about VADRMPRIMESurfaceDescriptorHaihao Xiang2018-03-131-1/+1
| | | | | | | The added function for export is vaExportSurfaceHandle(), not vaAcquireSurfaceHandle(). Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* Return once the drawable is destroyedHaihao Xiang2018-03-131-0/+1
| | | | | | Otherwise it might dereference a freed pointer in the next loop Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* Merge branch 'v2.1-branch' into masterHaihao Xiang2018-03-081-2/+17
|\
| * libva 2.1.02.1.0v2.1-branchHaihao Xiang2018-02-123-4/+4
| | | | | | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
| * libva 2.1.0.pre12.1.0.pre1Xiang, Haihao2018-02-024-6/+22
| | | | | | | | | | | | Bump VA-API version to 1.1.0 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* | va: add new VA STATUS ERRORChenXiaomin2018-03-022-0/+4
| | | | | | | | | | | | | | Add new VA STATUS ERROR to indicate allocated buffer size is not enough for input or output. Signed-off-by: ChenXiaomin <xiaomin.chen@intel.com>
* | Update .travis.ymlHaihao Xiang2018-03-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The travis build is often blocked by the following error $ sudo apt-get install -y build-essential E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) Feedback from travis is the dpkg lock file might be locked by an unattended `apt-get` call that's running in the background on a daily basis and travis suggests adding the corresponding snippet before apt-get call in .travis.yml Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* | libva 2.1.1.pre1 for developmentXiang, Haihao2018-02-023-3/+4
|/ | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Fix broken 'make distclean'Víctor Manuel Jáquez Leal2018-02-021-1/+1
| | | | | | | | | | | | | | | | | There is an error below when running 'make distclean': Makefile:496: ../drm/.deps/va_drm_utils.Plo: No such file or directory make[2]: *** No rule to make target '../drm/.deps/va_drm_utils.Plo'. Stop. The regression is caused by f17486f which added subdir-objects to AM_INIT_AUTOMAKE. This patch comes from https://github.com/intel/libva/pull/172#issuecomment-362182959 Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* build: meson: build documentationVíctor Manuel Jáquez Leal2018-02-013-0/+56
|
* build: enable out-of-source buildingVíctor Manuel Jáquez Leal2018-02-013-3/+3
|
* build: clean generated documentationVíctor Manuel Jáquez Leal2018-02-011-1/+4
| | | | | | | Add to the clean target the removal of the generated documentation. Also use $(RM) for calling the command rm, which is a bit more portable.
* build: use condititional doc generationVíctor Manuel Jáquez Leal2018-02-012-3/+7
| | | | | | | | | Instead of using conditional compilation for generarte documentation, this patch will block parsing Makefile in doc subdirectory if the documentation is not enabled. This patch will make compilation a bit faster when documentation is not generated.
* doc: don't generate latexVíctor Manuel Jáquez Leal2018-02-011-1/+1
| | | | Since they are not handled by the install target
* doc: use Doxyfile templateVíctor Manuel Jáquez Leal2018-02-012-13/+18
| | | | | Instead of passing environment variables to the Doxygen process, Doxyfile will be autogenerated from Doxyfile.in template.
* meson: Fix libtool version numberXiang, Haihao2018-02-011-2/+4
| | | | | | | | | | | | libtool uses CURRENT:REVISION:AGE for library versions and the formula for calculating the file numbers is (CURRENT-AGE).(AGE).(REVISION). To keep compatibility with libtool, meson build should follow the same formula With this fix, we will avoid https://github.com/intel/libva/issues/181 when bumping a new version Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Revert "fei_hevc: Add control to use avc VME to do intra prediction for HEVC ↵Xiang, Haihao2018-01-301-3/+1
| | | | | | FEI" This reverts commit 71fd9ec67bf26f82421546c82750c3cc08c9a6a8.
* fei_hevc: Add control to use avc VME to do intra prediction for HEVC FEIdlin22018-01-261-1/+3
| | | | Signed-off-by: dlin2 <decai.lin@intel.com>
* android: fix typo introduced by 4cc9a74bXu Guangxin2018-01-261-2/+2
|
* Update some comments about VADRMPRIMESurfaceDescriptorXiang, Haihao2018-01-231-2/+2
| | | | | | | width/height in VADRMPRIMESurfaceDescriptor specifies the surface width/height in pixels Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va_trace: Remove unused variableVictor Toso2018-01-171-1/+0
| | | | | | | | | | Leftover from recent commit 35d7d312d45f9fd42dd > va_trace.c:270:31: warning: unused variable 'pconfig_info' > struct trace_config_info *pconfig_info; > ^ Signed-off-by: Victor Toso <victortoso@redhat.com>
* android: remove useless vaPutSurfaceXu Guangxin2018-01-122-94/+0
| | | | | | | | vaPutSurface only used in libva-utils. The actual application/omx implementation never use it. It will introduce many header files in android framework.Android change rapidly, the directory or file name changed in versionto version. It's hard to catch up and maintain support for many versionof android.
* meson: add va_fei_hevc.hVíctor Manuel Jáquez Leal2018-01-111-0/+1
| | | | Fixes: #168
* Add documents for VP9/VP9/HEVC/JPEG/FEIPengfei Qu2018-01-031-0/+12
| | | | | | Fixes#163 Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
* Update for the documents generationPengfei Qu2018-01-035-13/+34
| | | | | | | | Fixes#163 this will update the documents. Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
* Fix tracing index allocation issuepeng.chen2018-01-031-27/+34
| | | | | | Fixes #142 Signed-off-by: peng.chen <peng.c.chen@intel.com>
* add comments for FEIxinfengz2018-01-031-3/+54
| | | | | | add more detail comments for FEI interfaces Signed-off-by: xinfengz <carl.zhang@intel.com>
* va: add missing error status/error message map.Jun Zhao2018-01-031-0/+8
| | | | | | when add a new VAStatus type, need to update vaErrorStr. Signed-off-by: Jun Zhao <jun.zhao@intel.com>
* Expose the encode passes interface.Hongbo2018-01-021-0/+10
|
* Add meson supportVíctor Manuel Jáquez Leal2018-01-024-0/+413
| | | | | | Fixes: #134 Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
* remove max_display_attributes value check.XinfengZhang2018-01-021-1/+0
| | | | | | max_display_attributes maybe is zero, because driver dont support display attribute Signed-off-by: XinfengZhang <carl.zhang@intel.com>