pub const AV_HWFRAME_MAP_DIRECT: u32 = 8; // 8u32
The mapping must be direct. That is, there must not be any copying in the map or unmap steps. Note that performance of direct mappings may be much lower than normal memory.