Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

jmemdest.cpp File Reference

#include "plstdpch.h"
#include "pldatasink.h"
#include <stdio.h>
#include "jpeglib.h"
#include "jerror.h"
#include "jmemdest.h"

Include dependency graph for jmemdest.cpp:

Include dependency graph

Go to the source code of this file.

Classes

struct  datasink_dest_mgr

Defines

#define JPEG_WORK_BUFFER_SIZE   8192

Functions

 jpeg_mem_dest_init (j_compress_ptr cinfo)
 jpeg_mem_dest_empty_output_buffer (j_compress_ptr cinfo)
 jpeg_mem_dest_term (j_compress_ptr cinfo)
 jpeg_mem_dest (j_compress_ptr cinfo, JOCTET *pData, int FileSize, PLDataSink *pDataSink)
 Defines a custom data source for LIBJPEG.


Define Documentation

#define JPEG_WORK_BUFFER_SIZE   8192
 

Definition at line 26 of file jmemdest.cpp.

Referenced by jpeg_mem_dest_empty_output_buffer(), and jpeg_mem_dest_term().


Function Documentation

jpeg_mem_dest j_compress_ptr  cinfo,
JOCTET *  pData,
int  FileSize,
PLDataSink pDataSink
 

Defines a custom data source for LIBJPEG.

Definition at line 114 of file jmemdest.cpp.

References datasink_dest_mgr::pDataSink, and datasink_dest_mgr::pub.

Referenced by PLJPEGEncoder::DoEncode().

jpeg_mem_dest_empty_output_buffer j_compress_ptr  cinfo  ) 
 

Definition at line 67 of file jmemdest.cpp.

References datasink_dest_mgr::buffer, JPEG_WORK_BUFFER_SIZE, datasink_dest_mgr::pDataSink, datasink_dest_mgr::pub, and PLDataSink::WriteNBytes().

Here is the call graph for this function:

jpeg_mem_dest_init j_compress_ptr  cinfo  ) 
 

Definition at line 45 of file jmemdest.cpp.

References datasink_dest_mgr::buffer, and datasink_dest_mgr::pub.

jpeg_mem_dest_term j_compress_ptr  cinfo  ) 
 

Definition at line 92 of file jmemdest.cpp.

References datasink_dest_mgr::buffer, JPEG_WORK_BUFFER_SIZE, datasink_dest_mgr::pDataSink, datasink_dest_mgr::pub, and PLDataSink::WriteNBytes().

Here is the call graph for this function:


Generated on Wed Dec 15 21:20:42 2004 for vuVolume by  doxygen 1.3.9.1