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
chuanli1
995d201450
[Decode] Components exceed the value specified by jpeg spec
...
jpeg components number should not exceed 4 following the spec
Signed-off-by: Liu, Chuan1 <chuan1.liu@intel.com>
2022-06-16 11:25:24 +08:00
Carl Zhang
9c3a7fa404
Disable travis build
...
already enable github actions
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-06-14 20:11:34 +08:00
Cai, Jianxing
066b27764e
fix hdr local variable pointer access issue
...
local variable will be freed after return, so need the
caller to convey it
Signed-off-by: caij <jianxing.cai@intel.com>
2022-05-16 17:30:45 +08:00
yumkam
1c4f53bc72
Fix typo in vainfo
2022-05-15 21:48:29 +08:00
Furong Zhang
11bc130893
Added HDR10 Tone Mapping sample code including H2H and H2S config files.
...
Signed-off-by: Furong Zhang <furong.zhang@intel.com>
2022-04-27 17:20:44 +08:00
Tianhao Liu
e222df7a0d
[Encode] Support lowpower for HEVC Encoding
...
Add one option "--lowpower" to support lowpower for hevc encoding,
lowpower is disabled by default.
Change option "--bitrate" to kbps.
2022-04-19 12:12:19 +08:00
Tianhao Liu
dd2b961c93
[Encode] Fix issue incorrect color for EU based hevcencode
2022-04-14 21:58:02 -04:00
Matt Turner
d19fe737f6
meson: Search for libdrm
...
The pkgconfig file is named 'libdrm', as can be seen in configure.ac,
not 'drm'.
Fixes: bfb6b98
("exclude vgem node and invalid drm node in vainfo")
2022-04-05 21:38:03 -04:00
chuanli1
ec1c44c19a
[Decode] Components exceed the value specified by Jpeg spec
...
jpeg components number should not exceed 4 following the spec
Signed-off-by: Liu, Chuan1 <chuan1.liu@intel.com>
2022-03-20 22:45:24 -04:00
Carl Zhang
bfb6b98ed6
exclude vgem node and invalid drm node in vainfo
...
call drm function to avoid invalid node
check the name of vgem
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-02-17 02:58:30 -05:00
Carl Zhang
dc4e5a8d94
libva-utils 2.15.0.pre1
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-02-16 10:51:29 -05:00
Carl Zhang
8e4c8d1536
Update NEWS for libva-utils 2.14.0
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2022-02-16 10:43:04 -05:00
Dmitry Rogozhkin
567828bb36
ci: fix freebsd build
...
Switching to:
* vmactions/freebsd-vm@v0.1.5 to fetch FreeBSD 13
* macos-10.15
It seems github systems are getting updates with later macos
versions (11.6.1) which don't have vboxmanage required to run VMs.
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2021-12-09 02:02:38 +00:00
Emma Anholt
be95c6b1f0
Use the static test fixture to speed up CreateSurfaces tests.
...
Reduces test runtime on my radeonsi system by 20%. Likely a lot of
the improvement here is from being able to userspace recycle the BOs
that are being allocated.
Fixes : #247
2021-11-02 11:26:08 -07:00
Emma Anholt
f612385f74
Use a static test fixture to try to speed up some query tests.
...
I don't love the way I have the fixture usage brought in, and maybe
this should be a subclass or something to get this behavior. I'm not
great at C++, though.
2021-11-02 11:26:08 -07:00
Emma Anholt
15df97250c
Update to googletest 1.11.0.
...
This is commit e2239ee6043f73722e7aa812a459f54a28552929 from git.
This brings in SetUpTestSuite support. Note that it required a few
minor updates to the tests mostly to quiet deprecation warnings, and
also to include a header we need that used to be brought in by gtest.
2021-11-02 11:26:08 -07:00
Carl Zhang
b95e714e14
update NEWS for libva-utils 2.13.0
...
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2021-09-30 04:18:45 -04:00