gallium: update h264 struct to track temporal layers
authorThong Thai <thong.thai@amd.com>
Tue, 13 Jul 2021 15:52:11 +0000 (11:52 -0400)
committerThong Thai <thong.thai@amd.com>
Mon, 26 Jul 2021 19:05:39 +0000 (15:05 -0400)
Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11850>

src/gallium/include/pipe/p_video_state.h

index 08239b3..a1a37a4 100644 (file)
@@ -413,6 +413,7 @@ struct pipe_h264_enc_picture_desc
    unsigned ref_idx_l1;
    unsigned gop_size;
    unsigned ref_pic_mode;
+   unsigned num_temporal_layers;
 
    bool not_referenced;
    bool enable_vui;