Herman Chen
Herman Chen
8x8 模式需要配置了 high profile 才生效,默认是 baseline,看下编译出来的码流是不是 high profile 的
配置了 8x8 变换,并不是说所有块都使用 8x8 变换,这个是编码器内核根据不同模式的代价,针对不同内容块判决出不同最优的情况,开了 8x8,应该是会看有 16x16,8x8,4x4 都会存在的情况
MppBufferInfo 里的 fd 0 是有问题的,需要一个从 ion 或者 drm 分配器分配出来的 dmafuf 才行。
不是,是说这种 cpu malloc 出来的 buffer 没法直接给硬件编码器使用,需要做一次拷贝。
mpi_dec_test -i demo.h264 即可
1. This is better to use mpi interface rather than old vpu interface. Try mpi_dec_test to decode the raw stream. 2. mpp can not accept mp4 file. Use ffmpeg to...
qp_delta_ip is similiar to ip_offset in x264 int ip_offset; /* Used by PIR to offset the quantizer of intra-refresh blocks. */ It will reduce qp in Intra frame to get...
在 put_packet 失败的时候,说明解码已经来不及了,可以在失败之后 sleep 一下再送,这样可以控制速度了
hal 代码里用的是函数指针,找一下都 hal 里不同硬件的实现,都可以看到代码