Commit Graph

376 Commits

Author SHA1 Message Date
Hirokazu Honda deff9753a8 Support Android build 2024-11-26 09:43:54 +08:00
Bai, Isaac 908e201454 [HEVCe] update header logic
update hevce fill header logic when VAConfigAttribEncHEVCFeatures
supported.
2024-07-18 21:14:05 +08:00
Carl Zhang bbf09fa9f6 update NEWS for 2.22.0
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-06-20 16:02:28 +08:00
Carl Zhang 685fd9261a ci:correct the permission of workflows
using read-all access for all of the available scopes

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-06-06 16:50:44 +08:00
Shekhar Chauhan 4e4e2f0abf Fixed memory leak
Freeing entrypoints before exit to fix a possible memory leak.

Signed-off-by: Shekhar Chauhan <shekharbarca10@gmail.com>
2024-06-04 13:35:40 +08:00
Jianhui Dai 4f0496ac41 [doc] Fix meson build options in README
Signed-off-by: Jianhui Dai <jianhui.j.dai@intel.com>
2024-04-28 10:30:55 +08:00
Maxim Romanov 29c0a92d0e test/CheckEntrypointsForProfile: fix for limited profiles
VAAPI driver may support less profiles than specified in max_profiles.
In this case, elements in profiles vector above the numProfiles have
default value (0 or VAProfileMPEG2Simple) and test fails if this
profile is not supported.
2024-03-12 18:57:43 -04:00
Carl Zhang b97bd1dbbb libva-utils 2.22.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-03-12 16:34:35 +08:00
Carl Zhang 6bc3554b71 update NEWS for 2.21.0
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-03-12 16:34:35 +08:00
Carl Zhang ff5630b151 ci: harden permission for freebsd.yml
set it to read only

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-03-05 16:09:32 +08:00
Lin, Sherry f484f4f778 workflow: add workflow permission for all jobs
including Ubuntu/Windows

Signed-off-by: Lin, Sherry <sherry.lin@intel.com>
2024-02-21 16:30:10 +08:00
Li, Xin6 e08be1388e Add Prime3 memtype support
Signed-off-by: Li, Xin6 <xin6.li@intel.com>
2024-02-02 10:35:44 +08:00
Carl Zhang 49a1368ccd use meson setup instead of meson options
1. use obsolute folder as prefix
2. use checkout@v4
3. use meson setup

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-02-02 10:00:49 +08:00
Carl Zhang 87653ad842 ci: update freebsd vm to the v1 version
The previous v0 is not working anymore.
Update to use the latest v1 version.
same as https://github.com/intel/libva/pull/775
&https://github.com/intel/libva-utils/pull/352

but last one was closed unfortunately.

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-02-02 10:00:49 +08:00
Carl Zhang 30da35aaa3 clean some unused variables and functions
some variables was defined but not used.
some static functions was defined but not used.

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-02-01 15:56:46 +08:00
Carl Zhang 7adaf8bbfb unify the coding style
some new code was not unified
so run style_unify.sh again

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2024-02-01 15:56:46 +08:00
Chen, Bohan b3ee1c3a02 [Encode] Fix some coverity issues exposed in encode
Fix some remaining encode coverity issues: 1 Unchecked return value; 1 Resource leak; 2 Modulo by zero

Signed-off-by: Chen, Bohan <bohan.chen@intel.com>
2023-12-01 10:52:25 +08:00
Chen, Bohan 505e7b343e [Encode] Fix some coverity issues exposed in encode
Fix some encode coverity issues: 11 Unchecked return value; 5 Dead code; 4 Resource leak; 3 Modulo by zero; 1 Argument cannot be negative; 1 Out-of-bounds write

Signed-off-by: Chen, Bohan <bohan.chen@intel.com>
2023-11-30 09:57:43 +08:00
Alex1 Zhang b0389f427b Fixed VPP coverity issues.
Signed-off-by: Alex1 Zhang alex1.zhang@intel.com
2023-11-09 22:11:22 +08:00
Yuan, Pengxin 1258c716de Fix some coverity issues exposed in decode
Signed-off-by: Pengxin Yuan <pengxin.yuan@intel.com>
2023-11-09 14:58:24 +08:00
Xue, Maxim 3e28d4e3b5 fix options 2023-11-09 14:01:48 +08:00
Xue, Maxim efccaf2f95 Add back buffer size options 2023-11-09 14:01:48 +08:00
Xue, Maxim f3d3e4559a av1encode: simplify cbr/vbr interface and refine codes
1. Unify bitrate interface and remove buffer size related settings to
   use driver default values for best quality.
2. Remove extra empty lines for refining code.

Signed-off-by: Xue, Maxim <maxim.xue@intel.com>
2023-11-09 14:01:48 +08:00
Carl Zhang 0e5d311430 fix: fix typo of version in NEWS
it should be 2.20 instead of 2.2020

Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-10-09 07:13:17 -07:00
Sil Vilerino b080e23715 vainfo: Print VAConfigAttribEncMaxTileRows and VAConfigAttribEncMaxTileCols
Requires: https://github.com/intel/libva/pull/757
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2023-10-04 22:23:10 +08:00
Carl Zhang 81eed6e004 libva-utils 2.21.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-09-14 04:17:45 -04:00
Carl Zhang c779906841 update NEWS for 2.20.0
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-09-14 04:08:52 -04:00
Xue, Maxim f226476c5a test: Enable AV1 encode test
Signed-off-by: Xue, Maxim <maxim.xue@intel.com>
2023-09-13 15:53:11 +08:00
Yao, Leyu 98505afda6 fix typo
Signed-off-by: Yao, Leyu <leyu.yao@intel.com>
2023-08-17 15:17:39 +08:00
Yao, Leyu 3c5f611862 [AV1e] allow user select entrypoint between VAEntrypointEncSlice and VAEntrypointEncSliceLP
Signed-off-by: Yao, Leyu <leyu.yao@intel.com>
2023-08-17 15:17:39 +08:00
Carl Zhang c71e69c5b7 update NEWS for libva-utils 2.19.0
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-07-04 04:22:46 -04:00
Gu, Yanjie eefc2dc7a2 [Encode] Add support for VAConfigAttribEncHEVCBlockSizes & VAConfigAttribEncHEVCFeatures
Set corresponding parameters in SPS etc. to the values from these 2 attributes, instead of hard-coding. If the attributes are not set, use default values which remains unchanged.
2023-06-06 13:23:14 +08:00
XinfengZhang b7d034daf2 Update ubuntu.yml to remove ubuntu 18.04
https://github.com/actions/runner-images/issues/6002
18.04 actions runner image was deprecated
2023-06-06 12:36:07 +08:00
David Heidelberg 370c1e1f60 meson: guard code introduced after libva 1.10 release
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
2023-06-06 12:04:34 +08:00
Pradeep Kumar 0fb46fcc5c Adding the check for log2_max_pic_order_cnt_lsb_minus4 to not cross the max limit 12
Signed-off-by: Pradeep Kumar <pradeep.kumar@intel.com>
2023-06-06 12:04:12 +08:00
Pradeep Kumar 72db01438f Fix for pic_order_cnt_lsb to accept larger GOP
Signed-off-by: Pradeep Kumar <pradeep.kumar@intel.com>
2023-06-06 12:04:12 +08:00
U. Artie Eoff c464d3f4ef meson: libva-xyz should be same version as detected libva
This will help prevent erroneous linking to mixed versions
of libva-xyz window system libraries that may not be binary
compatible.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2023-04-02 11:42:17 +08:00
U. Artie Eoff 71919fc27e configure: libva-xyz should be same version as detected libva
This will help prevent erroneous linking to mixed versions
of libva-xyz window system libraries that may not be binary
compatible.  For example,
 1. User installs libva-dev from distro packages that
    provides all libva-xyz.pc/.so window system libraries.
 2. Then, user compiles and installs libva from source with 1
    or more [auto] disabled libva-xyz window system libraries.
 3. Finally, user compiles libva-utils from source, but configure
    finds a mix of distro installed and user compiled
    libva-xyz window system libraries and encounters linker
    error when not binary compatible with user installed
    libva.so.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2023-04-02 11:42:17 +08:00
caij 4cd4308c39 fix scan num limitation.
Signed-off-by: caij jianxing.cai@intel.com
2023-03-22 20:07:54 +08:00
Carl Zhang 027b2eda6f libva-utils 2.19.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 04:33:57 -04:00
Carl Zhang 5c8c3978a5 update NEWS for libva-utils 2.18.0
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 04:15:52 -04:00
Carl Zhang 87fed9002a add version check for VAProfileH264High10
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 16:14:43 +08:00
Carl Zhang ceb4811e6b libva-utils 2.18.0.pre1
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 03:57:53 -04:00
Lin, Sherry 47c981e4f9 Add build and install libva-utils steps
Add detail steps for libva-utils

Signed-off-by: Lin, Sherry <sherry.lin@intel.com>
2023-03-17 15:38:38 +08:00
Wu, Stella 42ad12b2e5 Add Th limitation by HUFFMAN_TABLES Count
Signed-off-by: Wu, Stella <stella.wu@intel.com>
2023-03-17 14:38:35 +08:00
Yao, Leyu 75f632fc09 Add refresh_frame_flags in PPS
Signed-off-by: Yao, Leyu <leyu.yao@intel.com>
2023-03-17 14:35:35 +08:00
jianfeng.zheng ea1d866ef8 test: add VAProfileH264High10
see https://github.com/intel/libva/pull/664

Signed-off-by: jianfeng.zheng <jianfeng.zheng@mthreads.com>
2023-03-17 14:31:31 +08:00
dingintel2021 8bd8cde5e8 [Decode] Add checking of stream_scan size
Signed-off-by: dingintel2021 <wenlong.ding@intel.com>
2023-03-17 14:29:32 +08:00
Wu, Stella 0561789702 Add Scan Num limitation
Signed-off-by: Wu, Stella <stella.wu@intel.com>
2023-03-17 11:02:16 +08:00
Sil Vilerino ffc0b0dbc4 va_display_drm: Allow VGEM for WSL2
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2023-02-15 06:49:26 -08:00