Home
last modified time | relevance | path

Searched refs:row_bytes (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/common/operations/
DHashtableLookup.cpp46 const int row_bytes = sizeOfData(value_->type, value_->dimensions) / num_rows; in Eval() local
59 memset(output_->buffer + i * row_bytes, 0, row_bytes); in Eval()
62 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()
63 row_bytes); in Eval()
DEmbeddingLookup.cpp37 const int row_bytes = total_bytes/row_size; in Eval() local
45 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()
46 row_bytes); in Eval()
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp263 const size_t row_bytes = png_get_rowbytes(read_ptr, info_ptr); in ReadPng() local
264 CHECK(row_bytes == 4 * width); // RGBA in ReadPng()
267 output_image->data = std::unique_ptr<uint8_t[]>(new uint8_t[height * row_bytes]); in ReadPng()
272 output_image->rows[h] = output_image->data.get() + (h * row_bytes); in ReadPng()