Home
last modified time | relevance | path

Searched refs:AlignedMalloc (Results 1 – 22 of 22) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Daligned_malloc_unittest.cc28 static_cast<char*>(AlignedMalloc(size, alignment))); in CorrectUsage()
36 TEST(AlignedMalloc, GetRightAlign) { in TEST() argument
41 static_cast<char*>(AlignedMalloc(size, alignment))); in TEST()
51 TEST(AlignedMalloc, IncorrectSize) { in TEST() argument
57 TEST(AlignedMalloc, IncorrectAlignment) { in TEST() argument
63 TEST(AlignedMalloc, AlignTo2Bytes) { in TEST() argument
69 TEST(AlignedMalloc, AlignTo32Bytes) { in TEST() argument
75 TEST(AlignedMalloc, AlignTo128Bytes) { in TEST() argument
Daligned_malloc.cc53 void* AlignedMalloc(size_t size, size_t alignment) { in AlignedMalloc() function
/external/webrtc/webrtc/system_wrappers/include/
Daligned_malloc.h33 void* AlignedMalloc(size_t size, size_t alignment);
45 T* AlignedMalloc(size_t size, size_t alignment) { in AlignedMalloc() function
46 return reinterpret_cast<T*>(AlignedMalloc(size, alignment)); in AlignedMalloc()
Daligned_array.h27 head_row_ = static_cast<T**>(AlignedMalloc(rows_ * sizeof(*head_row_), in AlignedArray()
30 head_row_[i] = static_cast<T*>(AlignedMalloc(cols_ * sizeof(**head_row_), in AlignedArray()
/external/webrtc/webrtc/common_audio/
Dreal_fourier.cc48 AlignedMalloc(sizeof(float) * count, kFftBufferAlignment))); in AllocRealBuffer()
53 AlignedMalloc(sizeof(complex<float>) * count, kFftBufferAlignment))); in AllocCplxBuffer()
Dfir_filter_neon.cc28 AlignedMalloc(sizeof(float) * coefficients_length_, 16))), in FIRFilterNEON()
30 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterNEON()
Dfir_filter_sse.cc28 AlignedMalloc(sizeof(float) * coefficients_length_, 16))), in FIRFilterSSE2()
30 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterSSE2()
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler.cc160 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
162 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
164 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
166 AlignedMalloc(sizeof(float) * input_buffer_size_, 16))), in SincResampler()
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Dmemory_pool_win.h149 _pListHead = (PSLIST_HEADER)AlignedMalloc(sizeof(SLIST_HEADER), in Initialize()
180 AlignedMalloc(sizeof(MemoryPoolItem<MemoryType>), in CreateMemory()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.h60 static inline void *AlignedMalloc(size_t _Size, size_t _Alignment) in AlignedMalloc() function
195 void *AlignedMalloc(unsigned int size, unsigned int alignment) in AlignedMalloc() function
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dringbuffer.h51 mpRingBuffer = (T*)AlignedMalloc(sizeof(T)*numEntries, 64); in Init()
Dtilemgr.h328 p = AlignedMalloc(size, align); in AllocHotTileMem()
Dapi.cpp72 void* pContextMem = AlignedMalloc(sizeof(SWR_CONTEXT), KNOB_SIMD_WIDTH * 4); in SwrCreateContext()
81 …pContext->pMacroTileManagerArray = (MacroTileMgr*)AlignedMalloc(sizeof(MacroTileMgr) * KNOB_MAX_DR… in SwrCreateContext()
82 …pContext->pDispatchQueueArray = (DispatchQueue*)AlignedMalloc(sizeof(DispatchQueue) * KNOB_MAX_DRA… in SwrCreateContext()
132 … pContext->ppScratch[i] = (uint8_t*)AlignedMalloc(32 * sizeof(KILOBYTE), KNOB_SIMD_WIDTH * 4); in SwrCreateContext()
Dfrontend.cpp927 AlignedMalloc(sizeof(TessellationThreadLocalData), 64); in AllocateTessellationData()
966 … gt_pTessellationThreadData->pTxCtx = AlignedMalloc(gt_pTessellationThreadData->tsCtxSize, 64); in TessellationStages()
1046 … gt_pTessellationThreadData->pDSOutput = (simdscalar*)AlignedMalloc(requiredAllocSize, 64); in TessellationStages()
Darena.h57 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
Dtilemgr.cpp197 hotTile.pBuffer = (uint8_t*)AlignedMalloc(size, KNOB_SIMD_WIDTH * 4); in GetHotTileNoLoad()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_scratch.cpp61 space->base = (uint8_t *)AlignedMalloc(space->current_size, in swr_copy_to_scratch_space()
Dswr_query.cpp48 pq = (struct swr_query *) AlignedMalloc(sizeof(struct swr_query), 64); in swr_create_query()
Dswr_screen.cpp790 res->swr.pBaseAddress = (uint8_t *)AlignedMalloc(total_size, 64); in swr_texture_layout()
802 res->secondary.pBaseAddress = (uint8_t *)AlignedMalloc( in swr_texture_layout()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_manager_win.cc432 _pListHead = (PSLIST_HEADER)AlignedMalloc(sizeof(SLIST_HEADER), in Init()
454 AlignedMalloc( in PopIoContext()
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc125 static_cast<uint8_t*>(webrtc::AlignedMalloc(size, kBufferAlignment))); in NativeToI420Buffer()
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc42 data_(static_cast<uint8_t*>(AlignedMalloc( in I420Buffer()