Searched refs:row_bytes (Results 1 – 3 of 3) sorted by relevance
46 const int row_bytes = sizeOfData(value_->type, value_->dimensions) / num_rows; in Eval() local59 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()
37 const int row_bytes = total_bytes/row_size; in Eval() local45 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()46 row_bytes); in Eval()
263 const size_t row_bytes = png_get_rowbytes(read_ptr, info_ptr); in ReadPng() local264 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()