1 #ifndef _KVIOGGTHEORAENCODER_H_
2 #define _KVIOGGTHEORAENCODER_H_
36 #ifndef COMPILE_DISABLE_OGG_THEORA
41 #include "theora/theoraenc.h"
85 unsigned char * yuvframe[3];
110 void addVideoFrame(QRgb * rgb32,
int videoSize);
118 void addTextFrame(
unsigned char * textPkt,
int textSize);
125 int fetch_and_process_video(quint8 * videoYuv, ogg_page * videopage, ogg_stream_state * to, th_enc_ctx * td,
int videoflag);
131 int fetch_and_process_video_packet(quint8 * videoYuv, th_enc_ctx * td, ogg_packet * op);
137 static int ilog(
unsigned _v);
140 #endif // COMPILE_DISABLE_OGG_THEORA
141 #endif // _KVIOGGTHEORAENCODER_H_
int videoflag
Definition: KviOggTheoraEncoder.h:102
quint8 * videoYuv
Definition: KviOggTheoraEncoder.h:80
size_t y4m_dst_buf_sz
Definition: KviOggTheoraEncoder.h:87
ogg_packet op
Definition: KviOggTheoraEncoder.h:95
size_t y4m_aux_buf_read_sz
Definition: KviOggTheoraEncoder.h:90
KviDataBuffer * m_pStream
Definition: KviOggTheoraEncoder.h:79
Definition: KviDataBuffer.h:30
This file was originally part of KviTheoraDecoder.h.
th_comment tc
Definition: KviOggTheoraEncoder.h:99
ogg_int64_t text_sofar
Definition: KviOggTheoraEncoder.h:82
ogg_stream_state to
Definition: KviOggTheoraEncoder.h:93
KviOggTheoraGeometry geometry
Definition: KviOggTheoraEncoder.h:78
int frame_state
Definition: KviOggTheoraEncoder.h:84
ogg_stream_state zo
Definition: KviOggTheoraEncoder.h:92
size_t y4m_aux_buf_sz
Definition: KviOggTheoraEncoder.h:89
ogg_page og
Definition: KviOggTheoraEncoder.h:94
th_info ti
Definition: KviOggTheoraEncoder.h:98
int textflag
Definition: KviOggTheoraEncoder.h:101
This file contains compile time settings.
An ogg/theora+irct encoder class; accepts argb32 images and binary text, outputs an ogg stream...
Definition: KviOggTheoraEncoder.h:56
Definition: KviOggTheoraGeometry.h:40
#define KVILIB_API
Definition: kvi_settings.h:125
th_enc_ctx * td
Definition: KviOggTheoraEncoder.h:97
size_t y4m_dst_buf_read_sz
Definition: KviOggTheoraEncoder.h:88