#include <provider_jpeg_generic.h>
Collaboration diagram for CL_JPEGProvider_Generic:

Public Methods | |
| CL_JPEGProvider_Generic (CL_String name, CL_InputSourceProvider *provider=NULL, bool transparent=true, bool ignore_alphachannel=false) | |
| ~CL_JPEGProvider_Generic () | |
| param: name - Name of the PNG file to load.param: provider - Input source provider that delivers the JPEG file.param: transparent - True if a transparency color should be used.param: ignore_alphachannel - True if the alpha component should be ignored.param: trans_red - Red component of the transparency color.param: trans_green - Green component of the transparency color.param: trans_blue - blue component of the transparency color. | |
| unsigned int | get_pitch () const |
| unsigned int | get_width () const |
| unsigned int | get_height () const |
| unsigned int | get_num_frames () const |
| EPixelFormat | get_pixel_format () const |
| CL_Palette* | get_palette () const |
| unsigned int | get_src_colorkey () const |
| bool | uses_src_colorkey () const |
| bool | is_indexed () const |
| unsigned int | get_red_mask () const |
| unsigned int | get_green_mask () const |
| unsigned int | get_blue_mask () const |
| unsigned int | get_alpha_mask () const |
| void* | get_data () const |
| void | perform_lock () |
| void | perform_unlock () |
Private Types | |
| typedef InputSource_source_mgr* | InputSource_src_ptr |
Private Attributes | |
| CL_String | filename |
| int | locked |
| unsigned char* | image |
| int | pitch |
| int | width |
| int | height |
| int | bpp |
| bool | transparent |
| bool | ignore_alphachannel |
| bool | use_alphapixels |
| unsigned char | trans_redcol |
| unsigned char | trans_greencol |
| unsigned char | trans_bluecol |
| int | pos |
| CL_InputSourceProvider* | input_provider |
| CL_InputSource* | input_source |
Static Private Methods | |
| void | jpeg_InputSource_src (j_decompress_ptr cinfo, CL_JPEGProvider_Generic *prov) |
| void | init_source (j_decompress_ptr cinfo) |
| boolean | fill_input_buffer (j_decompress_ptr cinfo) |
| void | skip_input_data (j_decompress_ptr cinfo, long num_bytes) |
| void | term_source (j_decompress_ptr cinfo) |
|
|
Definition at line 130 of file provider_jpeg_generic.h. |
|
|
|
|
|
param: name - Name of the PNG file to load.param: provider - Input source provider that delivers the JPEG file.param: transparent - True if a transparency color should be used.param: ignore_alphachannel - True if the alpha component should be ignored.param: trans_red - Red component of the transparency color.param: trans_green - Green component of the transparency color.param: trans_blue - blue component of the transparency color.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 63 of file provider_jpeg_generic.h. |
|
|
Definition at line 66 of file provider_jpeg_generic.h. |
|
|
Definition at line 72 of file provider_jpeg_generic.h. |
|
|
Definition at line 57 of file provider_jpeg_generic.h. |
|
|
Definition at line 69 of file provider_jpeg_generic.h. |
|
|
|
|
|
Definition at line 75 of file provider_jpeg_generic.h. |
|
|
Definition at line 60 of file provider_jpeg_generic.h. |
|
|
|
|
|
Definition at line 81 of file provider_jpeg_generic.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 78 of file provider_jpeg_generic.h. |
|
|
Definition at line 114 of file provider_jpeg_generic.h. |
|
|
Definition at line 106 of file provider_jpeg_generic.h. |
|
|
Definition at line 112 of file provider_jpeg_generic.h. |
|
|
Definition at line 116 of file provider_jpeg_generic.h. |
|
|
Definition at line 109 of file provider_jpeg_generic.h. |
|
|
Definition at line 139 of file provider_jpeg_generic.h. |
|
|
Definition at line 140 of file provider_jpeg_generic.h. |
|
|
Definition at line 107 of file provider_jpeg_generic.h. |
|
|
Definition at line 111 of file provider_jpeg_generic.h. |
|
|
Definition at line 120 of file provider_jpeg_generic.h. |
|
|
Definition at line 118 of file provider_jpeg_generic.h. |
|
|
Definition at line 118 of file provider_jpeg_generic.h. |
|
|
Definition at line 118 of file provider_jpeg_generic.h. |
|
|
Definition at line 116 of file provider_jpeg_generic.h. |
|
|
Definition at line 116 of file provider_jpeg_generic.h. |
|
|
Definition at line 112 of file provider_jpeg_generic.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001