~thong-u/unoptimized/+git/libva:v2.21-branch

Last commit made on 2024-03-12
Get this branch:
git clone -b v2.21-branch https://git.launchpad.net/~thong-u/unoptimized/+git/libva

Branch merges

Branch information

Name:
v2.21-branch
Repository:
lp:~thong-u/unoptimized/+git/libva

Recent commits

0b01aed... by Carl Zhang <email address hidden>

update NEWS for libva 2.21.0

Signed-off-by: Carl Zhang <email address hidden>

1b15da2... by XinfengZhang <email address hidden>

libva 2.21.0

Signed-off-by: Carl Zhang <email address hidden>

2350037... by Hirokazu Honda <email address hidden>

Add allow_content_tools and force_intger_mv to AV1 enc

Signed-off-by: Hirokazu Honda <email address hidden>

c189a88... by Carl Zhang <email address hidden>

va_trace:add return value trace for vaPutSurfaces

Signed-off-by: Carl Zhang <email address hidden>

62e2f4d... by "Li, Xin6" <email address hidden>

Update Prime3 definition

0x80000000 usually used as unsupport bit, update to new value.

Signed-off-by: Li, Xin6 <email address hidden>

0e4c0e5... by Ruijing Dong <email address hidden>

va: add VASurfaceAttribAlignmentSize

Due to different HW implementation, the
surface could require a different alignment size
rather than the default ones, here introduces
a new VASurfaceAttribute, alignment size, which
contains two variables log2_width_alignment
and log2_height_alignment, each has 4 bits,
and the alignment needs to be left shifted
2**size from the application side.

The alignment is in the powers of 2 and
range in [2**0, ... 2**15] = [1, 2, 4, 8, ... 32768]

And this alignment should be met when creating
context as an add-on requirement. If not
implemented, the existing/default alignment
logic will be used.

Signed-off-by: Ruijing Dong <email address hidden>

eeebe59... by Sil Vilerino

va: Re-add drm_state and fd checks to VA_DRM_GetDriverNames

Apps like gstreamer will crash on WSL without this check, which
existed before but was removed in commit f09781156b24c571c187250f6d0f5eeff042528b

Signed-off-by: Sil Vilerino <email address hidden>

df1272c... by Carl Zhang <email address hidden>

ci:harden permissions for all github workflows

Signed-off-by: Carl Zhang <email address hidden>

a438699... by Eli Schwartz

meson: create dist archives suitable for building with configure, too

Run autogen.sh as a dist script while creating the tarball. Also update
autogen.sh to detect when it is being run from `meson dist`, and use
that as the srcdir.

Signed-off-by: Eli Schwartz <email address hidden>

4e3eb1f... by Eli Schwartz

autogen.sh: successfully detect if the autoreconf program is installed

The "which" utility is not guaranteed to be installed either, and if it
is, its behavior is not portable either. This means that when autoreconf
is installed, the `which` check will report a fatal error because the
which tool did not exist and the shell returned a nonzero status when
attempting to fork+exec. If it did exist, it might not be an
implementation of `which` that returns nonzero when commands do not
exist.

The general scripting suggestion is to use the "command -v" shell
builtin; this is required to exist in all POSIX 2008 compliant shells,
and is thus guaranteed to work everywhere.

For some in-depth discussions on the topic, see:
- https://mywiki.wooledge.org/BashFAQ/081
- https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then/85250#85250

Examples of open-source shells likely to be installed as /bin/sh on
Linux, which implement the 15-year-old standard: ash, bash, busybox,
dash, ksh, mksh and zsh.

Signed-off-by: Eli Schwartz <email address hidden>