Searched refs:row_bytes (Results 1 – 3 of 3) sorted by relevance
52 const int row_bytes = in Eval() local65 memset(output_->buffer + i * row_bytes, 0, row_bytes); in Eval()68 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, row_bytes); in Eval()
43 const int row_bytes = total_bytes / row_size; in Eval() local51 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, 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()