Lines Matching +full:memory +full:- +full:mapped
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _func-mmap:
13 v4l2-mmap - Map device memory into application address space
18 .. code-block:: c
36 Length of the memory area to map. This must be the same value as
39 single-planar API, and the same value as returned by the driver in
41 the multi-planar API.
44 The ``prot`` argument describes the desired memory protection.
57 #. Device memory accesses (e. g. the memory on a graphics card
59 compared to main memory accesses, or reads may be significantly
64 The ``flags`` parameter specifies the type of the mapped object,
65 mapping options and whether modifications made to the mapped copy of
76 ``MAP_SHARED`` allows applications to share the mapped memory with
77 other (e. g. child-) processes.
83 copy-on-write semantics. V4L2 applications should not set the
91 Offset of the buffer in device memory. This must be the same value
94 the single-planar API, and the same value as returned by the driver
96 ``mem_offset`` field for the multi-planar API.
102 ``offset`` in the memory of the device specified by ``fd`` into the
116 On success :c:func:`mmap()` returns a pointer to the mapped buffer. On
117 error ``MAP_FAILED`` (-1) is returned, and the ``errno`` variable is set
136 Not enough physical or virtual memory was available to complete the