Searched defs:block_size_ (Results 1 - 22 of 22) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
H A Dbytestream_unittest.cc51 : data_(data), block_size_(block_size) {}
55 return data_.substr(0, block_size_);
61 int block_size_; member in class:google::protobuf::strings::__anon19067::MockByteSource
/external/webrtc/webrtc/common_audio/
H A Dblocker.h41 // (read: |block_size_|) or received-audio-size (read: |chunk_size_|).
82 const size_t block_size_; member in class:webrtc::Blocker
115 // |shift_amount_| = |block_size_| / 2 for a Hann window.
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dbatchtospace_op.cc168 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_));
170 ctx, block_size_ > 1,
171 errors::InvalidArgument("Block size should be > 1: ", block_size_));
179 {block_size_, block_size_}, crops);
183 int block_size_; member in class:tensorflow::__anon25405::BatchToSpaceOp
H A Ddepthtospace_op.cc37 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_));
39 ctx, block_size_ > 1,
40 errors::InvalidArgument("Block size should be > 1: ", block_size_));
72 reshaped_shape.push_back(block_size_);
73 block_elems *= block_size_;
86 output_shape.push_back(input_shape[1 + i] * block_size_);
94 reshaped_shape.push_back(block_size_);
95 block_elems *= block_size_;
112 output_shape.push_back(input_shape[2 + i] * block_size_);
123 // block_size_,
163 int block_size_; member in class:tensorflow::__anon25417::DepthToSpaceOp
[all...]
H A Dspacetobatch_op.cc173 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_));
175 ctx, block_size_ > 1,
176 errors::InvalidArgument("Block size should be > 1: ", block_size_));
184 {block_size_, block_size_}, paddings);
188 int block_size_; member in class:tensorflow::__anon25458::SpaceToBatchOp
H A Dspacetodepth_op.cc37 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_));
39 ctx, block_size_ > 1,
40 errors::InvalidArgument("Block size should be > 1: ", block_size_));
68 OP_REQUIRES(ctx, input_shape[1 + i] % block_size_ == 0,
71 " is not divisible by block_size=", block_size_));
72 block_elems *= block_size_;
77 reshaped_shape.push_back(input_shape[1 + i] / block_size_);
78 reshaped_shape.push_back(block_size_);
93 output_shape.push_back(input_shape[1 + i] / block_size_);
100 OP_REQUIRES(ctx, input_shape[2 + i] % block_size_
167 int block_size_; member in class:tensorflow::__anon25459::SpaceToDepthOp
[all...]
/external/tensorflow/tensorflow/core/lib/core/
H A Darena.h68 assert(remaining_ <= block_size_); // an invariant
93 const size_t block_size_; member in class:tensorflow::core::Arena
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dtime_stretch_unittest.cc65 block_size_(30 * sample_rate_hz_ / 1000), // 30 ms
66 audio_(new int16_t[block_size_]),
72 RTC_CHECK(input_file_->Read(block_size_, audio_.get()));
84 UpdateReturnStats(accelerate.Process(Next30Ms(), block_size_, fast_mode,
105 const size_t block_size_; member in class:webrtc::TimeStretchTest
/external/brotli/c/enc/
H A Dmetablock_inc.h34 size_t block_size_; local
61 self->block_size_ = 0;
89 self->block_size_ =
90 BROTLI_MAX(size_t, self->block_size_, self->min_block_size_);
93 split->lengths[0] = (uint32_t)self->block_size_;
103 self->block_size_ = 0;
104 } else if (self->block_size_ > 0) {
125 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_;
136 self->block_size_ = 0;
141 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_;
[all...]
H A Dhash_longest_match_inc.h14 fixed size (block_size_). The ring buffer contains the last block_size_
33 /* Only block_size_ newest backward references are kept,
35 size_t block_size_; member in struct:HashLongestMatch
46 /* Buckets containing block_size_ of backward references. */
69 self->block_size_ = (size_t)1 << common->params.block_bits;
70 self->block_mask_ = (uint32_t)(self->block_size_ - 1);
216 (num[key] > self->block_size_) ? (num[key] - self->block_size_) : 0u;
H A Dhash_longest_match64_inc.h14 fixed size (block_size_). The ring buffer contains the last block_size_
35 /* Only block_size_ newest backward references are kept,
37 size_t block_size_; member in struct:HashLongestMatch
50 /* Buckets containing block_size_ of backward references. */
74 self->block_size_ = (size_t)1 << common->params.block_bits;
75 self->block_mask_ = (uint32_t)(self->block_size_ - 1);
223 (num[key] > self->block_size_) ?
224 (num[key] - self->block_size_) : 0u;
H A Dmetablock.c185 size_t block_size_; member in struct:ContextBlockSplitter
214 self->block_size_ = 0;
250 if (self->block_size_ < self->min_block_size_) {
251 self->block_size_ = self->min_block_size_;
256 split->lengths[0] = (uint32_t)self->block_size_;
271 self->block_size_ = 0;
272 } else if (self->block_size_ > 0) {
305 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_;
320 self->block_size_ = 0;
325 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_;
[all...]
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.h89 const int block_size_; // How many bytes to return at a time. member in class:google::protobuf::io::ArrayInputStream
121 const int block_size_; // How many bytes to return at a time. member in class:google::protobuf::io::ArrayOutputStream
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
H A Dgrpc_serialization_traits.h32 : block_size_(block_size), byte_count_(0), have_backup_(false) {
48 slice_ = g_core_codegen_interface->grpc_slice_malloc(block_size_);
60 if (count == block_size_) {
78 const int block_size_; member in class:grpc::tensorflow_helper::final
/external/tensorflow/tensorflow/core/distributed_runtime/
H A Dtensor_coding_test.cc52 : s_(s), stream_(nullptr), block_size_(block_size) {}
58 protobuf::io::ArrayInputStream(s_->data(), s_->size(), block_size_);
72 int block_size_; member in class:tensorflow::StringSource
/external/tensorflow/tensorflow/core/platform/cloud/
H A Dfile_block_cache.h53 : block_size_(block_size),
97 size_t block_size() const { return block_size_; }
107 const size_t block_size_; member in class:tensorflow::FileBlockCache
/external/webrtc/webrtc/common_audio/resampler/
H A Dsinc_resampler.h132 size_t block_size_; member in class:webrtc::SincResampler
/external/tensorflow/tensorflow/core/kernels/
H A Dbatchtospace_op.cc222 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_));
224 context, block_size_ > 1,
225 errors::InvalidArgument("Block size should be > 1: ", block_size_));
230 block_shape_vec(0) = block_size_;
231 block_shape_vec(1) = block_size_;
249 int block_size_; member in class:tensorflow::BatchToSpaceOp
H A Ddepthtospace_op.cc52 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_));
53 OP_REQUIRES(context, block_size_ > 1,
55 block_size_));
92 const int block_size_sq = block_size_ * block_size_;
94 // The depth must be divisible by block_size_ * block_size_
101 const int output_width = input_width * block_size_;
102 const int output_height = input_height * block_size_;
121 functor(context->eigen_device<GPUDevice>(), Tinput_v, block_size_,
142 int block_size_; member in class:tensorflow::DepthToSpaceOp
[all...]
H A Dspacetobatch_op.cc223 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_));
225 context, block_size_ > 1,
226 errors::InvalidArgument("Block size should be > 1: ", block_size_));
231 block_shape_vec(0) = block_size_;
232 block_shape_vec(1) = block_size_;
248 int block_size_; member in class:tensorflow::SpaceToBatchOp
H A Dspacetodepth_op.cc52 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_));
53 OP_REQUIRES(context, block_size_ > 1,
55 block_size_));
94 (width % block_size_) == 0 && (height % block_size_) == 0,
97 " should be divisible by block_size: ", block_size_));
99 // The 'spatial' block of size block_size_ X block_size_ will be moved
101 const int output_depth = input_depth * block_size_ * block_size_;
144 int block_size_; member in class:tensorflow::SpaceToDepthOp
[all...]
/external/webp/src/enc/
H A Dbackward_references_enc.h171 int block_size_; // common block-size member in struct:VP8LBackwardRefs

Completed in 581 milliseconds