mesa/src/gallium/include/pipe
David Rosca cc14724d73 frontends/va: Implement DPB management for H264/5 encode
In VAAPI applications already need to do DPB management, but for each
picture to encode we only get the reconstructed surfaces needed to
encode this picture instead of entire DPB. Drivers need to know the
current size and layout of DPB, so keep track of entire DPB contents
in frontend.

This allows drivers to directly get the DPB layout as used by
application instead of trying to re-build it from limited information
they have available (frame numbers), which only works in the basic cases
and otherwise will de-sync from application (driver may remove pictures from
DPB that the application still want to use).

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-By: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30672>
2024-08-23 06:54:06 +00:00
..
p_context.h gallium: add drawid_offset to draw_mesh_tasks interface 2024-06-07 17:47:53 +00:00
p_defines.h gallium: add PIPE_CAP_ASTC_DECODE_MODE and expose extension 2024-08-20 05:36:15 +00:00
p_screen.h gallium: Add is_video_target_buffer_supported 2024-07-03 17:56:27 +00:00
p_shader_tokens.h tgsi: Drop TGSI_OPCODE_DFRACEXP. 2023-04-06 02:32:01 +00:00
p_state.h gallium: add PIPE_CAP_ASTC_DECODE_MODE and expose extension 2024-08-20 05:36:15 +00:00
p_video_codec.h gallium/pipe: Add contiguous planes per-surface attribute 2024-04-11 20:14:15 +00:00
p_video_enums.h gallium: Remove PIPE_VIDEO_CAP_EFC_SUPPORTED 2024-07-03 17:56:28 +00:00
p_video_state.h frontends/va: Implement DPB management for H264/5 encode 2024-08-23 06:54:06 +00:00