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
Sil Vilerino
ab82f899de
win32 compat: Fix setenv/unsetenv return values
...
The return values did not match the calls to the delegated
functions.
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2023-02-15 06:48:45 -08:00
Brian Norris
ecd26b3910
test_va_api: Don't assume our DRM node is first
...
Similar to:
bfb6b98ed6
exclude vgem node and invalid drm node in vainfo
But adapted to use drmGetDevices2() for more generic handling.
It's possible to have a vgem node at 128, and the VA-API node is at 129,
for example.
Signed-off-by: Brian Norris <briannorris@chromium.org>
2023-02-03 13:50:26 +08:00
Furong Zhang
3c5f3fba49
Changed H2S configuration template.
...
Signed-off-by: Furong Zhang <furong.zhang@intel.com>
2023-01-10 17:16:34 +08:00
Furong Zhang
7ac1be860a
Correct maximum display luminance per VAAPI definition.
...
VAAPI defines the maximum display luminance as in the unit of 0.0001nits.
Signed-off-by: Furong Zhang <furong.zhang@intel.com>
2023-01-10 09:55:49 +08:00
Yao, Leyu
b33bded346
Fix possible memory leak
...
Signed-off-by: Yao, Leyu <leyu.yao@intel.com>
2023-01-03 11:53:36 +08:00
Yao, Leyu
12a53eb7d1
fix coding issues
...
1. function return type
2. ref_frame_idx idx too large
2022-12-28 21:24:30 +08:00
Carl Zhang
f081a8bb53
Update NEWS for libva-utils 2.17.0
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-12-26 09:55:18 -05:00
Aleksandrov, Dmitry V
04ce905fa5
Remove old security diclaimer from contributing.md file
2022-12-21 21:36:50 +08:00
Aleksandrov, Dmitry V
122ce37d60
Upload a security disclaimer
2022-12-21 21:36:50 +08:00
Yao, Leyu
43555d6b3b
Add av1 encode sample code
2022-12-14 22:04:59 +08:00
Himanshu Nayak
c0ed286c0c
test/test_va_api_query_config: Changed default initialization value to VAProfileNone
...
In Vaapi unit test VAAPIQueryConfig, CheckEntrypointsForProfile
the default initialization value chnaged from zero to VAProfileNone
as zero is a valid profile matches with MPEG2Simple and this unit
test misinterpret it as part of return value from vaQueryConfigProfiles
Signed-off-by: Himanshu Nayak <himanshu.nayak@amd.corp-partner.google.com>
2022-11-29 13:04:45 -05:00
Sil Vilerino
d6fff81cae
CI: Add git dependency for mingw build for meson dependencies cloning
2022-10-27 09:17:39 -07:00
Sil Vilerino
410a228564
vainfo: Add support for Win32 device enumeration and selection
2022-10-27 09:17:39 -07:00
Dmitry Rogozhkin
9985a16343
ci: dos2unix for windows workflow files
...
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2022-10-26 13:29:33 -07:00
Dmitry Rogozhkin
9e618a926d
ci: update checkout and setup-python action versions to v3 and v4
...
See: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2022-10-26 13:29:33 -07:00
Sil Vilerino
6bc3ec4f3e
ci: Add msvc/mingw Windows CI
...
Added windows.yml and EnterDevShell.ps1
for MSVC/mingw building with ninja/meson backend.
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2022-10-23 21:39:00 +08:00
Sil Vilerino
b587966f8d
tests: enable building on Windows
...
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2022-10-23 21:39:00 +08:00
Sil Vilerino
5add628b52
tests: Remove C++20 constructs in tests project targetting C++11
...
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2022-10-23 21:39:00 +08:00
Sil Vilerino
5050d6043f
tests: remove non C++ standard constructs
...
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2022-10-23 21:39:00 +08:00
Sil Vilerino
ef9b9a284c
vainfo: add va-win32 support
...
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2022-10-23 21:39:00 +08:00
Sil Vilerino
39bd9ff96c
Import OpenBSD getopt for MSVC from mesa/f9bb5323
...
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
2022-10-23 21:39:00 +08:00
Sil Vilerino
309252dcba
Fix reporting of VAConfigAttribEncMaxSlices
2022-10-20 10:15:21 -07:00
Nicolas Chauvet
de2bc68216
meson: add missing tools
...
The vacopy vpp3dlut vpphdr_tm tools are available in autotools but are
missing with meson. Add them
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
2022-10-14 19:28:10 -07:00
Carl Zhang
e544399ef9
libva-utils 2.17.0.pre1
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-10-08 02:28:07 -04:00
Carl Zhang
3bf2a0d59e
Update NEWS for libva-utils 2.16.0
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-10-07 22:26:39 -04:00
Emil Velikov
f6f6b33c38
common: print the display being attempted
...
Currently we silently fall-though all possible display types. Which is
fairly confusing for the end user if `vainfo` works but it fails on
their favourite program.
Add an explicit print, saving time to both users and developers.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2022-09-30 08:43:41 -07:00
Emil Velikov
9f62cb2843
meson: produce summary() when 0.53.0 is present
...
Use the summary() feature, similar to the autotools build.
This was introduced with 0.53.0 so guard on that version. We don't want
to bump the required version, even though 0.53.0 is available on Debian
old-stable (buster-backports), Ubuntu 20.04 (focal) and newer distros.
v2: Don't bump the required version
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2022-09-30 08:42:48 -07:00
Jan Beich
4af6a66e55
ci: upgrade FreeBSD to 13.1
...
FreeBSD doesn't support /latest and /quarterly package repos on EOL
versions. 13.0 reaches EOL on 2022-08-31, so avoid CI breakage.
2022-07-29 18:22:36 -07:00
Matt Turner
d5d778ccd3
meson: Search for threads in top-level meson.build
...
In Gentoo we allow disabling the tools and putsuface separately, so
moving the threads check out of the encode subdirectory helps.
2022-07-04 13:43:18 +08:00
Carl Zhang
1c8ff0ee2b
libva-utils 2.16.0.pre1
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-07-04 13:42:58 +08:00
Carl Zhang
e9b2a102e6
Update NEWS for libva-utils 2.15.0
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-07-01 03:48:04 -04:00
caij
66665cf8e2
null check for vpphdr buffer ptr
...
null check for vpphdr buffer ptr
Signed-off-by: caij jianxing.cai@intel.com
2022-06-23 10:08:57 +08:00
root
69703e30f8
[Encode] Set correct entrypoint for lowpower
...
Set correct entrypoint to VAEntrypointEncSliceLP for HEVC lowpower
insead of VAEntrypointEncSlice
2022-06-16 11:26:40 +08:00