mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:20:38 +01:00
1. GDR stream started with Non-IDR frame is supported and no need to disable error. 2. Intra refreshed frames will be mark as discard if started with Non-IDR frame. Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com> Change-Id: Ide470d377f13e0512ceda4eb7219650aeffb0148
33 lines
No EOL
970 B
C
33 lines
No EOL
970 B
C
/* SPDX-License-Identifier: Apache-2.0 */
|
|
/*
|
|
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef _H2645D_SEI_H_
|
|
#define _H2645D_SEI_H_
|
|
|
|
#include "rk_type.h"
|
|
#include "mpp_err.h"
|
|
#include "mpp_bitread.h"
|
|
|
|
typedef struct SEI_Recovery_Point_t {
|
|
RK_U32 valid_flag; // Whether this SEI is valid or not
|
|
RK_S32 recovery_frame_cnt; // H.264: recovery_frame_cnt; H.265: recovery_poc_cnt
|
|
RK_S32 first_frm_id; // The frame_num or poc of the frame associated with this SEI
|
|
RK_U32 first_frm_valid; // The frame associated with this SEI is valid or not
|
|
RK_U32 first_frm_ref_missing;
|
|
RK_S32 recovery_pic_id; // first_frm_id + recovery_frame_cnt;
|
|
} RecoveryPoint;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
MPP_RET check_encoder_sei_info(BitReadCtx_t *gb, RK_S32 payload_size, RK_U32 *is_match);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
//========================================
|
|
#endif /* end of _H2645D_SEI_H_ */ |