frontends/va/enc: default motion estimation parameters for performance
authorThong Thai <thong.thai@amd.com>
Wed, 29 Dec 2021 16:37:45 +0000 (11:37 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jan 2022 16:03:45 +0000 (16:03 +0000)
commit9caf110d4f31cdb5e962b3d8c144251983e3a577
tree233cf525d19940f7fc0cf9872c99c76a5abbc24e
parent4ff57e5aba0e2d89c86ac896206750aa98c21f11
frontends/va/enc: default motion estimation parameters for performance

Sets the default motion estimation parameters for the H.264 encoder to
values that increase encoding performance - realistically, this only
benefits the VCE encoder, as the parameters are used no where else.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3540
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2702
Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14339>
src/gallium/frontends/va/picture_h264_enc.c