blob: 44a32714c2dfb8e556eeadffc35e063b8ec7eeac [file] [log] [blame]
codeworkx222b7942013-02-11 17:29:55 +00001/*
2 * Copyright (C) Texas Instruments - http://www.ti.com/
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef __DOCK_IMAGE__
18#define __DOCK_IMAGE__
19
20#include <stdint.h>
21
22/* ARGB image */
23struct image_info {
24 int width;
25 int height;
26 int rowbytes;
27 int size;
28 uint8_t *ptr;
29};
30typedef struct image_info image_info_t;
31
32typedef struct omap_hwc_device omap_hwc_device_t;
33
34int init_dock_image(omap_hwc_device_t *hwc_dev, uint32_t max_width, uint32_t max_height);
35void load_dock_image();
36image_info_t *get_dock_image();
37
38#endif