Searched refs:row_bytes (Results 1 – 3 of 3) sorted by relevance
48 const int row_bytes = nonExtensionOperandSizeOfData(value_->type, value_->dimensions) / num_rows; in Eval() local61 memset(output_->buffer + i * row_bytes, 0, row_bytes); in Eval()64 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()65 row_bytes); in Eval()
39 const int row_bytes = total_bytes/row_size; in Eval() local47 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()48 row_bytes); in Eval()
266 const size_t row_bytes = png_get_rowbytes(read_ptr, info_ptr); in ReadPng() local267 CHECK(row_bytes == 4 * width); // RGBA in ReadPng()270 output_image->data = std::unique_ptr<uint8_t[]>(new uint8_t[height * row_bytes]); in ReadPng()275 output_image->rows[h] = output_image->data.get() + (h * row_bytes); in ReadPng()