AVEIOP0: ASSERT: CHEVCController_H13S

Everything works fine without encode parameter kVTCompressionPropertyKey_DataRateLimits.

The assertion was trigged when using HEVC hardware encoder by setting it to (1.9 * averageBitrate * 8, 2 seconds).

The error log shows:

default        18:19:53.997736+0800        kernel        AVEIOP0: DPBBuffer ERROR: ref == NULL 4
default        18:19:53.997978+0800        kernel        AVEIOP0: SCRATCH_REG32_RD: addr fffffffff34bc034 value 00000012
default        18:19:53.998025+0800        kernel        AVEIOP0: SCRATCH_REG32_WR: addr fffffffff34bc034 value 40000012
default        18:19:53.998068+0800        kernel        AVEIOP0: ASSERT: ./AppleAVE2FW/kf_controller/H9/CHEVCController_H13S.cpp, 12136: pPicParams->sRef.UV_L0_LSB[me_ref_index] != 0

What's wroing with the hardware encoder? How to do the root cause analyze?

Thank you.

Sorry. The kVTCompressionPropertyKey_DataRateLimits is set to (1.9 * averageBitrate / 8, 2 seconds).

AVEIOP0: ASSERT: CHEVCController_H13S
 
 
Q