CTWM
|
#include "ctwm.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include "screen.h"
#include "image.h"
#include "image_jpeg.h"
#include <setjmp.h>
#include <jpeglib.h>
#include <jerror.h>
#include <X11/Xlib.h>
Go to the source code of this file.
Data Structures | |
struct | jpeg_error |
Typedefs | |
typedef struct jpeg_error * | jerr_ptr |
Functions | |
static Image * | LoadJpegImage (const char *name) |
static Image * | LoadJpegImageCp (const char *name, ColorPair cp) |
static void | convert_for_16 (int w, int x, int y, int r, int g, int b) |
static void | convert_for_32 (int w, int x, int y, int r, int g, int b) |
static void | jpeg_error_exit (j_common_ptr cinfo) |
Image * | GetJpegImage (const char *name) |
Variables | |
static uint16_t * | buffer_16bpp |
static uint32_t * | buffer_32bpp |
Definition at line 36 of file image_jpeg.c.
Definition at line 204 of file image_jpeg.c.
References buffer_16bpp, PlaceX, x, and y.
Referenced by LoadJpegImage().
Definition at line 210 of file image_jpeg.c.
References buffer_32bpp, PlaceX, x, and y.
Referenced by LoadJpegImage().
Definition at line 46 of file image_jpeg.c.
References get_image_anim_cp(), LoadJpegImage(), LoadJpegImageCp(), and PlaceX.
Referenced by GetImage().
|
static |
Definition at line 73 of file image_jpeg.c.
References AllocImage(), buffer_16bpp, buffer_32bpp, convert_for_16(), convert_for_32(), dpy, ExpandPixmapPath(), Image::height, jpeg_error_exit(), Image::pixmap, PlaceX, reportfilenotfound, Scr, Image::width, x, and y.
Referenced by GetJpegImage(), and LoadJpegImageCp().
Definition at line 66 of file image_jpeg.c.
References LoadJpegImage().
Referenced by GetJpegImage().
|
static |
Definition at line 38 of file image_jpeg.c.
Referenced by convert_for_16(), and LoadJpegImage().
|
static |
Definition at line 39 of file image_jpeg.c.
Referenced by convert_for_32(), and LoadJpegImage().