Searched refs:min_size (Results 1 - 25 of 51) sorted by relevance

123

/external/autotest/server/site_tests/brillo_DiskSizeTest/
H A Dbrillo_DiskSizeTest.py19 min_size=_DEFAULT_MIN_SIZE):
24 @param min_size: Minimum device size in 1K blocks.
34 if int(device_size) < int(min_size):
37 (device, device_size, min_size))
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dvp8_partition_aggregator.cc168 void Vp8PartitionAggregator::SetPriorMinMax(int min_size, int max_size) {
170 assert(min_size >= 0);
171 assert(max_size >= min_size);
172 root_->set_min_parent_size(min_size);
197 int* min_size,
199 if (*min_size < 0) {
200 *min_size = std::numeric_limits<int>::max();
214 if (this_size < static_cast<size_t>(*min_size)) {
215 *min_size = this_size;
227 int min_size,
196 CalcMinMax(const ConfigVec& config, int* min_size, int* max_size) const argument
223 CalcNumberOfFragments( size_t large_partition_size, size_t max_payload_size, size_t penalty, int min_size, int max_size) argument
[all...]
H A Dvp8_partition_aggregator.h100 void SetPriorMinMax(int min_size, int max_size);
112 // values given in min_size and max_size, and if either of these are exceeded,
114 void CalcMinMax(const ConfigVec& config, int* min_size, int* max_size) const;
120 // [min_size, max_size], an extra cost is inflicted.
124 int min_size,
H A Dvp8_partition_aggregator_unittest.cc108 int min_size = -1; local
110 aggregator.CalcMinMax(opt_config, &min_size, &max_size);
111 EXPECT_EQ(expected_min, min_size);
148 int min_size = 382; local
150 aggregator->CalcMinMax(opt_config, &min_size, &max_size);
151 EXPECT_EQ(382, min_size);
H A Drtp_format_vp8.cc353 int min_size, max_size; local
354 AggregateSmallPartitions(&partition_decision, &min_size, &max_size);
363 remaining_partition, max_payload_len, overhead, min_size, max_size);
374 if (static_cast<int>(this_packet_bytes) < min_size) {
375 min_size = this_packet_bytes;
405 int* min_size,
407 assert(min_size && max_size);
408 *min_size = -1;
430 if (*min_size >= 0 && *max_size >= 0) {
431 aggregator.SetPriorMinMax(*min_size, *max_siz
[all...]
H A Drtp_format_vp8.h134 // the aggregate numbers restart at 0. Output values min_size and max_size
138 int* min_size,
/external/libvpx/libvpx/vp9/common/
H A Dvp9_frame_buffers.h40 // |min_size| is the minimum size in bytes needed to decode the next frame.
42 int vp9_get_frame_buffer(void *cb_priv, size_t min_size,
H A Dvp9_frame_buffers.c40 int vp9_get_frame_buffer(void *cb_priv, size_t min_size, argument
54 if (int_fb_list->int_fb[i].size < min_size) {
59 int_fb_list->int_fb[i].data = (uint8_t *)vpx_calloc(1, min_size);
61 int_fb_list->int_fb[i].size = min_size;
/external/libvpx/libvpx/vpx/
H A Dvpx_frame_buffer.h49 * allocate at least min_size in bytes and assign it to fb->data. The callback
63 typedef int (*vpx_get_frame_buffer_cb_fn_t)(void *priv, size_t min_size,
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
H A Dvp9_frame_buffer_pool.cc55 Vp9FrameBufferPool::GetFrameBuffer(size_t min_size) { argument
56 RTC_DCHECK_GT(min_size, 0u);
81 available_buffer->SetSize(min_size);
102 size_t min_size,
108 rtc::scoped_refptr<Vp9FrameBuffer> buffer = pool->GetFrameBuffer(min_size);
101 VpxGetFrameBuffer(void* user_priv, size_t min_size, vpx_codec_frame_buffer* fb) argument
H A Dvp9_frame_buffer_pool.h73 // Gets a frame buffer of at least |min_size|, recycling an available one or
76 rtc::scoped_refptr<Vp9FrameBuffer> GetFrameBuffer(size_t min_size);
87 // |min_size| Minimum size needed by libvpx (to decompress a frame).
92 size_t min_size,
/external/libvpx/libvpx/test/
H A Dexternal_frame_buffer_test.cc58 // that the frame buffer is at least |min_size| in bytes. Marks that the
61 int GetFreeFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { argument
66 if (ext_fb_list_[idx].size < min_size) {
68 ext_fb_list_[idx].data = new uint8_t[min_size];
69 memset(ext_fb_list_[idx].data, 0, min_size);
70 ext_fb_list_[idx].size = min_size;
79 int GetZeroFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { argument
84 if (ext_fb_list_[idx].size < min_size) {
87 ext_fb_list_[idx].size = min_size;
154 // buffer of at least |min_size| i
155 get_vp9_frame_buffer(void *user_priv, size_t min_size, vpx_codec_frame_buffer_t *fb) argument
171 get_vp9_zero_frame_buffer(void *user_priv, size_t min_size, vpx_codec_frame_buffer_t *fb) argument
179 get_vp9_one_less_byte_frame_buffer(void *user_priv, size_t min_size, vpx_codec_frame_buffer_t *fb) argument
249 GetVP9FrameBuffer(void *user_priv, size_t min_size, vpx_codec_frame_buffer_t *fb) argument
[all...]
/external/kernel-headers/original/uapi/linux/
H A Datmbr2684.h91 int min_size; /* we will pad smaller packets than this */ member in struct:atm_backend_br2684
/external/v8/src/asmjs/
H A Dswitch-logic.cc31 const int min_size = 4; local
47 if (break_pos - curr_pos >= min_size) {
/external/eigen/test/
H A Dqr_fullpivoting.cpp19 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); local
20 Index rows = internal::random<Index>(min_size,max_size),
21 cols = internal::random<Index>(min_size,max_size),
22 cols2 = internal::random<Index>(min_size,max_size),
79 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); local
80 Index size = internal::random<Index>(min_size,max_size);
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
H A DMediaCodecVideoEncoderTest.java101 final int min_size = width * height * 3 / 2;
110 assertTrue(min_size <= inputBuffers[0].capacity());
120 assertTrue(encoder.encodeBuffer(true, bufferIndex, min_size, presentationTimestampUs));
/external/harfbuzz_ng/src/
H A Dhb-ot-name-table.hh103 { return min_size + count * nameRecord[0].min_size; }
H A 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));
459 return this->allocate_size<Type> (Type::min_size);
482 unsigned int size = obj.min_size;
/external/libcups/cups/
H A Ddest-options.c1453 dinfo->min_size.width = INT_MAX;
1454 dinfo->min_size.length = INT_MAX;
1517 dinfo->min_size.width = x_dimension->values[0].range.lower;
1518 dinfo->min_size.length = y_dimension->values[0].range.lower;
1519 dinfo->min_size.left =
1520 dinfo->min_size.right = 635; /* Default 1/4" side margins */
1521 dinfo->min_size.top =
1522 dinfo->min_size.bottom = 1270; /* Default 1/2" top/bottom margins */
1598 dinfo->min_size.top =
1606 dinfo->min_size
[all...]
/external/e2fsprogs/resize/
H A Dmain.c260 blk64_t min_size = 0; local
461 min_size = calculate_minimum_resize_size(fs, flags);
465 min_size);
495 new_size = min_size;
526 if (!force && new_size < min_size) {
528 _("New size smaller than minimum (%llu)\n"), min_size);
/external/protobuf/src/google/protobuf/stubs/
H A Dstringpiece.h301 const stringpiece_ssize_type min_size = local
303 int r = memcmp(ptr_, x.ptr_, min_size);
417 const stringpiece_ssize_type min_size =
419 const int r = memcmp(x.data(), y.data(), min_size);
/external/webp/src/demux/
H A Ddemux.c209 static ParseStatus StoreFrame(int frame_num, uint32_t min_size, argument
213 int done = (MemDataSize(mem) < min_size);
289 // enough data ('min_size') to parse the payload.
293 uint32_t min_size, uint32_t actual_size,
295 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR;
296 if (actual_size < min_size) return PARSE_ERROR;
297 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA;
366 const size_t min_size = RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE; local
370 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA;
391 const size_t min_size local
292 NewFrame(const MemBuffer* const mem, uint32_t min_size, uint32_t actual_size, Frame** frame) argument
[all...]
/external/mesa3d/src/util/
H A Dralloc.c607 create_linear_node(void *ralloc_ctx, unsigned min_size) argument
611 min_size += sizeof(linear_size_chunk);
613 if (likely(min_size < MIN_LINEAR_BUFSIZE))
614 min_size = MIN_LINEAR_BUFSIZE;
616 node = ralloc_size(ralloc_ctx, sizeof(linear_header) + min_size);
624 node->size = min_size;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h89 uptr min_size = atomic_load(&min_size_, memory_order_acquire); local
92 while (cache_.Size() > min_size) {
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_upload_mgr.c133 unsigned min_size)
145 size = align(MAX2(upload->default_size, min_size), 4096);
132 u_upload_alloc_buffer(struct u_upload_mgr *upload, unsigned min_size) argument

Completed in 827 milliseconds

123