![]() |
DVBCore
22.3.0
Open Source DVB Engine
|
Media image functions. More...
Go to the source code of this file.
Functions | |
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 bit depth. More... | |
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. More... | |
Media image functions.
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.
image_data | - PNG image data |
image_data_size | - number of PNG image data bytes |
output_data | - address of pointer to buffer allocated for output data |
output_data_size | - pointer to number of bytes in output bitmap |
pixel_width | - pointer to returned width in pixels |
pixel_height | - pointer to returned height in pixels |
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 bit depth.
image_data | - PNG image data |
image_data_size | - number of PNG image data bytes |
output_data | - address of pointer to buffer allocated for output data |
output_data_size | - pointer to number of bytes in output bitmap |
pixel_width | - pointer to returned width in pixels |
pixel_height | - pointer to returned height in pixels |