RTjpeg Class Reference

#include <RTjpegN.h>

List of all members.


Detailed Description

Definition at line 62 of file RTjpegN.h.


Public Member Functions

 RTjpeg ()
 ~RTjpeg ()
int SetQuality (int *quality)
int SetFormat (int *format)
int SetSize (int *w, int *h)
int SetIntra (int *key, int *lm, int *cm)
int Compress (int8_t *sp, uint8_t **planes)
void Decompress (int8_t *sp, uint8_t **planes)
void SetNextKey (void)

Private Member Functions

int b2s (int16_t *data, int8_t *strm, uint8_t bt8)
int s2b (int16_t *data, int8_t *strm, uint8_t bt8, int32_t *qtbla)
void QuantInit (void)
void Quant (int16_t *block, int32_t *qtbl)
void DctInit (void)
void DctY (uint8_t *idata, int rskip)
void IdctInit (void)
void Idct (uint8_t *odata, int16_t *data, int rskip)
void CalcTbls (void)
int compressYUV420 (int8_t *sp, uint8_t **planes)
int compressYUV422 (int8_t *sp, uint8_t **planes)
int compress8 (int8_t *sp, uint8_t **planes)
int mcompressYUV420 (int8_t *sp, uint8_t **planes)
int mcompressYUV422 (int8_t *sp, uint8_t **planes)
int mcompress8 (int8_t *sp, uint8_t **planes)
void decompressYUV422 (int8_t *sp, uint8_t **planes)
void decompressYUV420 (int8_t *sp, uint8_t **planes)
void decompress8 (int8_t *sp, uint8_t **planes)
int bcomp (int16_t *rblock, int16_t *old, mmx_t *mask)
int bcomp (int16_t *rblock, int16_t *old, uint16_t *mask)
int16_t block[64] __attribute__ ((aligned(32)))
int32_t ws[64 *4] __attribute__ ((aligned(32)))
int32_t lqt[64] __attribute__ ((aligned(32)))
int32_t cqt[64] __attribute__ ((aligned(32)))
int32_t liqt[64] __attribute__ ((aligned(32)))
int32_t ciqt[64] __attribute__ ((aligned(32)))

Private Attributes

int32_t lb8
int32_t cb8
int32_t Ywidth
int32_t Cwidth
int32_t Ysize
int32_t Csize
int16_told
int16_told_start
int key_count
int width
int height
int Q
int f
mmx_t lmask
mmx_t cmask
uint16_t lmask
uint16_t cmask
int key_rate

Constructor & Destructor Documentation

RTjpeg::RTjpeg ( void   ) 

Definition at line 2794 of file RTjpegN.cpp.

RTjpeg::~RTjpeg ( void   ) 

Definition at line 2822 of file RTjpegN.cpp.


Member Function Documentation

int RTjpeg::SetQuality ( int *  quality  ) 

Definition at line 2691 of file RTjpegN.cpp.

Referenced by Decompress(), and NuppelVideoRecorder::SetupRTjpeg().

int RTjpeg::SetFormat ( int *  format  ) 

Definition at line 2708 of file RTjpegN.cpp.

Referenced by NuppelDecoder::NuppelDecoder(), and NuppelVideoRecorder::SetupRTjpeg().

int RTjpeg::SetSize ( int *  w,
int *  h 
)

Definition at line 2714 of file RTjpegN.cpp.

Referenced by Decompress(), and NuppelVideoRecorder::SetupRTjpeg().

int RTjpeg::SetIntra ( int *  key,
int *  lm,
int *  cm 
)

Definition at line 2750 of file RTjpegN.cpp.

Referenced by NuppelVideoRecorder::SetupRTjpeg().

int RTjpeg::Compress ( int8_t sp,
uint8_t **  planes 
)

Definition at line 3329 of file RTjpegN.cpp.

Referenced by NuppelVideoRecorder::WriteVideo().

void RTjpeg::Decompress ( int8_t sp,
uint8_t **  planes 
)

Definition at line 3366 of file RTjpegN.cpp.

Referenced by NuppelDecoder::DecodeFrame().

void RTjpeg::SetNextKey ( void   ) 

Definition at line 3324 of file RTjpegN.cpp.

Referenced by NuppelVideoRecorder::WriteVideo().

int RTjpeg::b2s ( int16_t data,
int8_t strm,
uint8_t  bt8 
) [private]

int RTjpeg::s2b ( int16_t data,
int8_t strm,
uint8_t  bt8,
int32_t qtbla 
) [private]

Definition at line 282 of file RTjpegN.cpp.

Referenced by decompress8(), decompressYUV420(), and decompressYUV422().

void RTjpeg::QuantInit ( void   )  [private]

Definition at line 520 of file RTjpegN.cpp.

Referenced by SetQuality().

void RTjpeg::Quant ( int16_t block,
int32_t qtbl 
) [private]

void RTjpeg::DctInit ( void   )  [private]

Definition at line 598 of file RTjpegN.cpp.

Referenced by SetQuality().

void RTjpeg::DctY ( uint8_t *  idata,
int  rskip 
) [private]

void RTjpeg::IdctInit ( void   )  [private]

Definition at line 1528 of file RTjpegN.cpp.

Referenced by SetQuality().

void RTjpeg::Idct ( uint8_t *  odata,
int16_t data,
int  rskip 
) [private]

Definition at line 1539 of file RTjpegN.cpp.

Referenced by decompress8(), decompressYUV420(), and decompressYUV422().

void RTjpeg::CalcTbls ( void   )  [inline, private]

Definition at line 2657 of file RTjpegN.cpp.

Referenced by SetQuality().

int RTjpeg::compressYUV420 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 2828 of file RTjpegN.cpp.

Referenced by Compress().

int RTjpeg::compressYUV422 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 2881 of file RTjpegN.cpp.

Referenced by Compress().

int RTjpeg::compress8 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 2926 of file RTjpegN.cpp.

Referenced by Compress().

int RTjpeg::mcompressYUV420 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 3150 of file RTjpegN.cpp.

Referenced by Compress().

int RTjpeg::mcompressYUV422 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 3233 of file RTjpegN.cpp.

Referenced by Compress().

int RTjpeg::mcompress8 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 3295 of file RTjpegN.cpp.

Referenced by Compress().

void RTjpeg::decompressYUV422 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 2955 of file RTjpegN.cpp.

Referenced by Decompress().

void RTjpeg::decompressYUV420 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 3004 of file RTjpegN.cpp.

Referenced by Decompress().

void RTjpeg::decompress8 ( int8_t sp,
uint8_t **  planes 
) [inline, private]

Definition at line 3067 of file RTjpegN.cpp.

Referenced by Decompress().

int RTjpeg::bcomp ( int16_t rblock,
int16_t old,
mmx_t mask 
) [private]

Definition at line 3092 of file RTjpegN.cpp.

Referenced by mcompress8(), mcompressYUV420(), and mcompressYUV422().

int RTjpeg::bcomp ( int16_t rblock,
int16_t old,
uint16_t *  mask 
) [private]

Definition at line 3136 of file RTjpegN.cpp.

int16_t block [64] RTjpeg::__attribute__ ( (aligned(32))   )  [private]

int32_t ws [64*4] RTjpeg::__attribute__ ( (aligned(32))   )  [private]

int32_t lqt [64] RTjpeg::__attribute__ ( (aligned(32))   )  [private]

int32_t cqt [64] RTjpeg::__attribute__ ( (aligned(32))   )  [private]

int32_t liqt [64] RTjpeg::__attribute__ ( (aligned(32))   )  [private]

int32_t ciqt [64] RTjpeg::__attribute__ ( (aligned(32))   )  [private]


Member Data Documentation

int32_t RTjpeg::lb8 [private]

int32_t RTjpeg::cb8 [private]

Definition at line 121 of file RTjpegN.h.

Referenced by RTjpeg(), and SetSize().

Definition at line 122 of file RTjpegN.h.

Referenced by RTjpeg(), and SetSize().

int16_t* RTjpeg::old [private]

Definition at line 123 of file RTjpegN.h.

Referenced by RTjpeg(), SetIntra(), and SetSize().

Definition at line 124 of file RTjpegN.h.

Referenced by RTjpeg(), SetIntra(), SetSize(), and ~RTjpeg().

int RTjpeg::key_count [private]

Definition at line 125 of file RTjpegN.h.

Referenced by Compress(), RTjpeg(), and SetNextKey().

int RTjpeg::width [private]

int RTjpeg::height [private]

int RTjpeg::Q [private]

Definition at line 129 of file RTjpegN.h.

Referenced by CalcTbls(), Compress(), Decompress(), RTjpeg(), and SetQuality().

int RTjpeg::f [private]

Definition at line 130 of file RTjpegN.h.

Referenced by Compress(), Decompress(), RTjpeg(), and SetFormat().

mmx_t RTjpeg::lmask [private]

Definition at line 132 of file RTjpegN.h.

Referenced by mcompress8(), mcompressYUV420(), mcompressYUV422(), RTjpeg(), and SetIntra().

mmx_t RTjpeg::cmask [private]

Definition at line 133 of file RTjpegN.h.

Referenced by mcompressYUV420(), mcompressYUV422(), RTjpeg(), and SetIntra().

uint16_t RTjpeg::lmask [private]

Definition at line 135 of file RTjpegN.h.

uint16_t RTjpeg::cmask [private]

Definition at line 136 of file RTjpegN.h.

int RTjpeg::key_rate [private]

Definition at line 138 of file RTjpegN.h.

Referenced by Compress(), RTjpeg(), SetIntra(), and SetSize().


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

Generated on Sat Dec 18 05:16:10 2010 for MythTV by  doxygen 1.5.5