summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* deprecated VAEncSliceParameterBuffer.Jun Zhao2017-12-041-1/+7
| | | | | | | | VAEncSliceParamerterBuffer will be deprecated, All applications can use VAEncSliceParameterBufferXXX (XXX = MPEG2, HEVC, H264, JPEG). Signed-off-by: Jun Zhao <jun.zhao@intel.com>
* Update some comment about FEI in VA-API.Jun Zhao2017-12-041-0/+1
| | | | | | FEI have added in VA-API, update the comments. Signed-off-by: Jun Zhao <jun.zhao@intel.com>
* trace: init mutex before attempting to lock itU. Artie Eoff2017-12-011-3/+3
| | | | | | | | | | | Call pthread_mutex_init before any calls to pthread_mutex_lock. va_TraceInit(...) calls start_tracing2log_file(...) which calls pthread_mutex_lock on the pva_trace->resource_mutex. Thus, we need to ensure the mutex is initialized properly via pthread_mutex_init before attempting to lock it. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* Revert "configure: set strict default compiler flags"U. Artie Eoff2017-11-271-3/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 6ca99be5042558035a78ffa87cfcd853611591cc. Strict compilation flags are not consistent across different versions of GCC and cause issues for users with older GCC versions. Since we have little control over which compiler version is used by user, ensuring that strict compilation works properly across all known used compilers would be a maintenance headache. Instead, don't enforce strict compilation and let users choose when to enforce it via user-defined C/CXXFLAGS. Fixes #152 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
* Add a new DRM PRIME memory typeMark Thompson2017-11-221-1/+66
| | | | | | | | | | This is more flexible than the existing DRM PRIME type, allowing multiple objects and planes with different formats and modifiers. It supports export only via vaExportSurfaceHandle(). Fixes #10. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Add a new interface for exporting surfacesMark Thompson2017-11-223-1/+90
| | | | Signed-off-by: Mark Thompson <sw@jkqxz.net>
* HEVC FEI supportKelvin Hu2017-11-224-0/+260
| | | | | | HEVC FEI support, new HEVC FEI buffer in va.h and add va_fei_hevc.h Signed-off-by: Kelvin Hu <kelvin.hu@intel.com>
* Statistics function for FEI and non-FEIKelvin Hu2017-11-224-0/+266
| | | | | | | | | | | | | | | A pre-processing function for getting some statistics and motion vectors is added, and some extra controls for Encode pipeline are provided. The application can optionally call the statistics function to get motion vectors and statistics like variances, distortions before calling Encode function via this entry point. Signed-off-by: Kelvin Hu <kelvin.hu@intel.com> Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Daniel Charles <daniel.charles@intel.com>
* report QP Block Sizexfengcarl2017-11-212-0/+7
| | | | Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
* add decode stream out buffer typexfengcarl2017-11-212-0/+4
| | | | | | stream out buffer include intermedia data of decoder Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
* add common error for coded status of encodexfengcarl2017-11-211-0/+4
| | | | | | an VA_CODED_BUF_STATUS_BAD_BITSTREAM is added for bad streams Signed-off-by: xfengcarl <carl.zhang@intel.com>
* add perMB skip disable control.xfengcarl2017-11-212-0/+8
| | | | | per MB skip buffer can disable skip/direct for each MB Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add sequence display extension support for MPEG2 encodexfengcarl2017-11-212-0/+15
| | | | Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
* add controls for encode qualityxfengcarl2017-11-213-1/+159
| | | | | | it include sub pel mode support, quality tuning, rounding inter... Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
* add mb number in decode MB errorsxfengcarl2017-11-211-2/+2
| | | | Signed-off-by: xfengcarl <carl.zhang@intel.com>
* slide window supportxinfengz2017-11-212-3/+32
| | | | | | | slide window can reduce bit tolerance. also include encode tile support attrib Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add VAConfigAttribDecProcessing for decode post processpylee2017-11-212-1/+40
| | | | | | | Decode post processing is same context with decode context post processing is called by driver internally Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add NV21 fourccxfengcarl2017-11-211-0/+1
| | | | | | add NV21 forcc pre-definition Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add RGB 10-bit packed formatxfengcarl2017-11-211-0/+6
| | | | | | | | RGB 10-bit packed format with upper 2 bits as alpha channel. The existing pre-defined fourcc codes can be used to signal the position of each component for this RT format. Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add new BRC methodxfengcarl2017-11-212-4/+59
| | | | | | | | | | | | | | | | | | | | | | | VA_RC_ICQ: Intelligent Constant Quality. Provided an initial ICQ_quality_factor, adjusts QP at a frame and MB level based on motion to improve subjective quality. VA_RC_CFS: Constant Frame Size. VA_RC_PARALLEL: For hierachical B, B frames can be refered by other B frames. Currently three layers of hierachy are defined: B0 - regular B, no reference to other B frames. B1 - reference to only I, P and regular B0 frames. B2 - reference to any other frames, including B1. In Hierachical B structure, B frames on the same layer can be processed simultaneously. And BRC would adjust accordingly. This is so called Parallel BRC. Author: pylee <penne.y.lee@intel.com> Author: Austin Yuan <shengquan.yuan@intel.com> Author: Penne <penne.y.lee@intel.com> Author:Wang, Ce <ce.wang@intel.com> Signed-off-by: Carl.Zhang <carl.zhang@intel.com> Conflicts: va/va.h
* add encoding dirty rectangle. Read-only.pylee2017-11-212-0/+36
| | | | | | | | | | user provided rectangles which indicate the rectangular areas where the content has changed as compared to the previous picture. The regions of the picture that are not covered by dirty rectangles are assumed to have not changed compared to the previous picture. The encoder may do some optimizations based on this information.the ROI information is passed to the driver using VAEncMiscParameterTypeDirtyRect. Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add support for processing ratePing Liu2017-11-214-1/+106
| | | | | | | application can query/get attribute of processing rate by VAConfigAttribProcessingRate and query the processing rate of driver by vaQueryProcessingRate Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* Add encoding intra refresh attributeJonathan Bian2017-11-212-0/+75
| | | | | | | This attribute conveys whether the driver supports certain types of intra refresh methods for encoding (e.g. adaptive intra refresh or rolling intra refresh). Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* add Encoding quantizationJonathan Bian2017-11-212-0/+44
| | | | | | | quary or get whether the driver supports certain types of quantization methods for encoding (e.g. trellis).then set quantization setting by VAEncMiscParameterQuantization Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
* expose driver capibility of resolutionxfengcarl2017-11-212-0/+16
| | | | | | | application can get the maxium resolution supported by driver through these two attribute:VAConfigAttribMaxPictureWidth & VAConfigAttribMaxPictureHeight Signed-off-by: Carl.Zhang <carl.zhang@intel.com>