00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
#ifndef DJENCABS_H
00035
#define DJENCABS_H
00036
00037
#include "osconfig.h"
00038
#include "dctypes.h"
00039
#include "diutils.h"
00040
#include "djutils.h"
00041
00044 class DJEncoder
00045 {
00046
public:
00047
00049 DJEncoder()
00050 {
00051 }
00052
00054 virtual ~DJEncoder()
00055 {
00056 }
00057
00070
virtual OFCondition encode(
00071 Uint16 columns,
00072 Uint16 rows,
00073 EP_Interpretation interpr,
00074 Uint16 samplesPerPixel,
00075 Uint16 *image_buffer,
00076 Uint8 *&to,
00077 Uint32 &length) = 0;
00078
00091
virtual OFCondition encode(
00092 Uint16 columns,
00093 Uint16 rows,
00094 EP_Interpretation interpr,
00095 Uint16 samplesPerPixel,
00096 Uint8 *image_buffer,
00097 Uint8 *&to,
00098 Uint32 &length) = 0;
00099
00102
virtual Uint16
bytesPerSample() const = 0;
00103
00106 virtual Uint16 bitsPerSample() const = 0;
00107
00108 };
00109
00110
00111 #endif
00112
00113
00114
00115
00116
00117
00118
00119
00120