mesa/src/gallium/frontends/va
David Rosca dd2ef9a0e4 frontends/va: Set default rate control values once when creating encoder
Move setting the default values from getEncParamPresetH264/5 as this
function is called on each frame which would result in overwriting
values set by application.

This fixes setting HRD parameters and max_qp/min_qp when
PIPE_VIDEO_CAP_ENC_QUALITY_LEVEL is not supported.

Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25355>
2023-09-25 12:21:59 +00:00
..
buffer.c Revert "frontends/va: Also map VAImageBufferType for reading" 2023-09-12 18:40:30 +00:00
config.c frontends/va: checking va version for av1enc support 2023-08-28 22:32:42 +00:00
context.c frontends/va: Destroy fences when destroying surface or context 2023-09-21 13:30:28 +00:00
display.c frontends/va: Fix test_va_api VAAPIDisplayAttribs tests 2021-09-30 17:28:44 +00:00
image.c frontends/va: Init view_resources array in vlVaPut/GetImage 2023-08-03 12:41:22 +00:00
meson.build frontends/va: adding va av1 encoding functions 2023-04-27 15:11:35 +00:00
picture.c frontends/va: Process VAEncSequenceParameterBufferType first in vaRenderPicture 2023-09-25 12:21:59 +00:00
picture_av1.c frontends/va: Add slice_count to AV1 slice_parameter 2023-08-09 09:04:58 +00:00
picture_av1_enc.c frontends/va: Extend AV1 Encode params 2023-06-27 23:16:37 +00:00
picture_h264.c frontends/va: remove private member and update target buffer 2023-05-23 19:56:24 +00:00
picture_h264_enc.c frontends/va: Set default rate control values once when creating encoder 2023-09-25 12:21:59 +00:00
picture_hevc.c frontends/va: partially updating RefPicList depends on slice type 2022-12-01 18:14:23 +00:00
picture_hevc_enc.c frontends/va: Set default rate control values once when creating encoder 2023-09-25 12:21:59 +00:00
picture_mjpeg.c frontends/va: fix some coverity scan reported issues 2023-06-23 20:31:21 +00:00
picture_mpeg4.c
picture_mpeg12.c
picture_vc1.c
picture_vp9.c frontend/va: Keep track of some VP9 previous frame data for current frame use_prev_in_find_mvs_refs 2023-03-04 03:22:48 +00:00
postproc.c frontends/va: Support chroma sample location in postproc 2023-09-05 21:31:43 +00:00
subpicture.c frontends/va: fix some coverity scan reported issues 2023-06-23 20:31:21 +00:00
surface.c frontends/va: Destroy fences when destroying surface or context 2023-09-21 13:30:28 +00:00
va_private.h frontends/va: Track surfaces in context 2023-09-21 13:30:28 +00:00