mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 14:50:10 +01:00
radeonsi/vcn: change intra-ref name
1. change structure name from intra-ref to intra-refresh 2. add need_sequence_header variable 3. add intra-refresh cap enum Reviewed-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26133>
This commit is contained in:
parent
66c75b0ca2
commit
5524faa22c
3 changed files with 9 additions and 7 deletions
|
|
@ -102,6 +102,7 @@ struct radeon_enc_pic {
|
|||
bool is_ltr;
|
||||
unsigned ltr_idx;
|
||||
bool is_idr;
|
||||
bool need_sequence_header;
|
||||
bool is_even_frame;
|
||||
bool sample_adaptive_offset_enabled_flag;
|
||||
bool pcm_enabled_flag;
|
||||
|
|
@ -166,7 +167,7 @@ struct radeon_enc_pic {
|
|||
rvcn_enc_encode_context_buffer_t ctx_buf;
|
||||
rvcn_enc_video_bitstream_buffer_t bit_buf;
|
||||
rvcn_enc_feedback_buffer_t fb_buf;
|
||||
rvcn_enc_intra_refresh_t intra_ref;
|
||||
rvcn_enc_intra_refresh_t intra_refresh;
|
||||
rvcn_enc_encode_params_t enc_params;
|
||||
rvcn_enc_stats_t enc_statistics;
|
||||
rvcn_enc_input_format_t enc_input_format;
|
||||
|
|
|
|||
|
|
@ -1176,14 +1176,14 @@ static void radeon_enc_feedback(struct radeon_encoder *enc)
|
|||
|
||||
static void radeon_enc_intra_refresh(struct radeon_encoder *enc)
|
||||
{
|
||||
enc->enc_pic.intra_ref.intra_refresh_mode = RENCODE_INTRA_REFRESH_MODE_NONE;
|
||||
enc->enc_pic.intra_ref.offset = 0;
|
||||
enc->enc_pic.intra_ref.region_size = 0;
|
||||
enc->enc_pic.intra_refresh.intra_refresh_mode = RENCODE_INTRA_REFRESH_MODE_NONE;
|
||||
enc->enc_pic.intra_refresh.offset = 0;
|
||||
enc->enc_pic.intra_refresh.region_size = 0;
|
||||
|
||||
RADEON_ENC_BEGIN(enc->cmd.intra_refresh);
|
||||
RADEON_ENC_CS(enc->enc_pic.intra_ref.intra_refresh_mode);
|
||||
RADEON_ENC_CS(enc->enc_pic.intra_ref.offset);
|
||||
RADEON_ENC_CS(enc->enc_pic.intra_ref.region_size);
|
||||
RADEON_ENC_CS(enc->enc_pic.intra_refresh.intra_refresh_mode);
|
||||
RADEON_ENC_CS(enc->enc_pic.intra_refresh.offset);
|
||||
RADEON_ENC_CS(enc->enc_pic.intra_refresh.region_size);
|
||||
RADEON_ENC_END();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@ enum pipe_video_cap
|
|||
PIPE_VIDEO_CAP_ENC_SUPPORTS_TILE = 40,
|
||||
PIPE_VIDEO_CAP_ENC_MAX_TILE_ROWS = 41,
|
||||
PIPE_VIDEO_CAP_ENC_MAX_TILE_COLS = 42,
|
||||
PIPE_VIDEO_CAP_ENC_INTRA_REFRESH = 43,
|
||||
};
|
||||
|
||||
enum pipe_video_av1_enc_filter_mode
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue