Open
Description
./test/mpi_enc_test -i /dev/video1 -o test.h264 -w 640 -h 480 -f 8 -t 7
运行这个命令会出现横纹,是什么原因引起的?,以下这段代码只有mpp_buffer_sync_end没有mpp_buffer_sync_begin 是不是这个原因引起的?如果是的话想要加mpp_buffer_sync_begin,应该加在什么位置?
MppBuffer camera_frame_to_buf(CamSource *ctx, RK_S32 idx)
{
MppBuffer buf = NULL;
if (idx < 0)
return buf;
buf = ctx->fbuf[idx].buffer;
if (buf)
mpp_buffer_sync_end(buf);
return buf;
}
Metadata
Metadata
Assignees
Labels
No labels
Activity