Lines Matching refs:buffer

50 Return<void> QtiMapperExtensions::getMapSecureBufferFlag(void *buffer,  in getMapSecureBufferFlag()  argument
53 auto hnd = static_cast<private_handle_t *>(buffer); in getMapSecureBufferFlag()
55 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getMapSecureBufferFlag()
66 Return<void> QtiMapperExtensions::getInterlacedFlag(void *buffer, getInterlacedFlag_cb hidl_cb) { in getInterlacedFlag() argument
68 auto hnd = static_cast<private_handle_t *>(buffer); in getInterlacedFlag()
70 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getInterlacedFlag()
81 Return<void> QtiMapperExtensions::getCustomDimensions(void *buffer, in getCustomDimensions() argument
84 auto hnd = static_cast<private_handle_t *>(buffer); in getCustomDimensions()
87 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getCustomDimensions()
97 Return<void> QtiMapperExtensions::getRgbDataAddress(void *buffer, getRgbDataAddress_cb hidl_cb) { in getRgbDataAddress() argument
99 auto hnd = static_cast<private_handle_t *>(buffer); in getRgbDataAddress()
101 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getRgbDataAddress()
133 Return<void> QtiMapperExtensions::getColorSpace(void *buffer, getColorSpace_cb hidl_cb) { in getColorSpace() argument
135 auto hnd = static_cast<private_handle_t *>(buffer); in getColorSpace()
137 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getColorSpace()
145 Return<void> QtiMapperExtensions::getYuvPlaneInfo(void *buffer, getYuvPlaneInfo_cb hidl_cb) { in getYuvPlaneInfo() argument
147 auto hnd = static_cast<private_handle_t *>(buffer); in getYuvPlaneInfo()
151 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getYuvPlaneInfo()
168 Return<Error> QtiMapperExtensions::setSingleBufferMode(void *buffer, bool enable) { in setSingleBufferMode() argument
170 auto hnd = static_cast<private_handle_t *>(buffer); in setSingleBufferMode()
171 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in setSingleBufferMode()
181 Return<void> QtiMapperExtensions::getFd(void *buffer, getFd_cb hidl_cb) { in getFd() argument
184 auto hnd = static_cast<private_handle_t *>(buffer); in getFd()
185 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getFd()
193 Return<void> QtiMapperExtensions::getWidth(void *buffer, getWidth_cb hidl_cb) { in getWidth() argument
196 auto hnd = static_cast<private_handle_t *>(buffer); in getWidth()
197 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getWidth()
205 Return<void> QtiMapperExtensions::getHeight(void *buffer, getHeight_cb hidl_cb) { in getHeight() argument
208 auto hnd = static_cast<private_handle_t *>(buffer); in getHeight()
209 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getHeight()
217 Return<void> QtiMapperExtensions::getFormat(void *buffer, getFormat_cb hidl_cb) { in getFormat() argument
220 auto hnd = static_cast<private_handle_t *>(buffer); in getFormat()
221 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getFormat()
229 Return<void> QtiMapperExtensions::getPrivateFlags(void *buffer, getPrivateFlags_cb hidl_cb) { in getPrivateFlags() argument
232 auto hnd = static_cast<private_handle_t *>(buffer); in getPrivateFlags()
233 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getPrivateFlags()
241 Return<void> QtiMapperExtensions::getUnalignedWidth(void *buffer, getUnalignedWidth_cb hidl_cb) { in getUnalignedWidth() argument
244 auto hnd = static_cast<private_handle_t *>(buffer); in getUnalignedWidth()
245 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getUnalignedWidth()
253 Return<void> QtiMapperExtensions::getUnalignedHeight(void *buffer, getUnalignedHeight_cb hidl_cb) { in getUnalignedHeight() argument
256 auto hnd = static_cast<private_handle_t *>(buffer); in getUnalignedHeight()
257 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getUnalignedHeight()
265 Return<void> QtiMapperExtensions::getLayerCount(void *buffer, getLayerCount_cb hidl_cb) { in getLayerCount() argument
268 auto hnd = static_cast<private_handle_t *>(buffer); in getLayerCount()
269 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getLayerCount()
277 Return<void> QtiMapperExtensions::getId(void *buffer, getId_cb hidl_cb) { in getId() argument
280 auto hnd = static_cast<private_handle_t *>(buffer); in getId()
281 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getId()
289 Return<void> QtiMapperExtensions::getUsageFlags(void *buffer, getUsageFlags_cb hidl_cb) { in getUsageFlags() argument
292 auto hnd = static_cast<private_handle_t *>(buffer); in getUsageFlags()
293 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getUsageFlags()
301 Return<void> QtiMapperExtensions::getSize(void *buffer, getSize_cb hidl_cb) { in getSize() argument
304 auto hnd = static_cast<private_handle_t *>(buffer); in getSize()
305 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getSize()
313 Return<void> QtiMapperExtensions::getOffset(void *buffer, getOffset_cb hidl_cb) { in getOffset() argument
316 auto hnd = static_cast<private_handle_t *>(buffer); in getOffset()
317 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getOffset()
325 Return<void> QtiMapperExtensions::getSurfaceMetadata(void *buffer, getSurfaceMetadata_cb hidl_cb) { in getSurfaceMetadata() argument
327 auto hnd = static_cast<private_handle_t *>(buffer); in getSurfaceMetadata()
329 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getSurfaceMetadata()
401 Return<Error> QtiMapperExtensions::getSurfaceMetadata_V1(void *buffer, void *metadata) { in getSurfaceMetadata_V1() argument
403 auto hnd = static_cast<private_handle_t *>(buffer); in getSurfaceMetadata_V1()
404 if (metadata != nullptr && buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getSurfaceMetadata_V1()
411 ALOGE("%s: buffer pointer: %p, metadata pointer: %p ", __FUNCTION__, buffer, metadata); in getSurfaceMetadata_V1()