va: Refactor _set_format() to _set_frame_size().
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 17 Jul 2021 18:29:45 +0000 (20:29 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 17 Jul 2021 18:51:27 +0000 (20:51 +0200)
commit1bf2805560feb8cc890850b74dd75d737d5bdb04
tree6b6c62fa9e91986dcc024517e1d4e1151dccf1fc
parent4299596d16870b52ae4efc1e49154ec028c1fc7e
va: Refactor _set_format() to _set_frame_size().

Renamed gst_va_decoder_set_format() to
gst_va_decoder_set_frame_size_with_surfaces() which resembles better
the passed parameters. Internally it creates the vaContext.

Added gst_va_decoder_set_frame_size() which is an alias of
gst_va_decoder_set_frame_size_with_surfaces() without surfaces. This
is the function which replaces gst_va_decoder_set_format() where
used.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2417>
sys/va/gstvaav1dec.c
sys/va/gstvadecoder.c
sys/va/gstvadecoder.h
sys/va/gstvah264dec.c
sys/va/gstvah265dec.c
sys/va/gstvampeg2dec.c
sys/va/gstvavp8dec.c
sys/va/gstvavp9dec.c