编解码mpp内部使用dma的个数
在实际项目中,我们使用纯外部的方式,发现mpp解码内部使用dma不固定, 很难统计到实际单路解码所需要dma的总用量,,可以请教一下mpp内部是怎么使用dma相关内存的。以下是mpp中解码模块占用的dma内存。还有未attached上的,是否也是解码模块的?
00987136 00000002 00080007 00000001 system-uncached 00050561 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00987136 00000002 00080007 00000001 system-uncached 00050560 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00987136 00000002 00080007 00000001 system-uncached 00050559 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00987136 00000002 00080007 00000001 system-uncached 00050558 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
02097152 00000002 00080007 00000003 system 00050557 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00987136 00000002 00080007 00000001 system-uncached 00050556 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
02097152 00000002 00080007 00000003 system 00050555 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00126976 00000002 00080007 00000001 system-uncached 00050554 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00126976 00000002 00080007 00000001 system-uncached 00050553 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00126976 00000002 00080007 00000001 system-uncached 00050552 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00987136 00000002 00080007 00000001 system-uncached 00050551 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
02097152 00000002 00080007 00000003 system 00050550 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00077824 00000002 00080007 00000002 system-uncached 00052545 5448-edge_slave_alg Attached Devices: fdc38100.rkvdec-core Total 1 devices attached
00024576 00000002 00080007 00000001 system-uncached 00051481 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00524288 00000002 00080007 00000001 system-uncached 00051480 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00024576 00000002 00080007 00000001 system-uncached 00051479 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00524288 00000002 00080007 00000001 system-uncached 00051478 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00024576 00000002 00080007 00000001 system-uncached 00051477 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00524288 00000002 00080007 00000001 system-uncached 00051476 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00024576 00000002 00080007 00000001 system-uncached 00051475 5448-edge_slave_alg Attached Devices: Total 0 devices attached
00524288 00000002 00080007 00000001 system-uncached 00051474 5448-edge_slave_alg Attached Devices: Total 0 devices attached
外部模式进可以配置解码使用的图像像素buffer总量,这个是可以限制的,但是使用过程中还存在表格之类的其他信息,也需要开dmabuf,还有 colmv 用的随图像一对一的解码信息,你可以看下最左边的buffer大小,图像像素大小的buffer数是被限制住了的