err_info = mpp_frame_get_errinfo(frame) | mpp_frame_get_discard(frame); //检查获得的帧数据是否正常 if (err_info) { mpp_log("decoder_get_frame get err info:%d discard:%d.\n", mpp_frame_get_errinfo(frame), mpp_frame_get_discard(frame)); } mpp_log("decode_get_frame get frame 1...
Solutions By company size Enterprises Small and medium teams Startups By use case DevSecOps DevOps CI/CD View all use cases By industry Healthcare Financial services Manufacturing Government View all industries View all solutions Resources Topics AI DevOps Security Software ...
#include "mpp_frame.h"#include "mpp_buffer_impl.h"#include "mpp_frame_impl.h"#define MPI_DEC_STREAM_SIZE (SZ_4K)#define MPI_DEC_LOOP_COUNT 4 #define MAX_FILE_NAME_LENGTH 256 typedef struct { MppCtx ctx;MppApi *mpi;RK_U32 eos;char *buf;MppBufferGroup frm_...
voidput_frame(RK_U64ms,RK_U8*buf,RK_U32width,RK_U32heigth,RK_U32h_stride,RK_U32v_stride,size_tbsz); staticvoidframe_out(RK_U64ms); intmppDecoder() { type=MPP_VIDEO_CodingAVC; MPP_RETret=MPP_OK; MpiCmdmpi_cmd=MPP_CMD_BASE; ...
384 av_log(avctx, AV_LOG_DEBUG, "Received a discard frame.\n"); 385 ret = AVERROR(EAGAIN); 386 goto fail; 387 } else if (mpp_frame_get_errinfo(mppframe)) { 388 av_log(avctx, AV_LOG_ERROR, "Received a errinfo frame.\n"); ...
Projects Security Insights Additional navigation options Files 4a71a39 LICENSES build debian doc inc mpp osal pkgconfig test CMakeLists.txt README.md mpi_dec_mt_test.c mpi_dec_multi_test.c mpi_dec_nt_test.c mpi_dec_test.c mpi_enc_mt_test.cpp ...