codeworkx | 222b794 | 2013-02-11 17:29:55 +0000 | [diff] [blame] | 1 | /* |
| 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 */ |
| 23 | struct image_info { |
| 24 | int width; |
| 25 | int height; |
| 26 | int rowbytes; |
| 27 | int size; |
| 28 | uint8_t *ptr; |
| 29 | }; |
| 30 | typedef struct image_info image_info_t; |
| 31 | |
| 32 | typedef struct omap_hwc_device omap_hwc_device_t; |
| 33 | |
| 34 | int init_dock_image(omap_hwc_device_t *hwc_dev, uint32_t max_width, uint32_t max_height); |
| 35 | void load_dock_image(); |
| 36 | image_info_t *get_dock_image(); |
| 37 | |
| 38 | #endif |