mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[hal_h264e]: validate pps.entropy_mode
For profile baseline, entropy_mode should be CALVC. Change-Id: If655dc718063bc2b5485c997fefd2b30505d901f Signed-off-by: Lin Kesheng <lks@rock-chips.com>
This commit is contained in:
parent
91149039e0
commit
6a3d3e497f
1 changed files with 4 additions and 0 deletions
|
|
@ -706,6 +706,10 @@ MPP_RET hal_h264e_set_pps(h264e_hal_context *ctx, h264e_hal_pps *pps, h264e_hal_
|
|||
sps->i_profile_idc);
|
||||
}
|
||||
}
|
||||
if (sps->i_profile_idc == H264_PROFILE_BASELINE && pps->b_cabac) {
|
||||
mpp_log_f("warning: for profile baseline b_cabac should be 0");
|
||||
pps->b_cabac = 0;
|
||||
}
|
||||
|
||||
pps->b_cqm_preset = b_cqm_preset;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue