Home
last modified time | relevance | path

Searched refs:required_size (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/common_video/libyuv/
Dscaler_unittest.cc307 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/
Daudio_multi_vector.cc195 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()
Daudio_multi_vector.h116 virtual void AssertSize(size_t required_size);
/external/gemmlowp/eight_bit_int_gemm/
Deight_bit_int_gemm.cc150 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/
Dindirect_vertex_array.c441 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/
Dmem.c83 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/
Daudio_mixer_manager_win.cc2712 int required_size = WideCharToMultiByte(CP_UTF8, 0, src, -1, _str, 0, 0, 0); in WideToUTF8() local
2713 if (required_size <= kStrLen) in WideToUTF8()
Daudio_device_core_win.cc5081 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/
Dmkvparser.cc331 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/
Dmkvparser.cc332 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()