#include <RTjpegN.h>
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_t * | old |
| int16_t * | old_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 |
| RTjpeg::RTjpeg | ( | void | ) |
Definition at line 2794 of file RTjpegN.cpp.
| RTjpeg::~RTjpeg | ( | void | ) |
Definition at line 2822 of file RTjpegN.cpp.
| 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 | |||
| ) |
| int RTjpeg::Compress | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) |
| void RTjpeg::Decompress | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) |
| void RTjpeg::SetNextKey | ( | void | ) |
Definition at line 110 of file RTjpegN.cpp.
Referenced by compress8(), compressYUV420(), compressYUV422(), mcompress8(), mcompressYUV420(), and mcompressYUV422().
Definition at line 282 of file RTjpegN.cpp.
Referenced by decompress8(), decompressYUV420(), and decompressYUV422().
| void RTjpeg::QuantInit | ( | void | ) | [private] |
Definition at line 534 of file RTjpegN.cpp.
Referenced by compress8(), compressYUV420(), compressYUV422(), mcompress8(), mcompressYUV420(), and mcompressYUV422().
| void RTjpeg::DctInit | ( | void | ) | [private] |
| void RTjpeg::DctY | ( | uint8_t * | idata, | |
| int | rskip | |||
| ) | [private] |
Definition at line 609 of file RTjpegN.cpp.
Referenced by compress8(), compressYUV420(), compressYUV422(), mcompress8(), mcompressYUV420(), and mcompressYUV422().
| void RTjpeg::IdctInit | ( | void | ) | [private] |
| 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] |
| int RTjpeg::compressYUV420 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| int RTjpeg::compressYUV422 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| int RTjpeg::compress8 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| int RTjpeg::mcompressYUV420 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| int RTjpeg::mcompressYUV422 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| int RTjpeg::mcompress8 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| void RTjpeg::decompressYUV422 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| void RTjpeg::decompressYUV420 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
| void RTjpeg::decompress8 | ( | int8_t * | sp, | |
| uint8_t ** | planes | |||
| ) | [inline, private] |
Definition at line 3092 of file RTjpegN.cpp.
Referenced by mcompress8(), mcompressYUV420(), and mcompressYUV422().
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] |
int32_t RTjpeg::lb8 [private] |
Definition at line 117 of file RTjpegN.h.
Referenced by CalcTbls(), compress8(), compressYUV420(), compressYUV422(), decompress8(), decompressYUV420(), decompressYUV422(), mcompress8(), mcompressYUV420(), mcompressYUV422(), and RTjpeg().
int32_t RTjpeg::cb8 [private] |
Definition at line 118 of file RTjpegN.h.
Referenced by CalcTbls(), compressYUV420(), compressYUV422(), decompressYUV420(), decompressYUV422(), mcompressYUV420(), mcompressYUV422(), and RTjpeg().
int32_t RTjpeg::Ywidth [private] |
Definition at line 119 of file RTjpegN.h.
Referenced by compressYUV420(), compressYUV422(), mcompressYUV420(), mcompressYUV422(), RTjpeg(), and SetSize().
int32_t RTjpeg::Cwidth [private] |
Definition at line 120 of file RTjpegN.h.
Referenced by compressYUV420(), compressYUV422(), mcompressYUV420(), mcompressYUV422(), RTjpeg(), and SetSize().
int32_t RTjpeg::Ysize [private] |
int32_t RTjpeg::Csize [private] |
int16_t* RTjpeg::old [private] |
int16_t* RTjpeg::old_start [private] |
int RTjpeg::key_count [private] |
int RTjpeg::width [private] |
Definition at line 127 of file RTjpegN.h.
Referenced by Compress(), compress8(), compressYUV420(), compressYUV422(), Decompress(), decompress8(), decompressYUV420(), decompressYUV422(), mcompress8(), mcompressYUV420(), mcompressYUV422(), RTjpeg(), SetIntra(), and SetSize().
int RTjpeg::height [private] |
Definition at line 128 of file RTjpegN.h.
Referenced by Compress(), compress8(), compressYUV420(), compressYUV422(), Decompress(), decompress8(), decompressYUV420(), decompressYUV422(), mcompress8(), mcompressYUV420(), mcompressYUV422(), RTjpeg(), SetIntra(), and SetSize().
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] |
uint16_t RTjpeg::cmask [private] |
int RTjpeg::key_rate [private] |
Definition at line 138 of file RTjpegN.h.
Referenced by Compress(), RTjpeg(), SetIntra(), and SetSize().
1.5.5