summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-13MPEG2ENC: Initialize the f_code based on supported level instead of hacked ↵HEADmasterZhao Yakui1-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)
2013-08-27va: add new ABGR/XBGR fourcc codes.Victor Ying1-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>
2013-07-15drm: improve check for authentication.Gwenole Beauchesne1-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>
2013-06-27build: fix make dist.Gwenole Beauchesne2-3/+1
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-06-27libva: bump version for development.Gwenole Beauchesne1-2/+2
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-06-27libva 1.2.1libva-1.2.1Xiang, Haihao2-2/+6
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-06-27dummy_drv_video: add back VA_DRIVER_INIT_FUNC definition for __vaDriverInit_*()Vincent Bernat1-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>
2013-06-27tests: rename mpeg2enc to mpeg2vaencXiang, Haihao2-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>
2013-06-25New version for developmentXiang, Haihao1-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-06-25libva 1.2.0Xiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-06-25NEWS: updatesXiang, Haihao1-2/+15
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-06-25Remove the dummy driver dependency on X11Zhao Yakui1-2/+2
Otherwise when x11 is disabled, it can't be compiled correctly. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-06-25Remove the EGL dependency on X11Zhao Yakui1-2/+2
Otherwise when x11 is disabled, it can't be compiled correctly. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2013-06-25h264encode: fix mmap out of memmory issueAustin Yuan1-80/+61
Change-Id: I9d7047d5ac66efefb31509f3ee52a9db28aada23 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: add more cmdline optionsAustin Yuan1-8/+34
Change-Id: Ia0326c2649dcf6dfbce275539cb8f4221fa37501 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: fix ftell overflow issue when open large source YUV filesAustin Yuan1-4/+13
Change-Id: I30190d4e28bd643f00808a15846e50e8fca28764 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: coding 1920x1080 with cropAustin Yuan1-9/+54
Change-Id: I4ba61943c9f2d246deb4bcb69a4781680f63b046 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: print correct number of RefPicList0/1Austin Yuan1-1/+2
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: fix thread lockup issueAustin Yuan1-4/+1
Change-Id: I6065525f76796603856f5cebf0468f4a59c4b5b5 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: fix thread lockup issueAustin Yuan1-4/+11
Change-Id: I3e0f23b5301d8405297b4b88b27e9edccdab6063 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: fix idr_pic_id issue when encode multiple IDR framesAustin Yuan1-3/+3
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: reset IDR poc to 0Elaine Wang1-1/+1
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
2013-06-25h264encode: dump reconstructed frame and calc PSNRAustin Yuan4-123/+405
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: use frame height not the height from VAImage which may be wrongAustin Yuan1-3/+3
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: correct negative POC after a new IDRAustin Yuan1-4/+6
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: fix encode corruption issue with multiple IDR (-idr_period XX)Austin Yuan1-18/+28
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
2013-06-25h264encode: add some commentsElaine Wang1-11/+3
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
2013-06-25h264encode: refine calculation logic of reference frame settingElaine Wang1-137/+263
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
2013-06-25h264encode: fix wrong print informationElaine Wang1-5/+7
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
2013-06-24AVCENC: Pass the H264 RefPicList0/1 by using slice_param instead of hacked ↵Zhao Yakui1-0/+19
DPB reference Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 968a9bf006679ad8d752fa1ddcd4bb80fc8c5e51)
2013-06-19Fix possible memory leakXiang, Haihao2-3/+10
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 0b07495fc24646b47952b8df7d4e6d2df2a0f72c)
2013-06-19va.c: need to check the symbol before calling itAustin Yuan1-1/+1
This is to fix Klockwork critical issue Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 40e5e45edf97049137bca014575607b52d3bca78)
2013-06-19va: fix vaErrorStr() to support new error codes.Gwenole Beauchesne1-0/+6
(cherry picked from commit 7b5c35273dc0e8e0e86cf40cf2a398119a766397)
2013-06-19va_x11: fix klockscan issue (details is bellow)Austin Yuan1-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)
2013-06-19vatrace: print target_percentageAustin Yuan1-0/+1
Change-Id: I220b2fa7ad6907ab0ebda3671baeeab7fa36cc00 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 82e7dc8280da22c88a28f0a4d429f28fd99f9ced)
2013-06-19vatrace: trace coded buffer create/destroyAustin Yuan3-2/+81
Change-Id: If0388cd5e2e141184d88ff5de5612d15e51e3d20 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 880c916092c6d68096c95e49405714d8a21f9322)
2013-06-19vatrace: dump unknonw private misc parametersAustin Yuan1-1/+2
Change-Id: I33bbed3a1d3f297297687197f623d6c08ee8eba9 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit df5bfb6c6f248c0bcf6f2f9a74e9ffba4b0acf15)
2013-06-19vatrace: remove the delimiter of every elements dumpAustin Yuan1-6/+0
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 132f22ae9b42b4657361c87b5c7d5b14a26a52a9)
2013-06-19vatrace: refine the format of buf data dumpElaine Wang1-3/+3
Signed-off-by: Elaine Wang <elaine.wang@intel.com> (cherry picked from commit 2292299fe00036eb6055a84846f63f36cbae27d9)
2013-06-19vatrace: refine VAEncPackedHeaderParameterBufferType formatAustin Yuan1-2/+6
Change-Id: I1794a9c09a88b61d7abce970d7cb9a8f101162c6 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 4853e4a3a6cc5218e032a19d729096862db82bc6)
2013-06-19vatrace: print VAEncPackedHeaderParameterBufferTypeAustin Yuan1-0/+28
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 82ffa4b5bfb6cf59e90eedadbdfe3efdaced35e0)
2013-06-19libva: Add VABuffer dumping for JPEG parametersCheng Yao1-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)
2013-06-19vatrace: only print info of valid reference framesAustin Yuan1-6/+10
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 67c489f323188df1370f8ba2d4063bc86153cce7)
2013-06-19vatrace: dump flags of VAPictureH264Elaine Wang1-15/+21
Signed-off-by: Elaine Wang <elaine.wang@intel.com> (cherry picked from commit e1d86f000749d5fdbd6e36b55260d3fae096e457)
2013-06-19LIBVA_DRIVER_NAME still needs va_getDriverName to open DRM deviceFei Jiang1-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)
2013-06-19va_trace: refine the log formatElaine Wang4-26/+36
Signed-off-by: Elaine Wang <elaine.wang@intel.com> (cherry picked from commit 15a0fca64456d8c7de1f7aca2cb747c4929690cd)
2013-06-19vatrace: print function name for vaMapBuffer trace with coded bufferAustin Yuan1-7/+9
also fall into default va_TraceVABuffers if the buffer type falls into "default" Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit acbf7d0c4830763e7c3be0e71c9da972f1aea7a5)
2013-06-19vatrace: buffer_type_to_string: add missing VABufferTypeAdrian Marius Negreanu1-0/+8
sync with VABufferType in va/va.h. Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com> (cherry picked from commit d5160173f9dd5a37c793518d1d483b09d278d90c) [Remove unsupported types on master] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2013-06-19va_parseConfig: still need to check env_valueAustin Yuan1-1/+2
env_value may be NULL which means the caller doens't care the value of the environment variable, just check if it is set. Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e)
2013-06-19vatrace: fix build issueAustin Yuan1-3/+3
Change-Id: I1727528df6aaf48209774bada5cf136cfa1e4ee3 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 1e0421f5ce01790e700940310aafb05e4c18d8f0)