Lines Matching refs:buffer

25          * allocated buffer, but does not necessarily represent the offset in
33 * allocated buffer.
38 * The number of image layers that must be in the allocated buffer.
60 * Creates a buffer descriptor. The descriptor can be used with IAllocator
63 * Since the buffer descriptor fully describes a buffer, any device
76 * @return descriptor is the newly created buffer descriptor.
85 * Imports a raw buffer handle to create an imported buffer handle for use
88 * A buffer handle is considered raw when it is cloned (e.g., with
89 * native_handle_clone) from another buffer handle locally, or when it is
91 * buffer handle must not be used to access the underlying graphics
92 * buffer. It must be imported to create an imported handle first.
100 * Because of passthrough HALs, a raw buffer handle received from a HAL
106 * @param rawHandle is the raw buffer handle to import.
111 * @return buffer is the imported buffer handle and has the type
116 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
119 * Frees a buffer handle. Buffer handles returned by importBuffer must be
128 * BAD_BUFFER when the buffer is invalid.
132 freeBuffer(pointer buffer) generates (Error error);
135 * Locks the given buffer for the specified CPU usage.
137 * Locking the same buffer simultaneously from multiple threads is
138 * permitted, but if any of the threads attempt to lock the buffer for
141 * buffer content in an indeterminate state or returning an error are both
144 * The client must not modify the content of the buffer outside of
150 * An accessRegion of all-zeros means the entire buffer. That is, it is
151 * equivalent to '(0,0)-(buffer width, buffer height)'.
153 * data will be filled with a pointer to the locked buffer memory. This
154 * address will represent the top-left corner of the entire buffer, even
157 * @param buffer is the buffer to lock.
159 * @param accessRegion is the portion of the buffer that the client
163 * signaled when it is safe for the mapper to lock the buffer. If
166 * BAD_BUFFER when the buffer is invalid or is
169 * flags, or is incompatible with the buffer.
170 * NO_RESOURCES when the buffer cannot be locked at this
173 * @return data is a CPU-accessible pointer to the buffer data.
176 lock(pointer buffer,
185 * pointer directly to the buffer data, it returns an YCbCrLayout struct
193 * @param buffer is the buffer to lock.
195 * @param accessRegion is the portion of the buffer that the client
199 * signaled when it is safe for the mapper to lock the buffer. If
202 * BAD_BUFFER when the buffer is invalid or is
205 * flags, or is incompatible with the buffer.
206 * NO_RESOURCES when the buffer cannot be locked at this
209 * @return layout is the data layout of the buffer.
212 lockYCbCr(pointer buffer,
220 * Unlocks a buffer to indicate all CPU accesses to the buffer have
223 * @param buffer is the buffer to unlock.
225 * BAD_BUFFER when the buffer is invalid or not locked.
232 unlock(pointer buffer)