Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Typedefs | Functions
wrtarga.c File Reference
#include "cdjpeg.h"

Go to the source code of this file.

Typedefs

typedef tga_dest_struct * tga_dest_ptr
 

Functions

 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors)
 
 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied)
 
 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied)
 
 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied)
 
 start_output_tga (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo)
 
 finish_output_tga (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo)
 
 jinit_write_targa (j_decompress_ptr cinfo)
 

Typedef Documentation

◆ tga_dest_ptr

typedef tga_dest_struct* tga_dest_ptr

Definition at line 50 of file wrtarga.c.

Function Documentation

◆ finish_output_tga()

finish_output_tga ( j_decompress_ptr  cinfo,
djpeg_dest_ptr  dinfo 
)

Definition at line 211 of file wrtarga.c.

References ERREXIT, and GLOBAL.

Referenced by jinit_write_targa().

◆ jinit_write_targa()

jinit_write_targa ( j_decompress_ptr  cinfo)

◆ put_demapped_gray()

put_demapped_gray ( j_decompress_ptr  cinfo,
djpeg_dest_ptr  dinfo,
JDIMENSION  rows_supplied 
)

Definition at line 144 of file wrtarga.c.

References GETJSAMPLE, JFWRITE, METHODDEF, and void().

Referenced by start_output_tga().

◆ put_gray_rows()

put_gray_rows ( j_decompress_ptr  cinfo,
djpeg_dest_ptr  dinfo,
JDIMENSION  rows_supplied 
)

Definition at line 120 of file wrtarga.c.

References GETJSAMPLE, JFWRITE, METHODDEF, and void().

Referenced by start_output_tga().

◆ put_pixel_rows()

put_pixel_rows ( j_decompress_ptr  cinfo,
djpeg_dest_ptr  dinfo,
JDIMENSION  rows_supplied 
)

Definition at line 99 of file wrtarga.c.

References GETJSAMPLE, JFWRITE, METHODDEF, and void().

Referenced by start_output_tga().

◆ start_output_tga()

start_output_tga ( j_decompress_ptr  cinfo,
djpeg_dest_ptr  dinfo 
)

◆ write_header()

write_header ( j_decompress_ptr  cinfo,
djpeg_dest_ptr  dinfo,
int  num_colors 
)

Definition at line 54 of file wrtarga.c.

References ERREXIT, JCS_GRAYSCALE, JFWRITE, MEMZERO, METHODDEF, and SIZEOF.

Referenced by start_output_tga().