Home
last modified time | relevance | path

Searched refs:AHardwareBuffer_Desc (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h357 typedef struct AHardwareBuffer_Desc { struct
374 } AHardwareBuffer_Desc; argument
414 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* _Nonnull desc,
441 AHardwareBuffer_Desc* _Nonnull outDesc) __INTRODUCED_IN(26);
593 int AHardwareBuffer_isSupported(const AHardwareBuffer_Desc* _Nonnull desc) __INTRODUCED_IN(29);
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2CommonUtils.cpp80 const AHardwareBuffer_Desc consumableForDisplayOrGpu = { in isHalPixelFormatSupported()
95 const AHardwareBuffer_Desc consumableForHwEncoder = { in isHalPixelFormatSupported()
110 const AHardwareBuffer_Desc consumableForSwEncoder = { in isHalPixelFormatSupported()
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp117 AHardwareBuffer_Desc desc{ in TEST()
147 const AHardwareBuffer_Desc desc = { in TEST()
181 AHardwareBuffer_Desc desc{ in TEST()
195 AHardwareBuffer_Desc desc2{}; in TEST()
209 AHardwareBuffer_Desc desc{ in TEST()
226 AHardwareBuffer_Desc desc2{}; in TEST()
238 AHardwareBuffer_Desc desc{ in TEST()
/frameworks/native/libs/nativewindow/rust/src/
Dlib.rs54 let buffer_desc = ffi::AHardwareBuffer_Desc { in is_supported()
84 let buffer_desc = ffi::AHardwareBuffer_Desc { in new()
188 fn description(&self) -> ffi::AHardwareBuffer_Desc { in description() argument
189 let mut buffer_desc = ffi::AHardwareBuffer_Desc { in description()
302 let buffer_desc = ffi::AHardwareBuffer_Desc { in from_raw_allows_getters()
/frameworks/native/libs/nativewindow/include/vndk/
Dhardware_buffer.h59 int AHardwareBuffer_createFromHandle(const AHardwareBuffer_Desc* _Nonnull desc,
154 const AHardwareBuffer_Desc* _Nonnull desc,
/frameworks/native/libs/nativewindow/tests/benchmark/
Dbuffer_benchmarks.cc19 constexpr AHardwareBuffer_Desc k720pDesc = {.width = 1280,
66 AHardwareBuffer_Desc desc = {}; in BM_AHardwareBuffer_Desc()
/frameworks/base/libs/hwui/utils/
DColor.h29 struct AHardwareBuffer_Desc;
98 SkImageInfo BufferDescriptionToImageInfo(const AHardwareBuffer_Desc& bufferDesc,
DNdkUtils.cpp22 UniqueAHardwareBuffer allocateAHardwareBuffer(const AHardwareBuffer_Desc& desc) { in allocateAHardwareBuffer()
DNdkUtils.h35 UniqueAHardwareBuffer allocateAHardwareBuffer(const AHardwareBuffer_Desc& desc);
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.cpp36 AHardwareBuffer_Desc desc; in AutoBackendTextureRelease()
120 AHardwareBuffer_Desc desc; in makeImage()
DHardwareBitmapUploader.cpp299 AHardwareBuffer_Desc desc = { in checkSupport()
436 AHardwareBuffer_Desc desc = { in allocateHardwareBitmap()
/frameworks/av/media/codec2/vndk/
Dtypes.cpp279 reinterpret_cast<AHardwareBuffer_Desc*>(to->description.data())); in b2h()
288 AHardwareBuffer_Desc const* desc = in h2b()
289 reinterpret_cast<AHardwareBuffer_Desc const*>( in h2b()
/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp272 reinterpret_cast<AHardwareBuffer_Desc*>(to->description.data())); in b2h()
281 AHardwareBuffer_Desc const* desc = in h2b()
282 reinterpret_cast<AHardwareBuffer_Desc const*>( in h2b()
/frameworks/native/libs/nativewindow/include-private/private/android/
DAHardwareBufferHelpers.h38 bool AHardwareBuffer_isValidDescription(const AHardwareBuffer_Desc* desc, bool log);
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp136 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate()
174 AHardwareBuffer_Desc* outDesc) { in AHardwareBuffer_describe()
470 int AHardwareBuffer_isSupported(const AHardwareBuffer_Desc* desc) { in AHardwareBuffer_isSupported()
485 AHardwareBuffer_Desc trialDesc = *desc; in AHardwareBuffer_isSupported()
561 int AHardwareBuffer_createFromHandle(const AHardwareBuffer_Desc* desc, in AHardwareBuffer_createFromHandle()
592 const AHardwareBuffer_Desc* desc, const AHardwareBufferLongOptions* additionalOptions, in AHardwareBuffer_allocateWithOptions()
647 bool AHardwareBuffer_isValidDescription(const AHardwareBuffer_Desc* desc, bool log) { in AHardwareBuffer_isValidDescription()
/frameworks/native/libs/renderengine/skia/compat/
DSkiaBackendTexture.h38 AHardwareBuffer_Desc desc; in SkiaBackendTexture()
DGraphiteBackendTexture.cpp41 AHardwareBuffer_Desc desc; in GraphiteBackendTexture()
DGaneshBackendTexture.cpp44 AHardwareBuffer_Desc desc; in GaneshBackendTexture()
/frameworks/base/libs/hwui/tests/unit/
DAutoBackendTextureReleaseTests.cpp27 AHardwareBuffer_Desc desc = { in allocHardwareBuffer()
/frameworks/av/services/camera/virtualcamera/util/
DEglFramebuffer.cc41 AHardwareBuffer_Desc hwBufferDesc; in EglFrameBuffer()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp152 AHardwareBuffer_Desc desc = AHardwareBuffer_Desc{ in acquireFallbackBuffer()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp70 AHardwareBuffer_Desc desc = { in testInvalidSharedMem_NoCrash()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp186 AHardwareBuffer_Desc bufferDesc; in createFrom()
195 AHardwareBuffer_Desc bufferDesc; in createFrom()
203 const AHardwareBuffer_Desc& bufferDesc, BitmapPalette palette) { in createFrom()
/frameworks/base/libs/hwui/pipeline/skia/
DVkInteropFunctorDrawable.cpp86 AHardwareBuffer_Desc desc = { in onDraw()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp193 int hgbp_createFromHandle(const AHardwareBuffer_Desc* desc, in hgbp_createFromHandle()
217 AHardwareBuffer_Desc* outDesc) { in hgbp_describe()
234 AHardwareBuffer_Desc const* desc = in hgbp_h2b()
235 reinterpret_cast<AHardwareBuffer_Desc const*>( in hgbp_h2b()
255 reinterpret_cast<AHardwareBuffer_Desc*>(to->description.data())); in hgbp_b2h()

12