Searched refs:required_size (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/webrtc/common_video/libyuv/ |
D | scaler_unittest.cc | 307 size_t required_size = CalcBufferSize(kI420, width, height); in ComputeAvgSequencePSNR() local 308 uint8_t* input_buffer = new uint8_t[required_size]; in ComputeAvgSequencePSNR() 309 uint8_t* output_buffer = new uint8_t[required_size]; in ComputeAvgSequencePSNR() 318 if (fread(input_buffer, 1, required_size, input_file) != required_size) { in ComputeAvgSequencePSNR() 321 if (fread(output_buffer, 1, required_size, output_file) != required_size) { in ComputeAvgSequencePSNR() 326 required_size, kVideoRotation_0, &in_frame)); in ComputeAvgSequencePSNR() 328 required_size, kVideoRotation_0, &out_frame)); in ComputeAvgSequencePSNR()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | audio_multi_vector.cc | 195 void AudioMultiVector::AssertSize(size_t required_size) { in AssertSize() argument 196 if (Size() < required_size) { in AssertSize() 197 size_t extend_length = required_size - Size(); in AssertSize()
|
D | audio_multi_vector.h | 116 virtual void AssertSize(size_t required_size);
|
/external/gemmlowp/eight_bit_int_gemm/ |
D | eight_bit_int_gemm.cc | 150 void AssureSize(std::int32_t required_size) { in AssureSize() argument 151 if (size_ >= required_size) { in AssureSize() 154 buffer_.reset(new std::uint8_t[required_size + 32]); in AssureSize() 159 size_ = required_size; in AssureSize()
|
/external/mesa3d/src/glx/ |
D | indirect_vertex_array.c | 441 size_t required_size) in allocate_array_info_cache() argument 444 if (arrays->array_info_cache_buffer_size < required_size) { in allocate_array_info_cache() 446 required_size + MAX_HEADER_SIZE); in allocate_array_info_cache() 454 arrays->array_info_cache_buffer_size = required_size; in allocate_array_info_cache() 457 arrays->array_info_cache_size = required_size; in allocate_array_info_cache() 487 const size_t required_size = arrays->enabled_client_array_count * 12; in fill_array_info_cache() local 491 if (!allocate_array_info_cache(arrays, required_size)) { in fill_array_info_cache()
|
/external/syslinux/core/lwip/src/core/ |
D | mem.c | 83 mem_size_t required_size = size + sizeof(struct memp_malloc_helper); in mem_malloc() local 91 if (required_size <= memp_sizes[poolnr]) { in mem_malloc()
|
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_mixer_manager_win.cc | 2712 int required_size = WideCharToMultiByte(CP_UTF8, 0, src, -1, _str, 0, 0, 0); in WideToUTF8() local 2713 if (required_size <= kStrLen) in WideToUTF8()
|
D | audio_device_core_win.cc | 5081 int required_size = WideCharToMultiByte(CP_UTF8, 0, src, -1, _str, 0, 0, 0); in WideToUTF8() local 5082 if (required_size <= kStrLen) in WideToUTF8()
|
/external/libvpx/libwebm/mkvparser/ |
D | mkvparser.cc | 331 const long required_size = static_cast<long>(size) + 1; in UnserializeString() local 333 str = SafeArrayAlloc<char>(1, required_size); in UnserializeString() 348 str[required_size - 1] = '\0'; in UnserializeString()
|
/external/libvpx/libvpx/third_party/libwebm/mkvparser/ |
D | mkvparser.cc | 332 const long required_size = static_cast<long>(size) + 1; in UnserializeString() local 334 str = SafeArrayAlloc<char>(1, required_size); in UnserializeString() 349 str[required_size - 1] = '\0'; in UnserializeString()
|