Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/util/
DBigBuffer.h69 explicit BigBuffer(size_t block_size);
115 size_t block_size() const;
136 inline BigBuffer::BigBuffer(size_t block_size) in BigBuffer() argument
137 : block_size_(block_size), size_(0) {} in BigBuffer()
146 inline size_t BigBuffer::block_size() const { return block_size_; } in block_size() function
/frameworks/ml/nn/runtime/test/generated/models/
Dspace_to_depth_float_3.model.cpp8 auto block_size = model->addOperand(&type1); in CreateModel() local
12 model->setOperandValue(block_size, block_size_init, sizeof(int32_t) * 1); in CreateModel()
13 model->addOperation(ANEURALNETWORKS_SPACE_TO_DEPTH, {input, block_size}, {output}); in CreateModel()
Ddepth_to_space_float_3.model.cpp8 auto block_size = model->addOperand(&type1); in CreateModel() local
12 model->setOperandValue(block_size, block_size_init, sizeof(int32_t) * 1); in CreateModel()
13 model->addOperation(ANEURALNETWORKS_DEPTH_TO_SPACE, {input, block_size}, {output}); in CreateModel()
Ddepth_to_space_float_1.model.cpp8 auto block_size = model->addOperand(&type1); in CreateModel() local
12 model->setOperandValue(block_size, block_size_init, sizeof(int32_t) * 1); in CreateModel()
13 model->addOperation(ANEURALNETWORKS_DEPTH_TO_SPACE, {input, block_size}, {output}); in CreateModel()
Ddepth_to_space_float_2.model.cpp8 auto block_size = model->addOperand(&type1); in CreateModel() local
12 model->setOperandValue(block_size, block_size_init, sizeof(int32_t) * 1); in CreateModel()
13 model->addOperation(ANEURALNETWORKS_DEPTH_TO_SPACE, {input, block_size}, {output}); in CreateModel()
Dspace_to_depth_float_2.model.cpp8 auto block_size = model->addOperand(&type1); in CreateModel() local
12 model->setOperandValue(block_size, block_size_init, sizeof(int32_t) * 1); in CreateModel()
13 model->addOperation(ANEURALNETWORKS_SPACE_TO_DEPTH, {input, block_size}, {output}); in CreateModel()
Dspace_to_depth_float_1.model.cpp8 auto block_size = model->addOperand(&type1); in CreateModel() local
12 model->setOperandValue(block_size, block_size_init, sizeof(int32_t) * 1); in CreateModel()
13 model->addOperation(ANEURALNETWORKS_SPACE_TO_DEPTH, {input, block_size}, {output}); in CreateModel()
/frameworks/av/media/libstagefright/httplive/
DHTTPDownloader.cpp83 uint32_t block_size, /* download block size */ in fetchBlock() argument
143 …if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length… in fetchBlock()
144 range_length = buffer->size() + block_size; in fetchBlock()
DHTTPDownloader.h58 uint32_t block_size, /* download block size (0: entire range) */
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp464 size_t block_size = br.getBits(5); in parseDTVCCPacket() local
475 if (br.numBitsLeft() < block_size * 8) { in parseDTVCCPacket()
479 if (block_size > 0) { in parseDTVCCPacket()
482 sp<ABuffer> ccPacket = new ABuffer(block_size); in parseDTVCCPacket()
484 ALOGW("b/129068792, no memory available, %zu", block_size); in parseDTVCCPacket()
488 memcpy(ccPacket->data(), br.data(), block_size); in parseDTVCCPacket()
492 br.skipBits(block_size * 8); in parseDTVCCPacket()
/frameworks/ml/nn/common/operations/internal/reference/
Dreference_ops.h296 int block_size, T* output_data, in DepthToSpace() argument
308 DCHECK_EQ(input_width * block_size, output_width); in DepthToSpace()
309 DCHECK_EQ(input_height * block_size, output_height); in DepthToSpace()
310 DCHECK_EQ(input_depth, output_depth * block_size * block_size); in DepthToSpace()
318 out_d + ((out_h % block_size) * block_size + out_w % block_size) * in DepthToSpace()
320 const int in_w = out_w / block_size; in DepthToSpace()
321 const int in_h = out_h / block_size; in DepthToSpace()
337 int block_size, T* output_data, in SpaceToDepth() argument
349 DCHECK_EQ(input_width, output_width * block_size); in SpaceToDepth()
350 DCHECK_EQ(input_height, output_height * block_size); in SpaceToDepth()
[all …]
/frameworks/ml/nn/common/operations/internal/optimized/
Doptimized_ops.h885 int block_size, T* output_data,
897 const int stride = block_size * output_depth;
902 for (int offset_h = 0; offset_h < block_size; ++offset_h) {
994 int block_size, T* output_data,
1006 const int stride = block_size * input_depth;
1011 for (int offset_h = 0; offset_h < block_size; ++offset_h) {