Public Member Functions | Public Attributes
CJPEGEncoder Class Reference

#include <encoder.h>

List of all members.

Public Member Functions

 CJPEGEncoder (void)
JERRCODE Clean (void)
JERRCODE ColorConvert (void)
JERRCODE ColorConvert (int nMCURow)
JERRCODE DownSampling (void)
JERRCODE DownSampling (int nMCURow)
JERRCODE EncodeScan (int ncomp, int id[MAX_COMPS_PER_SCAN], int Ss, int Se, int Ah, int Al)
JERRCODE GenerateHuffmanTables (int ncomp, int id[MAX_COMPS_PER_SCAN], int Ss, int Se, int Ah, int Al)
JERRCODE Init (void)
JERRCODE PerformDCT (void)
JERRCODE ProcessRestart (int id[MAX_COMPS_PER_SCAN], int Ss, int Se, int Ah, int Al)
JERRCODE ProcessRestart (int stat[2][256], int id[MAX_COMPS_PER_SCAN], int Ss, int Se, int Ah, int Al)
JERRCODE SelectScanScripts (void)
JERRCODE SetDestination (Ipp8u *pDst, int dstSize, int dstQuality, JSS dstSampling, JCOLOR dstColor, JMODE dstMode=JPEG_BASELINE, int dstRestartInt=0)
JERRCODE SetSource (Ipp8u *pSrc, int srcStep, IppiSize srcSize, int srcChannels, JCOLOR srcColor)
JERRCODE WriteAPP0 (void)
JERRCODE WriteAPP14 (void)
JERRCODE WriteCOM (char *comment=0)
JERRCODE WriteDHT (CJPEGEncoderHuffmanTable *tbl)
JERRCODE WriteDQT (CJPEGEncoderQuantTable *tbl)
JERRCODE WriteDRI (int restart_interval)
JERRCODE WriteEOI (void)
JERRCODE WriteImageBaseline ()
JERRCODE WriteImageLossless ()
JERRCODE WriteImageProgressive ()
JERRCODE WriteRST (int next_restart_num)
JERRCODE WriteSOF0 (void)
JERRCODE WriteSOF1 (void)
JERRCODE WriteSOF2 (void)
JERRCODE WriteSOF3 (void)
JERRCODE WriteSOI (void)
JERRCODE WriteSOS (void)
JERRCODE WriteSOS (int ncomp, int id[MAX_COMPS_PER_SCAN], int Ss, int Se, int Ah, int Al)
virtual ~CJPEGEncoder (void)

Public Attributes

CJPEGEncoderHuffmanTable m_actbl [MAX_HUFF_TABLES]
int m_ah
int m_al
int m_ccHeight
CJPEGColorComponentm_ccomp [MAX_COMPS_PER_SCAN]
int m_ccWidth
Ipp16s * m_coefbuf
CJPEGEncoderHuffmanTable m_dctbl [MAX_HUFF_TABLES]
BITSTREAM m_dst
JCOLOR m_jpeg_color
JMODE m_jpeg_mode
int m_jpeg_ncomp
int m_jpeg_precision
int m_jpeg_quality
int m_jpeg_restart_interval
JSS m_jpeg_sampling
int m_mcuHeight
int m_mcuWidth
int m_next_restart_num
int m_numxMCU
int m_numyMCU
int m_predictor
int m_pt
CJPEGEncoderQuantTable m_qntbl [MAX_QUANT_TABLES]
int m_restarts_to_go
int m_scan_count
JPEG_SCANm_scan_script
int m_se
IMAGE m_src
int m_ss
CJPEGEncoderHuffmanState m_state
int m_xPadding
int m_yPadding

Detailed Description

Definition at line 64 of file encoder.h.


Constructor & Destructor Documentation

Definition at line 40 of file encoder.cpp.

CJPEGEncoder::~CJPEGEncoder ( void  ) [virtual]

Definition at line 94 of file encoder.cpp.


Member Function Documentation

Definition at line 101 of file encoder.cpp.

Definition at line 1446 of file encoder.cpp.

Definition at line 1628 of file encoder.cpp.

Definition at line 1815 of file encoder.cpp.

Definition at line 1902 of file encoder.cpp.

JERRCODE CJPEGEncoder::EncodeScan ( int  ncomp,
int  id[MAX_COMPS_PER_SCAN],
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 2326 of file encoder.cpp.

JERRCODE CJPEGEncoder::GenerateHuffmanTables ( int  ncomp,
int  id[MAX_COMPS_PER_SCAN],
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 2055 of file encoder.cpp.

Definition at line 1255 of file encoder.cpp.

Definition at line 1990 of file encoder.cpp.

JERRCODE CJPEGEncoder::ProcessRestart ( int  id[MAX_COMPS_PER_SCAN],
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 722 of file encoder.cpp.

JERRCODE CJPEGEncoder::ProcessRestart ( int  stat[2][256],
int  id[MAX_COMPS_PER_SCAN],
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 811 of file encoder.cpp.

Definition at line 977 of file encoder.cpp.

JERRCODE CJPEGEncoder::SetDestination ( Ipp8u *  pDst,
int  dstSize,
int  dstQuality,
JSS  dstSampling,
JCOLOR  dstColor,
JMODE  dstMode = JPEG_BASELINE,
int  dstRestartInt = 0 
)

Definition at line 175 of file encoder.cpp.

JERRCODE CJPEGEncoder::SetSource ( Ipp8u *  pSrc,
int  srcStep,
IppiSize  srcSize,
int  srcChannels,
JCOLOR  srcColor 
)

Definition at line 157 of file encoder.cpp.

Definition at line 250 of file encoder.cpp.

Definition at line 297 of file encoder.cpp.

JERRCODE CJPEGEncoder::WriteCOM ( char *  comment = 0)

Definition at line 350 of file encoder.cpp.

Definition at line 449 of file encoder.cpp.

Definition at line 400 of file encoder.cpp.

JERRCODE CJPEGEncoder::WriteDRI ( int  restart_interval)

Definition at line 660 of file encoder.cpp.

Definition at line 232 of file encoder.cpp.

Definition at line 2660 of file encoder.cpp.

Definition at line 3032 of file encoder.cpp.

Definition at line 2900 of file encoder.cpp.

JERRCODE CJPEGEncoder::WriteRST ( int  next_restart_num)

Definition at line 693 of file encoder.cpp.

Definition at line 496 of file encoder.cpp.

Definition at line 535 of file encoder.cpp.

Definition at line 574 of file encoder.cpp.

Definition at line 621 of file encoder.cpp.

Definition at line 214 of file encoder.cpp.

Definition at line 877 of file encoder.cpp.

JERRCODE CJPEGEncoder::WriteSOS ( int  ncomp,
int  id[MAX_COMPS_PER_SCAN],
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 924 of file encoder.cpp.


Member Data Documentation

Definition at line 131 of file encoder.h.

Definition at line 122 of file encoder.h.

Definition at line 121 of file encoder.h.

Definition at line 113 of file encoder.h.

Definition at line 128 of file encoder.h.

Definition at line 112 of file encoder.h.

Definition at line 126 of file encoder.h.

Definition at line 130 of file encoder.h.

Definition at line 98 of file encoder.h.

Definition at line 103 of file encoder.h.

Definition at line 106 of file encoder.h.

Definition at line 100 of file encoder.h.

Definition at line 101 of file encoder.h.

Definition at line 104 of file encoder.h.

Definition at line 105 of file encoder.h.

Definition at line 102 of file encoder.h.

Definition at line 111 of file encoder.h.

Definition at line 110 of file encoder.h.

Definition at line 117 of file encoder.h.

Definition at line 108 of file encoder.h.

Definition at line 109 of file encoder.h.

Definition at line 123 of file encoder.h.

Definition at line 124 of file encoder.h.

Definition at line 129 of file encoder.h.

Definition at line 116 of file encoder.h.

Definition at line 118 of file encoder.h.

Definition at line 125 of file encoder.h.

Definition at line 120 of file encoder.h.

Definition at line 97 of file encoder.h.

Definition at line 119 of file encoder.h.

Definition at line 132 of file encoder.h.

Definition at line 114 of file encoder.h.

Definition at line 115 of file encoder.h.


The documentation for this class was generated from the following files:


canon_vbc50i
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:47:45