Home | History | Annotate | Download | only in chromium

Lines Matching refs:m_width

71         : m_width(0)
75 : m_width(image.m_width)
79 bool hasImage() const { return m_width > 0 && m_height > 0; }
80 int width() const { return m_width; }
95 if (!webkit_support::DecodePNG(source.get(), byteLength, &m_data, &m_width, &m_height)) {
119 if (!webkit_support::DecodePNG(&compressed[0], compressed.size(), &m_data, &m_width, &m_height)) {
128 m_width = m_height = 0;
135 ASSERT(x >= 0 && x < m_width);
137 return *reinterpret_cast<const uint32_t*>(&(m_data[(y * m_width + x) * 4]));
142 ASSERT(x >= 0 && x < m_width);
144 void* addr = &const_cast<unsigned char*>(&m_data.front())[(y * m_width + x) * 4];
150 int m_width, m_height;