![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Go to the source code of this file.
Functions | |
| int | dxt_display_image (const char *title, DXT_IMAGE_TYPE *image, int width, int height) |
| int | dxt_display_image_comparison (DXT_IMAGE_TYPE *image, unsigned char *image_compressed, int image_compressed_size, enum dxt_type type, int width, int height) |
| int | dxt_display_image_compressed (const char *title, unsigned char *image_compressed, int image_compressed_size, enum dxt_type type, int width, int height) |
| int dxt_display_image | ( | const char * | title, |
| DXT_IMAGE_TYPE * | image, | ||
| int | width, | ||
| int | height ) |
Copyright (c) 2011, Martin Srom All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Display image
| window | title |
| image | |
| width | |
| height |
Documented at declaration
Definition at line 198 of file dxt_display.c.
References dxt_display_init(), dxt_display_run(), DXT_IMAGE_GL_FORMAT, DXT_IMAGE_GL_TYPE, DXT_TYPE_DXT1, g_display, dxt_display::height, dxt_display::program_display, dxt_display::program_display_dxt5ycocg, dxt_display::shader_fragment_display, dxt_display::shader_fragment_display_dxt5ycocg, dxt_display::texture_id, and dxt_display::width.
Referenced by perform_decode(), perform_display(), and perform_encode().

| int dxt_display_image_comparison | ( | DXT_IMAGE_TYPE * | image, |
| unsigned char * | image_compressed, | ||
| int | image_compressed_size, | ||
| enum dxt_type | type, | ||
| int | width, | ||
| int | height ) |
Display comparison for image and compressed image
| window | title |
| image_compressed | Compressed image data |
| type | |
| width | |
| height |
Documented at declaration
Definition at line 248 of file dxt_display.c.
References dxt_display_init(), dxt_display_run(), DXT_IMAGE_GL_FORMAT, DXT_IMAGE_GL_TYPE, DXT_TYPE_DXT5_YCOCG, g_display, dxt_display::height, dxt_display::texture_compressed_id, dxt_display::texture_current_id, dxt_display::texture_id, dxt_display::type, type, and dxt_display::width.
Referenced by perform_comparison().

| int dxt_display_image_compressed | ( | const char * | title, |
| unsigned char * | image_compressed, | ||
| int | image_compressed_size, | ||
| enum dxt_type | type, | ||
| int | width, | ||
| int | height ) |
Display compressed image
| window | title |
| image_compressed | Compressed image data |
| type | |
| width | |
| height |
Documented at declaration
Definition at line 224 of file dxt_display.c.
References dxt_display_init(), dxt_display_run(), DXT_TYPE_DXT5_YCOCG, g_display, dxt_display::height, dxt_display::texture_compressed_id, type, and dxt_display::width.
Referenced by perform_decode(), perform_display(), and perform_encode().
