mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 01:52:46 +08:00
[osal]: add new buffer type for DMA import buffer
This buffer type is used for the buffer coming from the application, the application should make sure those buffers are the dma buffer. Change-Id: I2c8491f4dea77e5d7ae8d9157b0a1eda204f4bd6 Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
@@ -77,7 +77,6 @@ MppRuntimeService::MppRuntimeService()
|
||||
{
|
||||
int fd = -1;
|
||||
allocator_valid[MPP_BUFFER_TYPE_NORMAL] = 1;
|
||||
allocator_valid[MPP_BUFFER_TYPE_V4L2] = 0;
|
||||
|
||||
fd = open("/dev/ion", O_RDWR);
|
||||
if (fd < 0) {
|
||||
|
Reference in New Issue
Block a user