summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-06-24libva 1.6.0 pre2libva-1.6.0.pre2Xiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-06-24test/decode/tinyjpeg: make sure the pointer is valid before dereferencing itXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de> (cherry picked from commit 8455834161bab3374fe9756fd4a28d919027daf7)
2015-06-24test/decode/tinyjpeg: use the fourcc format Y800 for grayscale imagesXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com> (cherry picked from commit 62085e11d30db590038a32fffeb04aa8bc0afd67)
2015-06-24test/decode/tinyjpeg: create VA surface with right render target formatXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com> (cherry picked from commit 54f686f4a371bf34007ce1ff70e7b74cd9986ad7)
2015-06-24Enhanced JPEG VA test appminu.mathai2-184/+296
Added support for YUV422, YUV444 and YUV420 and multi-scan images. Changes 1. Added new functions for finding the start of image and end of image. This will be called while parsing the JIFF. This helps to detect the next image. The check for the bogus image format is removed as it is no longer valid with these new functions. 2. Since different images in the file has different width and height. The height and width will be stored in an array. These array variables will be passed while creating surfaces and contexts. 3. Added code to determine the format of the image from the h_sampling factor and v_sampling factor. This helps to support different image formats. (cherry picked from commit ef53340b19746589079d7ed5f9c67970fcc40401)
2015-06-04Update NEWSlibva-1.6.0.pre1Xiang, Haihao1-2/+12
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-06-04Update NEWSXiang, Haihao1-1/+5
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 05a1e4bc98ce02d2d87f0cabea7d575183639dd7)
2015-06-02va_enc_hevc.h: Fix the description for slice_segment_addressSreerenj Balachandran1-1/+1
The slice_segment_address field indicates the starting CTU address for the corresponding slice. Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
2015-06-02va_dec_hevc.h: Fix the misleading documentationSreerenj Balachandran1-1/+0
The slice data buffer should always include the start code prefix. The comment section of VASliceParameterBufferHEVC is saying that the accompanying slice_data_buffer should include start code prefix. But the comment above slice_data_byte_offset is contradicting. Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
2015-05-22Bump VA API to 0.38Xiang, Haihao2-3/+4
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-05-22Add one API to allow the user to specify the loaded backend driverZhao Yakui3-5/+99
Sometimes there exist multiple backend vaapi drivers on one system. In such case user hopes to load the specific driver based on the request. Currently it can be specified by using LIBVA_DRIVER_NAME environment. But it is not convenient. So one API is added to allow the user to specify the loaded backend vaapi driver. And it is called by using the following sequence: >vaGetDisplay( >vaSetDriverName(va_dpy, driver_name) >vaInitialize V1->V2: Use the reserved space to store override_driver_name based on Haihao's suggestion. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2015-04-29HEVC: type delta_chroma_log2_weight_denom as int8_t to match the specXiang, Haihao2-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 612fc3824158278336e6eb36d9af8028b839a569)
2015-04-03Add VAConfigAttribEncSkipFrame and corresponding structures to support ↵pylee1-0/+35
sending skip frame parameters to the encoder's rate control, when the user has externally skipped frames. (cherry picked from commit 959f462709c9c4cba3243805031cf8d836a940ed) Conflicts: va/va.h
2015-04-02Bump VA API to 0.37.1Xiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-04-02Merge VP9 decode API from staging branchWang, Ce4-1/+321
Cherry-pick'ed from: 960352a: VP9 decode API 4b34eb6: Minor changes to the VP9 decode API to remove fields that are not needed 29fa9ec: Made VASliceParameterBufferVP9 consistent with other codecs 0302393: Rename symbols/fields in VP9 API (part of 0302393) Signed-off-by: Wang, Ce <ce.wang@intel.com> Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> Signed-off-by: Sun, Maggie <maggie.sun@intel.com>
2015-04-02libva:Add the bits mask of color-sapce conversion standardsyakui.zhao@intel.com1-0/+1
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit e3f83e524264e073a9815c245a9f194a1651cff6) Conflicts: va/va.h
2015-04-02Add support for querying slice decoding mode supported by the underlying driverJonathan Bian1-0/+23
This is a part of commit d65d7157da6dcfab44e639bee4905f793d869a1c
2015-03-26Added normalization and scaling of the quality factor and Quantization tablesSirisha Muppavarapu1-4/+34
When the header is packed before sending to the driver through LibVA, It is neccesary to normalize the quality factor and scale the Quantization tables based on this quality factor.
2015-03-19HEVC encode APIWang, Ce4-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
2015-03-19Include sub core APIs in va.h as wellXiang, Haihao1-2/+9
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 012838e07d99531c67e3798235b00437f5b67c02)
2015-03-19Move VAHuffmanTableBufferJPEGBaseline to va.hXiang, Haihao3-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
2015-03-19libva 1.5.2.pre1 for developmentXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-03-10x11: dri2: fix double Unlocks/SyncHandleLionel Landwerlin1-4/+0
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2015-01-16Change comment for num_token_partionionsZhong Li1-1/+1
Signed-off-by: Zhong Li <zhong.li@intel.com> (cherry picked from commit d9626b77f865ce7bdbc8c78988a86d3e4f55d67b)
2014-12-29libva 1.5.1.pre1 for developmentXiang, Haihao1-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 9ff92931c684f5b069433af18269d0f7cedbbe3c)
2014-12-29libva 1.5.0Xiang, Haihao2-3/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 2dcbf9d11b9d4bedf3a6a58b4562aab76a4a120c) Conflicts: configure.ac
2014-12-29Update NEWSXiang, Haihao1-2/+10
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit b1a1edcf1fcb4403aaac56e673c4040d65ca24b0)
2014-12-29vainfo: Add support for HEVC profilesXiang, Haihao1-0/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit aa562960b5b3554ba2af065d77bd84a3a54c1f08) Conflicts: test/vainfo/vainfo.c (cherry picked from commit b97c3d7dff67fe0a025e79c03c398d394bf55635)
2014-12-29test/encode/jpegenc: Add jpegenc_utils.h to EXTRA_DISTXiang, Haihao1-0/+4
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 8249dc912bf316f9a556b2851e0f1b5a90a48c97)
2014-12-29libva 1.5.0.pre1 for developmentXiang, Haihao2-2/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 2fb37255e7c9ccb76e65ea74466f5ffafe9c68c0) Conflicts: configure.ac
2014-12-14JPEG Encode: Added support for UYVY/YUY2/Y8 formatsSirisha Muppavarapu2-101/+76
Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> (cherry picked from commit 33cf544c2c381adeb4b119af1015b8e653c8b724)
2014-12-04Add VA trace support for HEVCTang, XiaoxiX1-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>
2014-12-04Added HEVC decode APIWang, Ce4-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>
2014-12-04x11: check x pixmap is still alive before DRI2DestroyDrawableLionel Landwerlin1-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>
2014-12-04Fix while loopXiang, Haihao1-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>
2014-11-26Encoding/avcenc: Optimize the allocated VA surfaces to reduce the memory ↵Zhao Yakui1-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>
2014-11-19JPEG Encode: Added Unit Test for testing jpeg encode feature.Sirisha Muppavarapu3-1/+1357
(cherry picked from commit 9d01b4468f89391892e31efc5bbec774ea781242)
2014-11-19vatrace: trace JPEG encode parametersAustin Yuan1-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
2014-11-19Extended existing JPEG encoding data structures and added configuration ↵Jonathan Bian5-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>
2014-11-14libva 1.4.2.pre1 for developmentXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Conflicts: configure.ac
2014-10-08va: hide most private va_Trace* symbolsEmil Velikov3-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>
2014-10-08va_x11: hide private symbolsEmil Velikov5-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>
2014-10-08glx: Hide private symbol va_glx_init_contextEmil Velikov3-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>
2014-10-08debian: distclean the *install filesEmil Velikov1-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>
2014-10-08configure: use top_builddir for wayland_scanner_rulesEmil Velikov1-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>
2014-10-08Fix out of tree buildsEmil Velikov1-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>
2014-10-08.gitignore: add mpeg2vaencEmil Velikov1-0/+1
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-09-30Bump libva to libva 1.4.1.pre1Xiang, Haihao2-3/+6
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2014-09-30libva 1.4.0Xiang, Haihao2-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)
2014-09-26NEWS: updates.Gwenole Beauchesne1-1/+9
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>