MythTV  0.26-pre
Public Member Functions | Private Member Functions | Private Attributes
RTjpeg Class Reference

#include <RTjpegN.h>

List of all members.

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)

Private Attributes

int16_t block[64] MALIGN32
int32_t ws[64 *4] MALIGN32
int32_t lqt[64] MALIGN32
int32_t cqt[64] MALIGN32
int32_t liqt[64] MALIGN32
int32_t ciqt[64] MALIGN32
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

Detailed Description

Definition at line 64 of file RTjpegN.h.


Constructor & Destructor Documentation

Definition at line 2794 of file RTjpegN.cpp.

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().

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.


Member Data Documentation

int16_t block [64] RTjpeg::MALIGN32 [private]

Definition at line 113 of file RTjpegN.h.

int32_t ws [64*4] RTjpeg::MALIGN32 [private]

Definition at line 114 of file RTjpegN.h.

int32_t lqt [64] RTjpeg::MALIGN32 [private]

Definition at line 115 of file RTjpegN.h.

int32_t cqt [64] RTjpeg::MALIGN32 [private]

Definition at line 116 of file RTjpegN.h.

int32_t liqt [64] RTjpeg::MALIGN32 [private]

Definition at line 117 of file RTjpegN.h.

int32_t ciqt [64] RTjpeg::MALIGN32 [private]

Definition at line 118 of file RTjpegN.h.

int32_t RTjpeg::lb8 [private]
int32_t RTjpeg::cb8 [private]

Definition at line 123 of file RTjpegN.h.

Referenced by RTjpeg(), and SetSize().

Definition at line 124 of file RTjpegN.h.

Referenced by RTjpeg(), and SetSize().

int16_t* RTjpeg::old [private]

Definition at line 125 of file RTjpegN.h.

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

Definition at line 126 of file RTjpegN.h.

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

Definition at line 127 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 131 of file RTjpegN.h.

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

int RTjpeg::f [private]

Definition at line 132 of file RTjpegN.h.

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

mmx_t RTjpeg::lmask [private]

Definition at line 134 of file RTjpegN.h.

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

mmx_t RTjpeg::cmask [private]

Definition at line 135 of file RTjpegN.h.

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

Definition at line 137 of file RTjpegN.h.

Definition at line 138 of file RTjpegN.h.

int RTjpeg::key_rate [private]

Definition at line 140 of file RTjpegN.h.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends