Home
last modified time | relevance | path

Searched refs:window_size (Results 1 – 25 of 117) sorted by relevance

12345

/external/v4l2_codec2/vda/
Dbit_reader_core.cc83 const int window_size = in SkipBits() local
85 DCHECK_GE(window_size, 0); in SkipBits()
86 DCHECK_LE(window_size, nbytes); in SkipBits()
87 if (window_size < nbytes) { in SkipBits()
89 bits_read_ += 8 * window_size; in SkipBits()
152 int window_size = in Refill() local
154 DCHECK_GE(window_size, 0); in Refill()
155 DCHECK_LE(window_size, max_nbytes); in Refill()
156 if (window_size == 0) in Refill()
160 memcpy(&reg_next_, byte_stream_window, window_size); in Refill()
[all …]
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpec_prod.c68 const int window_size = 5; in gfec_point_prod() local
70 const int tableLen = 1<<(window_size-1); in gfec_point_prod()
93 int mask = (1<<(window_size+1)) -1; in gfec_point_prod()
94 int bit = scalarBitSize-(scalarBitSize%window_size); in gfec_point_prod()
103 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
112 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
117 for(bit-=window_size; bit>=window_size; bit-=window_size) { in gfec_point_prod()
126 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
135 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
151 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_prod()
[all …]
Dpcpgfpec_mul.c67 const int window_size = 5; in gfec_point_mul() local
87 int mask = (1<<(window_size+1)) -1; in gfec_point_mul()
88 int bit = scalarBitSize-(scalarBitSize%window_size); in gfec_point_mul()
97 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_mul()
100 for(bit-=window_size; bit>=window_size; bit-=window_size) { in gfec_point_mul()
109 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_mul()
126 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_point_mul()
Dpcpgfpec_mulbase.c60 int window_size = ECP_PREMULBP(pEC)->w; in gfec_base_point_mul() local
73 int tslot_point = 1<<(window_size-1); in gfec_base_point_mul()
80 int mask = (1<<(window_size+1)) -1; in gfec_base_point_mul()
87 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_base_point_mul()
96 for(bit+=window_size, pTbl+=tslot_size; bit<=scalarBitSize; bit+=window_size, pTbl+=tslot_size) { in gfec_base_point_mul()
100 booth_recode(&sign, &digit, (Ipp8u)wvalue, window_size); in gfec_base_point_mul()
/external/squashfs-tools/squashfs-tools/
Dgzip_wrapper.c48 static int window_size = GZIP_DEFAULT_WINDOW_SIZE; variable
92 window_size = atoi(argv[1]); in gzip_options()
93 if(window_size < 8 || window_size > 15) { in gzip_options()
186 window_size == GZIP_DEFAULT_WINDOW_SIZE && in gzip_dump_options()
194 comp_opts.window_size = window_size; in gzip_dump_options()
232 window_size = GZIP_DEFAULT_WINDOW_SIZE; in gzip_extract_options()
252 if(comp_opts->window_size < 8 || in gzip_extract_options()
253 comp_opts->window_size > 15) { in gzip_extract_options()
258 window_size = comp_opts->window_size; in gzip_extract_options()
299 if(comp_opts->window_size < 8 || in gzip_display_options()
[all …]
Dgzip_wrapper.h41 (s)->window_size = inswap_le16((s)->window_size); \
54 short window_size; member
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsliding_window_dataset_op.cc38 int64 window_size = 0; in MakeDataset() local
40 ctx, ParseScalarArgument<int64>(ctx, "window_size", &window_size)); in MakeDataset()
42 ctx, window_size > 0, in MakeDataset()
56 if (window_size == window_shift && window_stride == 1) { in MakeDataset()
58 << " is equal to window_size: " << window_size in MakeDataset()
61 *output = new Dataset(ctx, window_size, window_shift, window_stride, input); in MakeDataset()
67 Dataset(OpKernelContext* ctx, int64 window_size, int64 window_shift, in Dataset() argument
70 window_size_(window_size), in Dataset()
119 Node* window_size = nullptr; in AsGraphDefInternal() local
122 TF_RETURN_IF_ERROR(b->AddScalar(window_size_, &window_size)); in AsGraphDefInternal()
[all …]
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
Dslide_dataset_op_test.py51 def testSlideDataset(self, count, window_size, window_shift, window_stride): argument
72 window_size=window_size_t,
86 window_size_t: window_size,
91 (window_size - 1) * window_stride + 1)) // window_shift + 1
95 for j in range(window_size):
115 def testSlideDatasetDeprecated(self, count, window_size, stride, argument
136 window_size=window_size_t,
150 window_size_t: window_size,
155 (window_size - 1) * window_stride + 1)) // stride + 1
159 for j in range(window_size):
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dinput_pipeline_test.py84 self, time_series_reader, window_size, batch_size, num_features, argument
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=3, batch_size=5,
198 num_features=1, window_size=3, batch_size=5,
[all …]
/external/zopfli/src/zopfli/
Dhash.c29 void ZopfliInitHash(size_t window_size, ZopfliHash* h) { in ZopfliInitHash() argument
34 h->prev = (unsigned short*)malloc(sizeof(*h->prev) * window_size); in ZopfliInitHash()
35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size); in ZopfliInitHash()
39 for (i = 0; i < window_size; i++) { in ZopfliInitHash()
45 h->same = (unsigned short*)malloc(sizeof(*h->same) * window_size); in ZopfliInitHash()
46 for (i = 0; i < window_size; i++) { in ZopfliInitHash()
54 h->prev2 = (unsigned short*)malloc(sizeof(*h->prev2) * window_size); in ZopfliInitHash()
55 h->hashval2 = (int*)malloc(sizeof(*h->hashval2) * window_size); in ZopfliInitHash()
59 for (i = 0; i < window_size; i++) { in ZopfliInitHash()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram.cc76 Histogram::Histogram(int window_size) in Histogram() argument
80 activity_probability_(new int[window_size]), in Histogram()
81 hist_bin_index_(new int[window_size]), in Histogram()
84 len_circular_buffer_(window_size), in Histogram()
174 Histogram* Histogram::Create(int window_size) { in Create() argument
175 if (window_size < 0) in Create()
177 return new Histogram(window_size); in Create()
/external/libopus/scripts/
Drnn_train.py41 window_size = 1500 variable
43 nb_sequences = len(all_data)/window_size
45 x_train = all_data[:nb_sequences*window_size, :-2]
46 x_train = np.reshape(x_train, (nb_sequences, window_size, 25))
48 y_train = np.copy(all_data[:nb_sequences*window_size, -2:])
49 y_train = np.reshape(y_train, (nb_sequences, window_size, 2))
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/
Daudio_microfrontend_op.cc71 int window_size; in __anon68ee72bf0102() local
72 TF_RETURN_IF_ERROR(ctx->GetAttr("window_size", &window_size)); in __anon68ee72bf0102()
73 window_size *= sample_rate / 1000; in __anon68ee72bf0102()
88 if (ctx->Value(num_frames) < window_size) { in __anon68ee72bf0102()
91 TF_RETURN_IF_ERROR(ctx->Subtract(num_frames, window_size, &num_frames)); in __anon68ee72bf0102()
158 int window_size; in AudioMicrofrontendOp() local
159 OP_REQUIRES_OK(ctx, ctx->GetAttr("window_size", &window_size)); in AudioMicrofrontendOp()
160 config_.window.size_ms = window_size; in AudioMicrofrontendOp()
218 int window_size = config_.window.size_ms * sample_rate_ / 1000; in Compute() local
222 if (audio_size >= window_size) { in Compute()
[all …]
/external/sfntly/cpp/src/test/
Dfont_data_test.cc165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, in ReadFontDataWithSlidingWindow() argument
171 std::min<int32_t>(window_size, b->size() - index); in ReadFontDataWithSlidingWindow()
200 int32_t window_size) { in WriteFontDataWithSlidingWindow() argument
204 int32_t sliding_size = std::min<int32_t>(window_size, b.size() - index); in WriteFontDataWithSlidingWindow()
240 for (int32_t window_size = 1; window_size <= length; in ReadComparison() local
241 window_size += increments) { in ReadComparison()
246 ReadFontDataWithSlidingWindow(rfd1, window_size, &b1); in ReadComparison()
247 ReadFontDataWithSlidingWindow(rfd2, window_size, &b2); in ReadComparison()
293 for (int window_size = 1; window_size < length; window_size += increments) { in SlicingWriteTest() local
296 WriteFontDataWithSlidingWindow(r_slice, w_slice, window_size); in SlicingWriteTest()
Dbyte_array_test.cc46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, in ReadByteArrayWithSlidingWindow() argument
50 int32_t actual_window_size = window_size; in ReadByteArrayWithSlidingWindow()
81 for (int window_size = 1; window_size < ba1->Length(); in ReadComparison() local
82 window_size += increments) { in ReadComparison()
83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); in ReadComparison()
84 ReadByteArrayWithSlidingWindow(ba2, window_size, &b2); in ReadComparison()
/external/tensorflow/tensorflow/contrib/data/python/ops/
Dsliding.py30 def __init__(self, input_dataset, window_size, window_shift, window_stride): argument
34 window_size, dtype=dtypes.int64, name="window_stride")
44 window_size=self._window_size,
61 def sliding_window_batch(window_size, argument
116 return _SlideDataset(dataset, window_size, window_shift, window_stride)
/external/tensorflow/tensorflow/core/kernels/
Dattention_ops.cc78 const Tensor& window_size = context->input(1); in Compute() local
80 (window_size.shape().dims() == 1) && in Compute()
81 window_size.shape().dim_size(0) == 2, in Compute()
84 window_size.shape().DebugString())); in Compute()
86 const int64 output_height = window_size.tensor<int, 1>()(0); in Compute()
87 const int64 output_width = window_size.tensor<int, 1>()(1); in Compute()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/python/kernel_tests/
Daudio_microfrontend_op_test.py46 window_size=WINDOW_SIZE,
65 window_size=WINDOW_SIZE,
87 window_size=WINDOW_SIZE,
107 window_size=WINDOW_SIZE,
130 window_size=WINDOW_SIZE,
150 window_size=WINDOW_SIZE,
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dtake_while_test.py38 def testTakeWhileDataset(self, num_elements, window_size): argument
41 return array_ops.shape(elem)[0] > (window_size - 1)
45 dataset = dataset_ops.Dataset.range(num_elements).batch(window_size)
49 expected_num_elements = int(num_elements / window_size) * window_size
/external/tensorflow/tensorflow/core/kernels/data/
Dwindow_dataset_op.cc35 int64 window_size = 0; in MakeDataset() local
36 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, "size", &window_size)); in MakeDataset()
38 ctx, window_size > 0, in MakeDataset()
59 *output = new Dataset(ctx, input, window_size, window_shift, window_stride, in MakeDataset()
66 Dataset(OpKernelContext* ctx, const DatasetBase* input, int64 window_size, in Dataset() argument
70 window_size_(window_size), in Dataset()
145 const int64 window_size = dataset()->window_size_; in GetNextInternal() local
158 size_t target_size = TargetBufferSize(window_size, window_stride); in GetNextInternal()
357 size_t TargetBufferSize(int64 window_size, int64 window_stride) { in TargetBufferSize() argument
358 return (window_size - 1) * window_stride + 1; in TargetBufferSize()
/external/adhd/cras/src/server/
Drate_estimator.c42 const struct timespec *window_size, in rate_estimator_create() argument
51 re->window_size = *window_size; in rate_estimator_create()
97 if (timespec_after(&td, &re->window_size) && in rate_estimator_check()
/external/tensorflow/tensorflow/lite/kernels/
Daudio_spectrogram.cc40 int window_size; member
53 data->window_size = m["window_size"].AsInt64(); in Init()
83 TF_LITE_ENSURE(context, params->spectrogram->Initialize(params->window_size, in Prepare()
86 const int64_t length_minus_window = (sample_count - params->window_size); in Prepare()
108 TF_LITE_ENSURE(context, params->spectrogram->Initialize(params->window_size, in Eval()
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
Dmain.cc29 tensorflow::int32 window_size = 256; in main() local
35 tensorflow::Flag("window_size", &window_size, in main()
59 input_wav, window_size, stride, brightness, output_image); in main()
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c81 int window_size; member
118 rc->window_size = 15; in set_rate_control_metrics()
163 printf("Short-time stats, for window of %d frames: \n", rc->window_size); in printout_rate_control_summary()
905 if (frame_cnt > rc.window_size) { in main()
907 if (frame_cnt % rc.window_size == 0) { in main()
909 rc.avg_st_encoding_bitrate += sum_bitrate / rc.window_size; in main()
911 (sum_bitrate / rc.window_size) * in main()
912 (sum_bitrate / rc.window_size); in main()
917 if (frame_cnt > rc.window_size + rc.window_size / 2) { in main()
919 if (frame_cnt > 2 * rc.window_size && in main()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/sched/sched_reset_all_window_stats/
Dformat10 field:u64 window_size; offset:16; size:8; signed:0;
16 …n %llu window_start %llu window_size %llu reason %s old_val %u new_val %u", REC->time_taken, REC->…

12345