Skip to content

Conversation

aukhina
Copy link

@aukhina aukhina commented Aug 28, 2020

No description provided.

XinfengZhang and others added 30 commits February 10, 2020 11:03
remove extraneous closing brace
fixes intel#365

Signed-off-by: Carl Zhang <[email protected]>
Bump VA-API version to 1.7.0 pre1 and libva to 2.7.0 pre1

Signed-off-by: Carl Zhang <[email protected]>
Fixes intel#384 and delete trailing white space

Signed-off-by: Carl Zhang <[email protected]>
Signed-off-by: Carl Zhang <[email protected]>
    Bump VA-API version to 1.8.0 pre1 and libva to 2.8.0 pre1

Signed-off-by: Carl Zhang <[email protected]>
MaxCLL and MaxFALL should be in units of 1 nit as
specified in CEA-861.3, Appendix A.

A uint16_t is not large enough to specify the full
range of possible MaxCLL/MaxFALL values in units of
0.0001 cd/m^2.  So conclude that the documentation
was just a copy/paste error.

Signed-off-by: U. Artie Eoff <[email protected]>
Enable/Disable IBC and palette mode

Signed-off-by: Tianhao Liu <[email protected]>
Map the i965 DRI driver to iHD and i965 vaapi
driver candidates.

Signed-off-by: U. Artie Eoff <[email protected]>
Introduce new CAPS flag, fix typos in flag descriptions.

Signed-off-by: Alexei Leonenko <[email protected]>
Fixes intel#361
some backend driver does not implement vaPutSurface

Signed-off-by: Carl Zhang <[email protected]>
…HEVC

Original field names were copied from va_TraceVAPictureParameterBufferH264

Signed-off-by: Ruben Gonzalez <[email protected]>
it is a suppliment of intel#220
to distinguish P frame and low delay B frame

Signed-off-by: Carl Zhang <[email protected]>
In function `vaCopySurfaceGLX_impl_libva`, if `pSurfaceGLX->gl_context`
points to `struct OpenGLContextState` memory object with all its members
set to 0, the first call of `gl_set_current_context` returns true
without setting the `old_cs`. Then, in the following next call of
`gl_set_current_context`, `&old_cs` will point to random data on the
stack.

Similarly for `vaDestroySurfaceGLX_impl_libva`.
Meson allows to use absolute paths for libdir and includedir [0]. But if
they're absolute paths one must not append the prefix. The join_paths()
function [1] nicely supports both relative and absolute paths.

This is e.g. important for Nixpkgs (i.e. Nix(OS)) where binaries and
library files are usually installed under different prefixes.

[0]: mesonbuild/meson@a513bcf
[1]: https://mesonbuild.com/Reference-manual.html#join_paths

Signed-off-by: Michael Weiss <[email protected]>
C source code and header files shouldn't be executable. When building
libva via Meson the affected files would be installed with the execute
file mode bit set (with GNU Autotools this wasn't the case).

To check: find -name '*.[ch]' -executable

Signed-off-by: Michael Weiss <[email protected]>
C source code and header files shouldn't be executable.
This is a problem that already occurred pretty often in the past and was
e.g. fixed in 5d8c5ae, be95415, and 8352ab9. Therefore it seems like a
good idea to add a CI check to prevent this issue from reappearing
(probably mostly accidents due to wrong Git configurations, etc.).

Signed-off-by: Michael Weiss <[email protected]>
sunxinpeng and others added 16 commits June 9, 2020 21:42
If code calls va_isDRI2Connected multiple times there is no protection
against calling open(device_name, O_RDWR) again and losing the reference
to the original file descriptor.

A recent change (bc8a12) calls the method twice each time libva is
initialized, thus causing a leak of device file descriptors.

This change moves the initializing of the fd and auth_type to the
creation of the dri_state and then checks to see if they have already
been initialized. If so, the method va_isDRIConnected returns true
and fills in driver_name.
seperate the log and dump

Signed-off-by: Carl Zhang <[email protected]>
Signed-off-by: Carl Zhang <[email protected]>
Fixes intel#397

Signed-off-by: Dmitry Ermilov <[email protected]>
Added notes about different ways for synchronization.

Signed-off-by: Dmitry Ermilov <[email protected]>
Signed-off-by: Carl Zhang <[email protected]>
application could set priority for each VAContext
then HW will check the priority for the tasks related with the VAContext

Signed-off-by: Carl Zhang <[email protected]>
Fixes intel#411

Signed-off-by: Sherry Lin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.