= {
{ "mode", "Frame mapping mode",
0, INT_MAX,
FLAGS,
"mode" },
{ "read", "Mapping should be readable",
INT_MIN, INT_MAX,
FLAGS,
"mode" },
{ "write", "Mapping should be writeable",
INT_MIN, INT_MAX,
FLAGS,
"mode" },
{ "overwrite", "Mapping will always overwrite the entire frame",
INT_MIN, INT_MAX,
FLAGS,
"mode" },
{ "direct", "Mapping should not involve any copying",
INT_MIN, INT_MAX,
FLAGS,
"mode" },
{ "derive_device", "Derive a new device of this type",
{ "reverse", "Map in reverse (create and allocate in the sink)",
{ .i64 = 0 }, 0, 1,
FLAGS },
}
mode
Use these values in ebur128_init (or'ed).
@ AV_HWFRAME_MAP_READ
The mapping must be readable.
@ AV_HWFRAME_MAP_DIRECT
The mapping must be direct.
@ AV_HWFRAME_MAP_WRITE
The mapping must be writeable.
@ AV_HWFRAME_MAP_OVERWRITE
The mapped frame will be overwritten completely in subsequent operations, so the current frame data n...
static uint32_t reverse(uint32_t num, int bits)