Home
last modified time | relevance | path

Searched refs:min_size (Results 1 – 25 of 49) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator.cc168 void Vp8PartitionAggregator::SetPriorMinMax(int min_size, int max_size) { in SetPriorMinMax() argument
170 assert(min_size >= 0); in SetPriorMinMax()
171 assert(max_size >= min_size); in SetPriorMinMax()
172 root_->set_min_parent_size(min_size); in SetPriorMinMax()
197 int* min_size, in CalcMinMax() argument
199 if (*min_size < 0) { in CalcMinMax()
200 *min_size = std::numeric_limits<int>::max(); in CalcMinMax()
214 if (this_size < static_cast<size_t>(*min_size)) { in CalcMinMax()
215 *min_size = this_size; in CalcMinMax()
227 int min_size, in CalcNumberOfFragments() argument
[all …]
Drtp_format_vp8.cc353 int min_size, max_size; in GeneratePacketsBalancedAggregates() local
354 AggregateSmallPartitions(&partition_decision, &min_size, &max_size); in GeneratePacketsBalancedAggregates()
363 remaining_partition, max_payload_len, overhead, min_size, max_size); in GeneratePacketsBalancedAggregates()
374 if (static_cast<int>(this_packet_bytes) < min_size) { in GeneratePacketsBalancedAggregates()
375 min_size = this_packet_bytes; in GeneratePacketsBalancedAggregates()
405 int* min_size, in AggregateSmallPartitions() argument
407 assert(min_size && max_size); in AggregateSmallPartitions()
408 *min_size = -1; in AggregateSmallPartitions()
430 if (*min_size >= 0 && *max_size >= 0) { in AggregateSmallPartitions()
431 aggregator.SetPriorMinMax(*min_size, *max_size); in AggregateSmallPartitions()
[all …]
Dvp8_partition_aggregator_unittest.cc108 int min_size = -1; in VerifyMinMax() local
110 aggregator.CalcMinMax(opt_config, &min_size, &max_size); in VerifyMinMax()
111 EXPECT_EQ(expected_min, min_size); in VerifyMinMax()
148 int min_size = 382; in TEST() local
150 aggregator->CalcMinMax(opt_config, &min_size, &max_size); in TEST()
151 EXPECT_EQ(382, min_size); in TEST()
Dvp8_partition_aggregator.h100 void SetPriorMinMax(int min_size, int max_size);
114 void CalcMinMax(const ConfigVec& config, int* min_size, int* max_size) const;
124 int min_size,
/external/libvpx/libvpx/test/
Dexternal_frame_buffer_test.cc61 int GetFreeFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { in GetFreeFrameBuffer() argument
66 if (ext_fb_list_[idx].size < min_size) { in GetFreeFrameBuffer()
68 ext_fb_list_[idx].data = new uint8_t[min_size]; in GetFreeFrameBuffer()
69 memset(ext_fb_list_[idx].data, 0, min_size); in GetFreeFrameBuffer()
70 ext_fb_list_[idx].size = min_size; in GetFreeFrameBuffer()
79 int GetZeroFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { in GetZeroFrameBuffer() argument
84 if (ext_fb_list_[idx].size < min_size) { in GetZeroFrameBuffer()
87 ext_fb_list_[idx].size = min_size; in GetZeroFrameBuffer()
155 int get_vp9_frame_buffer(void *user_priv, size_t min_size, in get_vp9_frame_buffer() argument
159 return fb_list->GetFreeFrameBuffer(min_size, fb); in get_vp9_frame_buffer()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_frame_buffer_pool.cc55 Vp9FrameBufferPool::GetFrameBuffer(size_t min_size) { in GetFrameBuffer() argument
56 RTC_DCHECK_GT(min_size, 0u); in GetFrameBuffer()
81 available_buffer->SetSize(min_size); in GetFrameBuffer()
102 size_t min_size, in VpxGetFrameBuffer() argument
108 rtc::scoped_refptr<Vp9FrameBuffer> buffer = pool->GetFrameBuffer(min_size); in VpxGetFrameBuffer()
Dvp9_frame_buffer_pool.h76 rtc::scoped_refptr<Vp9FrameBuffer> GetFrameBuffer(size_t min_size);
92 size_t min_size,
/external/autotest/server/site_tests/brillo_DiskSizeTest/
Dbrillo_DiskSizeTest.py19 min_size=_DEFAULT_MIN_SIZE): argument
34 if int(device_size) < int(min_size):
37 (device, device_size, min_size))
/external/libvpx/libvpx/vp9/common/
Dvp9_frame_buffers.c40 int vp9_get_frame_buffer(void *cb_priv, size_t min_size, in vp9_get_frame_buffer() argument
54 if (int_fb_list->int_fb[i].size < min_size) { in vp9_get_frame_buffer()
59 int_fb_list->int_fb[i].data = (uint8_t *)vpx_calloc(1, min_size); in vp9_get_frame_buffer()
61 int_fb_list->int_fb[i].size = min_size; in vp9_get_frame_buffer()
Dvp9_frame_buffers.h42 int vp9_get_frame_buffer(void *cb_priv, size_t min_size,
/external/libcups/cups/
Ddest-options.c1535 dinfo->min_size.width = INT_MAX; in cups_create_media_db()
1536 dinfo->min_size.length = INT_MAX; in cups_create_media_db()
1599 dinfo->min_size.width = x_dimension->values[0].range.lower; in cups_create_media_db()
1600 dinfo->min_size.length = y_dimension->values[0].range.lower; in cups_create_media_db()
1601 dinfo->min_size.left = in cups_create_media_db()
1602 dinfo->min_size.right = 635; /* Default 1/4" side margins */ in cups_create_media_db()
1603 dinfo->min_size.top = in cups_create_media_db()
1604 dinfo->min_size.bottom = 1270; /* Default 1/2" top/bottom margins */ in cups_create_media_db()
1680 dinfo->min_size.top = in cups_create_media_db()
1688 dinfo->min_size.left = in cups_create_media_db()
[all …]
/external/eigen/test/
Dqr_fullpivoting.cpp19 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); in qr() local
20 Index rows = internal::random<Index>(min_size,max_size), in qr()
21 cols = internal::random<Index>(min_size,max_size), in qr()
22 cols2 = internal::random<Index>(min_size,max_size), in qr()
79 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); in qr_invertible() local
80 Index size = internal::random<Index>(min_size,max_size); in qr_invertible()
/external/e2fsprogs/resize/
Dmain.c260 blk64_t min_size = 0; in main() local
461 min_size = calculate_minimum_resize_size(fs, flags); in main()
465 min_size); in main()
495 new_size = min_size; in main()
526 if (!force && new_size < min_size) { in main()
528 _("New size smaller than minimum (%llu)\n"), min_size); in main()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DMediaCodecVideoEncoderTest.java101 final int min_size = width * height * 3 / 2; in testEncoderUsingByteBuffer() local
110 assertTrue(min_size <= inputBuffers[0].capacity()); in testEncoderUsingByteBuffer()
120 assertTrue(encoder.encodeBuffer(true, bufferIndex, min_size, presentationTimestampUs)); in testEncoderUsingByteBuffer()
/external/webp/src/demux/
Ddemux.c209 static ParseStatus StoreFrame(int frame_num, uint32_t min_size, in StoreFrame() argument
213 int done = (MemDataSize(mem) < min_size); in StoreFrame()
293 uint32_t min_size, uint32_t actual_size, in NewFrame() argument
295 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame()
296 if (actual_size < min_size) return PARSE_ERROR; in NewFrame()
297 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
366 const size_t min_size = RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE; in ReadHeader() local
370 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ReadHeader()
391 const size_t min_size = CHUNK_HEADER_SIZE; in ParseSingleImage() local
398 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage()
[all …]
/external/v8/src/asmjs/
Dswitch-logic.cc31 const int min_size = 4; in OrderCases() local
47 if (break_pos - curr_pos >= min_size) { in OrderCases()
/external/protobuf/src/google/protobuf/stubs/
Dstringpiece.h301 const stringpiece_ssize_type min_size = in compare() local
303 int r = memcmp(ptr_, x.ptr_, min_size); in compare()
417 const stringpiece_ssize_type min_size = variable
419 const int r = memcmp(x.data(), y.data(), min_size);
/external/harfbuzz_ng/src/
Dhb-open-type-private.hh105 static const unsigned int min_size = (size); \
110 static const unsigned int min_size = (size)
114 static const unsigned int min_size = (size)
119 static const unsigned int min_size = (size)
124 static const unsigned int min_size = (size)
150 ASSERT_STATIC (Type::min_size + 1 <= sizeof (_Null##Type))
273 return likely (this->check_range (obj, obj->min_size)); in check_struct()
459 return this->allocate_size<Type> (Type::min_size); in allocate_min()
482 unsigned int size = obj.min_size; in extend_min()
Dhb-ot-name-table.hh103 { return min_size + count * nameRecord[0].min_size; } in get_size()
/external/mesa3d/src/util/
Dralloc.c607 create_linear_node(void *ralloc_ctx, unsigned min_size) in create_linear_node() argument
611 min_size += sizeof(linear_size_chunk); in create_linear_node()
613 if (likely(min_size < MIN_LINEAR_BUFSIZE)) in create_linear_node()
614 min_size = MIN_LINEAR_BUFSIZE; in create_linear_node()
616 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size); in create_linear_node()
624 node->size = min_size; in create_linear_node()
/external/libvpx/libvpx/vpx/
Dvpx_frame_buffer.h63 typedef int (*vpx_get_frame_buffer_cb_fn_t)(void *priv, size_t min_size,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h89 uptr min_size = atomic_load(&min_size_, memory_order_acquire); in Recycle() local
92 while (cache_.Size() > min_size) { in Recycle()
/external/e2fsprogs/lib/ext2fs/
Dblkmap64_rb.c903 __u64 min_size = ULONG_MAX; in rb_print_stats() local
919 if (ext->count < min_size) in rb_print_stats()
920 min_size = ext->count; in rb_print_stats()
926 if (min_size == ULONG_MAX) in rb_print_stats()
927 min_size = 0; in rb_print_stats()
946 min_size); in rb_print_stats()
/external/kernel-headers/original/uapi/linux/
Datmbr2684.h91 int min_size; /* we will pad smaller packets than this */ member
/external/mesa3d/src/gallium/auxiliary/util/
Du_upload_mgr.c133 unsigned min_size) in u_upload_alloc_buffer() argument
145 size = align(MAX2(upload->default_size, min_size), 4096); in u_upload_alloc_buffer()

12