blob: 8e56faef65d08ac0b38809106ec8927556b80008 [file] [log] [blame]
* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#ifndef SPLASH_H
#define SPLASH_H
typedef struct _splash_t splash_t;
int splash_add_image(splash_t*, char* filespec);
int splash_destroy(splash_t*);
splash_t* splash_init(int pts_fd);
int splash_is_hires(splash_t* splash);
int splash_num_images(splash_t* splash);
int splash_run(splash_t*);
int splash_set_clear(splash_t* splash, uint32_t clear_color);
void splash_set_default_duration(splash_t* splash, uint32_t duration);
void splash_set_loop_count(splash_t* splash, int32_t count);
void splash_set_loop_duration(splash_t* splash, uint32_t duration);
void splash_set_loop_offset(splash_t* splash, int32_t x, int32_t y);
void splash_set_loop_start(splash_t* splash, int32_t start_location);
void splash_set_offset(splash_t* splash, int32_t x, int32_t y);
void splash_set_scale(splash_t* splash, uint32_t scale);
void splash_redrm(splash_t* splash);
#endif // SPLASH_H