/external/chromium_org/remoting/base/ |
running_average.cc | 11 RunningAverage::RunningAverage(int window_size) 12 : window_size_(window_size), 14 DCHECK_GT(window_size, 0);
|
running_average.h | 20 // Constructs a helper to average over the |window_size| most recent samples. 21 explicit RunningAverage(int window_size); 27 // Returns the average over up to |window_size| of the most recent samples. 38 // Stores the |window_size| most recently recorded samples.
|
/external/chromium_org/sdch/open-vcdiff/src/ |
rolling_hash.h | 93 // window_size must be >= 2. 94 template<int window_size> 116 // Compute a hash of the window "ptr[0, window_size - 1]". 119 for (int i = 2; i < window_size; ++i) { 127 // UpdateHash takes the hash value of buffer[0] ... buffer[window_size -1] 129 // and the value of buffer[window_size] (the "new_last_byte" argument). 130 // It quickly computes the hash value of buffer[1] ... buffer[window_size] 134 // (which runs in time independent of window_size) instead of Hash(). 135 // Each time window_size doubles, the time to execute Hash() also doubles, 146 // Given a full hash value for buffer[0] ... buffer[window_size -1], plus th [all...] |
/external/zopfli/src/zopfli/ |
hash.c | 29 void ZopfliInitHash(size_t window_size, ZopfliHash* h) { 34 h->prev = (unsigned short*)malloc(sizeof(*h->prev) * window_size); 35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size); 39 for (i = 0; i < window_size; i++) { 45 h->same = (unsigned short*)malloc(sizeof(*h->same) * window_size); 46 for (i = 0; i < window_size; i++) { 54 h->prev2 = (unsigned short*)malloc(sizeof(*h->prev2) * window_size); 55 h->hashval2 = (int*)malloc(sizeof(*h->hashval2) * window_size); 59 for (i = 0; i < window_size; i++) {
|
hash.h | 50 void ZopfliInitHash(size_t window_size, ZopfliHash* h);
|
/external/chromium_org/media/base/ |
bit_reader_core.cc | 120 int window_size = local 122 DCHECK_GE(window_size, 0); 123 DCHECK_LE(window_size, max_nbytes); 124 if (window_size == 0) 128 memcpy(®_next_, byte_stream_window, window_size); 130 nbits_next_ = window_size * 8;
|
/external/chromium_org/content/browser/android/ |
edge_effect.cc | 80 const gfx::SizeF& window_size, 90 (-window_size.height() + height) / 2.f + offset, 91 (window_size.height() - height) / 2.f); 94 0, window_size.height() - height + offset); 97 (-window_size.height() - height) / 2.f + window_size.width() + offset, 98 (window_size.height() - height) / 2.f); 106 const gfx::SizeF& window_size, 111 return gfx::Size(window_size.width(), height); 114 return gfx::Size(window_size.height(), height) [all...] |
edge_effect.h | 47 void ApplyToLayers(gfx::SizeF window_size,
|
/external/chromium_org/net/quic/test_tools/ |
quic_flow_controller_peer.cc | 31 QuicFlowController* flow_controller, uint64 window_size) { 32 flow_controller->max_receive_window_ = window_size;
|
quic_flow_controller_peer.h | 25 uint64 window_size);
|
/external/srec/srec/cfront/ |
wav_acc.c | 46 void create_sample_buffer(wave_info *wave, int frame_size, int window_size) 50 ASSERT(window_size >= frame_size); 51 wave->income = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.income"); 52 wave->outgo = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.outgo"); 53 wave->window_size = window_size; 56 log_report("window %d frame %d\n", window_size, frame_size); 70 wave->window_size = 0;
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
byte_array_test.cc | 46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, 50 int32_t actual_window_size = window_size; 81 for (int window_size = 1; window_size < ba1->Length(); 82 window_size += increments) { 83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); 84 ReadByteArrayWithSlidingWindow(ba2, window_size, &b2);
|
font_data_test.cc | 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, 171 std::min<int32_t>(window_size, b->size() - index); 200 int32_t window_size) { 204 int32_t sliding_size = std::min<int32_t>(window_size, b.size() - index); 240 for (int32_t window_size = 1; window_size <= length; 241 window_size += increments) { 246 ReadFontDataWithSlidingWindow(rfd1, window_size, &b1); 247 ReadFontDataWithSlidingWindow(rfd2, window_size, &b2); 293 for (int window_size = 1; window_size < length; window_size += increments) [all...] |
/external/sfntly/cpp/src/test/ |
byte_array_test.cc | 46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, 50 int32_t actual_window_size = window_size; 81 for (int window_size = 1; window_size < ba1->Length(); 82 window_size += increments) { 83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); 84 ReadByteArrayWithSlidingWindow(ba2, window_size, &b2);
|
font_data_test.cc | 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, 171 std::min<int32_t>(window_size, b->size() - index); 200 int32_t window_size) { 204 int32_t sliding_size = std::min<int32_t>(window_size, b.size() - index); 240 for (int32_t window_size = 1; window_size <= length; 241 window_size += increments) { 246 ReadFontDataWithSlidingWindow(rfd1, window_size, &b1); 247 ReadFontDataWithSlidingWindow(rfd2, window_size, &b2); 293 for (int window_size = 1; window_size < length; window_size += increments) [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
x_server_pixel_buffer.h | 41 const DesktopSize& window_size() { return window_size_; } function in class:webrtc::XServerPixelBuffer 56 // that |rect| is not larger than window_size().
|
/external/chromium_org/ash/wm/overview/ |
window_grid.cc | 174 gfx::Size window_size; local 187 window_size.set_width(std::min( 190 window_size.set_height(window_size.width() / kCardAspectRatio); 194 (num_columns_ - window_list_.size()) * window_size.width()) + 195 (total_bounds.width() - num_columns_ * window_size.width())) / 2; 197 num_rows * window_size.height()) / 2; 202 gfx::Rect target_bounds(window_size.width() * column + x_offset, 203 window_size.height() * row + y_offset, 204 window_size.width() [all...] |
/external/srec/srec/include/ |
sample.h | 183 int window_size; member in struct:__anon34848 206 void create_sample_buffer(wave_info *wave, int frame_size, int window_size);
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_positioner.h | 42 // |window_size| is the size of the App List. 46 const gfx::Size& window_size,
|
app_list_service_mac.h | 43 static void FindAnchorPoint(const gfx::Size& window_size,
|
/external/chromium_org/chrome/browser/ui/blocked_content/ |
popup_blocker_browsertest.cc | 390 gfx::Size window_size = popup->GetContainerBounds().size(); local 391 EXPECT_TRUE(349 <= window_size.width() && window_size.width() <= 351); 392 EXPECT_TRUE(249 <= window_size.height() && window_size.height() <= 251);
|
/external/chromium_org/third_party/libwebp/enc/ |
backward_references.c | 31 #define WINDOW_SIZE ((1 << 20) - 120) 227 int cache_bits, int* window_size, 232 const int max_window_size = (quality > 50) ? WINDOW_SIZE 236 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE 247 int window_size, int iter_pos, int iter_limit, 256 (base_position > window_size) ? base_position - window_size : 0; 360 int window_size = WINDOW_SIZE local 576 int window_size = WINDOW_SIZE; local 715 int window_size = WINDOW_SIZE; local [all...] |
/external/webp/src/enc/ |
backward_references.c | 31 #define WINDOW_SIZE ((1 << 20) - 120) 227 int cache_bits, int* window_size, 232 const int max_window_size = (quality > 50) ? WINDOW_SIZE 236 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE 247 int window_size, int iter_pos, int iter_limit, 256 (base_position > window_size) ? base_position - window_size : 0; 360 int window_size = WINDOW_SIZE local 576 int window_size = WINDOW_SIZE; local 715 int window_size = WINDOW_SIZE; local [all...] |
/external/chromium_org/content/common/gpu/media/ |
rendering_helper.cc | 609 const gfx::Size& window_size = clients_[i]->GetWindowSize(); local 610 widths[i % cols] = std::max(widths[i % cols], window_size.width()); 611 heights[i / cols] = std::max(heights[i / cols], window_size.height()); 620 const gfx::Size& window_size = clients_[i]->GetWindowSize(); local 622 std::min(static_cast<float>(widths[i % cols]) / window_size.width(), 623 static_cast<float>(heights[i / cols]) / window_size.height()); 628 size_t w = scale * window_size.width(); 629 size_t h = scale * window_size.height();
|
/external/chromium_org/tools/site_compare/ |
site_compare.py | 37 def Scrape(browsers, urls, window_size=(1024, 768), 44 window_size: size of the browser window to display 73 scraper.Scrape(urls, full_path, window_size, window_pos, timeout, kwargs)
|