@@ -662,7 +662,7 @@ static void fill_profile_tier_level(
662662 ptps -> general_frame_only_constraint_flag = 1 ;
663663
664664 ptps -> general_level_idc = 30 ;
665- ptps -> general_level_idc = ptps -> general_level_idc * 3 ;
665+ ptps -> general_level_idc = ptps -> general_level_idc * 4 ;
666666
667667}
668668static void fill_vps_header (struct VideoParamSet * vps )
@@ -798,7 +798,7 @@ void fill_sps_header(struct SeqParamSet *sps, int id)
798798 sps -> scaling_list_enabled_flag = 0 ;
799799 //sps->sps_scaling_list_data_present_flag; // ignore since scaling_list_enabled_flag equal to 0
800800 sps -> amp_enabled_flag = 1 ;
801- sps -> sample_adaptive_offset_enabled_flag = 0 ;
801+ sps -> sample_adaptive_offset_enabled_flag = 1 ;
802802 sps -> pcm_enabled_flag = 0 ;
803803 /* ignore below parameters seting since pcm_enabled_flag equal to 0
804804 pcm_sample_bit_depth_luma_minus1;
@@ -853,9 +853,9 @@ static void fill_pps_header(
853853 pps -> init_qp_minus26 = initial_qp - 26 ;
854854 pps -> constrained_intra_pred_flag = 0 ;
855855 pps -> transform_skip_enabled_flag = 0 ;
856- pps -> cu_qp_delta_enabled_flag = 0 ;
856+ pps -> cu_qp_delta_enabled_flag = 1 ;
857857 if (pps -> cu_qp_delta_enabled_flag )
858- pps -> diff_cu_qp_delta_depth = 0 ;
858+ pps -> diff_cu_qp_delta_depth = 2 ;
859859 pps -> pps_cb_qp_offset = 0 ;
860860 pps -> pps_cr_qp_offset = 0 ;
861861 pps -> pps_slice_chroma_qp_offsets_present_flag = 0 ;
0 commit comments