1#ifndef _KVIOGGTHEORAENCODER_H_
2#define _KVIOGGTHEORAENCODER_H_
35#ifndef COMPILE_DISABLE_OGG_THEORA
40#include "theora/theoraenc.h"
117 void addTextFrame(
unsigned char * textPkt,
int textSize);
136 static int ilog(
unsigned _v);
This file was originally part of KviTheoraDecoder.h.
Definition KviDataBuffer.h:31
static int ilog(unsigned _v)
Internal function used to calculate our granule shift.
Definition KviOggTheoraEncoder.cpp:360
int frame_state
Definition KviOggTheoraEncoder.h:83
ogg_page og
Definition KviOggTheoraEncoder.h:93
void addTextFrame(unsigned char *textPkt, int textSize)
Appends a text frame to the stream.
Definition KviOggTheoraEncoder.cpp:253
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
int fetch_and_process_video(quint8 *videoYuv, ogg_page *videopage, ogg_stream_state *to, th_enc_ctx *td, int videoflag)
Internal function that processes a video frame to create an ogg page.
Definition KviOggTheoraEncoder.cpp:339
KviOggTheoraGeometry geometry
Definition KviOggTheoraEncoder.h:77
int textflag
Definition KviOggTheoraEncoder.h:100
void addVideoFrame(QRgb *rgb32, int videoSize)
Appends a video frame to the stream.
Definition KviOggTheoraEncoder.cpp:222
size_t y4m_aux_buf_sz
Definition KviOggTheoraEncoder.h:88
ogg_stream_state zo
Definition KviOggTheoraEncoder.h:91
unsigned char * yuvframe[3]
Definition KviOggTheoraEncoder.h:84
int fetch_and_process_video_packet(quint8 *videoYuv, th_enc_ctx *td, ogg_packet *op)
Internal function that processes a video frame to create an ogg packet.
Definition KviOggTheoraEncoder.cpp:272
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
KviOggTheoraEncoder(KviDataBuffer *stream, int iWidth=320, int iHeight=240, int iFpsN=5, int iFpsD=1, int iParN=4, int iParD=3)
Constructs the KviOggTheoraEncoder object.
Definition KviOggTheoraEncoder.cpp:55
This file contains compile time settings.
#define KVILIB_API
Definition kvi_settings.h:124
Definition KviOggTheoraGeometry.h:40