|
LibreOffice Module vcl (master) 1
|
#include <sal/config.h>#include "jpeg.h"#include <jpeglib.h>#include <jerror.h>#include "JpegReader.hxx"#include <vcl/graphicfilter.hxx>#include <vcl/outdev.hxx>#include <tools/fract.hxx>#include <tools/stream.hxx>#include <memory>Go to the source code of this file.
Macros | |
| #define | BUFFER_SIZE 4096 |
Functions | |
| static void | init_source (j_decompress_ptr cinfo) |
| static tools::Long | StreamRead (SvStream *pStream, void *pBuffer, tools::Long nBufferSize) |
| static boolean | fill_input_buffer (j_decompress_ptr cinfo) |
| static void | skip_input_data (j_decompress_ptr cinfo, long numberOfBytes) |
| static void | term_source (j_decompress_ptr) |
| void | jpeg_svstream_src (j_decompress_ptr cinfo, void *input) |
| #define BUFFER_SIZE 4096 |
Definition at line 33 of file JpegReader.cxx.
|
static |
Definition at line 80 of file JpegReader.cxx.
References SourceManagerStruct::buffer, BUFFER_SIZE, FALSE, SourceManagerStruct::no_data_available_failures, SourceManagerStruct::pub, SourceManagerStruct::start_of_file, SourceManagerStruct::stream, StreamRead(), and TRUE.
Referenced by jpeg_svstream_src(), and skip_input_data().
|
static |
Definition at line 41 of file JpegReader.cxx.
References SourceManagerStruct::no_data_available_failures, SourceManagerStruct::start_of_file, and TRUE.
Referenced by jpeg_svstream_src().
| void jpeg_svstream_src | ( | j_decompress_ptr | cinfo, |
| void * | input | ||
| ) |
Definition at line 139 of file JpegReader.cxx.
References SourceManagerStruct::buffer, BUFFER_SIZE, fill_input_buffer(), init_source(), SourceManagerStruct::pub, skip_input_data(), stream, SourceManagerStruct::stream, and term_source().
Referenced by ReadJPEG(), and Transform().
|
static |
Definition at line 108 of file JpegReader.cxx.
References fill_input_buffer(), and SourceManagerStruct::pub.
Referenced by jpeg_svstream_src().
|
static |
Definition at line 55 of file JpegReader.cxx.
References ERRCODE_IO_PENDING, SvStream::GetError(), SvStream::ReadBytes(), SvStream::ResetError(), SvStream::Seek(), SvStream::SetError(), and SvStream::Tell().
Referenced by fill_input_buffer().
|
static |
Definition at line 132 of file JpegReader.cxx.
Referenced by jpeg_svstream_src().