docs: update doc for fast play

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I4a59e40bafd70e09418688b939c1813d9145a020
This commit is contained in:
Hongjin Li 2024-10-24 17:16:18 +08:00 committed by Herman Chen
parent a14f1327aa
commit 6b73cff250
2 changed files with 8 additions and 0 deletions

View File

@ -433,6 +433,10 @@ decode函数是decode_put_packet与decode_get_frame数据的结合为用户
命令参数为RK_U32\*用于使能H.264解码器的立即输出模式。一旦使能H.264解码器会忽略丢帧导致的帧序不连续情况立即输出解码的图像。命令调用时机在decode_put_packet之前。
- MPP_DEC_SET_ENABLE_FAST_PLAY
命令参数为FastPlayMode\*用于使能H.264解码器的快速起播不必等到dpb full之后出帧。如果当前帧在I帧之后解码但在I帧之前显示可能会出现丢帧的情况。命令调用时机在decode_put_packet之前。
### 3.2.2 reset
reset接口用于把解码器恢复为正常初始化后的状态。

View File

@ -412,6 +412,10 @@ The command parameter is RK_U32*. It is used to disable error handling of the MP
The command parameter is RK_U32*. It is used to enable the immediate output mode of H.264 decoder. Once enabled the H.264 decoder ignores the frame sequence discontinuity caused by frame dropping or picture order count, just outputs the current decoded image immediately. This command is called before decode_put_packet.
- MPP_DEC_SET_ENABLE_FAST_PLAY
The command parameter is FastPlayMode\*. It is used to enable the fast play of H.264, without waiting for dpb full to output the frame. If the current frame is decoded after the I frame but displayed before the I frame, frame loss may occur. The command is called before decode_put_packet.
## 3.2.2 reset
The reset interface is used to restore the decoder to the state after normal initialization.