1#ifndef _KVIOGGTHEORAENCODER_H_
2#define _KVIOGGTHEORAENCODER_H_
35#ifndef COMPILE_DISABLE_OGG_THEORA
40#include "theora/theoraenc.h"
84 unsigned char * yuvframe[3];
109 void addVideoFrame(QRgb * rgb32,
int videoSize);
117 void addTextFrame(
unsigned char * textPkt,
int textSize);
124 int fetch_and_process_video(quint8 * videoYuv, ogg_page * videopage, ogg_stream_state * to, th_enc_ctx * td,
int videoflag);
130 int fetch_and_process_video_packet(quint8 * videoYuv, th_enc_ctx * td, ogg_packet * op);
136 static int ilog(
unsigned _v);
This file was originally part of KviTheoraDecoder.h.
Definition KviDataBuffer.h:31
An ogg/theora+irct encoder class; accepts argb32 images and binary text, outputs an ogg stream.
Definition KviOggTheoraEncoder.h:56
int frame_state
Definition KviOggTheoraEncoder.h:83
ogg_page og
Definition KviOggTheoraEncoder.h:93
ogg_int64_t text_sofar
Definition KviOggTheoraEncoder.h:81
ogg_stream_state to
Definition KviOggTheoraEncoder.h:92
size_t y4m_aux_buf_read_sz
Definition KviOggTheoraEncoder.h:89
int videoflag
Definition KviOggTheoraEncoder.h:101
th_info ti
Definition KviOggTheoraEncoder.h:97
KviOggTheoraGeometry geometry
Definition KviOggTheoraEncoder.h:77
int textflag
Definition KviOggTheoraEncoder.h:100
size_t y4m_aux_buf_sz
Definition KviOggTheoraEncoder.h:88
ogg_stream_state zo
Definition KviOggTheoraEncoder.h:91
size_t y4m_dst_buf_sz
Definition KviOggTheoraEncoder.h:86
ogg_packet op
Definition KviOggTheoraEncoder.h:94
th_enc_ctx * td
Definition KviOggTheoraEncoder.h:96
size_t y4m_dst_buf_read_sz
Definition KviOggTheoraEncoder.h:87
quint8 * videoYuv
Definition KviOggTheoraEncoder.h:79
KviDataBuffer * m_pStream
Definition KviOggTheoraEncoder.h:78
th_comment tc
Definition KviOggTheoraEncoder.h:98
This file contains compile time settings.
#define KVILIB_API
Definition kvi_settings.h:124
Definition KviOggTheoraGeometry.h:40