HomeSort by relevance Sort by last modified time
    Searched refs:window_size (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /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/chromium_org/media/base/
bit_reader_core.cc 84 const int window_size = local
86 DCHECK_GE(window_size, 0);
87 DCHECK_LE(window_size, nbytes);
88 if (window_size < nbytes)
150 int window_size = local
152 DCHECK_GE(window_size, 0);
153 DCHECK_LE(window_size, max_nbytes);
154 if (window_size == 0)
158 memcpy(&reg_next_, byte_stream_window, window_size);
160 nbits_next_ = window_size * 8
    [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/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/content/browser/android/
overscroll_glow.cc 32 const gfx::SizeF& window_size,
43 -window_size.height() / 2.f + offset,
44 window_size.height() / 2.f);
46 return gfx::Transform(-1, 0, 0, -1, 0, window_size.height() + offset);
53 -window_size.height() / 2.f + window_size.width() + offset,
54 window_size.height() / 2.f);
62 const gfx::SizeF& window_size) {
66 return window_size;
69 return gfx::SizeF(window_size.height(), window_size.width())
    [all...]
  /external/chromium_org/ui/ozone/demo/
ozone_demo.cc 154 gfx::Size window_size = GetSize(); local
156 glViewport(0, 0, window_size.width(), window_size.height());
166 gfx::Size window_size = GetSize(); local
175 software_surface_->PresentCanvas(gfx::Rect(window_size));
  /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 181 gfx::Size window_size; local
205 window_size.set_width(std::min(
208 window_size.set_height(window_size.width() / kCardAspectRatio);
212 (num_columns_ - window_list_.size()) * window_size.width()) +
213 (total_bounds.width() - num_columns_ * window_size.width())) / 2;
215 num_rows * window_size.height()) / 2;
221 gfx::Rect target_bounds(window_size.width() * column + x_offset,
222 window_size.height() * row + y_offset,
223 window_size.width()
    [all...]
  /external/chromium_org/media/cast/net/
frame_id_wrap_helper_test.cc 18 const int window_size = 127; local
24 int offset = rand() % window_size;
  /external/srec/srec/include/
sample.h 183 int window_size; member in struct:__anon14822
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 47 static void FindAnchorPoint(const gfx::Size& window_size,
  /external/chromium_org/chrome/browser/ui/blocked_content/
popup_blocker_browsertest.cc 400 gfx::Size window_size = popup->GetContainerBounds().size(); local
401 EXPECT_TRUE(349 <= window_size.width() && window_size.width() <= 351);
402 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/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)

Completed in 688 milliseconds

1 2 3 4