#include <TheoraDecoder.h>
Collaboration diagram for TheoraDecoder:
Public Member Functions | |
TheoraDecoder (void) | |
~TheoraDecoder (void) | |
bool | initCodec () |
Initialise the internal theora decoder. | |
yuv_buffer * | decodeTheora (StampedOggPacket *inPacket) |
Decode a theora packet returning a yuv_buffer struct. Now owns your packet. | |
bool | isKeyFrame (StampedOggPacket *inPacket) |
Returns true if the packet is a keyframe. | |
Public Attributes | |
theora_info | mTheoraInfo |
Protected Member Functions | |
ogg_packet * | simulateOldOggPacket (StampedOggPacket *inPacket) |
Moves the pointers around to make it look like a xiph ogg packet. | |
bool | decodeHeader (StampedOggPacket *inHeaderPacket) |
Decodes a header packet and adjusts the internal state based on it. | |
Protected Attributes | |
theora_comment | mTheoraComment |
theora_state | mTheoraState |
yuv_buffer | mYUVBuffer |
StampedOggPacket * | mPartialPacket |
unsigned long | mHeadersSeen |
bool | mFirstPacket |
bool | mFirstHeader |
unsigned long | mPacketCount |
|
Definition at line 35 of file TheoraDecoder.cpp. References true. |
|
Definition at line 42 of file TheoraDecoder.cpp. |
|
Decodes a header packet and adjusts the internal state based on it.
Definition at line 111 of file TheoraDecoder.cpp. References mPacketCount, mTheoraComment, mTheoraInfo, simulateOldOggPacket(), and theora_decode_header(). Referenced by decodeTheora(). |
Here is the call graph for this function:
|
Decode a theora packet returning a yuv_buffer struct. Now owns your packet.
Definition at line 56 of file TheoraDecoder.cpp. References decodeHeader(), mFirstPacket, mPacketCount, mTheoraInfo, mTheoraState, mYUVBuffer, simulateOldOggPacket(), theora_decode_init(), theora_decode_packetin(), and theora_decode_YUVout(). Referenced by TheoraDecodeFilter::Transform(). |
Here is the call graph for this function:
|
Initialise the internal theora decoder.
Definition at line 46 of file TheoraDecoder.cpp. References mTheoraComment, mTheoraInfo, theora_comment_init(), and theora_info_init(). Referenced by TheoraDecodeFilter::TheoraDecodeFilter(). |
Here is the call graph for this function:
|
Returns true if the packet is a keyframe.
Definition at line 102 of file TheoraDecoder.cpp. References OggPacket::packetData(), and OggPacket::packetSize(). Referenced by TheoraDecodeFilter::Transform(). |
Here is the call graph for this function:
|
Moves the pointers around to make it look like a xiph ogg packet.
Definition at line 80 of file TheoraDecoder.cpp. References StampedOggPacket::endTime(), mFirstHeader, OggPacket::packetData(), OggPacket::packetSize(), and OggPacket::setPacketData(). Referenced by decodeHeader(), and decodeTheora(). |
Here is the call graph for this function:
|
Definition at line 74 of file TheoraDecoder.h. Referenced by simulateOldOggPacket(). |
|
Definition at line 73 of file TheoraDecoder.h. Referenced by decodeTheora(). |
|
Definition at line 72 of file TheoraDecoder.h. |
|
Definition at line 75 of file TheoraDecoder.h. Referenced by decodeHeader(), and decodeTheora(). |
|
Definition at line 71 of file TheoraDecoder.h. |
|
Definition at line 67 of file TheoraDecoder.h. Referenced by decodeHeader(), and initCodec(). |
|
Definition at line 57 of file TheoraDecoder.h. Referenced by decodeHeader(), decodeTheora(), and initCodec(). |
|
Definition at line 68 of file TheoraDecoder.h. Referenced by decodeTheora(). |
|
Definition at line 69 of file TheoraDecoder.h. Referenced by decodeTheora(). |