mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radeonsi/video: Make helper radeon_bitstream functions static
Those are now only used in radeon_bitstream.c Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38260>
This commit is contained in:
parent
094e20f134
commit
10e274af62
2 changed files with 9 additions and 21 deletions
|
|
@ -174,8 +174,8 @@ void radeon_bs_code_ns(struct radeon_bitstream *bs, uint32_t value, uint32_t max
|
|||
}
|
||||
}
|
||||
|
||||
void radeon_bs_h264_hrd_parameters(struct radeon_bitstream *bs,
|
||||
struct pipe_h264_enc_hrd_params *hrd)
|
||||
static void radeon_bs_h264_hrd_parameters(struct radeon_bitstream *bs,
|
||||
struct pipe_h264_enc_hrd_params *hrd)
|
||||
{
|
||||
radeon_bs_code_ue(bs, hrd->cpb_cnt_minus1);
|
||||
radeon_bs_code_fixed_bits(bs, hrd->bit_rate_scale, 4);
|
||||
|
|
@ -351,9 +351,9 @@ static void radeon_bs_hevc_profile_tier(struct radeon_bitstream *bs,
|
|||
radeon_bs_code_fixed_bits(bs, 0x0, 12);
|
||||
}
|
||||
|
||||
void radeon_bs_hevc_profile_tier_level(struct radeon_bitstream *bs,
|
||||
uint32_t max_num_sub_layers_minus1,
|
||||
struct pipe_h265_profile_tier_level *ptl)
|
||||
static void radeon_bs_hevc_profile_tier_level(struct radeon_bitstream *bs,
|
||||
uint32_t max_num_sub_layers_minus1,
|
||||
struct pipe_h265_profile_tier_level *ptl)
|
||||
{
|
||||
uint32_t i;
|
||||
|
||||
|
|
@ -395,10 +395,10 @@ static void radeon_bs_hevc_sub_layer_hrd_parameters(struct radeon_bitstream *bs,
|
|||
}
|
||||
}
|
||||
|
||||
void radeon_bs_hevc_hrd_parameters(struct radeon_bitstream *bs,
|
||||
uint32_t common_inf_present_flag,
|
||||
uint32_t max_sub_layers_minus1,
|
||||
struct pipe_h265_enc_hrd_params *hrd)
|
||||
static void radeon_bs_hevc_hrd_parameters(struct radeon_bitstream *bs,
|
||||
uint32_t common_inf_present_flag,
|
||||
uint32_t max_sub_layers_minus1,
|
||||
struct pipe_h265_enc_hrd_params *hrd)
|
||||
{
|
||||
if (common_inf_present_flag) {
|
||||
radeon_bs_code_fixed_bits(bs, hrd->nal_hrd_parameters_present_flag, 1);
|
||||
|
|
|
|||
|
|
@ -40,18 +40,6 @@ void radeon_bs_hevc_sps(struct radeon_bitstream *bs, struct pipe_h265_enc_seq_pa
|
|||
void radeon_bs_hevc_pps(struct radeon_bitstream *bs, struct pipe_h265_enc_pic_param *pps);
|
||||
void radeon_bs_av1_seq(struct radeon_bitstream *bs, uint8_t *obu_bytes, struct pipe_av1_enc_seq_param *seq);
|
||||
|
||||
void radeon_bs_h264_hrd_parameters(struct radeon_bitstream *bs,
|
||||
struct pipe_h264_enc_hrd_params *hrd);
|
||||
|
||||
void radeon_bs_hevc_profile_tier_level(struct radeon_bitstream *bs,
|
||||
uint32_t max_num_sub_layers_minus1,
|
||||
struct pipe_h265_profile_tier_level *ptl);
|
||||
|
||||
void radeon_bs_hevc_hrd_parameters(struct radeon_bitstream *bs,
|
||||
uint32_t common_inf_present_flag,
|
||||
uint32_t max_sub_layers_minus1,
|
||||
struct pipe_h265_enc_hrd_params *hrd);
|
||||
|
||||
uint32_t radeon_bs_hevc_st_ref_pic_set(struct radeon_bitstream *bs,
|
||||
uint32_t index,
|
||||
uint32_t num_short_term_ref_pic_sets,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue