AV_HWFRAME_MAP_READ

Flags to apply to frame mappings.

Values

ValueMeaning
AV_HWFRAME_MAP_READ1 << 0

The mapping must be readable.

AV_HWFRAME_MAP_WRITE1 << 1

The mapping must be writeable.

AV_HWFRAME_MAP_OVERWRITE1 << 2

The mapped frame will be overwritten completely in subsequent operations, so the current frame data need not be loaded. Any values which are not overwritten are unspecified.

AV_HWFRAME_MAP_DIRECT1 << 3

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.

Meta