Searched refs:window_size (Results 1 - 25 of 92) sorted by relevance

1234

/external/clang/test/CoverageMapping/
H A Dcasts.c5 int window_size = (sizeof(int) <= 2 ? (unsigned)512 : 1024); // CHECK-NEXT: File 0, [[@LINE]]:57 -> [[@LINE]]:61 = (#0 - #1) local
/external/squashfs-tools/squashfs-tools/
H A Dgzip_wrapper.h41 (s)->window_size = inswap_le16((s)->window_size); \
54 short window_size; member in struct:gzip_comp_opts
H A Dgzip_wrapper.c48 static int window_size = GZIP_DEFAULT_WINDOW_SIZE; variable
92 window_size = atoi(argv[1]);
93 if(window_size < 8 || window_size > 15) {
186 window_size == GZIP_DEFAULT_WINDOW_SIZE &&
194 comp_opts.window_size = window_size;
232 window_size = GZIP_DEFAULT_WINDOW_SIZE;
252 if(comp_opts->window_size < 8 ||
253 comp_opts->window_size > 1
[all...]
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
H A Dwav_to_spectrogram.h27 tensorflow::int32 window_size,
H A Dmain.cc29 tensorflow::int32 window_size = 256; local
35 tensorflow::Flag("window_size", &window_size,
59 input_wav, window_size, stride, brightness, output_image);
H A Dwav_to_spectrogram.cc45 tensorflow::int32 window_size,
61 wav_decoder.audio, window_size, stride);
44 WavToSpectrogram(const tensorflow::string& input_wav, tensorflow::int32 window_size, tensorflow::int32 stride, float brightness, const tensorflow::string& output_image) argument
/external/v4l2_codec2/vda/
H A Dbit_reader_core.cc83 const int window_size = local
85 DCHECK_GE(window_size, 0);
86 DCHECK_LE(window_size, nbytes);
87 if (window_size < nbytes) {
89 bits_read_ += 8 * window_size;
152 int window_size = local
154 DCHECK_GE(window_size, 0);
155 DCHECK_LE(window_size, max_nbytes);
156 if (window_size == 0)
160 memcpy(&reg_next_, byte_stream_window, window_size);
[all...]
/external/adhd/cras/src/server/
H A Drate_estimator.h32 * window_size - The size of the window.
40 struct timespec window_size; member in struct:rate_estimator
50 * window_size - The window size of the rate estimator.
55 const struct timespec *window_size,
H A Drate_estimator.c42 const struct timespec *window_size,
51 re->window_size = *window_size;
101 if (timespec_after(&td, &re->window_size) &&
41 rate_estimator_create(unsigned int rate, const struct timespec *window_size, double smooth_factor) argument
/external/zopfli/src/zopfli/
H A Dhash.c29 void ZopfliInitHash(size_t window_size, ZopfliHash* h) { argument
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++) {
H A Dhash.h50 void ZopfliInitHash(size_t window_size, ZopfliHash* h);
/external/tensorflow/tensorflow/core/kernels/
H A Dattention_ops.cc54 const Tensor& window_size = context->input(1); variable
56 (window_size.shape().dims() == 1) &&
57 window_size.shape().dim_size(0) == 2,
60 window_size.shape().DebugString()));
62 const int64 output_height = window_size.tensor<int, 1>()(0);
63 const int64 output_width = window_size.tensor<int, 1>()(1);
/external/sfntly/cpp/src/test/
H A Dbyte_array_test.cc46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, argument
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);
H A Dfont_data_test.cc165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, argument
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
198 WriteFontDataWithSlidingWindow(ReadableFontData* rfd, WritableFontData* wfd, int32_t window_size) argument
[all...]
/external/webrtc/webrtc/modules/audio_processing/agc/
H A Dhistogram.cc76 Histogram::Histogram(int window_size) argument
80 activity_probability_(new int[window_size]),
81 hist_bin_index_(new int[window_size]),
84 len_circular_buffer_(window_size),
174 Histogram* Histogram::Create(int window_size) { argument
175 if (window_size < 0)
177 return new Histogram(window_size);
H A Dhistogram.h29 // |window_size| samples.
30 static Histogram* Create(int window_size);
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
H A Dinput_pipeline_test.py84 self, time_series_reader, window_size, batch_size, num_features,
88 window_size=window_size, batch_size=batch_size)
98 self.assertAllEqual([batch_size, window_size],
100 for window_position in range(window_size - 1):
108 self.assertAllEqual([batch_size, window_size, num_features],
120 num_features=1, window_size=2, batch_size=5,
159 num_features=1, window_size=3, batch_size=5,
169 num_features=1, window_size=3, batch_size=5,
189 num_features=1, window_size
[all...]
/external/tensorflow/tensorflow/contrib/data/python/ops/
H A Dgrouping.py31 window_size=None,
41 You may provide either a constant `window_size` or a window size determined by
48 reduce_func: A function mapping a key and a dataset of up to `window_size`
50 window_size: A `tf.int64` scalar `tf.Tensor`, representing the number of
57 `reduce_func`. Mutually exclusive with `window_size`.
64 ValueError: if neither or both of {`window_size`, `window_size_func`} are
67 if (window_size is not None and window_size_func or
68 not (window_size is not None or window_size_func)):
69 raise ValueError("Must pass either window_size or window_size_func.")
71 if window_size i
[all...]
/external/tensorflow/tensorflow/compiler/xla/
H A Dwindow_util.h79 // For example, for arguments of (bound=5, window_size=2, stride=2), the
83 int64 StridedBound(int64 bound, int64 window_size, int64 stride);
H A Dwindow_util.cc210 int64 StridedBound(int64 bound, int64 window_size, int64 stride) {
211 CHECK_GE(window_size, 0);
215 if (window_size > bound) {
220 // window_size. Taking stride into account, the valid offsets then have the
222 // window_size. This implies that Q equals floor(bound - window_size /
224 return (bound - window_size) / stride + 1;
/external/tensorflow/tensorflow/core/ops/
H A Daudio_ops.cc73 int32 window_size; local
74 TF_RETURN_IF_ERROR(c->GetAttr("window_size", &window_size));
86 const int64 length_minus_window = (input_length_value - window_size);
97 c->MakeDim(1 + NextPowerOfTwo(window_size) / 2);
141 .Attr("window_size: int")
/external/webrtc/webrtc/modules/desktop_capture/x11/
H A Dx_server_pixel_buffer.h41 const DesktopSize& window_size() { return window_size_; } function in class:webrtc::XServerPixelBuffer
56 // that |rect| is not larger than window_size().
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dimage_utils.h160 const int window_size = 2 * window_radius + 1; local
161 for (int y = 0; y < window_size; ++y) {
164 for (int x = 0; x < window_size; ++x) {
173 CalculateGInt16(vals_x, vals_y, window_size * window_size, g_temp);
/external/autotest/client/site_tests/power_BacklightControl/
H A Dpower_BacklightControl.py200 window_size=10,
204 The last |window_size| samples of energy rate do not deviate from
212 window_size Number of energy rate samples required to
215 |window_size| values.
230 # the maximum limit |window_size|, before appending a new value.
231 if len(samples) >= window_size:
236 if len(samples) >= window_size and \
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/
H A Dsequence.py146 window_size=4,
167 window_size: int. actually half-window.
168 The window of a word wi will be [i-window_size, i+window_size+1]
196 window_start = max(0, i - window_size)
197 window_end = min(len(sequence), i + window_size + 1)

Completed in 641 milliseconds

1234