DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
media_image.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2010 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 /* pre-processor mechanism so multiple inclusions don't cause compilation error*/
26 
27 #ifndef MEDIA_IMAGE_H
28 #define MEDIA_IMAGE_H
29 
30 /*---includes for this file--------------------------------------------------*/
31 
32 /* compiler library header files */
33 
34 /* third party header files */
35 
36 /* DVBCore header files */
37 #include "techtype.h"
38 #include "stbhwc.h"
39 
40 /*---Constant and macro definitions for public use-----------------------------*/
41 
42 /*---Enumerations for public use-----------------------------------------------*/
43 
44 /*---Global Function prototypes for public use---------------------------------*/
45 BOOLEAN STB_IMGConvertPNG(U8BIT *image_data, U32BIT image_data_size, U8BIT **output_data,
46  U32BIT *output_data_size, U16BIT *pixel_width, U16BIT *pixel_height);
47 
48 BOOLEAN STB_IMGConvertJPEG(U8BIT *image_data, U32BIT image_data_size, U8BIT **output_data,
49  U32BIT *output_data_size, U16BIT *pixel_width, U16BIT *pixel_height);
50 
51 #endif /* MEDIA_IMAGE_H */
52 
53 /******************************************************************************
54 ** End of file
55 ******************************************************************************/
Function prototypes for HW control.
BOOLEAN STB_IMGConvertPNG(U8BIT *image_data, U32BIT image_data_size, U8BIT **output_data, U32BIT *output_data_size, U16BIT *pixel_width, U16BIT *pixel_height)
Converts the given PNG image data to a bitmap image that can be displayed on-screen with the given bi...
Definition: image_png.c:97
BOOLEAN STB_IMGConvertJPEG(U8BIT *image_data, U32BIT image_data_size, U8BIT **output_data, U32BIT *output_data_size, U16BIT *pixel_width, U16BIT *pixel_height)
Converts the given JPEG image data to a bitmap image that can be displayed on-screen, but no scaling is applied.
Definition: image_jpeg.c:118
System Wide Global Technical Data Type Definitions.