Lines Matching refs:row
374 std::vector<uint8_t> row(png_handler.width()); in get_locales_in_png() local
376 png_read_row(png_handler.png_ptr(), row.data(), nullptr); in get_locales_in_png()
377 int h = (row[3] << 8) | row[2]; in get_locales_in_png()
378 std::string loc(reinterpret_cast<char*>(&row[5])); in get_locales_in_png()
383 png_read_row(png_handler.png_ptr(), row.data(), nullptr); in get_locales_in_png()
410 std::vector<uint8_t> row(width); in res_create_localized_alpha_surface() local
411 png_read_row(png_ptr, row.data(), nullptr); in res_create_localized_alpha_surface()
412 int w = (row[1] << 8) | row[0]; in res_create_localized_alpha_surface()
413 int h = (row[3] << 8) | row[2]; in res_create_localized_alpha_surface()
414 __unused int len = row[4]; in res_create_localized_alpha_surface()
415 char* loc = reinterpret_cast<char*>(&row[5]); in res_create_localized_alpha_surface()
426 png_read_row(png_ptr, row.data(), nullptr); in res_create_localized_alpha_surface()
427 memcpy(surface->data() + i * w, row.data(), w); in res_create_localized_alpha_surface()
435 png_read_row(png_ptr, row.data(), nullptr); in res_create_localized_alpha_surface()