diff options
author | Tony Lofthouse <a0741364@ti.com> | 2012-11-13 10:02:42 -0600 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-28 21:16:26 +0200 |
commit | 368038a14d5fd94184751a167a63af0c559be82f (patch) | |
tree | cf0775f8d8eeab9fc12c96dfdc530bf6a9517906 /hwc/dock_image.h | |
parent | dc2e4aafa6b02b6a16eb29c73e84fd45781bb09c (diff) | |
download | hardware_ti_omap4-368038a14d5fd94184751a167a63af0c559be82f.zip hardware_ti_omap4-368038a14d5fd94184751a167a63af0c559be82f.tar.gz hardware_ti_omap4-368038a14d5fd94184751a167a63af0c559be82f.tar.bz2 |
hwc: Move dock image into a separate file
Change-Id: I01582535beb22f7f4de493f74b4671ee59cdcadd
Signed-off-by: Mykola Ostrovskyy <mykola@ti.com>
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
Diffstat (limited to 'hwc/dock_image.h')
-rw-r--r-- | hwc/dock_image.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/hwc/dock_image.h b/hwc/dock_image.h new file mode 100644 index 0000000..44a3271 --- /dev/null +++ b/hwc/dock_image.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) Texas Instruments - http://www.ti.com/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __DOCK_IMAGE__ +#define __DOCK_IMAGE__ + +#include <stdint.h> + +/* ARGB image */ +struct image_info { + int width; + int height; + int rowbytes; + int size; + uint8_t *ptr; +}; +typedef struct image_info image_info_t; + +typedef struct omap_hwc_device omap_hwc_device_t; + +int init_dock_image(omap_hwc_device_t *hwc_dev, uint32_t max_width, uint32_t max_height); +void load_dock_image(); +image_info_t *get_dock_image(); + +#endif |