summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* libva: change the types of all fields in VABoolCoderContextVPXTianmi Chen2014-02-131-3/+3
| | | | | | | | | | BZ: 120268 Change the types of all fields in VABoolCoderContextVPX to "unsigned char" to avoid potential bugs. Change-Id: I483f115080cefe45ae49503ff5737c7dfff305a8 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* Changes to VASliceParameterBufferVP8 to make it consistent with slice ↵Jonathan Bian2014-02-131-11/+18
| | | | parameter buffer structure for other formats.
* Added VASliceParameterBufferVP8 to describe data partition related fields.Jonathan Bian2014-02-131-2/+18
|
* Add VP8 decoding APIJonathan Bian2014-02-133-1/+213
| | | | | | | | Added new profile, buffer types and data structures for VP8 decoding Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> [Fixed conflicts and remove unused profiles] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* do not request any GLX_DEPTH_SIZE in create_tfp_surfaceRinat Ibragimov2014-01-161-1/+0
| | | | | | Window depth was confused with OpenGL depth buffer. Signed-off-by: Rinat <ibragimovrinat@mail.ru>
* MPEG2ENC: Initialize the f_code based on supported level instead of hacked ↵Zhao Yakui2013-09-131-6/+22
| | | | | | | | | | | setting The f_code of MPEG2 picture parameter indicates the max search range of the motion vector prediction. The small value will cause the unoptimized motion vector prediction. So remove the hack setting. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 4fa9b3ba9d45a021e282f761d061e1151158c3ea)
* va: add new ABGR/XBGR fourcc codes.Victor Ying2013-08-271-0/+2
| | | | | | | | | Add VA_FOURCC_ABGR and its companion VA_FOURCC_XBGR definition. This represents a packed RGB format with 32 bpp, i.e. 8-bit per component. The components order in memory is A B G R. Signed-off-by: Victor Ying <victor.ying@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* drm: improve check for authentication.Gwenole Beauchesne2013-07-151-1/+18
| | | | | | | On Linux systems, the drmGetClient() function would return the thread ID instead of the actual process ID. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* build: fix make dist.Gwenole Beauchesne2013-06-272-3/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libva: bump version for development.Gwenole Beauchesne2013-06-271-2/+2
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libva 1.2.1libva-1.2.1Xiang, Haihao2013-06-272-2/+6
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* dummy_drv_video: add back VA_DRIVER_INIT_FUNC definition for __vaDriverInit_*()Vincent Bernat2013-06-271-0/+5
| | | | | | | | | Since commit ca1798e77b6fa99dbb010f202a057f75415afd52, dummy driver was defining VA_DRIVER_INIT_FUNC symbol instead of __vaDriverInit_0_33 and therefore cannot be used for testing anymore. We restore the definition of this symbol in configure.ac. Signed-off-by: Vincent Bernat <bernat@luffy.cx>
* tests: rename mpeg2enc to mpeg2vaencXiang, Haihao2013-06-272-4/+4
| | | | | | | This fixes namespace issue with mpeg2enc from the mjpegtools. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66221 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* New version for developmentXiang, Haihao2013-06-251-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.2.0Xiang, Haihao2013-06-251-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* NEWS: updatesXiang, Haihao2013-06-251-2/+15
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Remove the dummy driver dependency on X11Zhao Yakui2013-06-251-2/+2
| | | | | | Otherwise when x11 is disabled, it can't be compiled correctly. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* Remove the EGL dependency on X11Zhao Yakui2013-06-251-2/+2
| | | | | | Otherwise when x11 is disabled, it can't be compiled correctly. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* h264encode: fix mmap out of memmory issueAustin Yuan2013-06-251-80/+61
| | | | | Change-Id: I9d7047d5ac66efefb31509f3ee52a9db28aada23 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: add more cmdline optionsAustin Yuan2013-06-251-8/+34
| | | | | Change-Id: Ia0326c2649dcf6dfbce275539cb8f4221fa37501 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: fix ftell overflow issue when open large source YUV filesAustin Yuan2013-06-251-4/+13
| | | | | Change-Id: I30190d4e28bd643f00808a15846e50e8fca28764 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: coding 1920x1080 with cropAustin Yuan2013-06-251-9/+54
| | | | | Change-Id: I4ba61943c9f2d246deb4bcb69a4781680f63b046 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: print correct number of RefPicList0/1Austin Yuan2013-06-251-1/+2
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: fix thread lockup issueAustin Yuan2013-06-251-4/+1
| | | | | Change-Id: I6065525f76796603856f5cebf0468f4a59c4b5b5 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: fix thread lockup issueAustin Yuan2013-06-251-4/+11
| | | | | Change-Id: I3e0f23b5301d8405297b4b88b27e9edccdab6063 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: fix idr_pic_id issue when encode multiple IDR framesAustin Yuan2013-06-251-3/+3
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: reset IDR poc to 0Elaine Wang2013-06-251-1/+1
| | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com>
* h264encode: dump reconstructed frame and calc PSNRAustin Yuan2013-06-254-123/+405
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: use frame height not the height from VAImage which may be wrongAustin Yuan2013-06-251-3/+3
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: correct negative POC after a new IDRAustin Yuan2013-06-251-4/+6
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: fix encode corruption issue with multiple IDR (-idr_period XX)Austin Yuan2013-06-251-18/+28
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* h264encode: add some commentsElaine Wang2013-06-251-11/+3
| | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com>
* h264encode: refine calculation logic of reference frame settingElaine Wang2013-06-251-137/+263
| | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com>
* h264encode: fix wrong print informationElaine Wang2013-06-251-5/+7
| | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com>
* AVCENC: Pass the H264 RefPicList0/1 by using slice_param instead of hacked ↵Zhao Yakui2013-06-241-0/+19
| | | | | | | DPB reference Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 968a9bf006679ad8d752fa1ddcd4bb80fc8c5e51)
* Fix possible memory leakXiang, Haihao2013-06-192-3/+10
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 0b07495fc24646b47952b8df7d4e6d2df2a0f72c)
* va.c: need to check the symbol before calling itAustin Yuan2013-06-191-1/+1
| | | | | | | This is to fix Klockwork critical issue Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 40e5e45edf97049137bca014575607b52d3bca78)
* va: fix vaErrorStr() to support new error codes.Gwenole Beauchesne2013-06-191-0/+6
| | | | (cherry picked from commit 7b5c35273dc0e8e0e86cf40cf2a398119a766397)
* va_x11: fix klockscan issue (details is bellow)Austin Yuan2013-06-191-1/+3
| | | | | | | | | | | | | | | File: va_x11.c Function: va_DisplayContextGetDriverName -> va_DRI2GetDriverName -> dri2_util.c:isDRI2Connected Line: 154 -> 84 -> dri2_util.c:184 Code: TRACEBACK va_x11.c:151: driver_name is NULL va_x11.c:154: 'driver_name' is passed to function 'va_DRI2GetDriverName'. dri2_util.c:84: 'driver_name' is passed to function 'isDRI2Connected'. dri2_util.c:184: 'driver_name' is explicitly dereferenced. Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com> (cherry picked from commit c87699f32c6c79905a2fd8675cd19f22e1f4b024)
* vatrace: print target_percentageAustin Yuan2013-06-191-0/+1
| | | | | | Change-Id: I220b2fa7ad6907ab0ebda3671baeeab7fa36cc00 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 82e7dc8280da22c88a28f0a4d429f28fd99f9ced)
* vatrace: trace coded buffer create/destroyAustin Yuan2013-06-193-2/+81
| | | | | | Change-Id: If0388cd5e2e141184d88ff5de5612d15e51e3d20 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 880c916092c6d68096c95e49405714d8a21f9322)
* vatrace: dump unknonw private misc parametersAustin Yuan2013-06-191-1/+2
| | | | | | Change-Id: I33bbed3a1d3f297297687197f623d6c08ee8eba9 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit df5bfb6c6f248c0bcf6f2f9a74e9ffba4b0acf15)
* vatrace: remove the delimiter of every elements dumpAustin Yuan2013-06-191-6/+0
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 132f22ae9b42b4657361c87b5c7d5b14a26a52a9)
* vatrace: refine the format of buf data dumpElaine Wang2013-06-191-3/+3
| | | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com> (cherry picked from commit 2292299fe00036eb6055a84846f63f36cbae27d9)
* vatrace: refine VAEncPackedHeaderParameterBufferType formatAustin Yuan2013-06-191-2/+6
| | | | | | Change-Id: I1794a9c09a88b61d7abce970d7cb9a8f101162c6 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 4853e4a3a6cc5218e032a19d729096862db82bc6)
* vatrace: print VAEncPackedHeaderParameterBufferTypeAustin Yuan2013-06-191-0/+28
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 82ffa4b5bfb6cf59e90eedadbdfe3efdaced35e0)
* libva: Add VABuffer dumping for JPEG parametersCheng Yao2013-06-191-5/+140
| | | | | | | | | | BZ: 98966 Dump VABuffer of JPEG parameters in libva Change-Id: I87450d92db402a4730e0c0433215c857bc5b494d Signed-off-by: Cheng Yao <yao.cheng@intel.com> (cherry picked from commit 40ffef8d1fcbbc709472dc1342d7e3e983ae5d96)
* vatrace: only print info of valid reference framesAustin Yuan2013-06-191-6/+10
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 67c489f323188df1370f8ba2d4063bc86153cce7)
* vatrace: dump flags of VAPictureH264Elaine Wang2013-06-191-15/+21
| | | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com> (cherry picked from commit e1d86f000749d5fdbd6e36b55260d3fae096e457)
* LIBVA_DRIVER_NAME still needs va_getDriverName to open DRM deviceFei Jiang2013-06-191-6/+12
| | | | | | | | | va_getDriverName is bypassed when LIBVA_DRIVER_NAME is set, but driver needs DRM device fd which is only opened in va_getDriverName Change-Id: I4fe11edf9d8c328806255d4c93313cf99655a91d Signed-off-by: Fei Jiang <fei.jiang@intel.com> (cherry picked from commit 04706eb13ae410b53b6b38150413d544b7fdb524)